CN110806994B - Signal transmission method and device - Google Patents

Signal transmission method and device Download PDF

Info

Publication number
CN110806994B
CN110806994B CN201910937255.3A CN201910937255A CN110806994B CN 110806994 B CN110806994 B CN 110806994B CN 201910937255 A CN201910937255 A CN 201910937255A CN 110806994 B CN110806994 B CN 110806994B
Authority
CN
China
Prior art keywords
application processor
time slot
signal
transmitted
radio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910937255.3A
Other languages
Chinese (zh)
Other versions
CN110806994A (en
Inventor
何光
向杨
孙绪望
王一平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201910937255.3A priority Critical patent/CN110806994B/en
Publication of CN110806994A publication Critical patent/CN110806994A/en
Application granted granted Critical
Publication of CN110806994B publication Critical patent/CN110806994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Abstract

A signal transmission method and device, the principle of the method is: and isolating the time of transmitting the radio frequency signal by the radio frequency chip from the time domain and the time of performing internal signal interaction between internal components of the electronic equipment. For example, the radio frequency signal may be transmitted in a first time slot in a first wireless frame, and the internal signal may be transmitted between the components inside the electronic device in a second time slot in the first wireless frame, where the first time slot and the second time slot do not overlap. By adopting the method and the device, the interference generated by the interactive signals between the internal components when the electronic equipment transmits the high-power transmitting signals can be reduced.

Description

Signal transmission method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a signal transmission method and device.
Background
At present, electronic equipment can internally comprise components such as a baseband processing chip, a radio frequency chip, an application processor, a camera, a liquid crystal display screen and the like. The application processor can send a radio frequency control signal to the baseband processing chip, and the baseband processing chip can control the radio frequency chip to send the radio frequency signal after receiving the radio frequency control signal. The camera can send the image information that its was gathered to application processor, and application processor can send the display control signal to liquid crystal display to control liquid crystal display's demonstration etc..
The communication process can be executed in parallel, for example, when the radio frequency chip transmits a radio frequency signal, the camera and the application processor can transmit image information. Due to the high transmission power of the rf signal, the transmission of the rf signal may interfere with the signal transmission between the components inside the electronic device. How to reduce interference caused by radio frequency signals transmitted by electronic equipment to signals transmitted between internal components is a current research hotspot.
Disclosure of Invention
The embodiment of the application provides a signal transmission method and a signal transmission device, which are used for reducing interference of radio frequency signals.
In a first aspect, a signal transmission method is provided, which is applied to an electronic device, where the electronic device includes an application processor, a radio frequency chip, and other chips, and the method includes: the application processor controls the radio frequency chip to transmit a radio frequency signal in a first time slot in a first wireless frame; and the application processor controls any two components including the application processor and the other chips to transmit internal signals in a second time slot in the first wireless frame, wherein the first time slot is not overlapped with the second time slot.
Through the above description, the time of transmitting the radio frequency signal by the radio frequency chip and the time of performing internal signal interaction between internal components of the electronic device are isolated from the time domain. For example, the radio frequency signal may be transmitted in a first time slot in a first wireless frame, the internal signal may be transmitted between the components in the electronic device in a second time slot in the first wireless frame, and the first time slot and the second time slot do not overlap, so as to reduce interference generated by the electronic device on signals interacted between the internal components when transmitting a high-power transmission signal.
In one possible design, the application processor controls the radio frequency signal to transmit the radio frequency signal in a first time slot in a first radio frame, including: the application processor acquires the transmitting power grade of the radio frequency signal to be transmitted; and when the transmitting power level of the radio frequency signal is greater than a preset threshold, the application processor controls the radio frequency chip to transmit the radio frequency signal in a first time slot of a first wireless frame.
Through the above description, when the transmission power of the radio frequency signal is greater than a certain preset threshold, the above strategy of time-sharing transmission of the radio frequency signal and the internal signal is started. And when the transmitting power of the radio frequency signal is less than or equal to the preset threshold, the radio frequency signal and the internal signal are transmitted according to the existing mode, the design is reasonable, and the compatibility is good.
In one possible design, the controlling, by the application processor, transmission of the internal signal in the second time slot in the first radio frame between any two components including the application processor and the other chip includes: the application processor determines the data volume and the transmission rate of a current signal to be transmitted between any two components including the application processor and the other chips; the application processor determines a first time length according to the data volume and the transmission rate of the current signal to be transmitted; and when the duration of the second time slot is greater than or equal to the first time slot, the application processor controls the transmission of the internal signal between any two components in the second time slot of the first wireless frame.
In one possible design, the method further includes: when the duration of the second time slot is less than the first duration, the application processor controls a first component of any two components to divide the signal to be transmitted into N data blocks, wherein N is an integer greater than 1; and the application processor controls the first component to respectively transmit the N data blocks to second components in any two components by utilizing N second time slots in N wireless frames including the first wireless frame.
Through the above description, the duration of the second time slot in the first radio frame is limited, N data blocks can be reasonably divided according to the size of the second time slot, and the N data blocks are respectively transmitted during the N second time slots in the N radio frames. According to the size of the internal signal, the internal signal can be reasonably transmitted.
In one possible design, the method further includes: the application processor controls the second component to splice the received N data blocks in sequence to form spliced data; the application processor checks the splicing data; and when the verification of the splicing data fails, the application processor controls the first component to execute the processing of re-dividing the signal to be transmitted.
In a second aspect, an apparatus is provided that includes an application processor, a radio frequency chip, and other chips;
the application processor is configured to control the radio frequency chip to transmit a radio frequency signal in a first time slot in a first radio frame, and control the application processor and any two components including the other chips to transmit an internal signal in a second time slot in the first radio frame, where the first time slot and the second time slot are not overlapped; the radio frequency chip is used for transmitting a radio frequency signal in a first time slot in the first wireless frame according to the control of the application processor; and the application processor and any two components including the other chips are also used for transmitting internal signals in a second time slot in the first wireless frame according to the control of the application processor.
In one possible design, when controlling the radio frequency signal to transmit the radio frequency signal in a first timeslot in a first radio frame, the application processor is specifically configured to: acquiring the transmitting power grade of the radio frequency signal to be transmitted; and when the transmitting power level of the radio frequency signal is greater than a preset threshold, controlling the radio frequency chip to transmit the radio frequency signal in a first time slot of a first wireless frame.
In a possible design, when the application processor controls transmission of an internal signal in a second time slot in the first radio frame between any two components including the application processor and the other chip, the application processor is specifically configured to: determining the data volume and the transmission rate of a current signal to be transmitted between any two components including the application processor and the other chips; determining a first time length according to the data volume and the transmission rate of the current signal to be transmitted; and when the duration of the second time slot is greater than or equal to the first time slot, controlling the transmission of the internal signal between any two components in the second time slot of the first wireless frame.
In one possible design, the application processor is further to: when the duration of the second time slot is less than the first duration, controlling a first component of any two components to divide the signal to be transmitted into N data blocks, wherein N is an integer greater than 1; and controlling the first component to respectively transmit the N data blocks to second components in any two components by using N second time slots in N wireless frames including the first wireless frame.
In one possible design, the application processor is further to: controlling the second device to splice the N data blocks in sequence to form spliced data; checking the spliced data; and when the verification of the spliced data fails, controlling the first component to execute the processing of dividing the signal to be transmitted again.
In a third aspect, an apparatus is provided for implementing the method of any one of the above aspects.
In a fourth aspect, there is provided an apparatus comprising a processor and a memory, the memory having stored therein instructions that, when executed by the processor, cause the apparatus to perform the method of any of the above aspects.
In a fifth aspect, there is provided a computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of the above aspects.
A sixth aspect provides a computer program product, which, when run on an electronic device, causes the electronic device to perform the method of any of the above aspects.
In a seventh aspect, a chip is provided, where the chip is coupled with a memory in an electronic device, and when the chip reads and executes program instructions stored in the memory, the chip causes the electronic device to perform the method of any one of the above aspects.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a signal transmission method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a radio frame according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of RF signal and internal signal transmission provided by an embodiment of the present application;
fig. 5 is a schematic flow chart of a data transmission method according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an apparatus provided in an embodiment of the present application.
Detailed Description
In the communication process of the electronic device at present, when the radio frequency chip transmits a radio frequency signal (or called as a wireless signal), the transmitted radio frequency signal is radiated into the electronic device, so that the signal radiated into the electronic device interferes with signals transmitted between other chips in the electronic device. In order to reduce interference of radio frequency signals to signals transmitted between other chips in electronic equipment, embodiments of the present application provide a signal transmission method and apparatus, and the principle of the method is as follows: and isolating the time of transmitting the radio frequency signal by the radio frequency chip from the time domain and the time of performing internal signal interaction between internal components of the electronic equipment. For example, the radio frequency signal may be transmitted in a first time slot in a first wireless frame, the internal signal may be transmitted between the components in the electronic device in a second time slot in the first wireless frame, and the first time slot and the second time slot do not overlap, so as to reduce interference generated by the electronic device on signals interacted between the internal components when transmitting a high-power transmission signal.
For ease of understanding, fig. 1 shows a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. It should be understood that the schematic structural diagram shown in fig. 1 is only an exemplary illustration and is not a limitation to the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like. The mobile communication module 150 and the wireless communication module 160 may be radio frequency chips in this embodiment, the processor 110 includes an application processor in this embodiment, and the other components except the mobile communication module 150, the wireless communication module 160 and the processor 110 in the above-mentioned components may be other chips in this embodiment.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (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.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
As shown in fig. 2, the embodiment of the present application provides a signal transmission method, which can be applied to the electronic device 100 shown in fig. 1, and the electronic device can include an Application (AP) processor, a radio frequency chip, and other chips. The method comprises the following steps:
s201: the application processor controls the radio frequency chip to transmit the radio frequency signal in a first time slot in a first wireless frame.
Illustratively, the electronic device may further include a baseband processing chip. Alternatively, it can be described that the other chips described above further include a baseband processing chip. In the above S201, the application processing chip may specifically send a radio frequency control signal to the baseband processing chip, and after receiving the radio frequency control signal, the baseband processing chip may control the radio frequency chip to transmit a radio frequency signal in a first time slot of a first radio frame.
S202: and the application processor controls any two components including the application processor and other chips to transmit internal signals in a second time slot in the first wireless frame, wherein the first time slot and the second time slot are not overlapped. The internal signals include data signals and/or control signals and the like transmitted between any two components. In a specific application, the rf chip may be a chip for wireless communication, such as a chip for 2G communication. The other chips may include one or more of peripheral chips of the electronic device (for example, chips corresponding to peripherals such as a camera and a display screen of the electronic device), a WIFI radio frequency chip, a bluetooth radio frequency chip, and the like, without limitation.
For example, as shown in fig. 3, in a Time Division Multiple Access (TDMA) system, each time slot (time) is 577us, each radio frame includes 8 time slots, and each radio frame duration 577us × 8 is 4.616 ms. The first 577us of each radio frame may be used for transmission of radio frequency signals and the last 4.039ms of each radio frame may be used for transmission of internal signals. Alternatively, it can be described as: each wireless frame comprises 8 time slots which are sequenced according to the time sequence, namely the time slot 0 to the time slot 7, wherein the time slot 0 is used for transmitting radio frequency signals, and the time slot 1 to the time slot 7 are used for transmitting internal signals. Here, the time slot 0 may correspond to the first time slot in the process of fig. 2, and the time slots 1 to 7 may correspond to the second time slot in the process of fig. 2.
For the flow shown in fig. 2, a specific embodiment is provided: and carrying out hardware test on the internal data line of the electronic equipment, and finding out an interfered source interfered by the radio frequency signal. The maximum transmission power level of the radio frequency signal which can normally work by the interfered source is confirmed through debugging and testing, and the maximum transmission power level of the radio frequency signal can be used as a starting threshold of an interference isolation program, wherein the starting threshold of the interference isolation program can also be called a preset threshold. When the transmission power level of the radio frequency signal exceeds the set maximum transmission power level, the method shown in the flow of fig. 2 is performed, i.e., the steps of S201 and S202 are performed. Otherwise, the radio frequency signal and the internal signal inside the electronic device are transmitted according to the existing mode.
As can be seen from the above description, the duration of the second time slot in the first radio frame is limited. For example, in the example of fig. 3 described above, the duration of the second slot is 4.039 ms. Therefore, in the embodiment of the present application, the application processor needs to calculate whether the internal signal to be currently transmitted needs to be transmitted in multiple times. Alternatively, it can be described as: the application processor needs to calculate whether the current internal signal to be transmitted can be completely transmitted in a second time slot (for example, 4.039ms) of one wireless frame, and if the current internal signal to be transmitted cannot be completely transmitted in the second time slot of one wireless frame, the current internal signal to be transmitted needs to be carried in the second time slot of different wireless frames for transmission for multiple times. For example, the application processor may split the data to be currently transmitted into N data blocks, and the application processor transmits the N data blocks in N second time slots respectively corresponding to N radio frames including the first radio frame. The specific treatment process can be as follows:
the application processor acquires the data volume and the transmission rate of the signal to be transmitted between any two components; the application processor determines a first time length required by the transmission of the signal according to the data volume and the transmission rate of the signal to be transmitted; for example, the first time length is the data amount/transmission rate of the signal to be transmitted; if the duration corresponding to the second time slot in the first wireless frame is greater than or equal to the first time slot, it may be considered that the transmission of the current signal may be completed in the first wireless frame, and it is sufficient to directly transmit the current signal to be transmitted in the second time slot in the first wireless frame. For example, still following the example of fig. 3, it can be seen that the duration of the second time slot is 4.039ms, and if the first duration for transmitting the signal is less than or equal to 4.039ms, the internal signal to be transmitted may be directly transmitted in the first radio frame. Setting the components for data transmission between any two components as a first component and a second component, and if the first time length for transmitting the internal signals is more than 4.039ms, controlling the first component to cut the internal signals to be transmitted into N data blocks by the application processor. And the application processor controls the first component to sequentially transmit N data blocks to the second component in N second time slots respectively corresponding to N wireless frames including the first wireless frame. Optionally, the application processor may allocate identifiers for the N data blocks respectively; the application processor may further control the first component to sequentially transmit the N data blocks to the second component in N second time slots corresponding to the N radio frames, respectively, according to the identification sequence. Further, the application processor may check the N data blocks according to the identification order. For example, the application processor may control the second component to splice the received N data blocks in the identified order to form spliced data. The application processor checks the spliced data. For example, the application processor may determine whether the data volume of the concatenated data and the data volume of the original data are the same, and if so, the verification may be considered successful; otherwise, the check is deemed to have failed. Finally, if the check fails, the application processor controls the first component to retransmit the original data, or may be described as the application processor controlling the first component to re-perform the above-described operation of dividing the internal signal into a plurality of data blocks.
As can be seen from the above description, in the embodiment of the present application, the transmission of the high-power transmission signal and the internal signal in the electronic device can be isolated, so as to avoid the interference of the high-power transmission signal on the internal data transmission of the electronic device.
For the flow shown in fig. 2, as shown in fig. 4, a specific application is provided: the electronic equipment internally comprises an AP processor, a baseband processing chip, a radio frequency chip, a peripheral A chip and a peripheral B chip. The peripheral a chip may specifically be a chip of the peripheral a included in the electronic device, for example, the peripheral a may specifically be a camera of the electronic device, and the peripheral a chip may specifically be a chip inside the camera. The peripheral B can be a liquid crystal display screen of the electronic equipment, and the peripheral B chip can be a chip inside the liquid crystal display screen and the like.
The AP processor can send radio frequency control signaling to the baseband processing chip, and the baseband processing chip can respectively send synchronous signals to the radio frequency chip and the AP processor when receiving the radio frequency control command. After receiving the synchronization signal, the radio frequency chip periodically transmits a radio frequency signal in the first 577us of each radio frame according to a preset mode. After receiving the synchronization signal, the AP processor controls any two chips including the "AP processor, the chip of the peripheral a, and the chip of the peripheral B" to transmit an internal signal in the last 4.039ms of each wireless frame, where the internal signal may be an internal data signal between any two components, or an internal control signal, and the like, and is not limited. It should be noted that, in the example shown in fig. 4, the peripheral a chip transmits a data signal to the AP processor, and the AP processor transmits a data signal to the peripheral B chip. Data transmission between the peripheral A chip and the AP processor and data transmission between the AP processor and the peripheral B chip can be performed in parallel within the last 4.039ms of each wireless frame, or time-sharing transmission and the like, without limitation.
Optionally, the baseband processing chip may send information such as radio frequency power level to the AP processor, in addition to sending the synchronization signal to the AP processor. After receiving the radio frequency power level, the AP processor can compare the radio frequency power level with a starting threshold of an isolation interference program; and if the radio frequency power level is greater than or equal to the starting threshold, the process of sending the radio frequency signal in the first 577us of each radio frame and transmitting the internal signal in the last 4.039ms of each radio frame is started again. Otherwise, according to the existing method, the radio frequency signal and the internal signal of the electronic device are transmitted.
It should be noted that, in the example shown in fig. 4, it is described as an example that the baseband processing chip transmits the synchronization signal to the AP processor, and then the AP processor controls to transmit the internal signal between any two elements within the last 4.039ms of each radio frame. In an embodiment, the baseband processing chip may directly send the synchronization signal to a signal sending end inside the electronic device, for example, a peripheral a chip, and then the signal sending end of the electronic device directly transmits the internal signal in the second time slot of each wireless frame.
As shown in fig. 5, a flow of a signal transmission method is provided, and the flow may be specifically "S202: the application processor controls any two components including the application processor, the radio frequency chip and other chips to transmit internal signals in a second time slot in the first wireless frame, and the internal signals are a specific implementation mode of data signals. The process comprises the following steps:
s501: the application processor determines whether a transmit power level of the radio frequency signal exceeds a level threshold. If yes, executing S502; otherwise, the flow ends.
In the embodiment of the application, an interfered data line interfered by a radio frequency signal can be determined in a hardware test mode, and an interfered source is found; determining the maximum transmitting power level of the interfered data line which can normally work in a modulation and test mode, and taking the power level as a starting threshold of an interference isolation program; when the application processor receives that the power level returned by the baseband processing chip exceeds the set threshold, the application processor starts an interference isolation program, that is, the step in S501 is executed.
S502: the application processor determines the amount of data currently to be transmitted and the data transmission rate.
S503: the application processor determines the amount of data transfer in 40.39 ms.
In the embodiment of the present application, a transmission period of the radio frequency signal may be 4.616ms, a transmission duration of the radio frequency signal is 577us, a frame gap of the radio frequency signal is 4.039ms, and only less than or equal to 4.039ms can be used for one data transmission. In the embodiment of the application, the application processor can determine the data volume and the transmission rate of the data to be transmitted; the transmission data amount/transmission rate is equal to the transmission duration, the transmission duration is less than or equal to 4.039ms, and the data can be transmitted once, and the data needs to be transmitted for many times when the transmission duration is greater than 4.039 ms.
S504: the application processor determines whether the transmission of the radio frequency signal is complete. If not, continuing to execute S504 to transmit the radio frequency signal. If so, S505 is performed.
S505: the application processor determines whether the data can be transmitted in 4.039 ms. If so, S506 is performed. Otherwise, S507 is executed.
S506: the application processor initiates the data transfer.
S507: the application processor calculates that the current data to be transmitted is finished after n times of transmission, and the data to be transmitted is cut into n data blocks.
S508: the application processor determines whether the transmission of the radio frequency signal is complete. If so, S509 is performed. Otherwise, returning to S508, the radio frequency signal continues to be transmitted.
S509: the application processor initiates the data transfer.
S510: the application processor executes n-1.
S511: the application processor determines whether n is equal to 0. If not, the process returns to S508 to continue transmitting the rf signal. If so, S512 is performed.
If the current data needs to be transmitted for a plurality of times, the application processor can calculate the data currently transmitted, the number n of times of transmission is needed. The application processor may partition the data into N data blocks and add an identification to each data block: an. Each data block is transmitted sequentially within the radio frequency gap. And n-1 is performed for each data transmission until the transmission is finished when n-0.
S512: and the application processor splices the N data blocks in sequence.
S513: the application processor checks the spliced data.
S514: the application processor determines whether the check is successful. If successful, the flow ends. If the failure occurs, the process returns to S507.
By adopting the method, hardware does not need to be modified, the device cost is not increased, the project development progress is not influenced, the transmitting power of the radio frequency signal does not need to be reduced, the interference of the radio frequency signal can be reduced, and the problem that the transmission signal is interfered is solved.
As with the above concept, as shown in fig. 6, an embodiment of the present application provides an apparatus 600, where the apparatus 600 may be applied to an electronic device, and the apparatus 600 includes: an application processor 601, a radio frequency chip 602, and other chips 603; the number of the other chips 603 is one or more. For example, the other chips 603 may include one or more of a baseband processing chip, a chip corresponding to a camera, or a chip corresponding to a liquid crystal display.
The application processor 601 is configured to control the radio frequency chip 602 to transmit a radio frequency signal in a first time slot in a first radio frame, and control any two components including the application processor 601 and the other chip 603 to transmit an internal signal in a second time slot in the first radio frame, where the first time slot and the second time slot are not overlapped;
a radio frequency chip 602, configured to transmit a radio frequency signal in a first time slot in the first radio frame according to control of the application processor 601;
the application processor 601 and any two components including the other chips 603 are further configured to transmit an internal signal in a second time slot in the first radio frame according to the control of the application processor 601.
In a possible implementation manner, when controlling the radio frequency signal to transmit the radio frequency signal in the first time slot in the first radio frame, the application processor 601 is specifically configured to: acquiring the transmitting power grade of the radio frequency signal to be transmitted; and when the transmission power level of the radio frequency signal is greater than a preset threshold, controlling the radio frequency chip 602 to transmit the radio frequency signal in a first time slot of a first wireless frame.
In a possible implementation manner, when the application processor 601 controls any two components including the application processor 601 and the other chip 603 to transmit an internal signal in a second time slot in the first radio frame, the application processor 601 is specifically configured to: determining the data volume and the transmission rate of a current signal to be transmitted between any two components including the application processor 601 and the other chips 603; determining a first time length according to the data volume and the transmission rate of the current signal to be transmitted; and when the duration of the second time slot is greater than or equal to the first time slot, controlling the transmission of the internal signal between any two components in the second time slot of the first wireless frame.
In one possible implementation, the application processor 601 is further configured to: when the duration of the second time slot is less than the first duration, controlling a first component of any two components to divide the signal to be transmitted into N data blocks, wherein N is an integer greater than 1; and controlling the first component to respectively transmit the N data blocks to second components in any two components by using N second time slots in N wireless frames including the first wireless frame.
In one possible implementation, the application processor 601 is further configured to: controlling a second component to splice the N data blocks in sequence to form spliced data; checking the spliced data; and when the verification of the spliced data fails, controlling the first element to re-execute the processing of dividing the signal to be transmitted.
For the specific implementation of the application processor 601, the rf chip 602, and the other chips 603, reference may be made to the description of the above method embodiments, and no description is provided here.
As shown in fig. 7, an apparatus 700 for implementing the method described in fig. 2 or fig. 5 is also provided in the embodiments of the present application. The apparatus 700 comprises a first control unit 701 and a second control unit 702.
A first control unit 701, configured to control the radio frequency signal to transmit a radio frequency signal in a first timeslot in a first radio frame; a second control unit 702, configured to control any two components including the application processor and the other chip to transmit a data signal in a second time slot in the first radio frame, where the first time slot and the second time slot do not overlap.
Optionally, when the first control unit 701 controls the radio frequency signal to transmit the radio frequency signal in the first time slot of the first radio frame, the first control unit is specifically configured to: acquiring the transmitting power grade of the radio frequency signal to be transmitted; and when the transmitting power level of the radio frequency signal is greater than a preset threshold, controlling the radio frequency chip to transmit the radio frequency signal in a first time slot of a first wireless frame.
Optionally, when the second control unit 702 controls any two components including the application processor and the other chip to transmit the internal signal in the second time slot in the first radio frame, the second control unit is specifically configured to: determining the data volume and the transmission rate of a current signal to be transmitted between any two components including the application processor and the other chips; determining a first time length according to the data volume and the transmission rate of the current signal to be transmitted; and when the duration of the second time slot is greater than or equal to the first time slot, controlling the transmission of the internal signal between any two components in the second time slot of the first wireless frame.
Optionally, the second control unit 702 is further configured to: when the duration of the second time slot is less than the first duration, controlling a first component of the any two components to divide the signal to be transmitted into N data blocks, wherein N is an integer greater than 1; and controlling the first component to respectively transmit the N data blocks to second components in any two components by using N second time slots in N wireless frames including the first wireless frame.
Optionally, the second control unit 702 is further configured to: controlling a second component to splice the N data blocks in sequence to form spliced data; checking the spliced data; and when the verification of the spliced data fails, controlling the first component to execute the processing of dividing the signal to be transmitted again.
As to the specific implementation processes of the first control unit 701 and the second control unit 702, reference may be made to the descriptions in the above method embodiments, and a description thereof is omitted here.
In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
In the embodiment of the present application, the memory may be a nonvolatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory, for example, a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
The method provided by the embodiment of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network appliance, a user device, or other programmable apparatus. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a Digital Video Disk (DVD)), or a semiconductor medium (e.g., an SSD), among others.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, or a and b and c, wherein a, b and c can be single or multiple.

Claims (14)

1. A signal transmission method applied to an electronic device including an application processor, a radio frequency chip, and other chips, the method comprising:
the application processor controls the radio frequency chip to transmit a radio frequency signal in a first time slot in a first wireless frame;
the application processor controls any two components including the application processor and the other chips to transmit internal signals in a second time slot in the first wireless frame, wherein the first time slot is not overlapped with the second time slot;
the application processor controls any two components including the application processor and the other chips to transmit internal signals in a second time slot in the first wireless frame, and the method comprises the following steps: and the application processor calculates whether the current internal signal to be transmitted can be transmitted in the second time slot, and if so, the application processor starts to transmit the internal signal in the second time slot.
2. The method of claim 1, wherein the application processor controlling the radio frequency signal to be transmitted in a first time slot in a first radio frame comprises:
the application processor acquires the transmitting power grade of the radio frequency signal to be transmitted;
and when the transmitting power level of the radio frequency signal is greater than a preset threshold, the application processor controls the radio frequency chip to transmit the radio frequency signal in a first time slot of a first wireless frame.
3. The method of claim 1 or 2, wherein the applying processor calculating whether the current internal signal to be transmitted can be transmitted in the second time slot, comprises:
the application processor determines the data volume and the transmission rate of a current signal to be transmitted between any two components including the application processor and the other chips;
the application processor determines a first time length according to the data volume and the transmission rate of the current signal to be transmitted;
and when the duration of the second time slot is greater than or equal to the first time slot, the application processor determines that the current internal signal to be transmitted can be completely transmitted in the second time slot.
4. The method of claim 3, wherein the method further comprises:
when the duration of the second time slot is less than the first duration, the application processor controls a first component of any two components to divide the signal to be transmitted into N data blocks, wherein N is an integer greater than 1;
and the application processor controls the first component to respectively transmit the N data blocks to second components in any two components by utilizing N second time slots in N wireless frames including the first wireless frame.
5. The method of claim 4, wherein the method further comprises:
the application processor controls the second component to splice the received N data blocks in sequence to form spliced data;
the application processor checks the splicing data;
and when the verification of the spliced data fails, the application processor controls the first component to perform the splitting processing on the signal to be transmitted again.
6. An apparatus comprising an application processor, a radio frequency chip, and other chips;
the application processor is configured to control the radio frequency chip to transmit a radio frequency signal in a first time slot in a first radio frame, and control the application processor and any two components including the other chips to transmit an internal signal in a second time slot in the first radio frame, where the first time slot and the second time slot are not overlapped;
the application processor, which controls transmission of internal signals between any two components including the application processor and the other chip in a second time slot in the first radio frame, is specifically configured to: the application processor calculates whether the current internal signal to be transmitted can be transmitted in the second time slot, and if so, starts to transmit the internal signal in the second time slot;
the radio frequency chip is used for transmitting a radio frequency signal in a first time slot in the first wireless frame according to the control of the application processor;
and the application processor and any two components including the other chips are also used for transmitting internal signals in a second time slot in the first wireless frame according to the control of the application processor.
7. The apparatus as claimed in claim 6, wherein said application processor, when controlling said radio frequency signal to transmit in a first time slot in a first radio frame, is specifically configured to:
acquiring the transmitting power grade of the radio frequency signal to be transmitted;
and when the transmitting power level of the radio frequency signal is greater than a preset threshold, controlling the radio frequency chip to transmit the radio frequency signal in a first time slot of a first wireless frame.
8. The apparatus according to claim 6 or 7, wherein the application processor calculates whether the current internal signal to be transmitted can be transmitted in the second timeslot, specifically to:
determining the data volume and the transmission rate of a current signal to be transmitted between any two components including the application processor and the other chips;
determining a first time length according to the data volume and the transmission rate of the current signal to be transmitted;
and when the duration of the second time slot is greater than or equal to the first time slot, determining that the current internal signal to be transmitted can be transmitted in the second time slot.
9. The apparatus of claim 8, wherein the application processor is further to:
when the duration of the second time slot is less than the first duration, controlling a first component of any two components to divide the signal to be transmitted into N data blocks, wherein N is an integer greater than 1;
and controlling the first component to respectively transmit the N data blocks to second components in any two components by using N second time slots in N wireless frames including the first wireless frame.
10. The apparatus of claim 9, wherein the application processor is further to:
controlling the second component to splice the received N data blocks in sequence to form spliced data;
checking the spliced data;
and when the verification of the spliced data fails, controlling the first component to carry out the division processing on the signal to be transmitted again.
11. An apparatus for carrying out the method of any one of claims 1 to 5.
12. An apparatus comprising a processor and a memory, the memory having stored therein instructions that, when executed by the processor, cause the apparatus to perform the method of any of claims 1 to 5.
13. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1 to 5.
14. A chip coupled to a memory in an electronic device, the chip, when reading and executing program instructions stored in the memory, causing the electronic device to perform the method of any of claims 1 to 5.
CN201910937255.3A 2019-09-29 2019-09-29 Signal transmission method and device Active CN110806994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910937255.3A CN110806994B (en) 2019-09-29 2019-09-29 Signal transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910937255.3A CN110806994B (en) 2019-09-29 2019-09-29 Signal transmission method and device

Publications (2)

Publication Number Publication Date
CN110806994A CN110806994A (en) 2020-02-18
CN110806994B true CN110806994B (en) 2021-09-07

Family

ID=69487941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910937255.3A Active CN110806994B (en) 2019-09-29 2019-09-29 Signal transmission method and device

Country Status (1)

Country Link
CN (1) CN110806994B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116315667B (en) * 2022-01-25 2023-11-17 荣耀终端有限公司 Data transmission method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8908667B1 (en) * 2007-09-07 2014-12-09 Marvell International Ltd. Method and apparatus for antenna path selection for multiple wireless communication components

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959198B (en) * 2010-04-20 2013-08-21 展讯通信(上海)有限公司 Method for searching GSM (Global System for Mobile Communications) adjacent zone by dual-mode terminal and dual-mode terminal
CN102958173B (en) * 2011-08-26 2016-03-30 华为技术有限公司 The method and apparatus of Resourse Distribute
CN105187083B (en) * 2013-05-30 2017-08-11 华为技术有限公司 RF receiving/transmission device, terminal and method
CN105204795A (en) * 2014-06-16 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
CN108882026A (en) * 2018-06-15 2018-11-23 深圳市茁壮网络股份有限公司 A kind of big document transmission method and device based on TS stream
CN109041030B (en) * 2018-08-28 2021-06-08 维沃移动通信有限公司 Data transmission method and terminal equipment
CN110198497B (en) * 2019-06-21 2024-04-09 福建省万华电子科技有限公司 Digital interphone with same-frequency time division duplex and communication method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8908667B1 (en) * 2007-09-07 2014-12-09 Marvell International Ltd. Method and apparatus for antenna path selection for multiple wireless communication components

Also Published As

Publication number Publication date
CN110806994A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN110347269B (en) Empty mouse mode realization method and related equipment
CN113498124B (en) SIM card and eSIM card switching method and electronic equipment
CN112469010B (en) Bluetooth connection method and related device
WO2022089000A1 (en) File system check method, electronic device, and computer readable storage medium
CN114422340A (en) Log reporting method, electronic device and storage medium
CN113225661A (en) Loudspeaker identification method and device and electronic equipment
CN114880251A (en) Access method and access device of storage unit and terminal equipment
CN112738794B (en) Network residing method, chip, mobile terminal and storage medium
JP2022501968A (en) File transfer method and electronic device
CN113129916B (en) Audio acquisition method, system and related device
CN110806994B (en) Signal transmission method and device
CN109285563B (en) Voice data processing method and device in online translation process
CN113901485B (en) Application program loading method, electronic device and storage medium
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN113126948A (en) Audio playing method and related equipment
CN110798893A (en) Method for solving coexistence interference and electronic equipment
CN114466238B (en) Frame demultiplexing method, electronic device and storage medium
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
CN112527220B (en) Electronic equipment display method and electronic equipment
CN113918003A (en) Method and device for detecting time length of skin contacting screen and electronic equipment
CN114077519A (en) System service recovery method and device and electronic equipment
CN113364067B (en) Charging precision calibration method and electronic equipment
CN116667875B (en) Switching method and device of internet access and terminal equipment
CN114125805B (en) Bluetooth reconnection method and terminal equipment
CN116346982B (en) Method for processing audio, electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant