Service management method and device
By determining the service coexistence strategy in the terminal device and controlling the dual-chip execution of services, the problem of communication performance degradation caused by antenna limitations and interference in the dual-chip structure is solved, and efficient communication with multi-chip service coexistence is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-10-29
- Publication Date
- 2026-05-08
AI Technical Summary
In terminal devices, the dual-chip structure suffers from limitations of the radio frequency front-end antenna and mutual interference issues, which prevents the main chip and the secondary chip from being completely decoupled, resulting in a decline in communication performance, especially in scenarios with conflicting services where they cannot work simultaneously.
When obtaining service requests in the terminal device, factors such as service type, operating frequency, running status and priority are considered to determine the service coexistence strategy, control the chip to execute the corresponding service to avoid conflict, and adopt the switching antenna mode or time division/frequency division multiplexing method to allow non-conflicting services to work at the same time.
To minimize business conflicts, improve communication performance for multi-chip business coexistence, and ensure communication performance for high-priority business.
Smart Images

Figure CN122002246A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more specifically, to a method and apparatus for managing services. Background Technology
[0002] To further improve the communication performance of terminal devices, incorporating dual chips has become a current research hotspot. Dual chips can be understood as comprising two chips, which can be named the main chip and the secondary chip. When both the main chip and the secondary chip support multiple short-range communication services, such as Wireless Fidelity (Wi-Fi) and Bluetooth, a multi-link collaborative approach using dual chips can enhance the user's communication experience. However, due to limitations in the terminal's RF front-end antenna and issues such as mutual interference, the main chip and the secondary chip cannot currently be completely decoupled. In scenarios where the main chip's and secondary chip's services conflict, they cannot operate simultaneously, leading to a decline in communication performance. Summary of the Invention
[0003] In view of this, this application provides a method for managing services, a communication device, a chip system, a computer-readable storage medium, a computer program product, and a communication system, which can avoid service conflicts caused by terminal devices using a multi-chip structure to perform communication services to the greatest extent, meet the needs of multi-chip service coexistence, and improve service communication performance.
[0004] Firstly, a method for managing services is provided. This method can be executed by a terminal device, or by a component (such as a circuit, chip, or chip system) configured in the terminal device, or by a logic module or software capable of implementing all or part of the terminal device's functions. This application does not limit this. For example, the terminal device is a User Equipment (UE). The terminal device includes at least a first chip and a second chip.
[0005] Specifically, the method includes: when the terminal device is executing a first service, the terminal device obtains an execution request for a second service, the execution request being used to execute the second service, wherein the first service is a service initiated by the first chip, and the second service is a service initiated by the second chip; determining a service coexistence strategy based on one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the first service, the operating frequency of the first service, and service priority information, the service coexistence strategy being a strategy for executing the second service and / or the first service; and invoking the second chip and / or the first chip to execute the service according to the service coexistence strategy.
[0006] Based on the above technical solution, when a terminal device receives a request to execute a new service (such as a second service) while executing a first service, the terminal device determines a service coexistence strategy by considering various factors, including but not limited to one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the first service, the operating frequency of the first service, and service priority information; and executes the determined service coexistence strategy, which can minimize the service conflict problem caused by the terminal device using a multi-chip structure to execute communication services, meet the requirements of multi-chip service coexistence, and improve service communication performance.
[0007] Here, "first service" is a general term for services currently running in the terminal device. Optionally, "first service" refers to the service currently being executed by the first chip in the terminal device. The introduction of "first service" and "second service" here is only for distinction and does not constitute a limitation on the embodiments of this application. "Second service" refers to the service requested to be executed by the second chip, or a newly initiated service.
[0008] In one possible implementation, determining the service coexistence strategy based on one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the service in the terminal device, and the priority corresponding to the second service, includes: determining whether there is a conflict between the first service and the second service based on the service type of the second service, the operating frequency of the second service, the operating status of the first service, and the operating frequency of the first service.
[0009] In the event of a conflict between the second service and the first service, the priority of the second service and the priority of the first service shall be determined.
[0010] It is understandable that the second business and the first business may have different coexistence relationships, and based on these different coexistence relationships, the business coexistence strategies will differ. The following describes how the business coexistence strategies are implemented under different circumstances.
[0011] As one possible scenario, the first business conflict with the second business, and the second business has a higher priority than the first business.
[0012] Optionally, if the priority of the second service is higher than that of the first service, the service coexistence strategy is determined to be: stop the first service and execute the second service. Accordingly, the terminal device, based on the service coexistence strategy, controls the first chip to stop executing the first service and controls the second chip to execute the second service. Therefore, by stopping low-priority services, the communication performance of high-priority services is guaranteed, improving the user experience.
[0013] As another possible scenario, the first business conflict with the second business, and the second business has a lower priority than the first business.
[0014] Optionally, if the priority of the second service is lower than that of the first service, the service coexistence strategy is determined as follows: the second service is not allowed to be executed and the current service coexistence strategy is maintained; accordingly, the terminal device controls the first chip to continue executing the first service according to the service coexistence strategy.
[0015] As another possible scenario, the first business and the second business do not conflict.
[0016] Optionally, if there is no conflict between the second service and the first service, the service coexistence strategy is a strategy of executing the first service and executing the second service; accordingly, the terminal device controls the first chip to execute the first service and controls the second chip to execute the second service according to the service coexistence strategy.
[0017] Optionally, as one implementation, the service coexistence strategy specifically involves: executing the first service and the second service by switching the antenna mode; the antenna mode includes MIMO mode and SISO mode;
[0018] The step of controlling the first chip to execute the first service and controlling the second chip to execute the second service according to the service coexistence strategy includes:
[0019] The first chip is controlled to switch from MIMO mode to SISO mode. After switching to SISO mode, the first chip uses the first antenna to perform the first service.
[0020] The second chip is controlled to use the second antenna to perform the second service. The second antenna is the idle antenna after the first chip switches from MIMO mode to SISO mode. The first antenna and the second antenna are different antennas.
[0021] Therefore, by switching antenna modes, it is possible to enable non-conflicting services to work simultaneously.
[0022] In some implementations, the priority of the second service is lower than that of the first service; during the antenna switching mode, the first chip executes the first service in MIMO mode; the method further includes: if the antenna fails to switch from MIMO mode to SISO mode, the service is processed according to the actual state of the antenna.
[0023] Optionally, as one implementation, the service coexistence strategy specifically involves executing the first service and the second service through time-division multiplexing and / or frequency-division multiplexing. Correspondingly, the terminal device sets antenna parameters through time-division multiplexing and / or frequency-division multiplexing, and based on the set antenna parameters, controls the first chip to execute the first service and controls the second chip to execute the second service. Therefore, by setting antenna parameters, the goal of allowing non-conflicting services to operate simultaneously can be achieved.
[0024] It should be noted that the above methods of switching antenna modes and setting antenna parameters can be used simultaneously or independently, and there are no specific limitations on this.
[0025] If a service stops working, the service coexistence strategy can be updated in a timely manner to further improve service communication performance.
[0026] Optionally, the method further includes: if the first service or the second service stops working when the first chip is controlled to perform the first service and the second chip is controlled to perform the second service, updating the service coexistence strategy.
[0027] Optionally, when both the first chip and the second chip are executing services in SISO mode, when the second service stops, updating the service coexistence strategy includes: updating the service coexistence strategy based on the stopped state of the second service; the updated service coexistence strategy is a strategy to switch the first chip from SISO mode to MIMO mode; and switching the antenna mode and adjusting the antenna parameters according to the updated service coexistence strategy. For example, based on the updated service coexistence strategy, the antenna is switched from SISO mode to MIMO mode, and the antenna parameters are adaptively set or adjusted simultaneously.
[0028] Therefore, when the second service stops, the antenna mode can be switched from SISO mode to MIMO mode, thereby ensuring that the first chip operates in MIMO mode and improving communication performance.
[0029] Optionally, the first service includes any one of the following services: Bluetooth service, device-to-device (D2D) service, peer-to-peer (P2P) service, Wi-Fi service, and NFC service;
[0030] And / or, the second service includes any one of the following services: Bluetooth service, D2D service, P2P service, WI-FI service, and NFC service.
[0031] Optionally, the first chip is the main chip, and the second chip is the secondary chip.
[0032] In a second aspect, a communication apparatus is provided, comprising modules or units for performing the method in any possible implementation of the first aspect described above.
[0033] In one design, the communication device may include modules that perform the methods / operations / steps / actions described in the foregoing aspects. These modules may be hardware circuits, software, or a combination of hardware circuits and software.
[0034] In one design, the communication device is a communication chip, which may include input circuits or interfaces for transmitting information or data, and output circuits or interfaces for receiving information or data.
[0035] In another design, the communication device is a communication equipment, which may include a transmitter for sending information or data and a receiver for receiving information or data.
[0036] In another design, the communication device is used to perform the method in any possible implementation of the first aspect described above. The communication device may be configured in the terminal device, or the communication device itself may be the terminal device.
[0037] For example, the terminal device includes at least a first chip and a second chip; the terminal device includes a processing module (or a dual-chip service management module);
[0038] The processing module is used to obtain an execution request for a second service when the terminal device is performing a first service. The execution request is used to execute the second service, wherein the first service is a service initiated by the first chip, and the second service is a service initiated by the second chip.
[0039] The processing module is further configured to determine a service coexistence strategy based on one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the first service, the operating frequency of the first service, and service priority information. The service coexistence strategy is a strategy for executing the second service and / or the first service.
[0040] The processing module is also used to invoke the second chip and / or the first chip to execute services according to the service coexistence strategy.
[0041] In one possible design, the processing module is further configured to determine whether there is a conflict between the first service and the second service based on the service type of the second service, the operating frequency of the second service, the operating status of the first service, and the operating frequency of the first service; further configured to determine the priority of the second service and the priority of the first service if there is a conflict between the second service and the first service; further configured to determine the service coexistence strategy as a strategy of stopping the first service and executing the second service if the priority of the second service is higher than the priority of the first service; and further configured to control the first chip to stop executing the first service and control the second chip to execute the second service according to the service coexistence strategy.
[0042] In one possible design, the processing module is further configured to determine the service coexistence strategy as follows when the priority of the second service is lower than that of the first service: disallow the execution of the second service and maintain the current service coexistence strategy; the processing module is further configured to control the first chip to continue executing the first service according to the service coexistence strategy.
[0043] In one possible design, when there is no conflict between the second service and the first service, the service coexistence strategy is: a strategy of executing the first service and executing the second service; wherein, the processing module is further configured to control the first chip to execute the first service and control the second chip to execute the second service according to the service coexistence strategy.
[0044] In one possible design, the service coexistence strategy specifically involves executing the first service and the second service by switching antenna modes; the antenna modes include MIMO mode and SISO mode; wherein, the processing module is further configured to control the first chip to switch from MIMO mode to SISO mode, and after switching to SISO mode, the first chip uses the first antenna to execute the first service; and control the second chip to use the second antenna to execute the second service, the second antenna being the idle antenna after the first chip switches from MIMO mode to SISO mode, and the first antenna and the second antenna being different antennas.
[0045] In one possible design, the priority of the second service is lower than that of the first service; during the antenna switching mode, the first chip executes the first service in MIMO mode; the processing module is also used to process the service according to the actual state of the antenna if the switching fails when the antenna switches from MIMO mode to SISO mode.
[0046] In one possible design, the service coexistence strategy is specifically: a strategy of executing the first service and the second service through time division multiplexing and / or frequency division multiplexing; wherein, the processing module is further configured to: set antenna parameters through time division multiplexing and / or frequency division multiplexing, and based on the set antenna parameters, control the first chip to execute the first service and control the second chip to execute the second service.
[0047] In one possible design, the processing module is further configured to update the service coexistence strategy if either the first service or the second service stops working, while controlling the first chip to execute the first service and controlling the second chip to execute the second service.
[0048] In one possible design, when both the first chip and the second chip are executing services in SISO mode, when the second service stops, the processing module is further configured to update the service coexistence strategy based on the stopped state of the second service. The updated service coexistence strategy is a strategy to switch the first chip from SISO mode to MIMO mode. The processing module is further configured to switch the antenna mode and adjust the antenna parameters according to the updated service coexistence strategy.
[0049] In one possible design, the first service includes any one of the following services: Bluetooth service, device-to-device (D2D) service, peer-to-peer (P2P) service, Wi-Fi service, and NFC service; and / or, the second service includes any one of the following services: Bluetooth service, D2D service, P2P service, Wi-Fi service, and NFC service.
[0050] In one possible design, the first chip is the main chip, and the second chip is the secondary chip.
[0051] Thirdly, a communication device is provided, including a processor. The processor is coupled to a memory and can be used to execute instructions or data in the memory to implement the method in any possible implementation of the first aspect described above. Optionally, the communication device further includes a memory. Optionally, the communication device further includes a communication interface, and the processor is coupled to the communication interface.
[0052] In one implementation, the communication interface may be a transceiver, or an input / output interface.
[0053] In another implementation, the communication device is a chip configured in a terminal device. When the communication device is a chip configured in a terminal device, the communication interface can be an input / output interface.
[0054] Fourthly, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive signals through the input circuit and transmit signals through the output circuit, causing the processor to execute a method in any possible implementation of any aspect.
[0055] In specific implementation, the processor can be one or more chips, the input circuit can be input pins, the output circuit can be output pins, and the processing circuit can be transistors, gate circuits, flip-flops, and various logic circuits. The input signal received by the input circuit can be received and input by, for example, but not limited to, a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to and transmitted by a transmitter. Furthermore, the input circuit and the output circuit can be the same circuit, which is used as both the input circuit and the output circuit at different times. This application does not limit the specific implementation of the processor and various circuits.
[0056] Fifthly, a communication device is provided, including a processor and a memory. The processor is used to read instructions stored in the memory, receive signals via a receiver, and transmit signals via a transmitter to execute the method in any possible implementation of any of the above aspects.
[0057] Optionally, the processor may be one or more, and the memory may be one or more.
[0058] Optionally, the memory may be integrated with the processor, or the memory may be separated from the processor.
[0059] In specific implementation, the memory can be a non-transitory memory, such as read-only memory (ROM), which can be integrated with the processor on the same chip or set on different chips. The embodiments of this application do not limit the type of memory or the way the memory and processor are set.
[0060] It should be understood that the relevant data interaction process, such as sending indication information, can be the process of the processor outputting indication information, and receiving capability information can be the process of the processor receiving input capability information. Specifically, the data output by the processor can be sent to the transmitter, and the input data received by the processor can come from the receiver. Here, the transmitter and receiver can be collectively referred to as a transceiver.
[0061] The processing device mentioned in the fifth aspect above can be one or more chips. The processor in the processing device can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc.; when implemented in software, the processor can be a general-purpose processor that reads software code stored in memory. The memory can be integrated into the processor or located outside the processor and exist independently.
[0062] In a sixth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code or instructions), which, when the computer program is run, causes a computer to perform a method in any possible implementation of any of the above aspects.
[0063] In a seventh aspect, a computer-readable storage medium is provided that stores a computer program (also referred to as code or instructions) that, when executed on a computer, causes the computer to perform the methods in any possible implementation of any of the above aspects.
[0064] Eighthly, embodiments of this application provide a chip system including one or more processors for calling and executing instructions stored in memory, causing the methods in any of the above aspects or possible implementations to be executed. The chip system may be composed of chips or may include chips and other discrete devices.
[0065] The chip system may include input circuits or interfaces for transmitting information or data, and output circuits or interfaces for receiving information or data.
[0066] Ninthly, a communication system is provided, including the aforementioned terminal equipment.
[0067] Optionally, the communication system may also include other devices that communicate with the terminal devices, such as network devices. Attached Figure Description
[0068] Figure 1 This is a structural example diagram of a terminal device according to an embodiment of this application;
[0069] Figure 2 This is an example diagram of the software architecture of the terminal device according to an embodiment of this application;
[0070] Figure 3 This is a flowchart of a method for managing business according to an embodiment of this application;
[0071] Figure 4 This is a logical flowchart of a method for managing business according to an embodiment of this application;
[0072] Figure 5 This is a method example diagram of a method for managing business according to an embodiment of this application;
[0073] Figure 6 This is another example diagram of the method for managing business according to an embodiment of this application;
[0074] Figure 7 This is another example diagram of the method for managing business according to an embodiment of this application;
[0075] Figure 8 This is an example diagram illustrating a process for updating a service coexistence strategy provided in an embodiment of this application;
[0076] Figure 9 This is an example diagram illustrating a process for handling antenna switching failure provided in an embodiment of this application;
[0077] Figure 10 This is an example diagram of the execution business coexistence strategy provided in the embodiments of this application;
[0078] Figure 11 This is a process example diagram of the execution business coexistence strategy provided in the embodiments of this application;
[0079] Figure 12 This is another process example diagram illustrating the execution business coexistence strategy provided in the embodiments of this application;
[0080] Figure 13 This is another process example diagram of the execution business coexistence strategy provided in the embodiments of this application;
[0081] Figure 14 This is a structural example diagram of a terminal device according to an embodiment of this application. Detailed Implementation
[0082] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0083] In this application embodiment, "multiple" can be understood as "at least two"; "multiple items" can be understood as "at least two items".
[0084] This application can be applied to communication systems. Mobile communication systems include, but are not limited to, the following systems: Long Term Evolution (LTE) systems, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) systems, 5th Generation (5G) systems or New Radio (NR) systems, 5.5G systems or 6th Generation (6G) systems, and future mobile communication systems; vehicle-to-others (V2X) systems, where V2X can include vehicle-to-network (V2N), vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), vehicle-to-pedestrian (V2P), etc.; Long Term Evolution-Vehicle (LTE-V) technology for vehicle-to-everything (V2V) communication; vehicle-to-everything (V2X) communication; machine-type communication (MTC); Internet of Things (IoT); and Long Term Evolution-Vehicle (LTE-V) technology for machine-to-machine communication. Evolution-machine (LTE-M), machine-to-machine (M2M), etc.
[0085] The terminal equipment in this application embodiment can also be referred to as: user equipment (UE), very small aperture terminal (VSAT), station, mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user device, etc.
[0086] A UE can be a device that provides voice / data connectivity to a user, such as a handheld device or vehicle-mounted device with wireless connectivity. Currently, examples of terminals include: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals with cloud gaming capabilities, wireless terminals in self-driving vehicles, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or future public land mobile communication networks. Terminal devices in a mobile network (PLMN), etc., are not limited to this in the embodiments of this application.
[0087] By way of example and not limitation, in this embodiment, the UE can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices worn directly on the body or integrated into a user's clothing or accessories. Wearable devices are not merely hardware devices; they achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined, wearable smart devices include those with comprehensive functions, large size, and the ability to perform complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those focused on a specific application function that require interaction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0088] Furthermore, in this embodiment, the UE can also be a terminal device in an Internet of Things (IoT) system. IoT is an important component of future information technology development, and its main technical feature is connecting objects to networks through communication technologies, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection. The embodiments of this application do not limit the specific technologies or device forms used in the terminal devices.
[0089] In this embodiment, the UE includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software. Furthermore, this embodiment does not specifically limit the structure of the execution entity of the method provided in this embodiment, as long as it can communicate according to the method provided in this embodiment by running a program that records the code of the method provided in this embodiment. For example, the execution entity of the method provided in this embodiment can be a terminal device, or a functional module in the terminal device that can call and execute a program.
[0090] Figure 1 A schematic diagram of the structure of the terminal device 100 used in an embodiment of this application is shown. Figure 1 As shown, the terminal device 100 includes a system-on-a-chip (SoC), a first chip, a second chip, a radio frequency (RF) structure, and an antenna. The first chip and the second chip are connected to the SoC. Both the first chip and the second chip support wireless communication services. The first chip and the second chip can implement wireless communication services through the RF structure and the antenna.
[0091] Optionally, the first chip is the main chip (or main wireless chip), and the second chip is the secondary chip (or secondary wireless chip).
[0092] For example, the main chip is used to process high-priority services or other services with high performance requirements. The secondary chip is used to assist the main chip to further improve the performance of the terminal device.
[0093] This application does not specifically limit the type of wireless communication service. Optionally, the wireless communication service is a short-range communication service, such as Wi-Fi, Bluetooth, D2D, and P2P services, etc.
[0094] like Figure 1 As shown, due to limitations imposed by the RF front-end antenna of the terminal device, the first chip and the second chip cannot be completely decoupled. For example, when the first chip and the second chip are performing services simultaneously, both will use the antenna. The first chip and the second chip may need to compete for the antenna in order to perform the service. If one of them fails to secure the antenna, the service may fail to execute. Alternatively, if the first chip and the second chip use the antenna simultaneously to perform services, a conflict may occur.
[0095] It should be understood that Figure 1 The diagram shows the first chip and the second chip, but the embodiments of this application are not limited to these. In fact, the terminal device may include a greater number of chips, such as three or more chips. The service management method of the embodiments of this application is also applicable to terminal devices that include a greater number of chips.
[0096] In view of this, embodiments of this application propose a method for managing services. When a service initiation request is received, a service coexistence strategy is determined by considering various factors (such as service type, service operating frequency, service operating status, and service priority). Based on the service coexistence strategy, the control chip executes the corresponding service to minimize the occurrence of service conflicts and thereby improve communication performance.
[0097] Before introducing the method implementation examples, let's first combine... Figure 2 The software structure of the terminal device according to embodiments of this application is described. Figure 2 This is a schematic diagram of the software structure of the terminal device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system can be divided into five layers, from top to bottom: the application (APP) layer, the application framework layer (FWK), the system library, and the kernel layer.
[0098] The application layer can include a series of application packages. For example, such as Figure 2 As shown, the application layer includes system applications such as WLAN and Bluetooth, as well as third-party applications.
[0099] In some embodiments, in response to a user's Bluetooth operation, the terminal device performs Bluetooth services through a first chip and / or a second chip.
[0100] In some embodiments, in response to a user's use of Wi-Fi, the terminal device performs Wi-Fi services through a first chip and / or a second chip.
[0101] It is understandable that the application layer can also include other applications, such as calendar, call, map, navigation, music, video, SMS, browser, WeChat, Alipay, Taobao and other applications.
[0102] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer may include some predefined functions.
[0103] In some embodiments, the application framework layer includes a dual-chip service management module and a communication service management module. The dual-chip service management module, also known as a dual-chip service arbitration module, is used to determine a service coexistence strategy based on one or more of the following: the type of the new service (e.g., a second service), the expected operating frequency of the new service, the current service coexistence scenario (which can be understood as the coexistence scenario constituted by currently running services, specifically including the operating status and operating frequency of currently running services), and service priority ranking information. The dual-chip service management module can establish a communication connection with the communication service management module. For example, the dual-chip service management module may receive and notify the communication service management module of a service execution request initiated by the communication service management module; or, for example, the dual-chip service management module may notify the communication service management module to terminate one or more services.
[0104] Optionally, the communication service management module is used to manage the operation or termination of services in the terminal device based on the return results from the dual-chip service management module. The communication service management module may include multiple sub-modules, each corresponding to a service. For example, the communication service management module includes a service module for a first chip and a service module for a second chip. The service module for the first chip manages services related to the first chip. The service module for the second chip manages services related to the second chip. The service module for the first chip includes multiple sub-modules, each corresponding to a service of the first chip; similarly, the service module for the second chip includes multiple sub-modules, each corresponding to a service of the second chip.
[0105] Optionally, the application framework layer also includes an antenna switching module. The antenna switching module is used to implement functions related to antenna switching.
[0106] Optionally, the application framework layer also includes an antenna policy configuration module. It should be understood that the antenna policy configuration module can also be located in other layers or other locations, such as a second chip or kernel layer; no specific limitation is made in this regard.
[0107] For example, the antenna strategy configuration module can receive the antenna parameters set by the dual-chip service management module and return the antenna parameter setting results to the dual-chip service management module.
[0108] It is understandable that the application framework layer may also include other components, such as a window manager, content providers, a view system, a phone manager, a resource manager, and a notification manager.
[0109] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture the screen, among other things.
[0110] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, and phone books.
[0111] The view system includes visual controls, such as controls for displaying text and controls for displaying images. The view system can be used to build applications. A display interface can consist of one or more views; for example, a display interface including a text notification icon can include views for displaying text and views for displaying images. The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0112] The system library can also include multiple functional modules, such as: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES for embedded systems) and 2D graphics engines (e.g., Skia graphics library (SGL)).
[0113] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0114] The media library supports playback and recording of various audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, Moving Picture Experts Group Audio Layer III (MP3), Advanced Audio Coding (AAC), Adaptive Multi-rate (AMR), Joint Photographic Experts Group (JPG), and Portable Network Graphics (PNG).
[0115] The 3D graphics processing library can be used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0116] A 2D graphics engine is a graphics engine for 2D drawing.
[0117] The kernel layer is the layer between hardware and software. For example... Figure 2 As shown, the kernel layer may include an antenna switching driver. The antenna switching driver is used to implement the antenna switching function. It can be understood that the kernel layer may also include other driver modules, such as display drivers, sensor drivers, audio drivers, etc.
[0118] The solution provided in this application will be described in detail below with reference to the corresponding flowcharts. It is understood that the illustrative flowcharts provided in this application primarily use a terminal device as the executing entity to illustrate the method, but this application does not limit the executing entity of the flowchart. For example, the terminal device in the illustrative flowchart can also be a chip, chip system, or processor that supports the implementation of the method on that device, or it can be a logic module or software that can implement all or part of the functions of that device.
[0119] Figure 3 This is an example flowchart illustrating a management business method according to an embodiment of this application. Figure 3 As shown, the method includes at least the following steps:
[0120] Step 310: While the terminal device is executing the first service, an execution request for the second service is obtained. The execution request is used to request the execution of the second service, wherein the first service is the service corresponding to the first chip, and the second service is the service initiated by the second chip.
[0121] In other words, the terminal device is currently executing a first service through the first chip and receives an execution request from the second chip (to request the execution of a second service). After receiving the execution request, the terminal device can comprehensively consider multiple factors to determine a service coexistence strategy.
[0122] The first service is a general term for the services currently running in the terminal device. Optionally, the first service refers to the service currently being executed by the first chip in the terminal device. The introduction of the first service and the second service here is only for distinction and does not constitute a limitation on the embodiments of this application. The second service refers to the service requested to be executed by the second chip, or a newly initiated service.
[0123] It should be understood that the first business can be understood as one or more businesses; that is, the business currently being executed can be one or more.
[0124] Step 320: The terminal device determines a service coexistence strategy based on one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the first service, the operating frequency of the first service, and service priority information. The service coexistence strategy is a strategy used to execute the second service and / or the first service.
[0125] Among them, 1) the service type of the second service is used to indicate the specific service type corresponding to the second service. For example, the service type of the second service includes, but is not limited to, the following: Wi-Fi service, device-to-device (D2D) service, Bluetooth service, peer-to-peer (P2P) service, near field communication (NFC) service, etc.
[0126] 2) The operating frequency of the second service is used to represent the expected operating frequency (or desired operating frequency) of the second service during operation. It is understood that different services can operate at different frequencies. Therefore, the operating frequency can be used as a basis for deciding on a service coexistence strategy.
[0127] 3) The operating status of the first service is used to characterize the operating status of the service in the terminal device, indicating whether the first service of the terminal device is currently running or not. For example, if the first service includes multiple services, the operating status of the first service includes the operating status of multiple services, and the operating status of multiple services can be the same or different.
[0128] 4) The operating frequency of the first service indicates the operating frequency occupied by each service currently being executed. For example, if the first service includes multiple services, the operating frequency of the first service includes the operating frequencies of all services. The operating frequencies of the multiple services can be the same or different.
[0129] The above 3) and 4) can also be understood as the coexistence scenario of current services, or the status and / or operating frequency of various services running in the terminal device.
[0130] 5) Business priority information is used to represent the order in which business priorities are assigned. For example, business priority information includes a list of priority orders for different businesses. Optionally, the priority or priority order of each business can be preset and is not limited thereto.
[0131] For example, the Wi-Fi service of the main chip has a higher priority than the Bluetooth service of the secondary chip.
[0132] For example, the priority of P2P services on the main chip is higher than the priority of Wi-Fi services on the secondary chip.
[0133] It should be understood that the above-mentioned ordering of business priorities is merely an example, and the embodiments of this application are not limited thereto.
[0134] The terminal device can determine a service coexistence strategy based on one or more of the above 1) to 5). The service coexistence strategy can also be understood as a strategy for executing the first service, or a strategy for executing the second service, or a strategy for executing both the first and second services simultaneously.
[0135] Step 330: The terminal device calls the second chip and / or the first chip to execute services according to the service coexistence strategy.
[0136] For example, if the service coexistence policy is for executing a first service, then the terminal device controls the first chip to execute the first service according to the service coexistence policy. If the service coexistence policy is for executing a second service, then the terminal device controls the second chip to execute the second service according to the service coexistence policy. If the service coexistence policy is for executing both the first and second services, then the terminal device controls the first chip to execute the first service and controls the second chip to execute the second service according to the service coexistence policy. Of course, in the specific process of executing the service, the service coexistence policy may specifically include antenna setting parameters, antenna switching modes, and stopping low-priority services required for executing the service, etc. This will be described in detail later.
[0137] In this embodiment, when the terminal device receives an execution request for a new service (such as a second service), it determines a service coexistence strategy by considering various factors, including but not limited to one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the first service, the operating frequency of the first service, and service priority information; and executes the determined service coexistence strategy, which can avoid service conflicts caused by the terminal device using a multi-chip structure to execute communication services to the greatest extent, meet the requirements of multi-chip service coexistence, and improve service communication performance.
[0138] To facilitate understanding of the management business methods in the embodiments of this application, the following is combined with... Figure 4 The decision logic diagram shown describes the process of the business coexistence strategy. For example... Figure 4 As shown, the method includes at least the following steps:
[0139] Step 401: The terminal device obtains the execution request (or initiates the request) for the second service.
[0140] After receiving the execution request for the second service, the terminal device can detect which services are currently running. For example, the currently running service is the first service. For a description of the first service, please refer to step 310 above; it will not be repeated here.
[0141] Step 402: The terminal device determines whether there is a conflict between the second service and the first service.
[0142] In other words, the terminal device can determine whether the requested service conflicts with the service that is currently being executed.
[0143] If the result of step 402 is "yes", meaning there is a conflict between the first service and the second service, then proceed to step 403; if the result of step 402 is "no", meaning there is no conflict between the first service and the second service, then proceed to step 404.
[0144] This application does not specifically limit the determination method. The terminal device can determine whether the first service and the second service conflict based on the service's operating status and / or operating frequency.
[0145] Optionally, step 402 includes: determining whether there is a conflict between the first service and the second service based on the operating frequency of the second service, the operating frequency of the first service, and the operating status of the first service.
[0146] For example, the operating status of the first service includes: the operating status of the first service is "running".
[0147] The operating frequency of the second service refers to the frequency or frequency point at which the second service is expected to operate, also known as the anticipated operating frequency. If the operating frequency of the second service is the same as that of the first service, then the second service conflicts with the first service. If the operating frequency of the second service is different from that of the first service, then the second service does not conflict with the first service.
[0148] For example, if the first service is currently running and operating on frequency 1, and the second service is expected to operate on frequency 2, then it can be determined that the first service and the second service do not conflict.
[0149] For example, if the first service is currently running on frequency 1, and the second service is expected to run on frequency 1, then it can be determined that the first service and the second service may conflict.
[0150] For example, such as Figure 5 As shown, assume the first service is the Wi-Fi service of the main chip, operating on frequency 1, and the second service is the Wi-Fi service of the secondary chip. The secondary chip's Wi-Fi service sends an execution request to the dual-chip service management module to request operation on frequency 2. Upon receiving the execution request, the dual-chip service management module determines whether the secondary chip's Wi-Fi service can operate. Since frequency 1 and frequency 2 are different frequencies, the secondary chip's Wi-Fi service can operate on frequency 2. Therefore, a service coexistence strategy can be determined (e.g., simultaneously executing the secondary chip's Wi-Fi service and the main chip's Wi-Fi service), and this strategy can be executed. The dual-chip service management module can return the execution result to the secondary chip's Wi-Fi service. The execution result indicates the successful execution of the secondary chip's Wi-Fi service. For example, the execution result may indicate successful antenna switching or successful antenna parameter setting.
[0151] Step 403: The terminal device determines whether the priority of the second service is higher than the priority of the first service.
[0152] Optionally, if the first service is one of multiple services running on the terminal device, step 403 can determine whether the priority of the second service is higher than the priority of any service in the first service that conflicts with the second service.
[0153] If the result of step 403 is "yes", then step 404 is executed, that is, if the priority of the second service is higher than the priority of the first service that conflicts with the second service, then the service coexistence strategy is determined and executed. If the result of step 403 is "no", then step 407 is executed.
[0154] Step 404: The terminal device determines and executes the service coexistence strategy.
[0155] The terminal device can determine a service coexistence strategy based on the relationship between the first service and the second service. After the service coexistence strategy is determined, the terminal device executes the strategy and obtains the execution result. The execution result indicates whether the service coexistence strategy was executed successfully.
[0156] Step 405: The terminal device determines whether the service coexistence strategy has been successfully executed.
[0157] If the result of step 405 is "yes", then proceed to step 406; if the result of step 405 is "no", then proceed to step 407.
[0158] Step 406: Allow the initiation of a second service. That is, the terminal device allows the second chip to execute a second service.
[0159] Step 407: Initiating a second service is not allowed. That is, the terminal device does not allow the second chip to execute a second service.
[0160] based on Figure 4 As shown in the process, the terminal device can execute different steps depending on the different situations of the first service and the second service in order to resolve the problem of dual-chip service conflict.
[0161] It is understandable that the second business and the first business may have different coexistence relationships, and based on these different coexistence relationships, the business coexistence strategies will differ. The following describes how the business coexistence strategies are implemented under different circumstances.
[0162] Scenario 1: The first business and the second business do not conflict.
[0163] In other words, there is no conflict between the work application and the work currently being performed; that is, the work application and the work currently being performed can coexist or be performed simultaneously.
[0164] Optionally, if there is no conflict between the second service and the first service, the service coexistence strategy is: a strategy of executing the first service and executing the second service; wherein, step 330 includes: according to the service coexistence strategy, controlling the first chip to execute the first service and controlling the second chip to execute the second service.
[0165] The first chip is the main chip, and the second chip is the auxiliary chip. The first service is the Wi-Fi service of the main chip, and the second service is the Wi-Fi service of the auxiliary chip. When the terminal device is currently executing the Wi-Fi service of the main chip, the Wi-Fi service of the auxiliary chip initiates an execution request. At this time, the corresponding service coexistence strategy can be determined and executed, that is, the Wi-Fi service of the main chip and the Wi-Fi service of the auxiliary chip can coexist and be executed.
[0166] The following describes the specific implementation of the business coexistence strategy corresponding to scenario 1.
[0167] Optionally, as one implementation, the service coexistence strategy specifically involves: executing the first service and the second service by switching the antenna mode; the antenna mode includes multiple-input multiple-output (MIMO) mode and single-input single-output (SISO) mode.
[0168] The step of controlling the first chip to execute the first service and controlling the second chip to execute the second service according to the service coexistence strategy includes: controlling the first chip to switch from MIMO mode to SISO mode, and after switching to SISO mode, the first chip uses the first antenna to execute the first service; controlling the second chip to use the second antenna to execute the second service, wherein the second antenna is the idle antenna after the first chip switches from MIMO mode to SISO mode, and the first antenna and the second antenna are different antennas.
[0169] MIMO technology refers to the use of multiple transmit and receive antennas at both the transmitting and receiving ends, enabling signals to be transmitted and received through multiple antennas at both ends, thus making full use of space resources. SISO technology refers to a single antenna at the transmitting end and a single antenna at the receiving end. Detailed technical information on MIMO and SISO can be found in relevant technical documentation; for brevity, it will not be elaborated upon here.
[0170] For example, a terminal device can switch the main chip from MIMO mode to SISO mode, thereby freeing up one antenna, allowing the secondary chip to preempt this idle antenna (or the second antenna). When the main chip switches from MIMO mode to SISO mode, it uses the first antenna to execute its own services. After the secondary chip preempts this idle antenna, it can execute its own services. In this way, the services of the main chip and the secondary chip can operate simultaneously.
[0171] Therefore, for scenario 1, switching antenna modes can achieve the goal of allowing non-conflicting services to work simultaneously.
[0172] Optionally, as one implementation, the service coexistence strategy is specifically a strategy of executing the first service and the second service through time-division multiplexing;
[0173] The terminal device controls the first chip to execute the first service and controls the second chip to execute the second service according to the service coexistence strategy, including: setting antenna parameters by time division multiplexing, and controlling the first chip to execute the first service and controlling the second chip to execute the second service based on the set antenna parameters.
[0174] In this implementation, if the antenna mode of the first chip is MIMO mode, then there is no need to switch antennas. Instead, by setting antenna parameters, the services of the first chip and the services of the second chip can coexist.
[0175] Optionally, the terminal device uses modulation techniques such as time-division multiplexing and / or frequency-division multiplexing to enable the services of the main chip and the sub-chip to operate simultaneously. For specific technical details regarding time-division multiplexing or other modulation techniques, please refer to the descriptions in relevant technical documents; they will not be elaborated upon here.
[0176] Taking time-division multiplexing as an example, the first service and the second service occupy different time domain resources, or in other words, they are executed in different time periods, so as to achieve the purpose of executing the first service through the first chip and executing the second service through the second chip.
[0177] Taking frequency division multiplexing as an example, the first service and the second service occupy different frequency domain resources in order to achieve the purpose of executing the first service through the first chip and executing the second service through the second chip.
[0178] Taking time-division multiplexing and frequency-division multiplexing as examples, the first service and the second service occupy different time and frequency resources in order to achieve the purpose of executing the first service through the first chip and executing the second service through the second chip.
[0179] Therefore, for scenario 1, by setting the antenna parameters, it is possible to enable non-conflicting services to work simultaneously.
[0180] It should be noted that, for ease of description, the two implementation methods described above—switching antenna modes and setting antenna parameters—are described independently, but this does not mean that these two methods can only be used independently. In fact, switching antenna modes and setting antenna parameters can also be used simultaneously to allow non-conflicting services to operate concurrently. For example, when the first and second services do not conflict, the antenna mode can be switched from MIMO mode to SISO mode, and the relevant antenna settings can be adaptively modified simultaneously to achieve the goal of executing the first service through the first chip and the second service through the second chip.
[0181] Scenario 2: The first business conflictes with the second business, and the second business has a higher priority than the first business.
[0182] Optionally, if there is a conflict between the second service and the first service, and the priority of the second service is higher than that of the first service, the service coexistence strategy is: to stop the first service and execute the second service.
[0183] Step 330 includes: the terminal device controlling the first chip to stop executing the first service and controlling the second chip to execute the second service according to the service coexistence strategy.
[0184] In other words, when there is a conflict between the first and second services, and the second service has a higher priority than the first service, the first service can be stopped to ensure that the higher-priority service (such as the second service) can continue to operate.
[0185] The priority of the second service is higher than that of the first service, which can be understood as: the priority of the second service is higher than the priority of all services in the first service.
[0186] Figure 6 An example of an interaction in scenario 2 is shown. Figure 6 As shown, taking the second service as the main chip's P2P service and the third service as the secondary chip's Wi-Fi service, the secondary chip's Wi-Fi service is currently operating on frequency 1. The main chip's P2P service initiates an execution request to request execution of the main chip's P2P service on frequency 1. Upon receiving the execution request from the main chip's P2P service, the dual-chip service management module determines whether there is a conflict between the main chip's P2P service and the secondary chip's Wi-Fi service. If the determination shows a conflict, the module further assesses their priorities. If the main chip's P2P service has a higher priority than the secondary chip's Wi-Fi service, the dual-chip service management module determines the service coexistence strategy to stop the secondary chip's Wi-Fi service. The terminal device executes the service coexistence strategy, notifying the secondary chip's Wi-Fi service to stop execution. Furthermore, the dual-chip service management module returns the strategy execution result to the main chip's P2P service. For example, the strategy execution result might indicate that the secondary chip's Wi-Fi service has been stopped. The dual-chip service management module can notify the main chip to allow P2P services. Therefore, by stopping low-priority services and prioritizing the communication performance of high-priority services, the user experience is improved.
[0187] Scenario 3: The first business conflictes with the second business, and the priority of the second business is lower than that of the first business.
[0188] The priority of the second service is lower than that of the first service, which can be understood as: the priority of the second service is lower than that of some or all of the services in the first service.
[0189] Optionally, if there is a conflict between the second service and the first service, and the priority of the second service is lower than that of the first service, the service coexistence strategy is: the second service is not allowed to be executed and the current service coexistence strategy is maintained.
[0190] Step 330 includes: controlling the first chip to continue executing the first service according to the service coexistence strategy.
[0191] In other words, when there is a conflict between the first and second business operations, and the priority of the second business operation is lower than that of the first business operation, the second business operation is not allowed to be executed. The first business operation is still controlled to perform its work. In other words, the original business coexistence strategy is not changed to ensure that the high-priority business (such as the first business operation) can work.
[0192] The priority of the second service is lower than that of the first service. This can be understood as: the priority of the second service is lower than the priority of some or all of the services in the first service.
[0193] Figure 7 An example of an interaction in scenario 3 is shown. Figure 7 As shown, taking the P2P service of the main chip as the first service and the Wi-Fi service of the secondary chip as the second service, the P2P service of the main chip is currently working. The Wi-Fi service of the secondary chip initiates an execution request to apply for execution of the secondary chip's Wi-Fi service on frequency point B. After receiving the execution request from the Wi-Fi service of the secondary chip, the dual-chip service management module determines whether there is a conflict between the Wi-Fi service of the secondary chip and the currently executed service (such as the P2P service of the main chip). If there is a conflict between the Wi-Fi service of the secondary chip and the currently executed service, and the priority of the Wi-Fi service of the secondary chip is lower than that of the currently executed service, then the dual-chip service management module determines the service coexistence policy to disallow the Wi-Fi service of the secondary chip, and executes the service coexistence policy. For example, it notifies the secondary chip's Wi-Fi service that it is not allowed to start working, that is, it does not allow the execution of the Wi-Fi service of the secondary chip.
[0194] The above sections described different implementation methods of service coexistence strategies in conjunction with scenarios 1 to 3. In practical applications, some services may cease execution after a period of time or upon completion. In such cases, it is necessary to update or redefine the service coexistence strategy based on the latest execution status of the services, and adjust the antenna status in a timely manner to maximize the communication performance of the terminal equipment.
[0195] Optionally, the method further includes: if either the first service or the second service stops working when the first chip is controlled to execute the first service and the second chip is controlled to execute the second service, the terminal device redetermines the service coexistence strategy; and according to the redetermined service coexistence strategy, switches the antenna mode and adjusts the antenna parameters.
[0196] In other words, when a certain service (which could be the first service or the second service) stops working, the terminal device can redetermine the service coexistence strategy and adjust the antenna status in a timely manner.
[0197] For example, when both the first chip and the second chip are executing services in SISO mode, when the second service stops, the terminal device re-determines the service coexistence strategy as: switching the first chip from SISO mode to MIMO mode. This allows the first chip to execute services in MIMO mode, thereby improving service performance.
[0198] To facilitate understanding of the process of redefining business coexistence strategies, the following will combine... Figure 8 The process shown in the diagram is described. For example... Figure 8 As shown, it includes:
[0199] Step 801: The secondary chip's Wi-Fi service sends a termination message to the dual-chip service management module.
[0200] It should be noted that before step 801, both the secondary chip's Wi-Fi service and the main chip's Wi-Fi service are active. Furthermore, the antenna mode operates in SISO mode to ensure that the secondary chip's Wi-Fi service and the main chip's Wi-Fi service can operate simultaneously.
[0201] Step 802: After receiving the end-of-work message, the dual-chip service management module updates (or re-determines) the service coexistence strategy.
[0202] For example, the updated service coexistence strategy is to switch the antenna from SISO mode to MIMO mode.
[0203] Step 803: The dual-chip service management module executes the updated service coexistence strategy.
[0204] For example, in step 804, the dual-chip service management module sends a switching message to the antenna switching module. The switching message is used to trigger the antenna to switch from SISO mode to MIMO mode.
[0205] Optionally, in step 805, the antenna switching module returns the switching result to the dual-chip service management module, such as the result of successful antenna switching.
[0206] After the antenna switching mode is activated, the main chip's Wi-Fi service operates in MIMO mode.
[0207] Regarding the implementation of antenna switching in this application embodiment, if antenna switching fails, the system determines whether there is a service conflict based on the actual antenna status and performs corresponding processing.
[0208] Furthermore, since the antenna switching process is time-consuming, the dual-chip service management module can perform subsequent tasks asynchronously during the antenna switching process (e.g., activating the secondary chip's Wi-Fi service), and then execute relevant steps based on the antenna switching result. If the antenna switching is successful, no other actions are performed; for example, the asynchronous tasks performed during the antenna switching process continue (e.g., executing the secondary chip's Wi-Fi service based on the switched antenna). If the antenna switching fails, the module determines whether there are any conflicts in the currently running services based on the actual antenna status and handles them.
[0209] To facilitate understanding the handling process of antenna switching failure, the following is combined with... Figure 9 The process shown in the figure is described. Figure 9 The diagram illustrates a secondary chip service module and a primary chip service module. The secondary chip service module corresponds to the secondary chip and is used to execute services within the secondary chip (e.g., a second service). The primary chip service module corresponds to the primary chip and is used to execute services within the primary chip (e.g., a first service). For example, the first service is the primary chip's Wi-Fi service. The second service is the secondary chip's Wi-Fi service.
[0210] like Figure 9 As shown, it includes at least the following steps:
[0211] Step 900: The dual-chip service management module sends a switching notification to the antenna switching module.
[0212] The switching notification is used to instruct the antenna switching module to switch antenna modes. For example, the switching notification is used to instruct the antenna switching module to switch from MIMO mode to SISO mode.
[0213] This application does not specifically limit the scenarios for triggering antenna switching. For example, antenna switching can be triggered to allow the Wi-Fi services of the secondary chip and the main chip to work simultaneously.
[0214] During antenna switching, the terminal device can asynchronously perform other tasks, such as activating the secondary chip's Wi-Fi service, or assuming the antenna switch has been successful and executing the secondary chip's Wi-Fi service accordingly. This way, if subsequent antenna switches are successful, the secondary chip's Wi-Fi service can continue to run with the actual antenna state. However, if subsequent antenna switches fail, the secondary chip's Wi-Fi service can be terminated based on a notification from the dual-chip service management module, for example, in step 904.
[0215] The antenna switching module performs antenna switching based on the switching notification. If antenna switching fails, it sends a failure result to the dual-chip service management module. Of course, in the event of antenna switching failure, the main chip's Wi-Fi service continues to operate in the mode prior to the switch (e.g., MIMO mode).
[0216] Step 910: The antenna switching module sends the antenna switching failure result to the dual-chip service management module.
[0217] Step 920: The dual-chip service management module updates the service coexistence strategy based on the result of the antenna switching failure.
[0218] Optionally, the service coexistence strategy in step 900 is that the WI-FI service of the main chip and the WI-FI service of the secondary chip are executed simultaneously. In step 920, the updated service coexistence strategy is to notify low-priority services (such as the WI-FI service of the secondary chip) to stop working.
[0219] Step 930: The dual-chip service management module executes the updated service coexistence strategy, that is, executes the updated service coexistence strategy in step 920.
[0220] Step 940: The dual-chip service management module sends a termination message to the secondary chip service module (e.g., the secondary chip's Wi-Fi service). This termination message notifies the secondary chip to terminate its Wi-Fi service, or in other words, that the secondary chip's Wi-Fi service has ended.
[0221] The above text combined Figures 7 to 9 This document describes various implementation methods for business coexistence strategies. Once a business coexistence strategy is determined (or selected), it can be executed. The following describes the process of executing a business coexistence strategy.
[0222] Alternatively, as a possible reference, such as Figure 10 As shown, the execution of the service coexistence strategy includes at least the following three judgment processes: judgment process (1), judging whether it is necessary to switch antennas; judgment process (2), judging whether it is necessary to reset antenna parameters; judgment process (3), judging whether it is necessary to stop low-priority services.
[0223] It should be understood that the embodiments of this application do not impose specific limitations on the execution order of these three judgment processes. These three judgment processes can be independent of each other (for example, the judgment result of one judgment process is not used as the input of another judgment process, and the judgment processes are decoupled), or they can be executed in a certain order.
[0224] Regarding the judgment process (1), antenna switching can include switching from MIMO mode to SISO mode, or vice versa, without specific limitations. The specific mode used for switching depends on actual needs. After triggering antenna switching, the specific antenna switching process can be executed. Furthermore, after executing the antenna switching process, the antenna switching result can be obtained, specifically including: a successful antenna switching result or a failed antenna switching result. Further details will be provided later. Figure 11 Please describe in detail.
[0225] Regarding the judgment process (2), if it is necessary to reset the antenna parameters, the antenna parameters can be reset (for example, setting antenna parameters related to time division multiplexing and / or frequency division multiplexing). After executing the antenna parameter setting process, the antenna setting result can be obtained, specifically including: the result of successful antenna parameter setting and the result of failed antenna parameter setting. Further details will be provided later. Figure 12 Please describe in detail.
[0226] It should be noted that the preceding text described various ways to implement the business coexistence strategy. Therefore, the execution of the business coexistence strategy can be carried out based on the specific content of the aforementioned business coexistence strategy.
[0227] For example, in case 1 above, that is, the first service and the second service do not conflict and can coexist, if the service coexistence strategy is to achieve the coexistence of the first service and the second service by switching antenna modes, then executing the service coexistence strategy can be executing the judgment process (1). If the service coexistence strategy is to achieve the coexistence of the first service and the second service by setting antenna parameters, then executing the service coexistence strategy can be executing the judgment process (2).
[0228] For example, in cases 2 or 3 above, where there is a conflict between the first and second services, and priority is given to the higher-priority service (i.e., the service with the higher priority among the first and second services), judgment process (3) can be executed. Optionally, judgment process (1) and / or judgment process (2) can also be executed during judgment process (3), i.e., switching antenna modes and / or setting antenna parameters, to further improve the communication performance of the high-priority service. Regarding judgment process (3), it will be discussed in detail later. Figure 13 Please describe in detail.
[0229] Optionally, when implementing the business coexistence strategy, the judgment process (1) and the judgment process (2) can be executed simultaneously, and the judgment process (3) is executed after the judgment process (1) and the judgment process (2).
[0230] For example, suppose a terminal device receives a request to execute a second service while performing a first service. If the judgment result of the aforementioned judgment process (1) is that the antenna needs to be switched, and the judgment result of the judgment process (2) is that the antenna parameters need to be reset, then the process of switching the antenna or resetting the antenna parameters can be executed. However, if the antenna switching fails and the reconfiguration of the antenna parameters also fails, it means that neither judgment process (1) nor judgment process (2) can enable the dual-chip services to coexist. Therefore, the second service is not allowed to be initiated to ensure that the first service being executed can operate normally.
[0231] Figure 11 The specific execution process of judgment process (3) is shown. A unified explanation is provided here. Figures 11 to 13 The dual-chip service management module in the middle can be described in the previous text. Figure 2 The dual-chip service management module; the communication service management module can be the one mentioned above. Figure 2 The communication service management module in [the system]. For example... Figure 11 As shown, the process of stopping low-priority services includes at least the following steps:
[0232] Step 1101: The dual-chip service management module determines whether it is necessary to stop the operation of low-priority services.
[0233] Specifically, the dual-chip service management module can determine whether to stop low-priority services based on a predetermined service coexistence strategy. If the determination result is that low-priority services need to be stopped, step 1102 is executed; if the determination result is that low-priority services do not need to be stopped, they are not stopped.
[0234] For example, if the previously determined business coexistence strategy is to stop low-priority work, then the judgment result of step 1101 is that low-priority work needs to be stopped.
[0235] Step 1102: If it is necessary to stop the operation of low-priority services, the dual-chip service management module notifies the communication service management module to stop the low-priority services.
[0236] Step 1103: The communication service management module returns a stop result to the dual-chip service management module. The stop result indicates that low-priority services have stopped working.
[0237] based on Figure 11 The process shown can be executed to stop low-priority services according to the determined business coexistence strategy.
[0238] Figure 12 The specific execution process of the judgment process (1) is shown. Figure 12 The antenna switching module in the middle can be Figure 2 The antenna switching module in the system. For example... Figure 12 As shown, the process of switching antennas includes at least the following steps:
[0239] Step 1201: The dual-chip service management module determines whether it is necessary to switch antennas.
[0240] Specifically, the dual-chip service management module can determine whether antenna switching is needed based on a predetermined service coexistence strategy. If the determination result indicates that antenna switching is needed, step 1202 is executed; if the determination result indicates that antenna switching is not needed, antenna switching is not triggered.
[0241] For example, if the previously determined service coexistence strategy is to ensure service coexistence by switching antennas, then the judgment result of step 1201 is that antenna switching is required.
[0242] Step 1202: When it is necessary to switch antennas, the dual-chip service management module triggers the antenna switching module to perform antenna switching.
[0243] Step 1203: The antenna switching module returns the antenna switching result to the dual-chip service management module.
[0244] The antenna switching result indicates whether the antenna switching was successful. For example, the antenna switching result may be: Antenna switching successful. Or, the antenna switching result may be: Antenna switching failed.
[0245] Optionally, in step 1204, if antenna switching fails, the dual-chip service management module returns a notification to the communication service management module that the second service is not allowed to operate.
[0246] based on Figure 12 The process shown can be performed to switch antennas according to the determined service coexistence strategy.
[0247] Figure 13 The specific execution process of judgment process (2) is shown. Figure 13 The antenna strategy configuration module in the middle can be Figure 2 The antenna strategy configuration module in [the system]. For example... Figure 13 As shown, the process of setting antenna parameters includes at least the following steps:
[0248] Step 1301: The dual-chip service management module determines whether antenna parameters need to be set or updated.
[0249] For example, the dual-chip service management module can determine whether antenna parameters need to be set or updated based on a predetermined service coexistence strategy. If the determination result indicates that antenna parameters need to be set or updated, step 1302 is executed; if the determination result indicates that antenna parameters do not need to be set or updated, the process of setting or updating antenna parameters is not triggered.
[0250] For example, if the previously determined service coexistence strategy is to ensure service coexistence by setting antenna parameters, then the judgment result of step 1301 is that antenna parameters need to be set.
[0251] Step 1302: When it is necessary to set or update antenna parameters, the dual-chip service management module sets or updates antenna parameters through the antenna strategy configuration module.
[0252] For example, the antenna parameters can be set to time division multiplexing mode.
[0253] Step 1303: The antenna strategy configuration module returns the parameter setting results to the dual-chip service management module.
[0254] Of course, the parameter setting result may be successful or unsuccessful. Regardless of the result, it can be returned to the dual-chip service management module so that the dual-chip service management module can execute subsequent steps.
[0255] Step 1304: When the parameter configuration is successful, the dual-chip service management module sends a notification to the communication service management module to run the second service.
[0256] Optionally, in step 1305, if parameter configuration fails, the dual-chip service management module sends a notification to the communication service management module that the second service is not allowed to operate.
[0257] As mentioned above, Figures 11 to 13 These can be processes executed independently of each other. Or, in certain scenarios, they can be executed first. Figure 12 and Figure 13 Execute again Figure 11 However, the embodiments in this application do not limit this.
[0258] It should be understood that the various interactive processes shown above are merely exemplary descriptions, and the embodiments of this application are not limited thereto. In fact, the various embodiments described above can be implemented independently or in reasonable combinations, and the embodiments of this application do not specifically limit them in this regard.
[0259] It should also be understood that Figures 1 to 13 The flowcharts or scene diagrams shown are for illustrative purposes only and are not intended to limit the embodiments of this application to the examples illustrated. In fact, those skilled in the art can interpret the embodiments based on... Figures 1 to 13 The examples in the document can be transformed into equivalent ways to obtain more implementations.
[0260] The above text combined Figures 1 to 13 This application describes in detail the management service method provided by the embodiments of this application. The following will combine... Figure 14 The apparatus embodiments of this application are described in detail below. It should be understood that the communication apparatus of this application embodiments can execute the various management service methods of the foregoing embodiments of this application, that is, the specific working processes of the various products below can be referred to the corresponding processes in the foregoing method embodiments.
[0261] In the embodiments described above, the terminal device may execute some or all of the steps in each embodiment. These steps or operations are merely examples, and other operations or variations thereof may also be performed in the embodiments of this application. Furthermore, the steps may be executed in different orders as presented in the embodiments, and it is not necessary to execute all the operations in the embodiments of this application. Moreover, the sequence number of each step does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0262] This application also provides a processing apparatus, including a processor and an interface; the processor is used to execute the management business method in any of the above method embodiments.
[0263] It should be understood that the aforementioned processing device can be one or more chips. For example, the processing device can be a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system-on-chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0264] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0265] It should be noted that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiments can be completed by the integrated logic circuitry in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above methods.
[0266] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0267] Figure 14 A schematic diagram of the structure of a UE applicable to this application is shown.
[0268] The UE may include a processor 110, a satellite communication processor 111 (a processor with satellite communication function, or a satellite communication chip, which may also have other communication functions, such as cellular communication function), an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0269] It should be noted that, Figure 14 The structure shown does not constitute a specific limitation on the UE. In other embodiments of this application, the UE may include a... Figure 14 The components shown may include more or fewer components, or the UE may include... Figure 14 The components shown may be a combination of certain components, or the UE may include... Figure 14 Sub-components of some of the components shown. Figure 14 The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0270] Processor 110 may include one or more processing units. For example, processor 110 may include at least one of the following processing units: application processor (AP) (AP may include a satellite protocol stack), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), modem processor (also known as baseband processor, modem may include cellular protocol stack and cellular physical layer), and neural network processing unit (NPU). The different processing units may be independent devices or integrated devices.
[0271] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0272] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system. In some embodiments, the processor 110 may include a System-on-a-Chip (SoC).
[0273] In some embodiments, the processor 110 includes a main chip and a secondary chip.
[0274] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identification card (e.g., a SIM card) interface, and / or a universal serial bus (USB) interface, etc.
[0275] Satellite communication processor 111 is communicatively connected to the AP in processor 110. When part or all of the satellite protocol stack is integrated into the AP, communication can occur between the satellite protocol stack in the AP and the satellite physical layer in satellite communication processor 111 via this connection.
[0276] The wireless communication function of a smartphone can be implemented through antenna 1, antenna 2, antenna 3, mobile communication module 150, satellite communication module 161, wireless communication module 160, AP, modem, and satellite communication chip, etc. Antenna 1, antenna 2, and antenna 3 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0277] The mobile communication module 150 can provide solutions for cellular communication (such as 2G / 3G / 4G / 5G) applications on smartphones. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device. In some embodiments, the terminal device initiates or receives call requests through the mobile communication module 150 and antenna 1.
[0278] The satellite communication module 161 can provide a solution for satellite communication applications in smartphones. The satellite communication module 161 may include at least one filter, switch, power amplifier, low-noise amplifier, etc. The satellite communication module 161 can receive electromagnetic waves via antenna 3, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the satellite communication chip (i.e., satellite communication processor 111) and AP for processing. The satellite communication module 161 can also amplify the signal processed by the AP and satellite communication chip, and then convert it into electromagnetic waves for radiation via antenna 3.
[0279] The satellite communication module 161 can be independent of the satellite communication processor 111. Alternatively, the satellite communication module 161 can be partially encapsulated within the satellite communication processor 111. For example, the RFIC in the satellite communication module 161 can be encapsulated within the satellite communication processor 111.
[0280] The wireless communication module 160 can provide solutions for wireless communication applications in smartphones, 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), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0281] In some embodiments, antenna 1 of the UE is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the terminal device to communicate with the network and other devices via wireless communication technology. Wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BitTorrent, Global Navigation Satellite System (GNSS), WLAN, NFC, FM, and / or IR technologies, etc. GNSS can include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0282] The UE can implement display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0283] The UE can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0284] Digital signal processors (DSPs) are used to process digital signals, including digital image signals and other digital signals. For example, when a UE selects a frequency, a DSP can perform Fourier transforms on the frequency energy.
[0285] In addition, an operating system runs on top of the aforementioned components. Examples include iOS, Android, and Windows. Applications can be installed and run on this operating system.
[0286] Various aspects or features of this application can be implemented as methods, apparatus, or articles of manufacture using standard programming and / or engineering techniques. As used herein, the term "article of manufacture" encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes), optical discs (e.g., compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROMs), cards, sticks, or key drives, etc.). Additionally, the various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.
[0287] According to the method provided in the embodiments of this application, this application also provides a chip system, which includes one or more processors for calling and executing instructions stored in memory, thereby causing the method described in the embodiments of this application to be executed. The chip system may be composed of chips or may include chips and other discrete devices.
[0288] The chip system may include input circuits or interfaces for transmitting information or data, and output circuits or interfaces for receiving information or data.
[0289] According to the method provided in the embodiments of this application, this application also provides a communication system, which includes the aforementioned terminal device.
[0290] According to the method provided in the embodiments of this application, this application also provides a computer program product, which includes: computer program code, which, when run on a computer, causes the computer to execute the various steps or processes executed by the terminal device in any of the foregoing method embodiments.
[0291] According to the method provided in the embodiments of this application, this application also provides a computer-readable storage medium storing program code, which, when run on a computer, causes the computer to execute the various steps or processes executed by the terminal device in any of the foregoing method embodiments.
[0292] The computer-readable storage medium can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0293] The above-described device and method embodiments are completely corresponding, with corresponding modules or units performing corresponding steps. For example, a communication unit or communication interface performs the receiving or sending steps in the method embodiment, while other steps besides sending and receiving can be performed by a processing unit or processor.
[0294] In the embodiments of this application, the terms and English abbreviations are exemplary examples given for ease of description and should not be construed as limiting the application in any way. This application does not preclude the possibility of defining other terms that can achieve the same or similar functions in existing or future agreements.
[0295] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).
[0296] The terminal devices in the above-described device embodiments and method embodiments correspond completely, with corresponding modules or units executing the corresponding steps. For example, the communication unit (transceiver) executes the receiving or sending steps in the method embodiments, while other steps besides sending and receiving can be executed by the processing unit (processor). The specific functions of each unit can be found in the corresponding method embodiments. There can be one or more processors.
[0297] As used in this specification, the terms "component," "module," "system," etc., are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process and / or an execution thread, and components may be located on a single computer and / or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).
[0298] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0299] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0300] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0301] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0302] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0303] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0304] It should be understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0305] Furthermore, the terms "system" and "network" are often used interchangeably in this paper. The term "and / or" in this paper merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Additionally, the character " / " in this paper generally indicates that the preceding and following related objects have an "or" relationship. For example, A / B can represent A or B.
[0306] The terms (or numbers) "first," "second," etc., appearing in the embodiments of this application are for descriptive purposes only, that is, only to distinguish different objects, such as different "businesses," etc., and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first," "second," etc., may explicitly or implicitly include one or more features. In the description of the embodiments of this application, "at least one (item)" refers to one or more. "Multiple" means two or more. "At least one (item) below" or similar expressions refer to any combination of these items, including any combination of a single (item) or a plurality of (items).
[0307] For example, expressions like "the item includes at least one of the following: A, B, and C" appearing in the embodiments of this application generally mean, unless otherwise specified, that the item can be any one of the following: A; B; C; A and B; A and C; B and C; A, B and C; A and A; A, A and A; A, A and B; A, A and C, A, B and B; A, C and C; B and B, B, B and B, B, B and C, C and C; C, C and C, and other combinations of A, B, and C. The above uses three elements, A, B, and C, as examples to illustrate the possible entries for the item. When expressed as "the item includes at least one of the following: A, B, ..., and X," that is, when the expression contains more elements, then the applicable entries for the item can also be obtained according to the aforementioned rules.
[0308] In summary, the above description is merely a preferred embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for managing business operations, characterized in that, The method is applied to a terminal device, the terminal device including at least a first chip and a second chip, and the method includes: When the terminal device is performing a first service, an execution request for a second service is obtained. The execution request is used to execute the second service, wherein the first service is a service initiated by the first chip, and the second service is a service initiated by the second chip. Based on one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the first service, the operating frequency of the first service, and service priority information, a service coexistence strategy is determined. The service coexistence strategy is a strategy used to execute the second service and / or the first service. According to the service coexistence strategy, the second chip and / or the first chip are invoked to execute services.
2. The method according to claim 1, characterized in that, The step of determining a service coexistence strategy based on one or more of the following: the service type of the second service, the operating frequency of the second service, the operating status of the service in the terminal device, and the priority of the second service, includes: Based on the service type of the second service, the operating frequency of the second service, the operating status of the first service, and the operating frequency of the first service, determine whether there is a conflict between the first service and the second service. In the event of a conflict between the second service and the first service, the priority of the second service and the priority of the first service shall be determined. If the priority of the second service is higher than that of the first service, the service coexistence strategy is determined to be: stop the first service and execute the second service. Specifically, according to the service coexistence strategy, invoking the second chip and / or the first chip to execute services includes: According to the service coexistence strategy, the first chip is controlled to stop executing the first service, and the second chip is controlled to execute the second service.
3. The method according to claim 2, characterized in that, The method further includes: If the priority of the second service is lower than that of the first service, the service coexistence strategy is determined as follows: the second service is not allowed to be executed and the current service coexistence strategy is maintained. Specifically, according to the service coexistence strategy, invoking the second chip and / or the first chip to execute services includes: According to the service coexistence strategy, the first chip is controlled to continue executing the first service.
4. The method according to claim 2 or 3, characterized in that, If there is no conflict between the second service and the first service, the service coexistence strategy is: a strategy of executing the first service and executing the second service; The step of invoking the second chip and / or the first chip to execute services according to the service coexistence strategy includes: According to the service coexistence strategy, the first chip is controlled to execute the first service and the second chip is controlled to execute the second service.
5. The method according to claim 4, characterized in that, The service coexistence strategy is specifically as follows: the strategy of executing the first service and the second service by switching the antenna mode; the antenna mode includes multiple-input multiple-output (MIMO) mode and single-input single-output (SISO) mode. The step of controlling the first chip to execute the first service and controlling the second chip to execute the second service according to the service coexistence strategy includes: The first chip is controlled to switch from MIMO mode to SISO mode. After switching to SISO mode, the first chip uses the first antenna to perform the first service. The second chip is controlled to use the second antenna to perform the second service. The second antenna is the idle antenna after the first chip switches from MIMO mode to SISO mode. The first antenna and the second antenna are different antennas.
6. The method according to claim 5, characterized in that, The priority of the second service is lower than that of the first service; during the antenna switching mode, the first chip executes the first service in MIMO mode; the method further includes: If the antenna fails to switch from MIMO mode to SISO mode, the service will be handled according to the actual state of the antenna.
7. The method according to claim 4 or 5, characterized in that, The service coexistence strategy is specifically: to execute the first service and the second service through time-division multiplexing and / or frequency-division multiplexing. The step of controlling the first chip to execute the first service and controlling the second chip to execute the second service according to the service coexistence strategy includes: Antenna parameters are set using time-division multiplexing and / or frequency-division multiplexing, and based on the set antenna parameters, the first chip is controlled to execute the first service and the second chip is controlled to execute the second service.
8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: If either the first service or the second service stops working when the first chip is controlled to execute the first service and the second chip is controlled to execute the second service, the service coexistence strategy is updated.
9. The method according to claim 8, characterized in that, When both the first chip and the second chip are executing services in SISO mode, and the second service stops, updating the service coexistence strategy includes: Based on the stopped state of the second service, the service coexistence strategy is updated. The updated service coexistence strategy is: to switch the first chip from SISO mode to MIMO mode. The method further includes: According to the updated service coexistence strategy, switch the antenna mode and adjust the antenna parameters.
10. The method according to any one of claims 1 to 9, characterized in that, The first service includes any one of the following services: Bluetooth service, device-to-device (D2D) service, peer-to-peer (P2P) service, Wi-Fi service, and Near Field Communication (NFC) service; And / or, the second service includes any one of the following services: Bluetooth service, D2D service, P2P service, Wi-Fi service, and Near Field Communication (NFC) service.
11. The method according to any one of claims 1 to 10, characterized in that, The first chip is the main chip, and the second chip is the secondary chip.
12. A communication device, characterized in that, The device includes a processor coupled to a memory for storing programs or instructions that, when executed by the processor, cause the device to perform the method as described in any one of claims 1-11.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the terminal device to perform the method according to any one of claims 1 to 11.
14. A chip system, characterized in that, The chip system is applied to a terminal device, and the chip system includes one or more processors, the processors being used to invoke computer instructions to cause the terminal device to perform the method as described in any one of claims 1 to 11.
15. A computer program product, characterized in that, It includes computer program instructions that cause the computer to perform the method as described in any one of claims 1 to 11.