Communication method, readable storage medium, program product and electronic device
By detecting the signal-to-noise ratio of the cellular radio frequency signal and adjusting the operating status of the interference source, the problem of interference by the hardware module on the radio frequency signal is solved, and the communication quality of electronic devices is improved, especially when the radio frequency signal is poor.
Patent Information
- Application Number
- CN202311863981.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-08
AI Technical Summary
The hardware modules in electronic devices interfere with the RF signal in the working state, resulting in a decrease in the signal-to-noise ratio and affecting the communication quality, especially when the RF signal is poor, the impact is particularly significant.
By detecting the signal-to-noise ratio of the cellular radio frequency signal and adjusting the operating state of the interference source, including reducing or turning off the frequency of the interference source, in order to reduce interference to the radio frequency signal and improve the signal-to-noise ratio.
It effectively improves the signal-to-noise ratio of electronic devices during communication, ensuring the stability and fluency of communication quality, especially in the case of poor radio frequency signals.
Smart Images

Figure CN120281334A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a communication method, a readable storage medium, a program product, and an electronic device. Background Art
[0002] With the development of the hardware of electronic devices, the interference caused by many hardware components in electronic devices to the radio frequency signals of electronic devices (for example, the mobile communication signals of electronic devices) is becoming stronger and stronger. For example, the distance detection of the camera module in an electronic device, and the transmission of data by the display module through the mobile industry processor interface (MIPI) will all affect the radio frequency signals of the electronic device. Taking a camera using time of flight (ToF) technology as an example, ToF is a sensor technology used to calculate the distance of an object. Currently, as the detection distance of ToF becomes farther and farther, the detection power of ToF becomes larger and larger, and the interference of ToF on radio frequency signals becomes stronger and stronger, affecting the communication quality of electronic devices. Summary of the Invention
[0003] In view of this, this application provides a communication method, a readable storage medium, a program product, and an electronic device.
[0004] In a first aspect, this application provides a communication method applied to an electronic device. The method includes: detecting the start of a first service, where a first device used during the operation of the first service can interfere with the cellular radio frequency signals transmitted by the electronic device; corresponding to the first signal-to-noise ratio of the cellular radio frequency signals received by the electronic device being less than a first threshold, adjusting the operating state of the first device, and this adjustment is used to reduce the interference caused by the first device to the cellular radio frequency signals.
[0005] Exemplarily, in some embodiments of this application, the first service may also be referred to as an interference source service, and the first device may be, for example, a device of a camera for implementing the time of flight technology, or a high-speed communication interface for transmitting data, etc. When the electronic device detects the start of the first service and the first signal-to-noise ratio is less than the first threshold, it can be determined that the data service of the electronic device is interfered. If the electronic device is currently running a data communication service, the electronic device can adjust the operating state of the first device to reduce the interference caused by the first device to the cellular radio frequency signals. Thereby, the signal-to-noise ratio of the cellular radio frequency signals received by the electronic device is improved, ensuring a good communication process of the electronic device.
[0006] In a possible implementation of the above first aspect, when the signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than the first threshold, adjusting the operating state of the first device includes: corresponding to the electronic device being engaged in data services and the first signal-to-noise ratio being greater than or equal to the second threshold, reducing the operating frequency of the first device; corresponding to the electronic device being engaged in data services and the first signal-to-noise ratio being less than the second threshold, shutting down the first service; where the second threshold is less than the first threshold.
[0007] Exemplarily, in some embodiments of the present application, the electronic device includes a first threshold and a second threshold. When the first signal-to-noise ratio is greater than the first threshold, the electronic device can smoothly conduct data services. When the first signal-to-noise ratio is less than the first threshold and greater than the second threshold, the data services of the electronic device are interfered. At this time, the operating frequency of the first device can be reduced to increase the signal-to-noise ratio of the electronic device. That is to say, the first device can still operate. When the first signal-to-noise ratio is less than the second threshold, the electronic device can determine that the data services are severely affected, and the electronic device can shut down the operation of the first device to improve the signal-to-noise ratio of the cellular radio frequency signal of the electronic device and ensure that the electronic device can normally conduct data services.
[0008] In a possible implementation of the above first aspect, when the signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than the first threshold, adjusting the operating state of the first device further includes: corresponding to the electronic device not being engaged in data services, not adjusting the operating state of the first device.
[0009] Exemplarily, in some embodiments of the present application, if the electronic device is not engaged in data services, even if the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is less than the first threshold, the electronic device will not adjust the operation of the first device to ensure that the first service can operate normally.
[0010] In a possible implementation of the above first aspect, when the first signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than the first threshold, adjusting the operating state of the first device further includes: after reducing the operating frequency of the first device, obtaining the second signal-to-noise ratio of the cellular radio frequency signal received by the electronic device; corresponding to the second signal-to-noise ratio being less than the second threshold, shutting down the first service.
[0011] Exemplarily, in some embodiments of the present application, when the first signal-to-noise ratio is less than the first threshold and the electronic device is conducting a data service. The electronic device can adjust the operating frequency of the first device. Then the electronic device delays a preset time (e.g., 100 ms) to obtain the second signal-to-noise ratio of the cellular radio frequency signal. When the second signal-to-noise ratio is less than the second threshold, the electronic device can turn off the first service. To improve the signal-to-noise ratio of the cellular radio frequency signal of the electronic device. That is to say, in this case, even if the electronic device adjusts the first device, the signal-to-noise ratio of the cellular radio frequency signal of the electronic device does not exceed the second threshold. Therefore, the first service can be directly turned off.
[0012] In a possible implementation of the first aspect above, the first threshold is any value between 15 db and 20 db; the second threshold is any value between 8 db and 12 db.
[0013] In a possible implementation of the first aspect above, corresponding to the signal-to-noise ratio of the cellular radio frequency signal received by the electronic device being less than the first threshold and adjusting the operating state of the first device, it further includes: corresponding to the first signal-to-noise ratio being less than the third threshold, turning off the first service; where the third threshold is the lowest threshold at which the electronic device can receive a voice service, and the third threshold is less than the first threshold.
[0014] Exemplarily, in some embodiments of the present application, the electronic device further includes a third threshold, and the third threshold is the value of the signal-to-noise ratio of the lowest cellular radio frequency signal at which the electronic device can receive a voice service. When the first service of the electronic device is started, if the first signal-to-noise ratio is lower than the third threshold, the electronic device can turn off the interference source. Thus ensuring that the electronic device can receive a voice service.
[0015] In a possible implementation of the first aspect above, corresponding to the electronic device being in a voice service, when the first signal-to-noise ratio is less than the fourth threshold and greater than or equal to the third threshold, reduce the operating frequency of the first device; where the fourth threshold is greater than the third threshold.
[0016] Exemplarily, in some embodiments of the present application, the electronic device further includes a fourth threshold. When the first service of the electronic device is started and the electronic device is in a voice service. If the first signal-to-noise ratio is less than the fourth threshold, the voice service of the electronic device will be affected. Therefore, when the electronic device determines that the first signal-to-noise ratio is less than the fourth threshold and greater than the third threshold, the operating frequency of the first device can be adjusted to reduce the impact of the operation of the first device on the voice service.
[0017] In a possible implementation of the first aspect above, the third threshold is any value between -5 db and 5 db.
[0018] In a possible implementation of the foregoing first aspect, the foregoing first service includes at least one of the following services: a service for transmitting data based on a high-speed communication interface, where the high-speed communication interface includes a Mobile Industry Processor Interface (MIPI), a Display Serial Interface (DSI), and a Universal System Interface (USI); a camera service that employs flight detection technology.
[0019] In a second aspect, the present application provides an electronic device, including: a memory for storing instructions; and at least one processor for executing the instructions to cause the electronic device to implement the method provided in the foregoing first aspect and any possible implementation of the foregoing first aspect.
[0020] In a third aspect, the present application provides a computer-readable storage medium having instructions stored thereon, and when the instructions are executed on a computer, the computer is caused to implement the method provided in the foregoing first aspect and any possible implementation of the foregoing first aspect.
[0021] In a fourth aspect, the present application provides a computer program product, and when the computer program product runs on an electronic device, the electronic device is caused to implement the method provided in the foregoing first aspect and any possible implementation of the foregoing first aspect. Description of the Drawings
[0022] Figure 1A According to some embodiments of the present application, a scenario diagram of a voice call when the signal of an electronic device is good is shown;
[0023] Figure 1B According to some embodiments of the present application, a scenario diagram of a voice call when the signal of an electronic device is poor is shown;
[0024] Figure 2 According to some embodiments of the present application, an implementation flowchart of a communication method is shown;
[0025] Figure 3 According to some embodiments of the present application, a schematic diagram of a software architecture is shown;
[0026] Figure 4 According to some embodiments of the present application, an implementation flowchart of adjusting an interfering source service is shown;
[0027] Figure 5 According to some embodiments of the present application, a schematic diagram of the structure of an electronic device is shown. Detailed Embodiments
[0028] Exemplary embodiments of the present application include, but are not limited to, a communication method, a readable storage medium, a program product, and an electronic device.
[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings of the specification and specific implementation manners.
[0030] As described above, in some scenarios, some hardware devices in an electronic device may affect the radio frequency signals of the electronic device when they are in a working state, resulting in a reduction in the signal-to-noise ratio of the electronic device and an unsmooth communication process of the electronic device.
[0031] Exemplarily, the electronic device in the embodiments of this application may be, for example, a mobile phone, a tablet computer, a notebook, a wearable device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiments of this application do not limit the specific type of the electronic device.
[0032] In the embodiments of this application, taking the interference caused by a camera using ToF technology to an electronic device as an example, the impact of the hardware in the electronic device on the radio frequency signals of the electronic device is introduced. In some other embodiments, other hardware modules in the electronic device may also affect the radio frequency signals of the electronic device. For example, the display module transmits data through the MIPI interface, etc.
[0033] For example, Figure 1A According to some embodiments of this application, a scenario diagram of a voice call when the signal of an electronic device is good is shown. Figure 1B According to some embodiments of this application, a scenario diagram of a voice call when the signal of an electronic device is poor is shown.
[0034] In some scenarios, the user uses the electronic device 100 to make a voice call in an environment with a good signal. Exemplarily, as Figure 1A shown, the user is using the electronic device 100 to take a photo. At this time, the electronic device 100 displays the photo-taking interface 10. And, the signal icon 20 on the electronic device 100 shows a 5G signal, and the signal strength is 4 bars (for example, the four rectangular columns shown on the signal icon 20). During the process of the user using the camera function to take a photo, the camera can obtain the depth (distance) information of the entire image captured by the camera through ToF technology to enhance the shooting effect. At this time, the electronic device 100 receives a voice call, and an answer button 31 and a hang-up button 32 pop up on the photo-taking interface 10. The user can, for example, click the answer button 31 to answer the call. At this time, the camera of the electronic device 100 has not been turned off and is still working using the ToF function. For example Figure 1A in, a floating window 40 for a voice call is displayed on the photo-taking interface 10' of the electronic device 100.
[0035] However, the working principle of the ToF technology is to continuously send light pulses to the target, and then use the sensor to receive the light returned from the object. The distance to the target is obtained by detecting the flight time of the light pulse back. The frequency of the light pulses continuously emitted by the camera changes too fast, and the changes in the rising edge and falling edge are too large, which will affect the radio frequency signal of the electronic device 100. When the signal of the electronic device 100 is good, for example, the signal strength of the above-mentioned electronic device 100 is 4 bars. Even if the ToF in the camera of the electronic device 100 affects the radio frequency signal of the electronic device 100, the signal-to-noise ratio of the electronic device 100 can still maintain a large value. Therefore, in the current situation, the ToF of the camera in the electronic device 100 will not affect the voice call of the electronic device 100.
[0036] In some other scenarios, the user uses the electronic device 100 to take pictures in an environment with poor signal. Exemplarily, as Figure 1B shown, the signal icon 20' on the camera interface 50 of the electronic device 100 shows a 3G signal, and the signal strength is only 2 bars (for example, only two rectangular columns are shown on the signal icon 20'). At this time, the camera of the electronic device 100 can use the ToF technology to enhance the shooting effect. If the electronic device 100 receives a voice call, for example, an answer button 31' and a hang-up button 32' pop up on the camera interface 50. The user can, for example, click the answer button 31' to answer the call. At this time, the camera of the electronic device 100 has not been turned off yet, and the camera is still working with the ToF function. For example Figure 1B in, a floating window 40' for a voice call is displayed on the camera interface 50' of the electronic device 100.
[0037] However, the current signal strength of the electronic device 100 is weak (for example, only 2 bars), and when the camera of the electronic device 100 uses the ToF function, it will increase the interference to the radio frequency signal of the electronic device 100 and reduce the signal-to-noise ratio of the electronic device 100. Due to the poor current signal environment of the electronic device 100, the signal-to-noise ratio of the electronic device 100 will be further reduced, resulting in an impact on the communication process of the electronic device 100. For example, when the voice call process of the electronic device 100 is affected, a prompt box 60 showing "Your call signal is poor" will be displayed on the current interface (for example, the camera interface 50'). Therefore, the ToF in the camera of the electronic device 100 will affect the call quality of the electronic device 100.
[0038] In some other embodiments, when the user starts the camera with the ToF function to take pictures or videos during the process of the electronic device 100 downloading data, the ToF function will also affect the radio frequency signal of the electronic device 100 and affect the process of the electronic device 100 downloading data. This makes the speed of the electronic device 100 downloading data slower.
[0039] In some other embodiments, when other components in the electronic device 100 are operating, they may interfere with the radio frequency signals of the electronic device 100, which may also affect other communication services of the electronic device 100.
[0040] In summary, the hardware modules of the electronic device affect the radio frequency signals of the electronic device during operation, resulting in a decrease in the signal-to-noise ratio during the communication process of the electronic device. When the radio frequency signals of the electronic device are poor, the hardware modules of the electronic device have a greater impact on the signal-to-noise ratio of the electronic device, reducing the communication quality of the electronic device.
[0041] To solve the above problems, the present application proposes a communication method. The electronic device can detect the signal-to-noise ratio of the radio frequency signals of the cellular network of the electronic device (hereinafter referred to as cellular radio frequency signals) and the operating states of interference sources (such as components like cameras and displays) in the electronic device. When the interference source is in an operating state and the electronic device currently has a communication service, if the electronic device detects that the signal-to-noise ratio of the cellular radio frequency signals is lower than a first threshold (such as 15 db), the electronic device can adjust the operating state of the interference source (such as reducing the operating frequency of the interference source or turning off the interference source) to reduce the interference of the interference source on the cellular radio frequency signals of the electronic device, thereby increasing the signal-to-noise ratio of the cellular radio frequency signals of the electronic device to ensure the smoothness of the communication process of the electronic device.
[0042] In some embodiments, the first threshold may be a threshold at which the operation of the interference source can cause abnormalities in the communication services of the electronic device. That is, when the signal-to-noise ratio of the cellular radio frequency signals of the electronic device is lower than the first threshold, the electronic device may experience problems such as slow file downloads, poor call quality, or video playback stuttering. Exemplarily, the first threshold may be any value between 15 db and 20 db. For example, in the embodiments of the present application, the first threshold is 15 db.
[0043] Through this solution, in a state where the interference source service of the electronic device is running and the signal-to-noise ratio of the cellular radio frequency signals of the electronic device is lower than the first threshold, if the electronic device is performing a communication service, the electronic device can adjust the interference source to ensure the normal operation of the communication service of the electronic device. When the electronic device can communicate normally (signal-to-noise ratio greater than the first threshold) or there is no ongoing communication service, the electronic device will not adjust the interference source service to ensure the normal operation of the interference source service of the electronic device.
[0044] In some embodiments of the present application, the communication services of the electronic device include data services and voice services. Among them, the data service is, for example, the service of data packets transmitted between the electronic device and the server. Among them, the data packet may include, for example, a data frame or the user's data message. Among them, the data frame is mainly responsible for transmitting data between workstations, carrying data payloads from layers 3-7, and the data payloads are often encrypted. Its function is mainly to provide data transmission and may be used for special media access control. Data services include, for example, downloading data, loading web pages, and loading videos. The voice services of the electronic device may include, for example, voice calls, video calls, voice conferences, or video conferences. It should be understood that in the embodiments of the present application, the management frames or control frames transmitted between the electronic device and the server do not belong to the data service. For example, data packets sent when the electronic device maintains a long connection with the server, etc.
[0045] In some embodiments, the interference source service of the electronic device is started, and the electronic device is performing a data service. If the electronic device detects that the signal-to-noise ratio of the cellular radio frequency signal is lower than the first threshold (for example, 15 db) and greater than or equal to the second threshold (for example, any data between 8 db and 12 db, taking 10 db as an example in the embodiments of the present application), the electronic device can reduce the operating frequency of the interference source. If the electronic device detects that the signal-to-noise ratio of the cellular radio frequency signal is lower than the second threshold, the electronic device can turn off the interference source to improve the signal-to-noise ratio.
[0046] In some other embodiments, the interference source service of the electronic device is started, and the electronic device is performing a data service. If the electronic device detects that the signal-to-noise ratio of the cellular radio frequency signal is lower than the second threshold, the electronic device can gradually reduce the operating frequency of the interference source and detect the signal-to-noise ratio of the cellular radio frequency signal of the electronic device. In the case where the operating frequency of the interference source service is reduced to the lowest, if the signal-to-noise ratio of the electronic device is still less than the second threshold, the electronic device can turn off the interference source.
[0047] In some embodiments, the interference source service of the electronic device is started, the electronic device is not performing a communication service, or is performing a voice service. If the electronic device detects that the signal-to-noise ratio of the cellular radio frequency signal is lower than the third threshold (for example, any data between -5 db and 5 db, taking 0 db as an example in the embodiments of the present application). The electronic device can turn off the interference source to ensure that the electronic device can normally perform a voice service or can receive a voice service.
[0048] In some embodiments, the third threshold is, for example, a threshold for ensuring the signal-to-noise ratio of the cellular radio frequency signal that enables the electronic device to conduct normal voice services and receive voice services. That is to say, only when the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is greater than the third threshold can the electronic device receive voice services. Therefore, when the electronic device detects that the signal-to-noise ratio of the cellular radio frequency signal is lower than the third threshold, even if the electronic device does not have an ongoing communication service currently, the electronic device can turn off the interference source service to reduce the interference of the interference source on the electronic device, improve the signal-to-noise ratio of the electronic device, and ensure that the electronic device can normally receive voice services.
[0049] In some embodiments, the electronic device may further include a fourth threshold, and the fourth threshold is greater than the third threshold. When the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is greater than the third threshold and less than the fourth threshold, the voice service of the electronic device is interfered. If the interference source service is started and the electronic device is conducting a voice service, the electronic device will adjust the operating frequency of the interference source service to reduce the impact of the interference source service on the voice service.
[0050] In some embodiments, the cellular radio frequency signal is a signal used to transmit information in a cellular wireless communication system. Among them, cellular wireless communication is a communication technology that uses a cellular network to connect terminals (i.e., electronic devices) and network devices through wireless channels to enable users to communicate with each other during activities. The cellular network is a mobile communication hardware architecture, which is divided into an analog cellular network and a digital cellular network. It consists of a mobile station, a base station subsystem, and a network subsystem, where the mobile station is a network terminal device. The base station subsystem includes mobile base stations (large iron towers / signal towers) commonly seen in daily life, wireless transceiver devices, a dedicated network (usually optical fiber), and numerous digital devices, etc.
[0051] Next, the process of the electronic device adjusting the interference source in the embodiments of the present application will be introduced.
[0052] For example, Figure 2 According to some embodiments of the present application, a flowchart of the electronic device adjusting the interference source is shown.
[0053] Exemplarily, the electronic device in the embodiments of the present application may be, for example, a mobile phone, a tablet computer, a notebook, a wearable device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiments of the present application do not limit the specific type of the electronic device. The interference source in the embodiments of the present application may be, for example, a device or module that interferes with the cellular radio frequency signal of the electronic device during operation, such as a device or module that transmits high-frequency signals or emits high-frequency electromagnetic waves during operation. Exemplarily, the interference source may include a camera, a display screen in the electronic device, and devices or modules directly or indirectly connected to the processor of the electronic device through an MIPI interface, a display serial interface (DSI), a common system interface, etc. The embodiments of the present application do not limit the interference source.
[0054] Exemplarily, the execution subject of each of the following processes is an electronic device. When introducing each of the following processes, the execution subject of each process will not be repeated.
[0055] As Figure 2 shown, this process includes:
[0056] S101, detecting that the interference source service is started.
[0057] Exemplarily, the frequency of the current change (i.e., the operating frequency) generated by the interference source service in the electronic device during operation is likely to interfere with the cellular radio frequency signal of the electronic device, resulting in a decrease in the signal-to-noise ratio of the cellular radio frequency signal of the electronic device and affecting the communication service of the electronic device. For example, the display screen transmits data through the MIPI interface, and a camera with a ToF function is used to take pictures, etc. When the above interference source service is started, the electronic device can detect it.
[0058] S102, obtaining the signal-to-noise ratio of the cellular radio frequency signal.
[0059] Exemplarily, in the embodiments of the present application, after the electronic device detects that the interference source service is started, it can obtain the signal-to-noise ratio of the cellular radio frequency signal of the electronic device in real time so as to adjust the interference source of the electronic device in real time. For example, during the process of the electronic device using a camera with a ToF function, the electronic device obtains the signal-to-noise ratio of the cellular radio frequency signal of the electronic device every 500 ms.
[0060] S103, determining whether there is a communication service currently.
[0061] Exemplarily, in an embodiment of the present application, after the interference source service of the electronic device is started, it can be determined whether a communication service is in progress.
[0062] If the determination result is yes, then S104 is executed to determine whether the signal-to-noise ratio of the cellular radio frequency signal is less than a first threshold.
[0063] If the determination result is no, then S106 is executed to determine whether the signal-to-noise ratio of the cellular radio frequency signal is lower than a third threshold for voice services.
[0064] S104, determine whether the signal-to-noise ratio of the cellular radio frequency signal is less than a first threshold.
[0065] Exemplarily, in an embodiment of the present application, after the interference source service of the electronic device is started and there is a communication service, the electronic device can also determine whether the signal-to-noise ratio of the cellular radio frequency signal is less than a first threshold. Among them, the first threshold can be, for example, 15 db.
[0066] If the determination result is yes, then S105 is executed to adjust the interference source service.
[0067] If the determination result is no, then S102 is executed to obtain the signal-to-noise ratio of the cellular radio frequency signal.
[0068] In some other embodiments, the electronic device can also first determine whether the signal-to-noise ratio of the cellular radio frequency signal is less than a first threshold, and, in the case where the signal-to-noise ratio of the cellular radio frequency signal is greater than or equal to the first threshold, execute the S102 process. In the case where the signal-to-noise ratio of the cellular radio frequency signal is less than the first threshold, it is further determined whether there is a communication service currently.
[0069] S105, adjust the interference source service.
[0070] Exemplarily, in an embodiment of the present application, after the interference source service of the electronic device is started, if the electronic device is in a communication service and the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than the first threshold, the electronic device can adjust the interference source. And, in the case where the electronic device is not in a communication service, if the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than the third threshold (for example, 0 db), the interference source service can also be adjusted. Adjusting the interference source service can include, for example, reducing the operating frequency of the interference source or turning off the interference source.
[0071] For example, after the interference source service of the electronic device is started, when the current existing communication service is a data service, if the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is less than the first threshold and greater than or equal to the second threshold, the electronic device can reduce the operating frequency of the interference source service. If the signal-to-noise ratio is less than the second threshold, the electronic device can turn off the interference source service. When there is no current communication service and the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is less than the third threshold, the electronic device can turn off the interference source service.
[0072] In some embodiments, after the interference source service of the electronic device is started, when the current existing communication service is a data service, if the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is less than the first threshold and greater than or equal to the second threshold. The electronic device can gradually adjust the operating frequency of the interference source service (that is, each time the interference source is adjusted, the preset operating frequency is reduced). If, after adjusting the interference source service, the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is greater than or equal to the first threshold, there is no need to adjust the interference source service anymore. If the operating frequency of the interference source service drops to the lowest and the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is still less than the first threshold and greater than or equal to the second threshold, the electronic device will no longer adjust the operating frequency of the interference source.
[0073] In some embodiments, the electronic device has at least one interference source service, and when the electronic device adjusts the interference source service each time, all the interference source services can be adjusted simultaneously.
[0074] Exemplarily, after the electronic device adjusts the interference source service, it can delay for a period of time (such as 200 ms), and then execute S102 again to obtain the signal-to-noise ratio of the cellular radio frequency signal. And perform the next detection until no interference source service of the electronic device is started.
[0075] S106, determine whether the signal-to-noise ratio of the cellular radio frequency signal is less than the third threshold for the voice service.
[0076] Exemplarily, in the embodiments of the present application, although the electronic device does not have an ongoing communication service, if the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than the third threshold, the electronic device may not be able to receive the voice service. Therefore, even if the electronic device does not have an ongoing communication service, the electronic device can determine whether the signal-to-noise ratio of the cellular radio frequency signal is lower than the third threshold.
[0077] If the judgment result is yes, then execute S105 to adjust the interference source service.
[0078] If the judgment result is no, then execute S102 to obtain the signal-to-noise ratio of the cellular radio frequency signal.
[0079] In summary, when the interference source service is started, the electronic device can determine whether a communication service is in progress. When the electronic device is conducting a communication service, it further determines whether the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than a first threshold. If it is lower than the first threshold, the electronic device can adjust the interference source (reduce the interference source frequency or turn off the interference source). This can ensure the communication quality of the electronic device. Moreover, when the electronic device is not conducting a communication service, or when the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is higher than the first threshold, the electronic device does not need to adjust the interference source to ensure the normal operation of the interference source. Also, to ensure that the electronic device can receive voice services, the electronic device can determine whether the signal-to-noise ratio of the cellular radio frequency signal is lower than a third threshold even when it is not conducting a communication service. When the signal-to-noise ratio is lower than the third threshold, the electronic device can adjust the interference source service.
[0080] Next, a software system for the electronic device to implement the above communication method in the embodiments of the present application is introduced.
[0081] Exemplarily, taking the electronic device as a mobile phone, the software system of the electronic device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present invention, a system with a layered architecture is taken as an example to exemplarily illustrate the software system of the electronic device.
[0082] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. Exemplarily, in some embodiments, the software system of the electronic device includes an application layer, a framework layer, and a hardware abstraction layer.
[0083] As Figure 3 shown, the application layer can include a series of application programs.
[0084] The application programs can include a SAR (specific absorption rate) service (a service capable of obtaining data in the radio frequency profile of the electronic device), a radio frequency profile, and application programs such as a camera, video, navigation, call, gallery, calendar, map, Bluetooth, music, and short message.
[0085] Among them, the radio frequency profile is a file including various parameters and setting information about the radio frequency system of the electronic device (for example, including antennas, radio frequency transceivers, signal processing algorithms, etc.). These parameters and setting information are used to control the wireless communication functions of the electronic device, such as signal transmission and reception, frequency selection, power control, modulation method, etc.
[0086] The SAR service includes a communication control module, which can obtain the signal-to-noise ratio of the cellular radio frequency signal of the electronic device from the radio frequency configuration file. Moreover, data such as a first threshold, a second threshold, and a third threshold are also set in the communication control module. The communication control module can compare the obtained signal-to-noise ratio of the electronic device with the first threshold, the second threshold, and the third threshold to determine whether it is necessary to adjust the interference source service of the electronic device.
[0087] In some embodiments of the present application, during the operation of some applications such as cameras and videos, the services (interference source services) may cause the current change frequency of the corresponding components of the electronic device (such as the ToF module in the camera and the MIPI interface connecting the display module to the processor of the electronic device) to be too fast, which may strongly interfere with the cellular radio frequency signal of the electronic device and reduce the signal-to-noise ratio of the electronic device. The communication control module can also control the corresponding components to reduce the current change frequency of the corresponding components during the operation of the interference source application, so as to improve the signal-to-noise ratio of the electronic device.
[0088] In some embodiments of the present application, some applications can generate communication services during operation. For example, applications such as navigation and video can generate data services, and applications such as calls can generate voice services.
[0089] The application layer of the electronic device is mainly responsible for interacting with users, providing various application programs and services to meet the needs of users. For example, it controls the startup, operation, and shutdown of various application programs through the application program management function, including the installation, uninstallation, and update of application programs. Or it provides location and navigation services through the location and navigation function, etc.
[0090] The framework layer provides application programming interfaces (APIs) and programming frameworks for the application programs in the application layer. The framework layer includes some predefined functions.
[0091] The framework layer may also include a window manager service (WMS), a view system, a graphics system, a surface flinger system, a display engine service, a resource manager, a notification manager, etc.
[0092] The WMS is used to manage window programs. The WMS can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0093] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can consist of one or more views.
[0094] The graphics system is a general-purpose programming software package in the system, which consists of graphics I / O devices. Its basic functions include primitive generation, attribute setting, etc.
[0095] Surface flinger can also be called interface composition. The role of surface flinger is to receive the graphics display data provided by WMS, synthesize them, and input them to the display device for display. Surface flinger can use the Open Graphics Library hardware composer (HWC) to synthesize the interface (surface).
[0096] The display engine service can call the hardware capabilities provided by the ambient light sensor in the hardware abstraction layer to obtain the illumination intensity of the ambient light.
[0097] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, and so on.
[0098] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application, or a notification that appears on the screen in the form of a dialogue window. For example, it prompts text information in the status bar, emits a prompt sound, the electronic device vibrates, the indicator light flashes, etc.
[0099] The hardware abstraction layer (HAL layer) is located between the operating system kernel and the hardware layer, and is used to abstract the hardware, hide the hardware interface details, and provide a virtual hardware platform for the operating system.
[0100] Exemplarily, in some embodiments of the present application, the HAL layer may include, for example, Came hal and Hncamera AIDL service (a service for camera devices).
[0101] Among them, Cam hal includes HAL, the camera hardware interface (CHI), and CamX (a general camera interface).
[0102] HAL is the hardware abstraction layer interface of Cam hal.
[0103] CHI is a hardware abstraction layer interface that provides a unified hardware access and control interface for upper-layer software, enabling upper-layer software to be unaware of the specific implementation details of the underlying hardware, thus simplifying the camera driver and application development.
[0104] Through the CHI interface, upper-layer software can implement various controls on the camera, such as setting camera parameters, starting photo taking, video recording, etc. The CHI interface also provides some standardized functions and data types, enabling camera drivers and applications from different manufacturers to be compatible with each other.
[0105] In the embodiments of this application, various parameters of the ToF camera, such as exposure time, gain, resolution, etc., can be accessed through the CHI interface and adjusted. Therefore, the ToF function of the camera can be adjusted through the CHI interface to reduce the frequency of current changes during the operation of the camera and reduce the impact of the camera on the cellular radio frequency signal of the electronic device.
[0106] CamX is a camera application framework that is implemented based on the CHI interface and provides a complete set of camera application programming interfaces (APIs). CamX encapsulates various functions of the camera into modular components, such as image acquisition, image processing, image output, etc., facilitating developers to develop camera applications.
[0107] CamX also provides some advanced camera functions, such as face recognition, gesture recognition, beauty enhancement, etc. Developers can call these functions through the APIs provided by CamX to enrich their camera applications.
[0108] The Hn camera AIDL service communicates with the hardware through the interface provided by the HAL to achieve control and data acquisition of the camera device.
[0109] Among them, the Hn camera AIDL service includes the Hn camera AIDL service interface, the Hn camera AIDL service, and the Hn camera AIDL service thread.
[0110] Hn camera AIDL service interface (interface): Defines some interfaces for communicating with other processes or threads. These interfaces usually define a set of methods for passing data or control instructions.
[0111] Hn camera AIDL service Service: Define a service to handle the control and data acquisition operations of the camera device. This service can communicate with other processes or threads through the AIDL interface to achieve data transmission and execution of control instructions.
[0112] Hn camera AIDL service Thread: Used to execute some tasks that need to be executed asynchronously, such as the control and data acquisition operations of the camera device. By using threads, these tasks can be executed in the background without affecting the response of the main thread and the user experience.
[0113] Exemplarily, in the embodiments of the present application, the SAR service (or the communication control module in the SAR service) can call some methods in the Hn camera AIDL service through the Hn camera AIDL service interface. These methods usually define some tasks that need to be executed in the background thread. When these methods are called, the Hn camera AIDL service can create a new thread (Hn camera AIDL service thread) and assign the tasks to this thread for execution. For example, during the process of the SAR service adjusting the ToF camera, various parameters of the ToF camera, such as exposure time, gain, resolution, etc., can be accessed through the CHI interface based on the Hn camera AIDL service thread, and adjusted to reduce the interference of the camera on the cellular radio frequency signal of the electronic device, or turn off the camera.
[0114] In some other embodiments, the SAR service can also adjust the operating frequency of the camera through other interfaces to achieve the purpose of improving the signal-to-noise ratio of the electronic device.
[0115] Next, the process of the electronic device adjusting the interference source in the embodiments of the present application will be introduced.
[0116] For example, Figure 4 According to some embodiments of the present application, a flowchart of an implementation of adjusting the interference source service is shown.
[0117] As Figure 4 shown, the process includes:
[0118] S201, the interference source service starts.
[0119] Exemplarily, the frequency generated during the operation of the interference source service in the electronic device is likely to interfere with the cellular radio frequency signal of the electronic device, resulting in a decrease in the signal-to-noise ratio of the cellular radio frequency signal of the electronic device and affecting the communication service of the electronic device.
[0120] Exemplarily, during the process of playing a video or displaying an animation on the display screen of an electronic device, image data needs to be transmitted through the MIPI interface. If the amount of data transmitted is large and the frequency of change of the amount of data is fast, the impact on the cellular radio frequency signal of the electronic device is relatively serious. Or, during the operation of the camera with the ToF function in the electronic device, the frequency of the generated pulses is high, which will also seriously affect the cellular radio frequency signal of the electronic device.
[0121] S202, The communication control module receives the startup of the interference source service.
[0122] Exemplarily, in some embodiments of the present application, the communication control module in the electronic device can receive a message for starting the interference source service. Moreover, the communication control module can also adjust the operating frequency of the interference source or turn off the interference source to reduce the impact of the interference source on the cellular radio frequency signal of the electronic device and reduce the signal-to-noise ratio of the electronic device.
[0123] S203, The communication control module obtains the signal-to-noise ratio of the cellular radio frequency signal received by the radio frequency antenna.
[0124] Exemplarily, in some embodiments of the present application, the communication control module in the electronic device can obtain the signal-to-noise ratio of the cellular radio frequency signal of the electronic device, so as to determine whether to adjust the interference source according to the signal-to-noise ratio of the electronic device during the startup process of the interference source service. To ensure that the electronic device has a high signal-to-noise ratio and ensure the communication quality of the electronic device.
[0125] Exemplarily, in the embodiments of the present application, after detecting the startup of the interference source service, the communication control module of the electronic device can obtain the signal-to-noise ratio of the cellular radio frequency signal of the electronic device in real time, so as to adjust the interference source of the electronic device in real time. For example, during the process of the electronic device using a camera with the ToF function, the communication control module obtains the signal-to-noise ratio of the cellular radio frequency signal of the electronic device every 500 ms.
[0126] S204, The communication control module determines whether the signal-to-noise ratio of the cellular radio frequency signal is lower than the first threshold.
[0127] Exemplarily, in some embodiments of the present application, the first threshold can be, for example, 15 db. If the signal-to-noise ratio of the electronic device is higher than the first threshold, a good communication environment can be maintained. If the signal-to-noise ratio of the electronic device is lower than the first threshold, it may be necessary to adjust the interference source to increase the signal-to-noise ratio of the electronic device.
[0128] If the judgment result is yes, then execute S205, and the communication control module determines whether there is a data service.
[0129] If the judgment result is negative, then S203 is executed, and the communication control module obtains the signal-to-noise ratio of the cellular radio frequency signal received by the radio frequency antenna.
[0130] S205, the communication control module determines whether there is a data service.
[0131] Exemplarily, in some embodiments of the present application, when the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than the first threshold. The communication control module can determine whether there is an ongoing data service on the electronic device. Among them, the data packets transmitted by the data service can be, for example, data frames transmitted between the electronic device and the server or user data messages, etc. For example, the data service can include downloading data, loading web pages, loading videos, etc.
[0132] If the judgment result is negative, then S206 is executed, and the communication control module determines whether the signal-to-noise ratio of the cellular radio frequency signal is lower than the third threshold.
[0133] If the judgment result is positive, then S207 is executed, and the communication control module determines whether the frequency of the interference source has been reduced.
[0134] S206, the communication control module determines whether the signal-to-noise ratio of the cellular radio frequency signal is lower than the third threshold.
[0135] Exemplarily, in the embodiments of the present application, after the communication control module determines that there is no ongoing data service on the electronic device, it can also determine whether the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than the third threshold. The third threshold can be, for example, 0 dB, and the third threshold is the threshold for the electronic device to be able to conduct normal voice services and receive voice services. In order for the electronic device to ensure that it can receive voice services, it is necessary to ensure that the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is greater than the third threshold (i.e., greater than 0 dB).
[0136] If the judgment result is positive, then S211 is executed to turn off the interference source.
[0137] If the judgment result is negative, then S203 is executed, and the communication control module obtains the signal-to-noise ratio of the cellular radio frequency signal received by the radio frequency antenna.
[0138] S207, the communication control module determines whether the frequency of the interference source has been reduced.
[0139] Exemplarily, in some embodiments of the present application, since the interference source is in the on state, therefore, the communication control module may have adjusted the operating frequency of the interference source (i.e., reduced the operating frequency of the interference source). Therefore, although the communication control module determines that the signal-to-noise ratio of the video signal of the electronic device is lower than the first threshold and there is a data service, if the interference source service has already reduced its operating frequency, the communication control module will not reduce the operating frequency of the interference source again.
[0140] If the judgment result is yes, then execute S210, and the communication control module determines whether the signal-to-noise ratio of the cellular radio frequency signal is lower than a second threshold.
[0141] If the judgment result is no, then execute S208, and the communication control module reduces the frequency of the interference source.
[0142] S208, the communication control module reduces the frequency of the interference source.
[0143] Exemplarily, in some embodiments of the present application, when the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than a first threshold and there is a data service. If the interference source has not been adjusted, the communication control module can adjust the interference source and reduce the operating frequency of the interference source to improve the signal-to-noise ratio of the cellular radio frequency signal of the electronic device.
[0144] For example, if the interference source services include a camera and a display screen, the communication control module can adjust the operating frequencies of the camera and the display screen to reduce the interference of the camera and the display screen on the cellular radio frequency signal.
[0145] S209, delay a preset time, and the communication control module obtains the signal-to-noise ratio of the cellular radio frequency signal received by the radio frequency antenna.
[0146] Exemplarily, after the communication control module reduces the operating frequency of the interference source, theoretically, the interference on the cellular radio frequency signal of the electronic device will be reduced and the signal-to-noise ratio will increase. Therefore, the communication control module can delay a preset time and obtain the signal-to-noise ratio of the cellular radio frequency signal of the electronic device again to determine whether the signal-to-noise ratio of the electronic device has increased. Among them, the preset delay time can be, for example, 100 ms. In other embodiments, a longer or shorter delay time can also be used, and the embodiments of the present application do not limit the delay time.
[0147] S210, the communication control module determines whether the signal-to-noise ratio of the cellular radio frequency signal is lower than a second threshold.
[0148] Exemplarily, in the embodiments of the present application, the second threshold is the threshold for turning off the interference source, and the second threshold can be, for example, 10 db. That is to say, if the communication control module detects that the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is lower than the second threshold, it means that the electronic device cannot improve the signal-to-noise ratio even if the operating frequency of the interference source is reduced. At this time, the electronic device can turn off the interference source to improve the signal-to-noise ratio of the electronic device.
[0149] If the judgment result is yes, then execute S211, and the communication control module turns off the interference source.
[0150] If the judgment result is no, then execute S203, and the communication control module obtains the signal-to-noise ratio of the cellular radio frequency signal received by the radio frequency antenna.
[0151] S211, the communication control module turns off the interference source
[0152] Exemplarily, in the embodiments of the present application, if the signal-to-noise ratio of the cellular radio frequency signal of the electronic device is still less than the second threshold after the operating frequency of the interference source of the electronic device is reduced, the communication control module turns off the interference source to improve the signal-to-noise ratio of the electronic device and ensure the data service of the electronic device.
[0153] In summary, the communication control module can obtain the signal-to-noise ratio of the cellular radio frequency signal of the electronic device and adjust the operating frequency of the interference source of the electronic device. When the signal-to-noise ratio of the electronic device is lower than the first threshold and the electronic device has a data service, the communication control module can adjust the interference source service. In this way, when the electronic device has no data service, even if the signal-to-noise ratio of the electronic device is lower than the first threshold, the interference source service will not be adjusted, so that the interference source service can operate normally without affecting communication.
[0154] Moreover, when the signal-to-noise ratio of the electronic device is lower than the second threshold, the communication control module can also turn off the interference source to reduce the interference of the interference source on the cellular radio frequency signal of the electronic device and improve the signal-to-noise ratio of the electronic device. When the signal-to-noise ratio of the electronic device is lower than the third threshold, the communication control module can also turn off the interference source to ensure that the electronic device can receive voice services. Wherein the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold.
[0155] Next, taking a mobile phone as an example, the electronic device 100 involved in some embodiments of the present invention will be introduced in detail.
[0156] Figure 5 A schematic structural diagram of an electronic device 100 is shown according to an embodiment of the present application.
[0157] 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, a headphone jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric 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, etc.
[0158] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0159] The processor 110 may include one or more processing units. For example, 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 video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0160] The signal processing method in the embodiments of the present application may be implemented by the processor 100.
[0161] The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0162] A memory can also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0163] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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 interface, and / or a universal serial bus (USB) interface, etc.
[0164] The charging management module 140 is configured to receive a charging input from a charger. Herein, the charger can be a wireless charger or a wired charger.
[0165] 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 the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the display screen, the camera, the wireless communication module 160, etc.
[0166] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[0167] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas.
[0168] The mobile communication module 150 may provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc., which is applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves through the antenna 1 and radiate it out.
[0169] Exemplarily, in some embodiments of the present application, the mobile communication module 150 can receive the cellular radio frequency signal of the antenna 1, and the electronic device 100 can determine the signal-to-noise ratio based on the cellular radio frequency signal, so as to judge whether it is necessary to adjust the interference source service when the interference source of the electronic device 100 is started.
[0170] The wireless communication module 160 may provide a solution for wireless communication including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc., which is applied to the electronic device 100. 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 through the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 and radiate it out.
[0171] The external memory interface 120 may be used to connect an external memory card, such as a micro SD card, to implement the storage capacity expansion of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.
[0172] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.). In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121 and / or the instructions stored in the memory provided in the processor.
[0173] The SIM card interface 195 is used to connect to a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device 100. In some embodiments, the electronic device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0174] An embodiment of the present application also provides a program product. When the program product is executed on an electronic device, it can enable the electronic device to implement the signal processing methods provided in the foregoing embodiments.
[0175] An embodiment of the present application also provides a readable storage medium. One or more programs are stored in the readable storage medium. When the one or more programs are executed by the electronic device, they enable the electronic device to implement the signal processing methods provided in the foregoing embodiments.
[0176] In the drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Additionally, including a structural or method feature in a specific figure does not imply that such a feature is required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0177] It should be noted that each unit / module mentioned in the device embodiments of the present application is a logical unit / module. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or can be implemented as a combination of multiple physical units / module. The physical implementation manner of these logical units / module itself is not the most important. The combination of the functions implemented by these logical units / module is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above device embodiments.
[0178] It should be noted that in the examples and descriptions of this patent, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising one" does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0179] Although the present application has been illustrated and described by referring to some preferred embodiments of the present application, those of ordinary skill in the art should understand that various changes can be made in form and detail without departing from the spirit and scope of the present application.
Claims
1. A communication method, applied to an electronic device, characterized in that, Including: Detect the start of the first service, where a first device used during the operation of the first service can interfere with the cellular radio frequency signal transmitted by the electronic device; When the first signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than a first threshold, adjust the operating state of the first device, and the adjustment is used to reduce the interference of the first device on the cellular radio frequency signal.
2. The method according to claim 1, wherein The adjusting the operating state of the first device when the signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than a first threshold includes: When the electronic device is performing a data service and the first signal-to-noise ratio is greater than or equal to a second threshold, reduce the operating frequency of the first device; When the electronic device is performing a data service and the first signal-to-noise ratio is less than the second threshold, close the first service; Where the second threshold is less than the first threshold.
3. The method according to claim 2, wherein The adjusting the operating state of the first device when the signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than a first threshold further includes: When the electronic device is not performing a data service, do not adjust the operating state of the first device.
4. The method according to claim 2, wherein The adjusting the operating state of the first device when the first signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than a first threshold further includes: After reducing the operating frequency of the first device, obtain the second signal-to-noise ratio of the cellular radio frequency signal received by the electronic device; When the second signal-to-noise ratio is less than the second threshold, close the first service.
5. The method according to any one of claims 2 to 4, characterized in that The first threshold is any value between 15 dB and 20 dB; the second threshold is any value between 8 dB and 12 dB.
6. The method according to claim 1, wherein The adjusting the operating state of the first device when the signal-to-noise ratio corresponding to the cellular radio frequency signal received by the electronic device is less than a first threshold further includes: When the first signal-to-noise ratio is less than a third threshold, close the first service; Where the third threshold is the lowest threshold at which the electronic device can receive a voice service, and the third threshold is less than the first threshold.
7. The method according to claim 6, wherein When the electronic device is performing a voice service and the first signal-to-noise ratio is less than a fourth threshold and greater than or equal to the third threshold, reduce the operating frequency of the first device; Where the fourth threshold is greater than the third threshold.
8. The method according to any one of claims 6 to 7, characterized in that, The third threshold is any value between -5 dB and 5 dB.
9. The method according to any one of claims 1 to 4, 6 to 7, characterized in that, The first service includes at least one of the following services: A service for transmitting data based on a high-speed communication interface, and the high-speed communication interface includes a Mobile Industry Processor Interface, a Display Serial Interface, and a Universal System Interface; A camera service using flight detection technology.
10. An electronic device, characterized in that, Including: a memory for storing instructions; At least one processor for executing the instructions to enable the electronic device to implement the method according to any one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that, Instructions are stored on the readable storage medium, and when the instructions are executed on a computer, the computer executes the method according to any one of claims 1 to 9.
12. A computer program product, characterized in that, When the computer program product runs on an electronic device, it causes the electronic device to implement the method described in any one of claims 1 to 9.
Citation Information
Patent Citations
Communication maintenance scheme matching method, link monitor and wireless sensor network
CN102571292A
Radio frequency interference processing method, device, storage medium and terminal
CN107147453A
Anti-interference method and system for WIFI device, user equipment and storage medium
CN109617636A