Signal sending method and electronic equipment
By adjusting the antenna switch configuration parameters to match the preset communication standard when the electronic device is about to be powered off, the problem of low signal transmission efficiency under limited power is solved, achieving a longer coverage range and longer transmission time, thus extending the service life of the equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2026-04-07
AI Technical Summary
How to efficiently send broadcast signals to achieve rapid positioning when electronic devices are about to be shut down under limited power conditions?
When a shutdown event is detected, the target device is kept powered on, and the configuration parameters of the antenna switch are adjusted according to the preset communication standard to match the preset communication standard in order to improve radiation efficiency.
While consuming the same amount of power, it extends the signal coverage and transmission time, improves battery life, and prevents unnecessary power consumption.
Smart Images

Figure CN121815377A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present disclosure relate to the technical field of terminal, and in particular, to a signal sending method and an electronic device. BACKGROUND
[0002] With the continuous development of electronic devices, when the electronic device is about to be powered off, a specific broadcast signal can be sent to the surrounding environment to report its current geographical location. In this way, the electronic device can be quickly located even in the powered-off state, thereby providing great convenience for finding the electronic device.
[0003] Generally, when the power of the electronic device is gradually consumed, the electronic device will automatically perform a power-off operation. Therefore, how to efficiently send a broadcast signal under the condition of limited power has become a key problem to be solved at present. SUMMARY
[0004] Embodiments of the present disclosure provide a signal sending method and an electronic device, which can efficiently send broadcast information in a power-off scenario.
[0005] To achieve the above object, embodiments of the present disclosure adopt the following technical solutions:
[0006] In a first aspect, the embodiments of the present disclosure provide a signal sending method, comprising: first, in the case of monitoring a power-off event, controlling a target device not to be powered off after power-off, and determining a target configuration parameter corresponding to a preset communication mode according to the preset communication mode; wherein the target device is a device involved in the antenna signal transmission and reception corresponding to the preset communication mode, the preset communication mode is a communication mode used by the electronic device to transmit and receive signals when the electronic device is in a power-off state, and the target configuration parameter is used to adjust the frequency parameter of the antenna used for signal transmission and reception and at least part of the antenna used for signal transmission and reception; before power-off, the configuration parameter of the register of the antenna switch is updated from the first configuration parameter to the target configuration parameter; when the electronic device works on the preset communication mode, the radiation efficiency of the electronic device when the configuration parameter of the register of the antenna switch is the target configuration parameter is higher than that when the configuration parameter of the register of the antenna switch is the first configuration parameter; after power-off, the antenna corresponding to the preset communication mode transmits and receives signals according to the target configuration parameter.
[0007] Based on the above signal sending method, when the electronic device is about to enter the shutdown state, the target device is controlled not to be powered off, so that the antenna can normally receive and transmit signals. Then, the configuration parameters of the antenna switch are configured as parameters matching the preset communication standard (i.e., the third communication standard). In this way, when the electronic device works on the preset communication standard, the electronic device will have the highest radiation efficiency when using the target configuration parameters compared with using the first configuration parameters. In this way, under the premise of consuming the same amount of power, the coverage range of the antenna transmitting signals will be farther, and the transmission duration will be longer.
[0008] With reference to the first aspect, in a possible implementation, the target configuration parameters corresponding to the preset communication standard are determined according to the preset communication standard, including: determining, according to the preset communication standard and the configuration set, a configuration combination matching the preset communication standard from the configuration combinations; the configuration set includes a plurality of configuration combinations, each configuration combination in the plurality of configuration combinations includes a communication standard and a configuration parameter; and the configuration parameter in the matching configuration combination is determined as the target configuration parameter. Based on this scheme, when the electronic device uses the configuration parameter matching the preset communication standard, unnecessary resource consumption can be avoided. Thus, the power consumption is reduced, and the battery endurance time is prolonged.
[0009] With reference to the first aspect, in a possible implementation, the target device includes a preset chip and a radio frequency front-end module, wherein the preset chip is a chip supporting the preset communication standard, and the radio frequency front-end module is a front-end module corresponding to the preset communication standard. A specific content of the target device is provided.
[0010] With reference to the first aspect, in a possible implementation, before the shutdown event is monitored, the method further includes: obtaining a first notification message, the first notification message including a first communication standard; in response to the first notification message, determining a first configuration parameter according to the first communication standard and the configuration set; configuring the configuration parameter of the register of the antenna switch as the first configuration parameter; when the electronic device works on the first communication standard, if the configuration parameter of the register of the antenna switch is the first configuration parameter, the electronic device has the highest radiation efficiency; and after the configuration is completed, the antenna receives and transmits signals.
[0011] Based on this scheme, before the shutdown is monitored, if a message including the first communication standard is obtained, the configuration parameter of the antenna switch can be configured as a parameter matching the first communication standard, and when the electronic device works on the first communication standard, the electronic device will have the highest radiation efficiency. In this way, even if the power of the electronic device is in a sufficient state, the power consumption of the electronic device can be effectively reduced.
[0012] With reference to the first aspect, in a possible implementation form of the first aspect, the first configuration parameter is determined according to the first communication standard and the configuration set, including: determining, according to the first communication standard, a configuration combination matching the first communication standard from the configuration combinations; when there is no configuration combination matching the first communication standard in the configuration combinations, determining a first configuration combination matching the first communication standard according to a preset rule; the preset rule includes a priority order of the plurality of communication standards; and determining the configuration parameter in the first configuration combination as the first configuration parameter. Based on this scheme, when the configuration combination corresponding to the first communication standard cannot be directly matched from the configuration set, an example of determining the configuration combination corresponding to the first communication standard is provided.
[0013] With reference to the first aspect, in a possible implementation form of the first aspect, the electronic device further includes an AP chip and an antenna switch control chip; in a case where the shutdown event is monitored, the target device is controlled not to be powered off after shutdown, and the target configuration parameter corresponding to the preset communication standard is determined according to the preset communication standard, including: the AP chip controls the target device not to be powered off after shutdown in a case where the shutdown event is detected, and sends a second notification message to the antenna switch control chip, the second notification message being used to notify the electronic device that it is about to be shut down, and instructing the antenna switch control chip to adjust the configuration parameter of the antenna switch according to the preset communication standard, and no longer performing the operation of changing the configuration parameter of the antenna switch; in response to the second notification message, the antenna switch control chip determines the target configuration parameter corresponding to the preset communication standard according to the preset communication standard.
[0014] Based on this scheme, after the shutdown event is detected, the second notification message sent by the AP chip is used to instruct the antenna switch control chip to stop performing the operation of changing the configuration parameter of the antenna switch. Because the power of the electronic device is at a low level, if the changing operation is frequently performed, the power consumption of the electronic device will be accelerated. Therefore, through the second notification message, unnecessary operation execution can be prevented, and the use time of the electronic device is prolonged. In this way, it is helpful to reasonably control the resources of the electronic device in the case of limited power, to ensure that the electronic device can still maintain a certain use time in the low-power state, to avoid the electronic device being shut down too early due to unnecessary power consumption, and to affect the user experience.
[0015] With reference to the first aspect, in a possible implementation form of the first aspect, the target device includes a Bluetooth chip and a front-end device corresponding to Bluetooth communication, or the target device includes a Modem chip and a front-end device corresponding to cellular communication.
[0016] With reference to the first aspect, in a possible implementation form of the first aspect, when the electronic device works on the preset communication mode, the radiation efficiency of the electronic device when the configuration parameter of the register of the antenna switch is the target configuration parameter is higher than the radiation efficiency of the electronic device when the configuration parameter of the register of the antenna switch is the first configuration parameter.
[0017] With reference to the first aspect, in a possible implementation form of the first aspect, according to the target configuration parameter, after the antenna corresponding to the preset communication mode is controlled to receive and transmit signals, the method further includes: obtaining a third notification message; and in response to the third notification message, controlling the antenna corresponding to the preset communication mode to continue to receive and transmit signals.
[0018] With reference to the first aspect, in a possible implementation form of the first aspect, the local storage of the antenna switch control chip stores preset configuration information, and the preset configuration information includes the preset communication mode. A storage mode of the preset notification mode is provided.
[0019] The second aspect provides an electronic device, which has the function of implementing the method of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0020] The third aspect provides an electronic device, including a processor and a memory. The memory is configured to store computer execution instructions. When the first device is running, the processor executes the computer execution instructions stored in the memory, so that the first device executes the display method of the application program icon in any one of the first aspect.
[0021] The fourth aspect provides a computer readable storage medium, which stores instructions. When the instructions are run on a computer, the computer can execute the display method of the application program icon in any one of the first aspect.
[0022] The fifth aspect provides a computer program product containing instructions, which, when run on a computer, can make the computer execute the display method of the application program icon in any one of the first aspect.
[0023] In a sixth aspect, an apparatus (which can be a chip system) is provided, and the apparatus includes a processor including an antenna switch control chip and an AP chip, and the processor is configured to support a first device to implement the functions described in the first aspect, for example, in a case where a shutdown event is monitored, the target device is controlled not to power off, and target configuration parameters are determined according to a preset communication standard and configuration set. In a possible design, the apparatus further includes a memory, and the memory is configured to store necessary program instructions and data of the first device. When the apparatus is a chip system, the apparatus can be composed of a chip or can include a chip and other discrete devices.
[0024] The technical effects brought by any of the designs in the second aspect to the sixth aspect can be referred to the technical effects brought by the different designs in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 An application scenario diagram provided by an embodiment of the present disclosure;
[0026] Figure 2 A hardware structure diagram of an electronic device provided by an embodiment of the present disclosure;
[0027] Figure 3 A software structure diagram of an electronic device provided by an embodiment of the present disclosure;
[0028] Figure 4 A flow diagram of a signal sending method provided by an embodiment of the present disclosure;
[0029] Figure 5 A circuit diagram of aperture tuning provided by an embodiment of the present disclosure;
[0030] Figure 6 A frequency response curve of an antenna ANT6 of an electronic device 1 provided by an embodiment of the present disclosure;
[0031] Figure 7 One of hardware circuit diagrams provided by an embodiment of the present disclosure;
[0032] Figure 8 Another hardware circuit diagram provided by an embodiment of the present disclosure;
[0033] Figure 9 A path diagram of signal transmission provided by an embodiment of the present disclosure;
[0034] Figure 10 A frequency response curve of an antenna ANT6 of an electronic device 2 provided by an embodiment of the present disclosure;
[0035] Figure 11A structural schematic diagram of a chip system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] The technical solutions in the embodiments of the present disclosure will be described below with reference to the drawings in the embodiments of the present disclosure. In the description of the present disclosure, unless otherwise specified, “ / ” represents an “or” relationship between the objects before and after the “ / ”, for example, A / B can represent A or B; “and / or” in the present disclosure is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. In addition, in the description of the present disclosure, unless otherwise specified, “multiple” means two or more than two. “At least one of the following” or similar expressions means any combination of the items, including any combination of single item or multiple items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present disclosure, in the embodiments of the present disclosure, the same items or similar items with basically the same functions and effects are distinguished by using “first”, “second”, and the like. Those skilled in the art can understand that “first”, “second”, and the like do not limit the quantity and execution order, and “first”, “second”, and the like do not necessarily mean different. At the same time, in the embodiments of the present disclosure, “exemplary” or “for example” is used to represent as an example, illustration, or description. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present disclosure should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, “exemplary” or “for example” is used to present the relevant concept in a specific manner, for understanding.
[0037] In addition, the network architecture and business scenarios described in the embodiments of the present disclosure are used to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art can know that, as the network architecture evolves and new business scenarios appear, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
[0038] When the electronic device is about to shut down, the electronic device can report its current geographical position to the surrounding environment by means of signal emission, so as to quickly find the electronic device after shutdown. In this process, how to efficiently emit signals to the surrounding environment is a problem that needs to be solved at present.
[0039] Figure 1An example shows an application scenario of the present disclosure. As shown in Figure 1 When the electronic device 01 is about to shut down, the electronic device 01 can send a broadcast signal to the surrounding environment through multiple communication modes. The broadcast signal includes the account information of the electronic device 01 and the location information of the electronic device 01. The account information of the electronic device 01 can be the account information logged in by the electronic device 01. The location information of the electronic device 01 can include the location coordinates of the electronic device 01.
[0040] For example, the multiple communication modes can include one of Bluetooth communication mode, Wireless Fidelity (Wi-Fi) communication mode, Starlink communication mode, Long Range (LORA) communication mode, Narrow Band Internet of Things (NB-IOT) communication mode, Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), New Radio (NR), etc. For example, the electronic device 01 sends the broadcast information to the surrounding environment through the Bluetooth communication mode.
[0041] The electronic device 02 can receive the broadcast signal sent by the electronic device 01 and upload the broadcast signal to the cloud server. The electronic device 02 can also be called a good Samaritan device or an auxiliary machine device. The electronic device 02 is a device with the function of receiving the broadcast signal and uploading the broadcast information to the cloud server. For example, the electronic device 01 and the electronic device 02 can be the same model of device, or can be different models of device, and the present disclosure does not limit this.
[0042] After the cloud server receives the information from the electronic device 02 (the information includes the account information of the electronic device 01 and the location information of the electronic device 01), the cloud server can query other devices currently logged in the account information of the electronic device 01, and send the location information of the electronic device 01 to the other devices logged in the account information of the electronic device 01, so as to help the user quickly find the electronic device 01.
[0043] In combination with Figure 1The application scenario shown can know that whether the electronic device 01 can be found depends on whether the electronic device 02 can receive the broadcast signal of the electronic device 01. Only when the electronic device 02 receives the broadcast signal of the electronic device 01, the electronic device 01 can be found. Whether the electronic device 02 can receive the broadcast signal of the electronic device 01 depends on the sending range and the sending duration of the broadcast signal of the electronic device 01. Therefore, when the electronic device is about to be powered off, how to efficiently send the signal is a problem to be solved at present.
[0044] It should be noted that the electronic device 01 is about to be powered off, which can be that the electronic device 01 enters the power-off state in response to the operation of the power key, such as a long press operation, and can also be that the electronic device 01 is lost / forgotten in a certain location, and enters the power-off state when the power of the electronic device 01 is about to be exhausted. The disclosure does not limit the triggering mode of the electronic device 01 entering the power-off state.
[0045] To solve the above problem, the signal sending method provided by the embodiment of the present application comprises: when the electronic device is about to enter the power-off state, the AP chip can control the power management module to make the target device (such as a chip supporting the third communication mode and a radio frequency front-end circuit) not powered off. Then control the antenna switch control chip to configure the configuration parameters of the antenna switch to the parameters matched with the third communication mode, and no longer perform the operation of changing the configuration parameters of the antenna switch. If the configuration parameters of the antenna switch are configured to the parameters matched with the third communication mode, when the electronic device works on the third communication mode, the electronic device will have the highest radiation efficiency. In this way, under the premise of consuming the same amount of power, the coverage range of the antenna signal will be farther, and the duration of the emission will be longer.
[0046] The signal sending method provided by the embodiment of the present application is described below.
[0047] The signal sending method provided by the embodiment of the present application can be applied to an electronic device. In some embodiments, the above-mentioned electronic device can be a mobile phone, a tablet computer, a handheld computer, a personal computer (PC), a cellular phone, a personal digital assistant (PDA), a wearable device, and the like. The specific form of the electronic device is not limited herein.
[0048] For example, taking the electronic device as a mobile phone as an example, Figure 2 A structural schematic diagram of an electronic device provided by an embodiment of the present application is shown.
[0049] Figure 2 A hardware structural schematic diagram of an electronic device is shown. As Figure 2As shown, the electronic device can include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headset jack 230D, a sensor module 280, a key 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 can include a pressure sensor 280A, a gyroscope sensor 280B, a barometric pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.
[0050] It can be understood that the structure shown in the embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0051] The processor 210 can include one or more processing units, for example: the processor 210 can include an application processor (AP), a Modem, 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. Different processing units can be independent devices, or can be integrated in one or more processors.
[0052] The charging management module 240 is configured to receive a charging input from a charger. The charger can be a wireless charger or a wired charger.
[0053] The power management module 241 is configured to connect the battery 242 and the charging management module 240 to the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240 to power the processor 210, the internal memory 221, the display screen 294, the camera 293, and the wireless communication module 260.
[0054] The wireless communication function of the electronic device can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem, and the baseband processor.
[0055] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
[0056] The mobile communication module 250 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device.
[0057] The wireless communication module 260 can 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 (IR) technology, etc. applied to the electronic device. The wireless communication module 260 can be one or more devices integrated with at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 can also receive signals to be sent from the processor 210, perform frequency modulation, amplification, and convert them into electromagnetic wave radiation via the antenna 2.
[0058] The electronic device implements the display function by the GPU, the display screen 294, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 294 and the application processor.
[0059] The display screen 294 is configured to display images, videos, etc. A series of graphical user interfaces (GUIs) can be displayed on the display screen 294 of the electronic device.
[0060] The electronic device can implement a photographing function through an ISP, a camera 293, a video codec, a GPU, a display 294, and an application processor.
[0061] The camera 293 is configured to capture still images or videos.
[0062] The external memory interface 220 can be configured to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
[0063] The internal memory 221 can be configured to store computer-executable program codes, which include instructions. The processor 210 performs various functions of the electronic device and data processing by running the instructions stored in the internal memory 221.
[0064] The electronic device can implement an audio function through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 230D, and an application processor. For example, music playback, recording, and the like. The electronic device can further include a pressure sensor 280A, an air pressure sensor 280C, a gyroscope sensor 280B, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, an ambient light sensor 280L, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, a bone conduction sensor 280M, a key 290, a motor 291, an indicator 292, and the like.
[0065] The SIM card interface 295 is configured to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to make contact with or separation from the electronic device. The electronic device can support one or N SIM card interfaces, N being a positive integer greater than one. The SIM card interface 295 can support a Nano SIM card, a Micro SIM card, a SIM card, and the like. The same SIM card interface 295 can simultaneously insert multiple cards. The SIM card interface 295 can also be compatible with an external memory card. The electronic device interacts with a network through the SIM card to implement functions such as calling and data communication.
[0066] In addition, on top of the above-mentioned components, an operating system, such as a HongMeng operating system, an iOS operating system, an Android operating system, a Windows operating system, and the like, is running. Application programs can be installed and run on the operating system. In some embodiments, the operating system running in the electronic device can be multiple.
[0067] It should be understood that, Figure 2The hardware modules included in the electronic device shown are only exemplary descriptions and do not limit the specific structure of the electronic device. In fact, the electronic device provided by the embodiments of the present disclosure can also include other hardware modules that have an interaction relationship with the hardware modules shown in the figure, which are not limited here. For example, the electronic device can also include a flash, a micro projection device, etc. For another example, if the electronic device is a PC, the electronic device can also include a keyboard, a mouse, etc.
[0068] Of course, it can be understood that the above Figure 2 The electronic device shown is only an exemplary description when the electronic device is in the form of a mobile phone. If the electronic device is in the form of a notebook computer, a handheld computer, a PDA, a personal computer, or other device forms, the structure of the electronic device can include fewer structures than those shown in Figure 2 , or can include more structures than those shown in Figure 2 , which are not limited here.
[0069] The software system of the electronic device described above can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present disclosure take a layered architecture system as an example to exemplary describe the software structure of the mobile phone.
[0070] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through interfaces. In some embodiments, the system is divided into four layers, from top to bottom, which are the application program layer, the application program framework layer, the Android runtime and system library, and the kernel layer.
[0071] The application program layer can include a series of application program packages.
[0072] As shown in Figure 3 , the application program package can include Bluetooth, camera, calendar, call, map, navigation, WLAN, music, video, short message, etc.
[0073] The application program framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for the application programs of the application program layer. The application program framework layer includes some pre-defined functions.
[0074] The application program framework layer can include an activity manager, a window manager, a content provider, a view system, a resource manager, a notification manager, etc., and the embodiments of the present disclosure do not make any limitation on this.
[0075] Activity Manager: used to manage the life cycle of each application. An application usually runs in the operating system in the form of an Activity. For each Activity, there is an ActivityRecord corresponding to it in the Activity Manager, which records the state of the Activity of the application. The Activity Manager can use this ActivityRecord as an identifier to schedule the Activity process of the application.
[0076] WindowManagerService: used to manage the graphical user interface (GUI) resources used on the screen, and can be used to obtain the screen size, create and destroy windows, display and hide windows, layout windows, manage focus, and manage input methods and wallpapers.
[0077] The system library and kernel layer below the application framework layer can be referred to as the underlying system, and the underlying system includes an underlying display system for providing display services, for example, the underlying display system includes a display driver in the kernel layer and a surface manager in the system library.
[0078] The Android runtime includes a core library and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system. The core library contains two parts: one is the function function that the java language needs to call, and the other is the core library of Android. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the java file of the application layer and the application framework layer into a binary file. The virtual machine is used to manage the life cycle of objects, stack management, thread management, security and exception management, and garbage collection.
[0079] The system library can include multiple functional modules. For example: surface manager, media library, three-dimensional graphics processing library (such as OpenGL ES), two-dimensional image engine (such as SGL), algorithm library, etc.
[0080] The algorithm library includes multiple algorithms for processing audio signals, such as upmixing algorithm, iterative crosstalk cancellation algorithm, downmixing algorithm, etc.
[0081] The surface manager is used to manage the display subsystem and provides fusion of 2D and 3D layers for multiple applications.
[0082] The media library supports multiple commonly used audio, video format playback and recording, and static image files, etc. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0083] OpenGL ES is used to implement three-dimensional graphics drawing, image rendering, synthesis, and layer processing, etc.
[0084] SGL is a drawing engine for 2D drawing.
[0085] The kernel layer is a layer between hardware and software. The kernel layer at least includes display drivers, camera drivers, audio drivers, and sensor drivers.
[0086] The methods in the following embodiments can be implemented in an electronic device with the hardware structure described above. In the embodiments of the present application, an electronic device is taken as an example of a mobile phone for illustrative purposes.
[0087] The following describes the embodiments of the present application in conjunction with Figure 4 The signal sending method provided in the embodiments of the present application is described in detail. Figure 4 The flowchart of the signal sending method provided in the embodiments of the present application is shown in FIG. 1. As shown in the figure, the signal sending method can include the following S401-S410. Figure 4
[0088] S401, the antenna switch control chip acquires a first notification message.
[0089] The first notification message can be from an application processor (AP) chip; it can also be from other chips of the electronic device, such as a Bluetooth chip (which can also be referred to as a Bluetooth modem processor), a communication modem chip (Modem), etc. The Modem can appear in the form of a separate chip; it can also be built into a baseband chip and integrated with the baseband chip. The Modem can also be referred to as a cellular baseband chip or a cellular modem processor.
[0090] In some examples, the first notification message includes a first communication standard. The first notification message is used to notify the electronic device that it is currently working on the first communication standard and instruct the antenna switch control chip to adjust the configuration parameters of the antenna switch according to the first communication standard.
[0091] For example, the first communication standard can be at least one of a Bluetooth communication standard, a wifi communication standard, a starlink communication standard, a lora communication standard, an NB-IOT communication standard, a WCDMA communication standard, an LTE communication standard, an NR communication standard, etc.
[0092] In some examples, the first notification message comprises a first communication mode and a second configuration parameter. The first notification message is used to inform the electronic device that it is currently working in the first communication mode and instruct the antenna switch control chip to set the antenna switch according to the second configuration parameter.
[0093] In some examples, when the first notification message is from the AP chip, the AP chip can send the first notification message to the antenna switch control chip through a communication bus.
[0094] The communication bus can be any one of a serial peripheral interface (SPI) bus, a universal asynchronous receiver / transmitter (Uart) bus, an inter-integrated circuit (I2C) bus, and the like.
[0095] Specifically, the SPI bus is a high-speed, full-duplex, synchronous communication bus used for communication between a microcontroller and peripheral devices, such as sensors, memories, displays, and the like. The Uart serial bus is a general-purpose, asynchronous communication bus used for serial communication between devices, mainly applied in computers, embedded systems, and the like. The I2C bus is a bidirectional, two-wire synchronous serial bus used to connect a microcontroller and its peripheral devices.
[0096] In some examples, when the first notification message is from other chips of the electronic device, the first notification message is used to indicate the communication mode in which the electronic device is currently working. For example, when the first notification message is from a Bluetooth chip, the first notification message is used to indicate that the electronic device is currently working in a Bluetooth communication mode. When the first notification message is from a Modem, the first notification message is used to indicate that the electronic device is currently working in a cellular communication mode.
[0097] The Bluetooth chip can be used to process Bluetooth signals and deliver the processed Bluetooth signals to the antenna switch control chip in the form of a first notification message. The Modem can be used to process cellular signals and deliver the processed cellular signals to the antenna switch control chip in the form of a first notification message.
[0098] Other chips can send the communication mode in which the electronic device is currently working to the antenna switch control chip through a pull line.
[0099] For example, other chips can also send a first notification message to the antenna switch control chip through the communication bus, so that the antenna switch control chip can perceive the current communication standard of the electronic device according to the first notification message. For example, Figure 8 As shown in FIG. 1, other chips (for example, Modem) are directly connected to the antenna switch control chip through the communication bus. The communication bus is shown in the form of a dashed line in FIG. 1, and the communication bus can also be referred to as a control line. Figure 8
[0100] The communication bus can be a general purpose input / output (GPIO) bus or a mobile industry processor interface (MIPI) bus.
[0101] The GPIO bus is a general digital signal input / output interface, which is used for digital signal interaction between a microcontroller, an embedded system, and an external device. The GPIO bus can be configured in an input mode to read the digital signal state of the external device, or configured in an output mode to output a digital signal to the external device to control the working state of the external device. The MIPI bus is a high-speed and low-power communication bus specially designed for mobile devices, which is used to connect components such as processors, cameras, and display screens in mobile devices. It has the characteristics of high bandwidth, low power consumption, and strong anti-interference, and can meet the requirements of mobile devices for high-speed data transmission and low power consumption.
[0102] For example, other chips can send control flow data (for example, a first notification message) to the antenna switch control chip through the control bus. For example, the other chip is a Bluetooth chip. The Bluetooth chip can output the first notification message by setting the high or low level of a specific pin in the GPIO bus. After the antenna switch control chip monitors the first notification message, the high or low level of the pin in the first notification message is analyzed, and it can be determined that the electronic device is currently working in the Bluetooth communication standard. Then, the configuration value of the antenna switch can be adjusted according to the communication standard of the electronic device, so that the antenna can achieve the highest radiation efficiency when transmitting signals.
[0103] In some scenarios, the antenna switch control chip can first receive a notification message from the AP chip, and then receive a notification message from other chips.
[0104] When the notification message from the AP chip is first received, for example, the communication standard carried in the notification message of the AP chip is the LTE communication standard, the antenna switch control chip adjusts the configuration parameters of the antenna switch according to the LTE communication standard (i.e., the first communication standard).
[0105] After receiving the notification message from the AP chip, when receiving the notification message from other chips (for example, a Bluetooth chip), for example, the communication mode carried in the notification message of the Bluetooth chip is a Bluetooth communication mode, the first communication mode in the first notification message obtained by the antenna switch control chip is a Bluetooth communication mode + an LTE communication mode, and the antenna switch control chip needs to adjust the configuration parameters of the antenna switch according to the Bluetooth communication mode and the LTE communication mode.
[0106] In some scenarios, the antenna switch control chip can also receive the notification messages sent from the AP chip and other chips at the same time, when the communication modes carried in the notification message from the AP chip and the notification message from other chips are the same, for example, the communication modes carried in the notification messages are both the first communication mode, the antenna switch control chip can adjust the configuration parameters of the antenna switch according to the first communication mode.
[0107] The following embodiments take the first notification message as an example, which includes the first communication mode. The first notification message is used to inform the electronic device that it is currently working on the first communication mode, and instructs the antenna switch control chip to adjust the configuration parameters of the antenna switch according to the first communication mode.
[0108] S402, in response to the first notification information, the antenna switch control chip determines the second configuration parameters of the antenna switch based on the configuration set, and sends the second configuration parameters to the antenna switch.
[0109] Based on the first communication mode in the first notification information, the antenna switch control chip sets the configuration parameters of the antenna switch to the second configuration parameters (which can also be called tuning configuration parameters), and after the antenna switch completes the configuration, the antenna emits signals to the surrounding environment again. Wherein, the second configuration parameters correspond to the first communication mode.
[0110] After determining the first communication mode, the antenna switch control chip can determine the second configuration parameters of the antenna switch according to the first communication mode. When the configuration parameters of the antenna switch are the second configuration parameters, the electronic device can achieve the highest radiation efficiency when working on the first communication mode.
[0111] Generally, there are mainly two ways of antenna tuning, aperture tuning and impedance tuning. Among them, aperture tuning adjusts the radiation mode by changing the effective area of the antenna. Impedance tuning optimizes energy transmission by changing the impedance of the antenna. Figure 5 An exemplary circuit diagram of aperture tuning is shown. As shown in FIG. 2, the antenna switch control chip is connected to the antenna through a matching circuit, and the matching circuit is connected to the antenna through a switch. Figure 5As shown, the antenna switch in the electronic device includes some circuit elements, such as inductance, capacitance, resistance, etc. Among them, the circuit elements included in the antenna switch can also be called aperture tuners.
[0112] When the hardware connection of the inductance, capacitance, resistance, etc. elements in the antenna switch is adjusted, the input impedance and output impedance of the antenna can be changed, thereby affecting the efficiency of the antenna. Different combinations of hardware connections of different circuit elements will cause the antenna to exhibit different frequency response curves.
[0113] For example, the antenna applied by the electronic device 1 is ANT6. For ANT6, the circuit elements in the antenna switch can have different combinations of hardware connections. For example, combination 1, combination 2, combination 3, and combination 4. When the combination of hardware connections of the circuit elements is combination 1, the frequency response curve of ANT6 is curve 1; when the combination of hardware connections of the circuit elements is combination 2, the frequency response curve of ANT6 is curve 2; when the combination of hardware connections of the circuit elements is combination 3, the frequency response curve of ANT6 is curve 3; and when the combination of hardware connections of the circuit elements is combination 4, the frequency response curve of ANT6 is curve 4.
[0114] Figure 6 The frequency response curve of the antenna ANT6 of the electronic device 1 is shown as an example. According to the combination of hardware connections of the circuit elements in the antenna switch, the frequency response curve of the antenna ANT6 of the electronic device 1 can be obtained. Figure 6 As can be seen, the curve 1, the curve 2, the curve 3, and the curve 4 have different radiation efficiencies at different frequencies. The radiation efficiency of the curve 1 gradually decreases as the frequency increases. The radiation efficiency of the curve 2 gradually increases as the frequency increases. The radiation efficiency of the curve 3 first increases and then decreases as the frequency increases. The radiation efficiency of the curve 4 gradually increases as the frequency increases.
[0115] According to the combination of hardware connections of the circuit elements in the antenna switch, the frequency response curve of the antenna ANT6 of the electronic device 1 can be obtained. Figure 6 As shown, the multiple frequency response curves of the electronic device 1 can be known. When the electronic device 1 works on a certain communication standard, the radiation efficiency corresponding to different frequency response curves is different. For example, when the electronic device 1 works on 2.4G, the curve 2 includes the point with the highest radiation efficiency, and the curve 1 includes the point with the lowest radiation efficiency.
[0116] Since the different combinations of hardware connections of the circuit elements in the antenna switch can be determined in the case of the antenna model of the electronic device being determined. Then through the test, at least one frequency response curve corresponding to the different combinations of hardware connections can be obtained.
[0117] Because of different frequency response curves, the radiation efficiency under different operating modes is different. Therefore, when the communication mode in which the electronic device operates is known, the target frequency response curve can be determined through multiple frequency response curves of the antenna. The target frequency response curve is the frequency response curve corresponding to the point with the highest radiation efficiency on the communication mode in which the electronic device currently operates.
[0118] After obtaining the target frequency response curve, because the target frequency response curve is obtained by setting different hardware connection combinations of the circuit elements in the antenna switch, the hardware connection combination of the circuit elements can be inversely deduced according to the target frequency response curve. Then, the hardware connection combination of the circuit elements can be set to make the radiation efficiency of the antenna the highest.
[0119] In some examples, the hardware connection combination of the circuit elements can be set in the form of setting a configuration parameter. The configuration parameter and the hardware connection combination of the circuit elements correspond to each other one by one.
[0120] For example, the antenna of the electronic device 1 is ANT6. As known from the foregoing, the hardware connection combination of the circuit elements in the antenna switch includes combination 1, combination 2, combination 3, and combination 4, and then the configuration parameter of the register can be set to 0, 1, 2, and 3. Of course, the configuration parameter of the register can also be set to other fields, which is not limited in the present disclosure.
[0121] Specifically, when the configuration parameter is 0, the hardware connection combination of the circuit elements related to the antenna can be set to combination 1; when the configuration parameter is 1, the hardware connection combination of the circuit elements related to the antenna can be set to combination 2; when the configuration parameter is 2, the hardware connection combination of the circuit elements related to the antenna can be set to combination 3; and when the configuration parameter is 3, the hardware connection combination of the circuit elements related to the antenna can be set to combination 4. Of course, other corresponding relationships can also be set, such as when the configuration parameter is 0, the hardware connection combination of the circuit elements related to the antenna can be set to combination 3, which is not limited in the present disclosure.
[0122] Based on the corresponding relationship between the configuration parameter and the hardware connection combination of the circuit elements, and the corresponding relationship between the hardware connection combination of the circuit elements and the frequency response curve, the configuration parameter and the frequency response curve can be associated.
[0123] That is, when the configuration parameter in the register is 0, the hardware connection combination of the circuit elements related to the antenna is combination 1. When the hardware connection combination of the circuit elements related to the antenna is combination 1, the frequency response curve corresponding to ANT6 is curve 1.
[0124] When the configuration parameter in the register is 1, then the hardware connection combination of the circuit elements related to the antenna is combination 2. When the hardware connection combination of the circuit elements related to the antenna is combination 2, the frequency response curve corresponding to ANT6 is curve 2.
[0125] When the configuration parameter in the register is 2, then the hardware connection combination of the circuit elements related to the antenna is combination 3. When the hardware connection combination of the circuit elements related to the antenna is combination 3, the frequency response curve corresponding to ANT6 is curve 3.
[0126] When the configuration parameter in the register is 3, then the hardware connection combination of the circuit elements related to the antenna is combination 4. When the hardware connection combination of the circuit elements related to the antenna is combination 4, the frequency response curve corresponding to ANT6 is curve 4.
[0127] Therefore, after receiving the first notification information, the target frequency response curve matched with the first communication mode can be determined according to the first communication mode in the first notification information. Then, the configuration parameter of the register is set according to the target frequency response curve, so as to realize setting the hardware connection combination of the circuit elements.
[0128] Based on the above, after the relationship between the communication mode and the configuration parameter is determined, the following will introduce the process of determining the second configuration parameter of the antenna switch in detail.
[0129] In some examples, the antenna switch control chip includes a configuration set (which can also be referred to as a tuning configuration set). The configuration set includes at least one configuration combination, which includes a communication mode and a configuration parameter. When configured according to the configuration parameter in the configuration combination, the electronic device can achieve the highest radiation efficiency when working in the communication mode corresponding to the configuration parameter.
[0130] For example, the configuration set includes configuration combination 1, configuration combination 2, and configuration combination 3. Among them, configuration combination 1 includes a Bluetooth communication mode and configuration parameter 1. Configuration combination 2 includes a Bluetooth communication mode+B1 (Band 1) frequency band and configuration parameter 2. Configuration combination 3 includes an N3 (Band n3) frequency band and configuration parameter 3.
[0131] Based on the above configuration set, when the electronic device works in the Bluetooth communication mode in configuration combination 1, if configured according to configuration parameter 1, the highest radiation efficiency can be achieved. When the electronic device works in the Bluetooth communication mode+B1 frequency band in configuration combination 2, if configured according to configuration parameter 2, the highest radiation efficiency can be achieved. When the electronic device works in the N3 frequency band in configuration combination 2, if configured according to configuration parameter 3, the highest radiation efficiency can be achieved.
[0132] In some examples, the configuration set can be stored locally at the antenna switch control chip. Of course, the configuration set can also be stored at other locations (e.g., a memory of the electronic device), which is not limited in the present disclosure.
[0133] After receiving the first notification message, the antenna switch control chip can determine the second configuration parameter of the antenna switch based on the configuration set. The second configuration parameter can then be sent to the antenna switch to configure the antenna switch based on the second configuration parameter.
[0134] In some examples, after receiving the first notification message, the antenna switch control chip can determine the configuration parameter of the antenna switch based on the configuration set, which can include: after receiving the first notification message, determining the first communication mode according to the first notification message; based on the configuration set, determining a first configuration combination matching the first communication mode from the multiple configuration combinations of the configuration set; and determining the configuration parameter in the first configuration combination as the second configuration parameter of the antenna switch.
[0135] For example, the first communication mode is a Bluetooth communication mode, and the Bluetooth communication mode is matched with configuration combination 1, configuration combination 2 and configuration combination 3 in the configuration set. In the case that the Bluetooth communication mode is completely identical to the Bluetooth communication mode in configuration combination 1, configuration combination 1 is determined as the first configuration combination.
[0136] For example, the first communication mode is a Bluetooth communication mode, and the Bluetooth communication mode is matched with configuration combination 1, configuration combination 2 and configuration combination 3 in the configuration set. In the case that the Bluetooth communication mode is completely identical to the Bluetooth communication mode in configuration combination 1, configuration combination 1 is determined as the first configuration combination.
[0137] In combination with the above, when determining the first configuration combination matching the first communication mode from the multiple configuration combinations of the configuration set, if there is no first configuration combination matching the first communication mode in the configuration set, other ways can be used to determine the first configuration combination matching the first communication mode.
[0138] For example, when the first communication mode includes at least one communication mode, and the communication mode in each of the multiple configuration combinations does not match the first communication mode, a preset configuration combination can be determined as the first configuration combination matching the first communication mode. The preset configuration combination includes the second configuration parameter. The preset configuration combination can be a configuration combination in the configuration set, or a separately set configuration combination, which is not limited in the present disclosure.
[0139] For example, the first communication mode includes a Bluetooth communication mode + N3 frequency band, and none of the communication modes in the configuration combination 1 to the configuration combination 3 includes the Bluetooth communication mode + N3 frequency band. In this case, the preset configuration combination can be determined as the first configuration combination matched with the Bluetooth communication mode + N3 frequency band, and the second configuration parameter in the preset configuration combination can be determined as the second configuration parameter of the antenna switch.
[0140] For another example, the antenna switch control chip further includes a preset rule. The preset rule includes a priority order of the plurality of communication modes.
[0141] When the first communication mode includes at least two communication modes, and the communication mode in each of the plurality of configuration combinations does not match the first communication mode, the second communication mode can be determined from the at least two communication modes according to the preset rule, and then the first configuration combination matched with the second communication mode can be determined from the plurality of configuration combinations.
[0142] In some examples, the process of determining the second communication mode from the at least two communication modes according to the preset rule can include: determining the communication mode with the highest priority from the at least two communication modes according to the priority order of the plurality of communication modes in the preset rule, and determining the communication mode with the highest priority as the second communication mode.
[0143] For example, the priority order of the plurality of communication modes in the preset rule is: Bluetooth communication mode > N3 frequency band > B1 frequency band.
[0144] The first communication mode includes a Bluetooth communication mode and an N3 frequency band. The communication mode in each of the plurality of configuration combinations does not match the Bluetooth communication mode and the N3 frequency band in the first communication mode. In this case, according to the preset rule, the priority of the Bluetooth communication mode is higher than that of the N3 frequency band. Therefore, the Bluetooth communication mode is determined as the second communication mode, and then the first configuration combination matched with the second communication mode is determined from the plurality of configuration combinations, that is, the configuration combination 1.
[0145] After the configuration combination matched with the first communication mode is determined, the antenna switch control chip sends the second configuration parameter in the configuration combination matched with the first communication mode to the antenna switch, so that the antenna switch is configured according to the second configuration parameter. For example, after the configuration combination 1 matched with the first communication mode is determined, the antenna switch control chip sends the configuration parameter 1 in the configuration combination 1 to the antenna switch, so that the antenna switch is configured according to the configuration parameter 1.
[0146] In some examples, the second configuration parameter can include a register address and a configuration value of a register. For example, the register address is 0, and the configuration value of the register address 0 is 1.
[0147] S403, the antenna switch receives the second configuration parameter and is configured according to the second configuration parameter.
[0148] In some examples, when the antenna switch receives the second configuration parameter, a register matching the register address in the second configuration parameter can be found in a plurality of registers in the antenna switch according to the register address in the second configuration parameter. Then the configuration value of the register in the second configuration parameter is written into the matching register. After that, the antenna switch can be configured according to the configuration value.
[0149] For example, the antenna switch is configured according to the second configuration parameter specifically can be that the antenna switch is configured according to the second configuration parameter to combine the hardware connection of the circuit element in the antenna switch.
[0150] For example, the register address in the second configuration parameter is 0, and the configuration value of the register is 1. When the antenna switch receives the second configuration parameter, the antenna switch can query register 0 in the antenna switch according to the second configuration parameter, and assign the configuration value of register 0 to 1. In this way, the combination of the hardware connection of the circuit element in the antenna switch can be triggered to be set to the hardware connection combination corresponding to the configuration value 1, so as to complete the configuration.
[0151] S404, the antenna transmits and receives signals.
[0152] After the antenna switch is configured according to the second configuration parameter, the antenna of the electronic device can adjust its performance according to the second configuration parameter, and radiate the obtained signals to the surrounding environment. These signals will be transmitted to the receiving end in the form of electromagnetic waves through the medium such as air, so as to realize wireless transmission of information. Of course, the antenna can also receive signals from the outside to realize two-way communication.
[0153] S405, the AP chip of the electronic device monitors a shutdown event.
[0154] The AP chip can also be referred to as a main chip.
[0155] The AP chip of the electronic device can monitor the shutdown event in various cases, for example, in the case that the user long-presses the power key, the shutdown event is monitored. For example, in the case that the physical power of the electronic device is lower than a preset threshold, the shutdown event is monitored. For example, the preset threshold is 3%. The preset threshold can also be set to other values, which can be matched with the actual use scene. Of course, the AP chip can also monitor the shutdown event in other scenarios, which is not limited by the present disclosure.
[0156] In some examples, the electronic device can receive an operation on the power key, such as a long press operation; in response to the operation on the power key, the process in which the AP chip monitors the shutdown event can include: first, when the user performs a long press operation on the power key of the electronic device, an event corresponding to the long press operation is triggered. Then, the operating system (for example, Android TM ) of the electronic device captures the long press event and identifies it as a long press operation. Next, the operating system takes the identified long press operation as input and calls the hardware interface (Application Programming Interface, API) corresponding to the long press operation, and passes the long press operation to the AP chip. At this time, the AP chip monitors the shutdown event.
[0157] In other examples, the electronic device includes a power management module that continuously monitors the battery power of the electronic device. When it is detected that the physical power of the electronic device is lower than a preset threshold, the power management module can send a low power notification message to the AP chip to inform the AP chip of the current power status of the electronic device. The low power notification message can include power data and a power state, for example, the power state can be low power or imminent shutdown. After the AP chip receives the low power notification message, the AP chip can execute a shutdown process in response to the low power notification message.
[0158] S406, in response to the shutdown event, the AP chip executes a shutdown process, controls the target device in the power management module not to be powered off after shutdown, and sends a second notification message to the antenna switch control chip.
[0159] The second notification message can also be referred to as a shutdown notification message. For example, the second notification message can be a reboot notify message.
[0160] When designing an electronic device, it is preset that in a shutdown scenario, the electronic device can switch to a third communication standard (also referred to as a preset communication standard) to exchange information with the surrounding environment. That is, the third communication standard is the communication standard used by the electronic device to receive and transmit signals when the electronic device is in a shutdown state.
[0161] In some examples, the second notification message is used to notify the electronic device that it is about to shut down, and instructs the antenna switch control chip to adjust the configuration parameters of the antenna switch according to the third communication standard, and no longer perform the operation of changing the configuration parameters of the antenna switch.
[0162] Since the power of the electronic device is currently at a low level, if the changing operation is frequently performed, the power consumption of the electronic device will be accelerated. Therefore, through the second notification message, unnecessary operation execution can be prevented, and the use time of the electronic device is prolonged. In this way, it is helpful to reasonably control the resources of the electronic device in the case of limited power, to ensure that it can still maintain a certain use time in the low power state, to avoid the electronic device shutting down too early due to unnecessary power consumption, and to affect the normal use experience of the user.
[0163] In some examples, the second notification message includes a third configuration parameter, and the second notification message is used to notify the electronic device that it is about to shut down and instruct the antenna switch control chip to set the antenna switch according to the third configuration parameter, and no longer perform the operation of changing the configuration parameter of the antenna switch.
[0164] The third configuration parameter can also be referred to as a target configuration parameter. The third configuration parameter is used to adjust the antenna used for signal transmission and reception and adjust the frequency parameter of at least part of the antenna used for signal transmission and reception. When the electronic device works on the third communication standard, the radiation efficiency of the electronic device is the highest when the configuration parameter of the register of the antenna switch is the third configuration parameter.
[0165] In some examples, the third configuration parameter can correspond to a series of information, and through the third configuration parameter, the state, working frequency band, frequency parameter, and antenna used for signal transmission and reception of multiple antennas in the electronic device can be adjusted. Of course, other information can also be adjusted through the third configuration parameter, which is not limited in the present disclosure.
[0166] For example, the electronic device includes an antenna 1, an antenna 2, and an antenna 3, and the third communication standard is a Bluetooth communication standard. When the electronic device works on the Bluetooth communication standard, through the third configuration parameter, not only the antenna used for signal transmission and reception (for example, the antenna used for signal transmission and reception is adjusted from the antenna 1 to the antenna 2. Of course, the adjusted antenna is an antenna matched with the Bluetooth communication standard) can be adjusted, but also the frequency parameters of the antenna 1 and the antenna 3 can be adjusted, so that the electronic device reaches the maximum radiation efficiency when using the antenna 2 to transmit and receive signals.
[0167] It should be noted that the antenna used for signal transmission and reception under different communication standards can be the same or different. For example, the electronic device includes an antenna 1, an antenna 2, and an antenna 3. When the electronic device works on the Bluetooth communication standard and the cellular communication standard, the antenna 1 can be used for signal transmission and reception. When the electronic device works on the WiFi communication standard, the antenna 2 can be used for signal transmission and reception. The actual use is specific, and the present disclosure is not limited thereto.
[0168] The following embodiments take the second notification message for notifying the electronic device of the impending shutdown, and instruct the antenna switch control chip to adjust the configuration parameters of the antenna switch according to the third communication standard, and no longer perform the operation of changing the configuration parameters of the antenna switch as an example for example.
[0169] After the AP chip monitors the shutdown event, the AP chip starts to perform the shutdown process. For example, the shutdown process can include: saving the current system state and data to prevent data loss; gradually turning off system components (such as screen, network, etc.) to reduce power consumption; and finally, safely shutting down the operating system and controlling most devices to power off.
[0170] During the execution of the shutdown process, the AP chip can control the power management module to keep the target device from powering off, and send the second notification message to the antenna switch control chip. The target device is not powered off to enable the antenna to normally transmit signals.
[0171] Generally, when the shutdown event is detected, the physical power of the electronic device is not completely exhausted. In this case, the AP chip can control the target device not to power off through the power management module, so that the electronic device can continuously emit signals to the surrounding environment, so that the electronic device can be quickly found later.
[0172] The following embodiments will be described in detail Figure 7 and Figure 8 Detailed description of the hardware devices involved in the use of the antenna to transmit and receive signals.
[0173] Figure 7 An exemplary structure block diagram of an antenna control is shown, which can include a Bluetooth chip 71, an AP chip 72, a radio frequency front end module (RF FEM) 73, an antenna switch control chip 74, an antenna switch 75, and an antenna 76.
[0174] The Bluetooth chip 71 is used to control the electronic device to communicate wirelessly with other Bluetooth devices, and to receive notification messages from the AP chip 72. The AP chip 72 is used to send notification signals to the antenna switch control chip 74 to control the antenna switch control chip 74 to adjust the configuration parameters of the antenna switch 75 and send notification messages to the Bluetooth chip 71. The radio frequency front end module 73 is used to process signal transmission in a wireless communication system, and can be used to process functions such as amplification, filtering, modulation / demodulation, etc. during signal reception and transmission. The antenna switch control chip 74 is used to adjust the configuration parameters of the antenna switch 75 in response to the notification signal (e.g., the first notification signal and the second notification signal, etc.). The antenna switch 75 is used to switch between different antenna modes to adapt to different communication standards or frequency bands. The antenna 76 is used to radiate radio waves and receive radio waves from other antennas.
[0175] The radio frequency front-end module 73 may include a power amplifier (PA) 731, a filter 732, and a low noise amplifier (LNA) 733.
[0176] The power amplifier 731 enhances signal strength, ensuring sufficient signal strength during long-distance transmission. The filter 732 filters out unwanted frequency components, preventing interference signals from affecting communication quality. The low-noise amplifier 733 amplifies the received signal while minimizing the introduction of additional noise, thereby improving the quality of the received signal.
[0177] In receiving mode, antenna 76 can... Figure 7 The direction of the receiving path shown transmits the signal to the Bluetooth chip 71 via the antenna switch 75 and the RF front-end module 73 (the data flow of the signal is shown as a solid line in the figure). In the transmitting state, the Bluetooth chip 71 (or the AP chip 72) can emit a signal along... Figure 7 The transmission path shown transmits signals to the surrounding environment via the radio frequency front-end module 73, antenna switch 75, and antenna 76.
[0178] Because antennas can operate on a variety of different communication standards, for example, such as Figure 8 As shown, the antenna control structure block diagram may also include a communication modem chip 81 and a hardware switch (also known as a control switch for the communication modem chip) 82. Of course, the antenna control structure block diagram may also include any of the following: a wireless local area network (WLAN) chip, a baseband chip, etc., and this disclosure does not impose any limitations on this.
[0179] The communication modem chip 81 is used to control electronic devices to communicate through a cellular network and to achieve wireless data transmission. The hardware switch 82 is used to turn the communication modem chip 81 on or off.
[0180] When the antenna needs to operate in NR communication mode, hardware switch 82 is in the off state. In receiving mode, antenna 76 can... Figure 8 The direction of the receiving path shown transmits signals to the communication modem chip 81 and Bluetooth chip 71 via antenna switch 75, RF front-end module 73, and hardware switch 82. In transmit mode, signals can be emitted by Bluetooth chip 71, AP chip 72, or communication modem chip 81, along... Figure 8The direction of the transmitting path shown is through the hardware switch 82, the radio frequency front-end module 73, and the antenna switch 75, and finally uses the antenna 78 to transmit signals to the surrounding environment.
[0181] Of course, the structural block diagram of the antenna control described above can also include other communication chips (not shown in Figure 7 and Figure 8 ) to make the electronic device work on other communication systems. The present application does not limit this.
[0182] In combination with the above Figure 7 and Figure 8 , it can be known that in order to ensure that the antenna can normally transmit signals, the target device is the device involved when the antenna transceiver signal corresponding to the third communication system. Exemplarily, the target device can include a chip supporting the third communication system (which can also be referred to as a preset chip) and a radio frequency front-end module. Among them, the radio frequency front-end module corresponding to different chips can be different, and the radio frequency front-end module is the front-end module corresponding to the third communication system.
[0183] For example, the target device includes a Bluetooth chip and a front-end device corresponding to Bluetooth communication, or the target device includes a Modem chip and a front-end device corresponding to cellular communication.
[0184] More specifically, on the basis of the radio frequency front-end module disclosed in Figure 7 and Figure 8 , the radio frequency front-end module can further include a duplexer or a transceiver switch (T / R switch) and other components (such as a mixer, a matching network).
[0185] Among them, the duplexer or transceiver switch is used to control the simultaneous sending and receiving operation on the same antenna, and avoid mutual interference by isolating the sending and receiving signals. Other components, such as mixers, matching networks, etc., are used to optimize the signal processing process.
[0186] In the case that the target device is not powered off, the antenna can work normally. At this time, the AP chip can send a second notification message to the antenna switch control chip, so that the antenna switch control chip sets the configuration parameters of the antenna switch. By setting, the antenna can transmit signals to the surrounding environment according to the maximum radiation efficiency. In this way, the electronic device can transmit signals for a longer time under the condition of limited power. This not only improves the energy utilization efficiency of the electronic device, but also guarantees the continuity and stability of signal transmission under a specific power state.
[0187] In some examples, the AP chip can send the second notification message to the antenna switch control chip through any one of an SPI bus, a Uart serial bus, and an I2C bus.
[0188] Figure 9 An exemplary schematic diagram showing a path of signal transmission. For example, as shown in Figure 9 After the AP chip monitors a shutdown event, the AP chip can send a reboot notify message to the antenna switch control chip through the SPI / Uart serial port driver.
[0189] S407, the antenna switch control chip receives the second notification message.
[0190] After the AP chip sends the second notification message to the antenna switch control chip, the antenna switch control chip can receive the second notification message and set the configuration parameters of the antenna switch based on the second notification message.
[0191] As shown in Figure 9 After the AP chip sends the second notification message to the antenna switch control chip through the SPI / Uart serial port driver, the antenna switch control chip can receive the second notification message through the SPI / Uart serial port driver.
[0192] After the AP chip sends the reboot notify message to the antenna switch control chip through the SPI / Uart serial port driver, the antenna switch control chip can receive the reboot notify message through the SPI / Uart serial port driver. The process can be: the SPI / Uart serial port driver in the AP chip sends the reboot notify message to the communication bus, and the signal reaches the SPI / Uart serial port driver in the antenna switch control chip through the physical propagation of the communication bus. The SPI / Uart serial port driver in the antenna switch control chip receives the reboot notify message from the communication bus.
[0193] S408, in response to the second notification message, the antenna switch control chip determines the third configuration parameters of the antenna switch and sends the third configuration parameters to the antenna switch.
[0194] When the electronic device is in an unshutdown state, the communication system in which the electronic device works and the communication system in which the electronic device works when the electronic device is in a shutdown state can be the same or different.
[0195] For example, when the electronic device 1 is in an unshutdown state and a shutdown state, the communication system in which it works is a Bluetooth communication system. When the electronic device 2 is in an unshutdown state, the communication system in which it works is an NR communication system. When in a shutdown state, the communication system in which the electronic device 2 works is a Bluetooth communication system.
[0196] As can be known from the foregoing steps, when the communication system of the electronic device changes, if the original configuration parameters are still used, the radiation efficiency will not be optimal when transmitting signals.
[0197] For example, as shown in FIG. 1A, Figure 6 Figure 6 The frequency response curve of the antenna ANT6 of the electronic device 2 includes a curve 5 and a curve 5-1.
[0198] The curve 1, the curve 2, the curve 3, and the curve 4 are all frequency response curves of the electronic device 1 in the state of being not powered off. The curve 1-1, the curve 2-1, the curve 3-1, and the curve 4-1 are all frequency response curves of the electronic device 1 in the state of being powered off. The curve 1, the curve 2, the curve 3, and the curve 4 are shown in the form of a solid line. The curve 1-1, the curve 2-1, the curve 3-1, and the curve 4-1 are shown in the form of a dashed line.
[0199] When the electronic device 1 is in the state of being not powered off, the coordinates of a point 3 on the curve 2 are (2, 5, -3.0728), and the coordinates of a point 1 on the curve 3 are (2, 4, -4.2287).
[0200] When the electronic device 1 is in the state of being powered off, the coordinates of a point 4 on the curve 2-1 are (2, 5, -3.2725), and the coordinates of a point 2 on the curve 3 are (2, 4, -4.4188).
[0201] It can be known by comparison that the radiation efficiency of the antenna is not much different when the electronic device 1 is in the state of being powered off and in the state of being not powered off, and there is a loss of 0.2 dB.
[0202] It should be noted that the radiation efficiency of the antenna of the electronic device 1 is not much different because the communication system worked when the electronic device 1 is in the state of being powered off and in the state of being not powered off is all the Bluetooth communication system, and the configuration parameters of the antenna switch are not adjusted by the antenna switch control chip.
[0203] Figure 10 The frequency response curve of the antenna ANT6 of the electronic device 2 is shown exemplarily. The frequency response curve of the antenna ANT6 of the electronic device 2 includes a curve 5 and a curve 5-1.
[0204] The curve 5 is a frequency response curve of the electronic device 2 in the state of being not powered off. The curve 5-1 is a frequency response curve of the electronic device 2 in the state of being powered off. The curve 5 is shown in the form of a solid line. The curve 5-1 is shown in the form of a dashed line.
[0205] When the electronic device 2 is in the state of being not powered off, the coordinates of a point 5 on the curve 5 are (2.403291, -4.692494). When the electronic device 2 is in the state of being powered off, the coordinates of a point 6 on the curve 5-1 are (2.397521, -7.97378).
[0206] It can be seen by comparison that there is a 3dB loss in the radiation efficiency of the antenna when the electronic device 2 is in the powered-off state and when the electronic device 2 is in the powered-on state.
[0207] It should be noted that the 3dB loss in the radiation efficiency of the antenna of the electronic device 2 is because the communication mode in which the electronic device 2 operates is different when the electronic device 2 is in the powered-off state and in the powered-on state, and the antenna switch control chip does not adjust the configuration parameters of the antenna switch.
[0208] Therefore, in order to make the electronic device have the highest radiation efficiency when transmitting a signal, the configuration parameters matched with the communication mode can be determined according to the communication mode in which the electronic device operates when the electronic device is powered off, so as to prolong the transmission time of the signal under the limited power of the electronic device.
[0209] In some examples, the process in which the antenna switch control chip determines the third configuration parameters of the antenna switch can include: the antenna switch control chip determining the third configuration parameters of the antenna switch according to the power-off configuration information.
[0210] The power-off configuration information includes a third communication mode. The power-off configuration information is used to indicate the type of the communication mode of the information transmitted by the electronic device in the powered-off state. The third configuration parameters can include a register address and a configuration value of a register. For example, the register address is 1 and the configuration value of the register is 0.
[0211] Generally, the above-mentioned power-off configuration information can be pre-set in the design stage of the electronic device, and the power-off configuration information is saved in the local storage of the antenna switch control chip. When the antenna switch control chip receives the second notification message, the antenna switch control chip can obtain the power-off configuration information from the local storage, and determine the third configuration parameters of the antenna switch according to the third communication mode in the power-off configuration information.
[0212] In other examples, when the electronic device is started for the first time, the AP chip can load the power-off configuration information of the electronic device to the antenna switch control chip. After the antenna switch control chip receives the second notification message, the antenna switch control chip can respond to the second notification message, and determine the third configuration parameters of the antenna switch according to the third communication mode in the power-off configuration information.
[0213] In some examples, the process of determining the third configuration parameters of the antenna switch according to the third communication mode in the power-off configuration information can include: determining the third configuration parameters of the antenna switch according to the third communication mode in the power-off configuration information and the configuration set in the foregoing S204. The detailed process of determining the third configuration parameters of the antenna switch according to the third communication mode in the power-off configuration information and the configuration set in the foregoing S204 can refer to the content in the foregoing S204, which will not be described here.
[0214] In some examples, the shutdown configuration information can further include a third configuration parameter. The process that the antenna switch control chip determines the third configuration parameter of the antenna switch can include: the antenna switch control chip determines the third configuration parameter in the shutdown configuration information as the third configuration parameter of the antenna switch according to the shutdown configuration information.
[0215] After receiving the second notification message, the antenna switch control chip can determine the third configuration parameter of the antenna switch, and send the third configuration parameter to the antenna switch, so that the antenna switch is configured based on the third configuration parameter before shutdown. After the third configuration parameter is sent, the antenna switch control chip can be powered off by controlling the power management module.
[0216] For example, as shown in FIG. 8, the antenna switch control chip includes a shutdown tuning module. The antenna switch control chip can receive the reboot notify message from the AP chip through the SPI / Uart serial port driver, and send the reboot notify message to the shutdown tuning module of the antenna switch control chip through the HAL layer. Figure 9
[0217] In some examples, the process that the antenna switch control chip receives the reboot notify message through the SPI / Uart serial port driver and sends the reboot notify message to the shutdown tuning module of the antenna switch control chip through the HAL layer can include: the antenna switch control chip can receive the reboot notify message through the SPI / Uart serial port driver. After the SPI / Uart serial port driver receives the reboot notify message, the reboot notify message can be sent to the HAL layer. After the HAL layer receives the reboot notify message, the reboot notify message can be sent to the shutdown tuning module.
[0218] After the shutdown tuning module receives the reboot notify message, the third configuration parameter of the antenna switch can be determined from the shutdown configuration information in the antenna switch control center local storage in response to the reboot notify message. Then the third configuration parameter is transmitted to the antenna switch through the HAL layer.
[0219] The process of transmitting the third configuration parameter to the antenna switch through the HAL layer can be that the HAL layer sends a configuration instruction to the antenna switch driver, and the antenna switch driver starts the antenna switch in response to the configuration instruction after receiving the configuration instruction. After the antenna switch is successfully started, the antenna switch is configured based on the third configuration parameter, so as to ensure that the antenna can achieve the highest radiation efficiency when transmitting signals. The configuration instruction includes the third configuration parameter. The configuration instruction is used to instruct the antenna switch to be configured according to the third configuration parameter.
[0220] In combination with the foregoing, when the electronic device is in the shutdown state, the antenna switch control chip reconfigures the antenna switch based on the third communication standard.
[0221] S409, the antenna switch receives the third configuration parameter and is configured according to the third configuration parameter.
[0222] After the antenna switch receives the third configuration parameter, the antenna switch is configured according to the third configuration parameter before shutdown. After the antenna switch is configured, the antenna switch can be powered off by controlling the power management module.
[0223] In some examples, the process of configuring according to the third configuration parameter can be updating the configuration parameter of the register of the antenna switch from the first configuration parameter to the third configuration parameter. The first configuration parameter is the parameter currently configured by the antenna switch.
[0224] After the antenna switch receives the third configuration parameter, the register address in the third configuration parameter can be used to find a register matching the register address in the third configuration parameter in the plurality of registers in the antenna switch. Then, the configuration value of the register in the third configuration parameter is written into the matching register. After that, the antenna switch can be configured according to the configuration value.
[0225] For example, the register address in the third configuration parameter is 1, and the configuration value of the register is 0. After the antenna switch receives the third configuration parameter, the antenna switch can query register 1 in the antenna switch according to the third configuration parameter, and assign the configuration value of register 1 to 0. In this way, the hardware connection combination of the circuit elements in the antenna switch can be set to the hardware connection combination corresponding to the configuration value 0, so as to complete the configuration.
[0226] For example, the register address in the third configuration parameter is 1, and the configuration value of the register is 0. After the antenna switch receives the third configuration parameter, the antenna switch can query register 1 in the antenna switch according to the third configuration parameter, and assign the configuration value of register 1 to 0. In this way, the hardware connection combination of the circuit elements in the antenna switch can be set to the hardware connection combination corresponding to the configuration value 0, so as to complete the configuration.
[0227] S410, the antenna transmits and receives signals.
[0228] After shutdown, the antenna corresponding to the third communication standard transmits and receives signals according to the third configuration parameter.
[0229] Specifically, after the antenna switch completes the configuration according to the third configuration parameter, the antenna corresponding to the third communication standard adjusts its performance according to the third configuration parameter, and radiates the obtained signal to the surrounding environment. Of course, the antenna corresponding to the third communication standard can also receive signals from the outside to realize bidirectional communication.
[0230] S411, the antenna switch control chip obtains a third notification signal.
[0231] When the physical power of the electronic device has not been completely consumed, the antenna switch control chip can obtain the third notification signal. Through the third notification signal, the antenna is controlled to work on other communication standards. Of course, the third notification information can also be other function instructions, and the present disclosure does not limit this. The third notification message can come from the AP chip, and can also come from other chips, such as a Bluetooth chip.
[0232] S412, in response to the third notification signal, the antenna continues to perform signal transmission on the third communication standard.
[0233] Since the second notification message instructs the antenna switch control chip not to perform the operation of changing the configuration parameter of the antenna switch after executing the second notification message, after the antenna switch control chip receives the third notification signal, no processing action is performed. Therefore, the antenna corresponding to the third communication standard continues to perform signal transmission on the third communication standard until the physical power of the electronic device is completely consumed.
[0234] Based on Figure 4 The method provided by the embodiment shown in the figure, when the electronic device is about to enter the shutdown state, the AP chip can control the power management module to make the target device (such as a chip supporting the third communication standard and a radio frequency front-end circuit) not power off. Then control the antenna switch control chip to configure the configuration parameter of the antenna switch to the parameter matched with the third communication standard, and no longer perform the operation of changing the configuration parameter of the antenna switch. If the configuration parameter of the antenna switch is configured to the parameter matched with the third communication standard, when the electronic device works on the third communication standard, the electronic device will have the highest radiation efficiency. In this way, under the premise of consuming the same amount of power, the coverage range of the antenna transmitting signal will be farther, and the duration of the transmission will be longer. Of course, the distance and time factors can also be considered comprehensively to make the electronic device achieve the best performance index.
[0235] It should be understood that each step in the above method embodiments provided by the present disclosure can be completed by the integrated logic circuit of hardware in the processor or the instruction in the form of software. The method steps disclosed in combination with the embodiments of the present disclosure can be directly embodied as hardware processor execution completion, or executed by hardware and software modules in the processor.
[0236] In one example, the units in the above apparatus can be one or more integrated circuits configured to implement the above method, for example: one or more ASICs, or, one or more DSPs, or, one or more FPGAs, or a combination of at least two of these integrated circuit forms.
[0237] For another example, when the units in the apparatus can be implemented in the form of a processing element scheduler, the processing element can be a general purpose processor, for example a CPU or other processor that can invoke a program. For yet another example, these units can be integrated together, implemented in the form of a system on a chip (SOC).
[0238] In one implementation, the units in the above apparatus that implement respective steps in the above method can be implemented in the form of a processing element scheduler. For example, the apparatus can include a processing element and a storage element, the processing element invoking a program stored in the storage element to perform the method of the above method embodiments. The storage element can be a storage element on the same chip as the processing element, i.e. an on-chip storage element.
[0239] In another implementation, the program for performing the above method can be in a storage element on a different chip from the processing element, i.e. an off-chip storage element. At this time, the processing element invokes or loads the program from the off-chip storage element to the on-chip storage element to invoke and perform the method of the above method embodiments.
[0240] For example, the embodiments of the present disclosure can also provide an apparatus, for example an electronic device, which can include a processor and a memory storing instructions executable by the processor. The processor is configured to execute the above instructions, so that the electronic device implements the data processing method as in the foregoing embodiments. The memory can be located within the electronic device or outside the electronic device. The processor includes one or more.
[0241] In yet another implementation, the units in the apparatus that implement respective steps in the above method can be configured as one or more processing elements, which can be provided on a corresponding electronic device as described above. The processing elements here can be integrated circuits, for example: one or more ASICs, or, one or more DSPs, or, one or more FPGAs, or a combination of these integrated circuit forms. These integrated circuits can be integrated together to form a chip.
[0242] For example, the embodiments of the present disclosure also provide a chip, for example Figure 11As shown, the chip system includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 and the interface circuit 1102 can be interconnected by a line. For example, the interface circuit 1102 can be used to receive signals from other devices. For another example, the interface circuit 1102 can be used to send signals to other devices (such as the processor 1101).
[0243] For example, the interface circuit 1102 can read instructions stored in the memory of the device and send the instructions to the processor 1101. When the instructions are executed by the processor 1101, the electronic device (such as the electronic device 200 shown) can perform various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which are not limited in the embodiments of the present disclosure. Figure 2 For example, the interface circuit 1102 can read instructions stored in the memory of the device and send the instructions to the processor 1101. When the instructions are executed by the processor 1101, the electronic device (such as the electronic device 200 shown) can perform various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which are not limited in the embodiments of the present disclosure.
[0244] In some embodiments, the processor in the chip system can only include a separate antenna switch control chip. Alternatively, the chip system includes an antenna switch control chip and other chips (such as an AP chip, a Modem chip, etc.), or the chip system includes an AP chip and a Modem chip, which are not limited in the present disclosure.
[0245] The embodiments of the present disclosure also provide a computer readable storage medium, which stores computer program instructions. When the computer program instructions are executed by an electronic device, the electronic device can implement the data processing method as described above.
[0246] The embodiments of the present disclosure also provide a computer program product, which includes computer instructions executed by an electronic device. When the computer instructions are executed by the electronic device, the electronic device can implement the data processing method as described above. Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for description. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0247] In several embodiments provided by the present disclosure, it should be understood that the disclosed device and method can be implemented by other means. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, another division mode can be adopted. For example, a plurality of units or components can be combined or integrated into another device, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces. The coupling or communication connection can be electrical, mechanical or in other forms.
[0248] The units described as separate components may or may not be physically separate, and the components displayed as units may be a physical unit or multiple physical units, that is, may be located in one place, or also can be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present embodiment.
[0249] In addition, each functional unit in various embodiments of the present disclosure can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0250] If the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present disclosure essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, such as a program. The software product is stored in a program product, such as a computer readable storage medium, and includes a plurality of instructions for causing an end device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media that can store program codes.
[0251] For example, the embodiments of the present disclosure can also provide a computer readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by an electronic device, the electronic device implements the data processing method as in the foregoing method embodiments.
[0252] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any change or replacement within the technical scope disclosed in the present disclosure should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A signal transmission method, characterized in that, Applied to an electronic device, the electronic device including a target device, an antenna switch, and an antenna, the method includes: Upon detecting a power-off event, the system controls the target device to remain powered on after power-off, and determines target configuration parameters corresponding to the preset communication standard. The target device is the device involved in transmitting and receiving signals using the antenna corresponding to the preset communication standard. The preset communication standard is the communication standard used by the electronic device to transmit and receive signals when the electronic device is powered off. The target configuration parameters are used to adjust the antennas used for transmitting and receiving signals and to adjust the frequency parameters of at least a portion of the antennas used for transmitting and receiving signals. Before powering off, the configuration parameters of the antenna switch register are updated from the first configuration parameter to the target configuration parameter; when the electronic device is operating on the preset communication standard, the radiation efficiency of the electronic device is higher when the configuration parameters of the antenna switch register are the target configuration parameter than when the configuration parameters of the antenna switch register are the first configuration parameter. After powering off, the antenna transmits and receives signals corresponding to the preset communication standard, based on the target configuration parameters.
2. The method according to claim 1, characterized in that, The step of determining the target configuration parameters corresponding to the preset communication standard according to the preset communication standard includes: Based on the preset communication standard and configuration set, a configuration combination matching the preset communication standard is determined from each configuration combination; the configuration set includes multiple configuration combinations, and each configuration combination includes a communication standard and configuration parameters; The configuration parameters in the matched configuration combination are determined as the target configuration parameters.
3. The method according to claim 1 or 2, characterized in that, The target device includes a preset chip and an RF front-end module, wherein the preset chip is a chip that supports the preset communication standard.
4. The method according to claim 2, characterized in that, Before detecting a shutdown event, the method further includes: Obtain a first notification message, wherein the first notification message includes a first communication standard; In response to the first notification message, the first configuration parameters are determined based on the first communication standard and the configuration set; Configure the configuration parameters of the antenna switch register to the first configuration parameter; when the electronic device is operating on the first communication standard, if the configuration parameters of the antenna switch register are the first configuration parameter, the radiation efficiency of the electronic device is the highest. After configuration, control the antenna to transmit and receive signals.
5. The method according to claim 4, characterized in that, Determining the first configuration parameter based on the first communication standard and the configuration set includes: Based on the first communication standard, determine the configuration combination that matches the first communication standard from among the configuration combinations; When there is no configuration combination that matches the first communication standard among the configuration combinations, a first configuration combination that matches the first communication standard is determined according to a preset rule; the preset rule includes the priority order of multiple communication standards; The configuration parameter in the first configuration combination is determined as the first configuration parameter.
6. The method according to any one of claims 1-5, characterized in that, The electronic device also includes an AP chip and an antenna switch control chip; in the event of a detected shutdown, the target device is controlled to remain powered on after shutdown, and target configuration parameters corresponding to the preset communication standard are determined according to the preset communication standard, including: When the AP chip detects a shutdown event, it controls the target device to remain powered on after shutdown and sends a second notification message to the antenna switch control chip. The second notification message is used to notify the electronic device that it is about to shut down and instructs the antenna switch control chip to adjust the configuration parameters of the antenna switch according to the preset communication standard, and no longer performs the operation of changing the configuration parameters of the antenna switch. In response to the second notification message, the antenna switch control chip determines the target configuration parameters corresponding to the preset communication standard according to the preset communication standard.
7. The method according to any one of claims 1-6, characterized in that, The target device includes a Bluetooth chip and a front-end device corresponding to Bluetooth communication, or the target device includes a Modem chip and a front-end device corresponding to cellular communication.
8. The method according to any one of claims 1-7, characterized in that, When the electronic device operates on the preset communication standard, the radiation efficiency of the electronic device is higher than that of the electronic device when the configuration parameters of the antenna switch register are the target configuration parameters than when the configuration parameters of the antenna switch register are the first configuration parameters, including: When the electronic device operates on the preset communication standard, its radiation efficiency is highest when the configuration parameters of the antenna switch register are the target configuration parameters.
9. The method according to claim 6, characterized in that, After controlling the antenna transmit and receive signals corresponding to the preset communication standard according to the target configuration parameters, the method further includes: Receive third-party notification messages; In response to the third notification message, the antenna corresponding to the preset communication standard is controlled to continue transmitting and receiving signals.
10. The method according to any one of claims 1-9, characterized in that, The antenna switch control chip locally stores preset configuration information, which includes the preset communication standard.
11. An electronic device, characterized in that, include: Processor, memory, bus, and communication interface; The memory is used to store computer execution instructions. The processor is connected to the memory via the bus. When the terminal is running, the processor executes the computer execution instructions stored in the memory to cause the terminal to perform the signal transmission method as described in any one of claims 1-10.
12. A chip system, characterized in that, The chip system includes a processor, which includes an antenna switch control chip and an AP chip. When the processor executes computer instructions, it causes the electronic device in which the chip system is located to perform the signal transmission method as described in any one of claims 1-10.
13. A computer-readable storage medium storing instructions, characterized in that, When the instruction is executed on the terminal, the terminal performs the signal transmission method as described in any one of claims 1-10.