Service mode switching method and device, electronic equipment and storage medium

By utilizing inter-core communication in a dual-core system, the first system acquires and transmits mode operation information, while the second system controls service mode switching. This solves the problem of lack of service mode switching in a dual-core system and achieves flexible and consistent service mode switching.

CN121547531APending Publication Date: 2026-02-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511722978.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2026-02-17

AI Technical Summary

Technical Problem

In existing technologies, service mode switching solutions for dual-core systems are generally only designed for single-core systems, and there is a lack of effective control methods for dual-core systems.

Method used

The system obtains the target service mode operation information through the first system, and receives and processes this information through the second system. It controls the electronic devices to switch service modes during the operation period of the target service mode and uses inter-core communication to ensure the overall consistency of the dual-core system.

Benefits of technology

It enables flexible switching of service modes under a dual-core system, maintains the overall consistency of the target service mode under the dual-core system, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121547531A_ABST
    Figure CN121547531A_ABST
Patent Text Reader

Abstract

The invention relates to a service mode switching method and device, electronic equipment and a storage medium, and belongs to the technical field of terminals. The method comprises the following steps: acquiring mode operation information of a target service mode in the first electronic equipment through the first system, wherein the mode operation information comprises an operation time period and application configuration information of the target service mode; receiving the mode operation information sent by the first system based on the operation time period through the second system; and controlling the first electronic equipment to be switched to the target service mode in the operation time period through the second system based on the operation time period of the target service mode and the application configuration information. According to the scheme, the first electronic equipment of the dual-core system is controlled by the first system to switch the service mode, so that both the first system and the second system of the first electronic equipment can realize the target service mode, and the consistency of overall use of the target service mode in the dual-core system is kept.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of Chinese application No. 202210474661.2, filed on April 29, 2022, entitled "Service Mode Switching Method, Apparatus, Electronic Device and Storage Medium". Technical Field

[0002] This application relates to the field of terminal technology, and in particular to a service mode switching method, apparatus, electronic device, and storage medium. Background Technology

[0003] With the development of terminal technology, terminal functions are becoming increasingly rich, and the types of users are also becoming more diverse. Providing different service modes for different types of users has become an important means to improve user experience. In related technologies, to improve terminal performance, developers have developed dual-core systems based on the collaborative operation of two processors. However, current solutions for service mode switching generally only target single-core systems, that is, controlling the terminal to switch to the target service mode only within one system. Therefore, there is an urgent need for a service mode control method implemented in dual-core systems. Summary of the Invention

[0004] This application provides a service mode switching method, apparatus, electronic device, and storage medium, which can realize service mode switching in a dual-core system. The technical solution is as follows: On the one hand, a service mode switching method is provided, applied to a first electronic device, the first electronic device being capable of running a first system and a second system, the method comprising: The system obtains the mode operation information of the target service mode in the first electronic device, and the mode operation information includes the operation time period and application configuration information of the target service mode. The second system receives the mode operation information sent by the first system based on the operation time period; The second system controls the first electronic device to switch to the target service mode during the operating time period based on the target service mode's operating time period and the application configuration information.

[0005] On the other hand, a service mode switching device is provided, applied to a first electronic device, the first electronic device being capable of running a first system and a second system, the device comprising: The acquisition module is used to acquire the mode operation information of the target service mode in the first electronic device through the first system. The mode operation information includes the operation time period and application configuration information of the target service mode. A receiving module is configured to receive, through the second system, the mode operation information sent by the first system based on the operation time period; The control module is used to control the first electronic device to switch to the target service mode during the operating time period based on the operating time period of the target service mode and the application configuration information through the second system.

[0006] On the other hand, an electronic device is provided, the electronic device including a processor and a memory; the memory stores at least one piece of program code, the at least one piece of program code being executed by the processor to implement the service mode switching method as described above.

[0007] On the other hand, a computer-readable storage medium is provided that stores at least one piece of program code, the at least one piece of program code being executed by a processor to implement the service mode switching method as described above.

[0008] On the other hand, a computer program product is provided, the computer program product storing at least one piece of program code, the at least one piece of program code being executed by a processor to implement the service mode switching method as described above.

[0009] In this embodiment, the first electronic device processes the mode operation information through the first system, and then sends the mode operation information to the second system based on the operation time of the target service mode. This allows the second system to control the first electronic device to switch to the target service mode during the specified operation time based on the target service mode's time period and application configuration information. In this way, the first system determines the time period for the first electronic device in the dual-core system to switch service modes, and the second system controls the first electronic device to switch to the target service mode, maintaining the consistency of the target service mode's use throughout the dual-core system. Attached Figure Description

[0010] Figure 1 A schematic diagram illustrating the implementation environment involved in the service mode switching method provided in an exemplary embodiment of this application is shown; Figure 2 A structural block diagram of a first electronic device illustrated in an exemplary embodiment of this application is shown; Figure 3 A flowchart illustrating a service mode switching method in an exemplary embodiment of this application is shown; Figure 4 A schematic diagram illustrating a service mode setting interface as shown in an exemplary embodiment of this application is provided. Figure 5 A schematic diagram of the structural framework of a first electronic device illustrated in an exemplary embodiment of this application is shown; Figure 6 A flowchart illustrating a service mode switching method in an exemplary embodiment of this application is shown; Figure 7 A flowchart illustrating a service mode switching method in an exemplary embodiment of this application is shown; Figure 8 A schematic diagram illustrating the display interface of a target service mode as shown in an exemplary embodiment of this application is provided. Figure 9 A flowchart illustrating a service mode switching method in an exemplary embodiment of this application is shown; Figure 10 A flowchart illustrating a service mode switching method in an exemplary embodiment of this application is shown; Figure 11 A flowchart illustrating a service mode switching method in an exemplary embodiment of this application is shown; Figure 12 A block diagram illustrating a service mode switching device is shown in an exemplary embodiment of this application. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0012] In this document, "multiple" refers to two or more. "And / or" 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, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the relevant data involved in this application can be data authorized by the user or fully authorized by all parties.

[0013] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the mode operation information and the working status of electronic devices involved in this application were obtained with full authorization.

[0014] Please refer to Figure 1 This diagram illustrates an implementation environment involved in a service mode switching method provided in an exemplary embodiment of this application. The implementation environment includes a first electronic device 100 and a second electronic device 200. The first electronic device 100 and the second electronic device 200 are connected via a Bluetooth link.

[0015] The second electronic device 200 can connect via Bluetooth and set the mode operation information of the target service mode to control the first electronic device 100 to switch between the target service mode and other service modes. The first electronic device 100 can switch its own service mode based on the mode operation information set by the second electronic device 200. In some embodiments, a target application is installed in the second electronic device 200, which is used to set the mode operation information of the target service. The first electronic device 100 also has a target application installed, which is used to control the first electronic device to switch between the target service mode and other service modes based on the mode operation information. In some embodiments, the target applications installed in the first and second electronic devices may be the same or different applications. This is not specifically limited in this embodiment.

[0016] When the target application installed in the first electronic device and the second electronic device is the same application, the target application performs the different functions described above on the first electronic device 100 and the second electronic device 200, respectively. Specifically, the target application on the first electronic device 100 and the second electronic device 200 logs into the same account so that the first electronic device 100 can switch modes according to the mode operation information set in the second electronic device 200.

[0017] When the target applications installed in the first electronic device and the second electronic device are different applications, the target applications in the first electronic device and the second electronic device can be bound by an account, so that the first electronic device 100 can determine the mode operation information through the bound second electronic device 200, so as to switch modes based on the mode operation information.

[0018] The first electronic device 100 can be a wearable electronic device, such as a watch or glasses. The second electronic device 200 can be at least one of a mobile phone, tablet computer, or PC (Personal Computer).

[0019] In this embodiment, the first electronic device 100 is capable of running a first system and a second system. Please refer to... Figure 2 This diagram illustrates a structural block diagram of a first electronic device provided in an exemplary embodiment of this application. The first electronic device 100 in this application includes one or more of the following components: a first processor 110, a second processor 120, and a memory 130.

[0020] In some embodiments, both the first processor 110 and the second processor 120 may include one or more processing cores. The first processor 110 and the second processor 120 are connected to various parts within the entire first electronic device 100 via various interfaces and lines. They perform various functions and process data of the first electronic device 100 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 130, and by calling data stored in the memory 130. Optionally, both the first processor 110 and the second processor 120 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Both the first processor 110 and the second processor 120 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Neural-network Processing Unit (NPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used for wireless communication. It is understood that the modem may not be integrated into the first processor 110 or the second processor 120, but may be implemented as a separate chip.

[0021] In this embodiment, the first electronic device 100 can use different processors to run different systems under different usage scenarios, thereby maintaining the operating state of the first electronic device 100. For example, when the first electronic device 100 does not need to run an application, such as when the first electronic device 100 is in a locked state, the electronic device 100 can run the first processor 110 to implement the first system. When the first electronic device 100 is running an application, the running processor can be switched from the first processor 110 to the second processor 120, thereby switching from the first system to the second system.

[0022] In some embodiments, the memory 130 includes random access memory (RAM) and may also include read-only memory (ROM). Optionally, the memory 130 includes a non-transitory computer-readable storage medium. The memory 130 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 130 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described below, etc.; the data storage area may store data (such as audio data, telephone book, etc.) created based on the use of the first electronic device 100.

[0023] In some embodiments, the first electronic device 100 further includes a display screen. The display screen is a display component for displaying a user interface. Optionally, the display screen is a touch-enabled display screen, allowing the user to perform touch operations on the display screen using a finger, stylus, or any suitable object. The display screen is typically located on the front panel of the first electronic device 100. The display screen can be designed as a full-screen, curved screen, irregularly shaped screen, dual-sided screen, or foldable screen. The display screen can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen, etc., which are not limited in this embodiment.

[0024] In addition, those skilled in the art will understand that the structure of the first electronic device 100 shown in the above figures does not constitute a limitation on the first electronic device 100. The first electronic device 100 may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the first electronic device 100 may also include components such as a microphone, speaker, radio frequency circuit, input unit, sensor, audio circuit, Wireless Fidelity (Wi-Fi) module, power supply, and Bluetooth module, which will not be described in detail here.

[0025] It should be noted that the second electronic device 200 can run both the first and second systems, or it can run only one system. In this embodiment, the method by which the second electronic device runs the system is not specifically limited. Correspondingly, the second electronic device 200 may have the same or different structure as the first electronic device 100; in this embodiment, this is not specifically limited.

[0026] Please refer to Figure 3The document illustrates a flowchart of a service mode switching method according to an exemplary embodiment of this application. The method includes: Step S301: The first electronic device obtains the mode operation information of the target service mode in the first electronic device through the first system. The mode operation information includes the operation time period and application configuration information of the target service mode.

[0027] The target service mode is a service mode that allows the invocation of a specified service. The mode operation information indicates the time when the first electronic device starts and exits the target service mode. In some embodiments, the mode operation information may be sent to the first electronic device by a second electronic device. Accordingly, the second electronic device establishes a Bluetooth connection with the first electronic device and sends the mode operation information to the first electronic device based on this Bluetooth connection. The second electronic device displays a service mode settings interface, which includes a target service mode startup control, a time period setting control, and a service settings control. Accordingly, the user sets the mode operation information of the target service mode through the second electronic device, and the second electronic device sends the mode operation information to the first terminal. In some embodiments, the service mode settings interface displays the target service mode startup control, and in response to the target service mode startup control being triggered, displays the time period setting control and service settings control corresponding to the target service mode. See also Figure 4 In the settings interface, the control for the target scenario is displayed, such as "Campus Use". In response to the triggering of the control for the target scenario, the control for the start of the target service mode is displayed, such as "Campus Mode". In response to the triggering of the control for the start of the target service mode, the control for the time period settings of the target service and the allowed applications are displayed.

[0028] It should be noted that the first electronic device can implement multiple target service modes. In response, the settings interface can display multiple service mode start controls. In response to the triggering of any service mode space, the time period setting control and allowed applications corresponding to that service mode are displayed.

[0029] In some embodiments, the second system of the first electronic device is in an active state, while the first system is in a dormant state. Accordingly, the first electronic device receives mode operation information sent by the second electronic device through the second system; and sends this mode operation information back to the first system via inter-core communication. See also Figure 5The second electronic device installs the target application. Based on the application framework of this target application, the second electronic device communicates with the application framework of the second system in the first electronic device, thereby sending the mode operation information to the second system. The first electronic device receives the mode operation information sent by the second electronic device through the second system. Communication between the communication module of the second system and the communication module of the first system enables the transmission of the mode operation information to the first system. For example, when the terminal is in high-performance mode or fully intelligent mode with the second system working, and the second system of the first electronic device is in an active state while the first system is in a sleep state, the first electronic device interacts with the second electronic device through the second system. This ensures that the first electronic device can obtain the mode operation information even when the first system is in a sleep state.

[0030] In some embodiments, the first system of the second electronic device is in an active state, while the second system is in a sleep state. Accordingly, the first electronic device receives mode operation information sent by the second electronic device through the first system. See also Figure 5 The first electronic device receives mode operation information sent by the second electronic device through the first system, so as to control the service mode of the first electronic device according to the mode operation information. This ensures that the first electronic device can obtain mode operation information even when the second system is in a dormant state.

[0031] In this embodiment, both the first system and the second system can obtain the mode operation information sent by the second electronic device through Bluetooth connection, thereby ensuring the consistency of the mode operation information obtained by the first electronic device under the first system and the second system, providing conditions for realizing the target service mode under any system.

[0032] It should be noted that in this implementation, the second electronic device obtains the mode operation information for setting the target service based on the service mode setting interface. In some embodiments, this mode operation information includes the operating time period of the target service mode and application configuration information. The operating time period can be set through a time period setting control. For example, the time period setting control includes a start time setting button and an end time setting button. The user sets the start time of the operating time period through the start time setting button and the end time of the operating time period through the end time setting button. Accordingly, the second electronic device determines the operating time period of the target service mode based on the start and end times set by the user.

[0033] The application configuration information includes applications that are prohibited from running by the first electronic device under the target service mode, or it includes applications that are allowed to run by the first electronic device under the target service mode. It should be noted that the application configuration information includes applications corresponding to the first system and the second system of the first electronic device. In some embodiments, the second electronic device obtains the applications that can be called in the first electronic device and displays these applications in the service settings interface, so that the user can determine which applications are allowed or prohibited from running through the service settings interface.

[0034] The second electronic device acquires callable applications from the first electronic device's first and second systems. These callable applications include those capable of calling at least one service. The application can be a system-provided application or an application installed via an application downloader; this is not specifically limited in this embodiment. For example, the callable application could be a system-provided alarm clock, notification, or call reminder. Prior to this step, the second electronic device sends an acquisition request to the first electronic device, which then sends the applications installed in its first and second systems to the second electronic device based on the acquisition request. Accordingly, the first and second systems of the first electronic device can acquire callable services from either the first or second system through inter-core communication.

[0035] In some embodiments, when the first electronic device sends an application installed in the first system and the second system to the second electronic device, the application is sent to the second electronic device via the first system and the second system, respectively. In some embodiments, when the first electronic device sends an application installed in either the first system or the second system to the second electronic device, the application can be sent via either the first system or the second system. In this case, the first system and the second system send the application installed in either the first system or the second system via inter-system communication.

[0036] In some embodiments, the first electronic device displays a service mode setting interface, through which the user sets the mode operation information of the target service mode. The process of the user setting the mode operation information through the first electronic device is in the same principle as the process of the user setting the mode operation information through the second electronic device, and will not be described again here.

[0037] Step S302: The first electronic device receives the mode operation information sent by the first system based on the operation time period through the second system.

[0038] The first electronic device parses the mode operation information through the first system, thereby determining the operating time period of the target service mode based on the mode operation information. This operating time period is used to control the first electronic device to switch service modes. Accordingly, the first electronic device, through the first system, determines the operating time period of the target service mode based on the mode operation information; based on the operating time period, it sends the mode operation information to the second system so that the second system can control the first electronic device to switch service modes.

[0039] The first electronic device determines when to start or exit the target service mode based on the operating time period. For example, if the target service mode is campus mode, and the user has set it to be in campus mode from 8:00 AM to 12:00 PM and from 2:00 PM to 6:00 PM, Monday to Friday, then the operating time period is from 8:00 AM to 12:00 PM and from 2:00 PM to 6:00 PM, Monday to Friday. The first electronic device will switch from other service modes to campus mode at 8:00 AM and 2:00 PM, Monday to Friday, and switch from campus mode to other modes at 12:00 PM and 6:00 PM, respectively.

[0040] The first electronic device determines whether the current time period is within the target service mode's operating time frame through the first system. Based on this target service mode's operating time frame, it sends mode operation information to the second system, enabling the second system to control the first electronic device to switch between the target service mode and other service modes. In some embodiments, the first system sends the mode operation information to the second system at the start time of the operating time frame. In some embodiments, the first system sends the mode operation information to the second system at both the start and end times of the operating time frame, allowing the second system to exit the target application in a timely manner. In some embodiments, the first system sends the mode operation information to the second system a preset time before the start and / or end times of the operating time frame. This way, by having the first system prompt the second system to switch to the target service mode, the first electronic device in both systems can ensure that it can operate in the target service mode.

[0041] Step S303: The first electronic device controls the second system to switch to the target service mode during the operating time period based on the operating time period of the target service mode and the application configuration information.

[0042] In the target service mode, the first electronic device determines the application configuration information corresponding to the target service mode, and configures the disabling of applications in the first system and the second system based on the application configuration information. In some embodiments, the first system and the second system of the first electronic device are respectively provided with service modules for managing service modes, and the first system and the second system manage the corresponding applications based on their service management modules. For example, please continue to see Figure 5 The first electronic device includes a target service mode management service and a target service mode processing service. The target service mode management service is installed in the second system, and the target service mode processing service is installed in the first system. The first electronic device manages the applications in the second system based on the target service mode management service, and manages the applications in the first system based on the target service mode processing service.

[0043] The two systems of the first electronic device have multiple operating states. For example, the first system may be in active mode while the second system is in sleep mode; or the first system may be in background operation mode while the second system is in active mode. In some embodiments, when the first electronic device is in a fully intelligent, high-performance mode (big core mode or high-performance mode), the second system of the first electronic device is in active mode, while the first system is in background operation mode. Therefore, it is necessary to instruct the second system to switch service modes. Accordingly, see [link to relevant documentation]. Figure 5 The first electronic device synchronizes application configuration information of the current target service mode with the second system through the first system. In some embodiments, the first system determines the operating time period of the target service mode through the mode operating information, determines the target time for mode switching based on the operating time period, and sends a switching notification to the second system when the system time reaches the target time. Accordingly, the second system switches to the target service mode based on the switching notification and configures the application disabled state of the second system in the target service mode. In some embodiments, the target time is the time corresponding to a preset duration before the service mode switch. Accordingly, the first system sends a switching notification to the second system at the target time, and the second system performs the service mode switch after the preset duration. Here, the target time is the start time of the operating time period.

[0044] It should be noted that the target time is the time for switching service modes, or the time corresponding to a preset duration before switching service modes. This preset duration can be set as needed, and in this embodiment, it is not specifically limited. For example, the preset duration may be 30 seconds, 10 seconds, or 5 seconds.

[0045] In some embodiments, the first electronic device manages applications in both the first and second systems based on a target service mode management service in the second system. Accordingly, the second system sends a disable command to the first system via inter-core communication, the disable command including applications that are not permitted in the first system under the target mode.

[0046] In this embodiment, the first electronic device processes the mode operation information through the first system, and then sends the mode operation information to the second system based on the operation time of the target service mode. This allows the second system to control the first electronic device to switch to the target service mode during the specified operation time based on the target service mode's time period and application configuration information. In this way, the first system determines the time period for the first electronic device in the dual-core system to switch service modes, and the second system controls the first electronic device to switch to the target service mode, maintaining the consistency of the target service mode's use throughout the dual-core system.

[0047] See Figure 6 This document illustrates a flowchart of a service mode switching method according to an exemplary embodiment of this application. In this embodiment, the method is described using the example of a second system controlling a first electronic device to switch a target service mode. The method includes: Step S601: The first electronic device obtains the mode operation information of the target service mode in the first electronic device through the first system. The mode operation information includes the operation time period and application configuration information of the target service mode.

[0048] This step is based on the same principle as step S301, and will not be repeated here.

[0049] Step S602: The first electronic device receives the mode operation information sent by the first system based on the operation time period through the second system.

[0050] This step is based on the same principle as step S302, and will not be repeated here.

[0051] Step S603: The first electronic device determines the first target application based on the application configuration information through the second system.

[0052] The first target application is an application running on a first electronic device. In some embodiments, the first target application includes an application running on a second system. In some embodiments, the first target application includes an application running on a first system. In some embodiments, the first target application includes applications running on both a first system and a second system. In this application embodiment, no specific limitation is made.

[0053] In this step, the first electronic device parses the application configuration information through the second system to obtain the first target application in the application configuration information.

[0054] Step S604: In the target service mode, the first electronic device disables the first target application from running.

[0055] In some embodiments, see Figure 7 The second system includes a service mode management service. Through this service mode management service, the second system writes the service mode state to its Settings Provider. It then uses a system service (System Server) registered in the Settings Provider to monitor the service mode state and data of applications allowed to run under the corresponding service mode. Examples include changes to allowed application data and the status of low-power applications being switched off.

[0056] In some embodiments, applications in the second system obtain the target service mode status, the allowed application status, and the target service mode startup duration by registering to listen to the service mode status, changes in allowed applications, or by calling the service mode management service interface, and then execute corresponding functions. For example, in the target service mode, applications that are not allowed to use the service mode can register to listen to the service mode status to prevent the use of data services, prevent answering calls and only make calls, kill unauthorized application processes, prevent swiping left and right on the screen, hide notifications, block long presses on the status bar, stop the current task, save data, and return to the home screen, or return to the home screen after the current task is completed.

[0057] In this embodiment, when the second system is in operation, the first electronic device determines whether to switch service modes based on the mode operation information of the first system, thereby ensuring that the first electronic device can switch service modes when the second system is in operation, so that the target service mode retains the usage scenario when the second system is in operation.

[0058] It should be noted that, in target service mode, the first electronic device can also display the runtime of target service mode, the applications allowed to run in target service mode, and the applications prohibited in target service mode. See also Figure 8 In response to the application viewing action, it displays the applications that are prohibited from use.

[0059] In this embodiment, when the second system is in operation, the first electronic device performs corresponding functions based on data changes in the application through the second system. For example, the data changes in the application include application trigger commands.

[0060] In some embodiments, in the target service mode under the second system, if a trigger instruction is received for a second target application running in the foreground by the first system, the first electronic device runs the second target application in the foreground by the first system. In some embodiments, the second application is directly triggered by the user. In some embodiments, the trigger instruction is used to trigger a first target application that is prohibited under the second system, and the first electronic device determines the second target application based on the first target application. Accordingly, in the target service mode, if a trigger instruction is received for a first target application, the first electronic device determines the second application based on the first target application. The second target application is an application running under the first system, and the first target application is an application prohibited from running in the target service mode; the second target application is then run under the first system. For example, if the first application triggered under the second system is an application such as an alarm clock, sleep, daily activity, sports health, heart rate, or blood oxygen, it is necessary to switch to the first system to implement the functions of the application such as alarm clock, sleep, daily activity, sports health, heart rate, or blood oxygen through the first system. Alternatively, if the telephone function is prohibited in the second system, but an important notification or Bluetooth call is received, such as a call reminder or alarm notification, the corresponding application under the first system is determined to implement the notification. In this way, when the first application is disabled in the second system, the corresponding function is implemented by calling the corresponding application in the first system, thereby preventing users from missing important notifications and other content in the target service mode.

[0061] In some embodiments, in the target service mode, if a trigger command is received for the first target application, a prompt interface is displayed to indicate that the first target application has been disabled. For example, in target service mode, if it is detected that a user is about to launch an application that is not allowed, a pop-up message is displayed to inform the user that the current mode is target service mode and the application is not allowed. In this implementation, displaying a prompt interface prevents the user from using a disabled application in target service mode.

[0062] In this embodiment, the first electronic device processes the mode operation information through the first system, and then sends the mode operation information to the second system based on the operation time of the target service mode. This allows the second system to control the first electronic device to switch to the target service mode during the specified operation time based on the target service mode's time period and application configuration information. In this way, the first system determines the time period for the first electronic device in the dual-core system to switch service modes, and the second system controls the first electronic device to switch to the target service mode, maintaining the consistency of the target service mode's use throughout the dual-core system.

[0063] See Figure 9 This document illustrates a flowchart of a service mode switching method according to an exemplary embodiment of this application. In this embodiment, the method is described using the example of a first system in operating mode and a second system in sleep mode. The method includes: Step S901: The first electronic device obtains the mode operation information of the target service mode in the first electronic device through the first system. The mode operation information includes the operation time period and application configuration information of the target service mode.

[0064] This step is based on the same principle as step S301, and will not be repeated here.

[0065] Step S902: The first electronic device receives the mode operation information sent by the first system based on the operation time period through the second system.

[0066] This step is based on the same principle as step S302, and will not be repeated here.

[0067] Step S903: When the second system is in hibernation mode, the first electronic device determines a third target application based on the application configuration information through the first system. The third target application is an application running under the first system.

[0068] In the fully intelligent mode, the small core mode or the light intelligent mode of the first electronic device, the first system of the first electronic device is in working mode and the second system is in hibernation mode. Therefore, it is necessary to instruct the first system to switch service modes.

[0069] The process of the first system switching service modes is the same as the process of the second system switching service modes based on the switching notification in step S606, and will not be repeated here.

[0070] In this embodiment, when the first system is in operation, the first electronic device detects whether to switch service modes through the first system, thereby ensuring that the first electronic device can switch service modes when the first system is in operation, so that the target service mode retains the usage scenario when the first system is in operation.

[0071] Step S904: In this target service mode, the first electronic device disables the third target application from running.

[0072] This step is based on the same principle as step S604, and will not be repeated here.

[0073] In this embodiment, the first electronic device processes the mode operation information through the first system, and then sends the mode operation information to the second system based on the operation time of the target service mode. This allows the second system to control the first electronic device to switch to the target service mode during the specified operation time based on the target service mode's time period and application configuration information. In this way, the first system determines the time period for the first electronic device in the dual-core system to switch service modes, and the second system controls the first electronic device to switch to the target service mode, maintaining the consistency of the target service mode's use throughout the dual-core system.

[0074] In some embodiments, when the first system is in operating mode and the second system is in sleep mode, there may be services that require the second system to perform. Therefore, the first electronic device will activate the second system and then switch the service mode of the second system. See also Figure 10 The document illustrates a flowchart of a service mode switching method according to an exemplary embodiment of this application. The method includes: Step S1001: The first electronic device obtains the mode operation information of the target service mode in the first electronic device through the first system. The mode operation information includes the operation time period and application configuration information of the target service mode.

[0075] This step is based on the same principle as step S301, and will not be repeated here.

[0076] Step S1002: The first electronic device receives the mode operation information sent by the first system based on the operation time period through the second system.

[0077] This step is based on the same principle as step S302, and will not be repeated here.

[0078] Step S1003: When the second system is in hibernation mode, the first electronic device determines a third target application based on the application configuration information through the first system. The third target application is an application running under the first system.

[0079] This step is based on the same principle as step S903, and will not be repeated here.

[0080] Step S1004: In this target service mode, the first electronic device disables the third target application from running.

[0081] This step is based on the same principle as step S904, and will not be repeated here.

[0082] Step S1005: In this target service mode, if a trigger command for the fourth target application is received, the first electronic device wakes up the second system through the first system.

[0083] In fully intelligent mode, the first electronic device can switch between a first system and a second system. Correspondingly, if a service implemented by the second system exists, the first electronic device exits the first system and wakes up the second system. In some embodiments, after the first electronic device switches to the second system, the second system actively sends a mode status request to the first system. This mode status request requests the first system to send its current service mode to the second system. If the current mode is the target service mode, the second system performs a mode switch; otherwise, it maintains the current service mode. In this embodiment, after the first electronic device switches systems, the second system actively obtains the current service mode, thus ensuring consistency of the service mode even after system switching.

[0084] In some embodiments, after the first electronic device switches to the second system, the first system determines the current service mode of the second system, and when it is necessary to switch modes, step S1006 is executed.

[0085] Step S1006: The first electronic device runs the fourth target application in the foreground through the second system. The fourth application is an application that runs under the second system.

[0086] In this embodiment, the first electronic device processes the mode operation information through the first system, and then sends the mode operation information to the second system based on the operation time of the target service mode. This allows the second system to control the first electronic device to switch to the target service mode during the specified operation time based on the target service mode's time period and application configuration information. In this way, the first system determines the time period for the first electronic device in the dual-core system to switch service modes, and the second system controls the first electronic device to switch to the target service mode, maintaining the consistency of the target service mode's use throughout the dual-core system.

[0087] See Figure 11 This document illustrates a flowchart of a service mode switching method according to an exemplary embodiment of this application. In this embodiment, the method is described using the case where the second system is off as an example. The method includes: Step S1101: The first electronic device obtains the mode operation information of the target service mode in the first electronic device through the first system. The mode operation information includes the operation time period and application configuration information of the target service mode.

[0088] This step is based on the same principle as step S301, and will not be repeated here.

[0089] Step S1102: When the second system is off, the first electronic device determines the fifth target application based on the application configuration information through the first system.

[0090] This step is based on the same principle as step S603, and will not be repeated here.

[0091] Step S1103: In the target service mode, the first electronic device disables the operation of the fifth target application.

[0092] This step is based on the same principle as step S604, and will not be repeated here.

[0093] In this embodiment, the first electronic device processes the mode operation information through the first system, and then sends the mode operation information to the second system based on the operation time of the target service mode. This allows the second system to control the first electronic device to switch to the target service mode during the specified operation time based on the target service mode's time period and application configuration information. In this way, the first system determines the time period for the first electronic device in the dual-core system to switch service modes, and the second system controls the first electronic device to switch to the target service mode, maintaining the consistency of the target service mode's use throughout the dual-core system.

[0094] Please refer to Figure 12 This diagram illustrates a structural block diagram of a service mode switching device according to an embodiment of this application. The service mode switching device can be implemented as all or part of a processor through software, hardware, or a combination of both. The device includes: The acquisition module 1201 is used to acquire the mode operation information of the target service mode in the first electronic device through the first system. The mode operation information includes the operation time period of the target service mode and application configuration information. The receiving module 1202 is used to receive the mode operation information sent by the first system based on the operation time period through the second system; The control module 1203 is used to control the first electronic device to switch to the target service mode during the operating time period based on the second system and the application configuration information.

[0095] In some embodiments, the control module 1203 includes: The determining unit is used to determine the first target application based on the application configuration information through the second system; The blocking unit is used to prevent the first target application from running in the target service mode.

[0096] In some embodiments, the device further includes: The running module is used to run the second target application in the foreground if a trigger instruction for the second target application is received in the target service mode. The second target application is an application that runs under the first system in the target service mode.

[0097] In some embodiments, the device further includes: The display module is used to display a prompt interface when a trigger command for the first target application is received in the target service mode. The prompt interface is used to indicate that the first target application has been disabled.

[0098] In some embodiments, the device further includes: The first determining module is used to determine a third target application based on the application configuration information through the first system when the second system is in hibernation. The third target application is an application running under the first system. The first blocking module is used to prevent the third target application from running in the target service mode.

[0099] In some embodiments, the device further includes: The wake-up module is used to wake up the second system through the first system if a trigger command for the fourth target application is received in the target service mode. The runtime module is used to run the fourth target application in the foreground through the second system. The fourth application is an application that runs under the second system.

[0100] In some embodiments, the device further includes: The second determining module is used to determine the fifth target application based on the application configuration information through the first system when the second system is turned off. The second blocking module is used to prevent the first system from running the fifth target application in this target service mode.

[0101] In some embodiments, the acquisition module 1201 includes: The first receiving unit is configured to receive the mode operation information sent by the second electronic device through the second system; and send the mode operation information to the first system through inter-core communication; or... The second receiving unit is used to receive the mode operation information sent by the second electronic device through the first system; The second electronic device is an electronic device that is connected to the first electronic device via Bluetooth.

[0102] In this embodiment, the first electronic device processes the mode operation information through the first system, and then sends the mode operation information to the second system based on the operation time of the target service mode. This allows the second system to control the first electronic device to switch to the target service mode during the specified operation time based on the target service mode's time period and application configuration information. In this way, the first system determines the time period for the first electronic device in the dual-core system to switch service modes, and the second system controls the first electronic device to switch to the target service mode, maintaining the consistency of the target service mode's use throughout the dual-core system.

[0103] This application also provides a computer-readable medium storing at least one instruction that is loaded and executed by the processor to implement the service mode switching method shown in the above embodiments.

[0104] This application also provides a computer program product that stores at least one instruction, which is loaded and executed by the processor to implement the service mode switching method shown in the above embodiments.

[0105] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0106] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A service mode switching method, applied to a first electronic device, the first electronic device being capable of running a first system and a second system, characterized in that, The method comprises: acquiring, by the first system, mode running information of a target service mode in the first electronic device, the mode running information comprising a running time period and application configuration information of the target service mode; receiving, by the second system, the mode running information sent by the first system; controlling, by the second system, the first electronic device to switch to the target service mode within the running time period based on the running time period and the application configuration information of the target service mode.

2. The method of claim 1, wherein, The controlling, by the second system, the first electronic device to switch to the target service mode within the running time period based on the running time period and the application configuration information of the target service mode comprises: determining, by the second system, a first target application based on the application configuration information; inhibiting, by the first electronic device, running of the first target application in the target service mode.

3. The method of claim 2, wherein, The method further comprises: in the target service mode, running, by the first system, a second target application in the foreground if a trigger instruction for the second target application is received, the second target application being an application running by the first system in the target service mode.

4. The method of claim 2, wherein, The method further comprises: in the target service mode, displaying a prompt interface if a trigger instruction for the first target application is received, the prompt interface being used to prompt that the first target application has been disabled.

5. The method of claim 1, wherein, The method further comprises: when the second system is in a dormant state, determining, by the first system based on the application configuration information, a third target application, the third target application being an application running by the first system; inhibiting, by the first electronic device, running of the third target application in the target service mode.

6. The method of claim 5, wherein, The method further comprises: in the target service mode, waking up, by the first system, the second system if a trigger instruction for a fourth target application is received; running, by the second system, the fourth target application in the foreground, the fourth target application being an application running by the second system.

7. The method of claim 1, wherein, The method further comprises: when the second system is in an off state, determining, by the first system based on the application configuration information, a fifth target application; in the target service mode, inhibiting, by the first system, running of the fifth target application.

8. The method of claim 1, wherein, The acquiring, by the first system, mode running information of a target service mode in the first electronic device comprises: receiving, by the second system, the mode running information sent by a second electronic device; sending the mode running information to the first system through inter-core communication; or receiving, by the first system, the mode running information sent by a second electronic device; wherein the second electronic device is an electronic device in Bluetooth connection with the first electronic device.

9. The method of claim 1, wherein, The receiving, by the second system, the mode running information sent by the first system comprises: The second system receives the mode running information sent by the first system based on the running time period.

10. The method of claim 9, wherein, The second system receives the mode running information sent by the first system based on the running time period. The first system sends the mode running information to the second system at the start time of the running time period, or at the start time and the end time of the running time period, or at a preset time length before the start time and / or the end time of the running time period. The second system receives the mode running information.

11. The method of claim 1, wherein, The second system controls the first electronic device to switch to the target service mode within the running time period based on the running time period of the target service mode and the application configuration information. The first system determines a target time for mode switching based on the running time period, and sends a switching notification to the second system when the system time reaches the target time. The second system switches to the target service mode based on the switching notification, and configures the application program disable state of the second system based on the application configuration information in the target service mode.

12. The method of claim 1, wherein, The application configuration information includes application programs allowed to run or application programs prohibited to run in the target service mode. The method further includes: Based on the acquisition request of the second electronic device, the application programs installed in the first system and the second system of the first electronic device are sent to the second electronic device, and the second electronic device is used to display the application programs in a service mode setting interface, so that the user determines the application programs allowed to run or the application programs prohibited to run through the service mode setting interface. The second electronic device is an electronic device in Bluetooth connection with the first electronic device.

13. The method of claim 1, wherein, The application configuration information includes application programs allowed to run or application programs prohibited to run in the target service mode. The method further includes: The running time length of the target service mode, the application programs allowed to run in the target service mode, or the application programs prohibited to run in the target service mode are displayed.

14. A service mode switching device, applied to a first electronic device, the first electronic device being capable of running a first system and a second system, characterized in that, The apparatus includes: The acquisition module is configured to acquire, by the first system, mode running information of a target service mode in the first electronic device, the mode running information including a running time period of the target service mode and application configuration information. The receiving module is configured to receive, by the second system, the mode running information sent by the first system. The control module is configured to control, by the second system, the first electronic device to switch to the target service mode within the running time period based on the running time period of the target service mode and the application configuration information.

15. An electronic device, comprising: The electronic device includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used for being executed by the processor to implement the service mode switching method according to any one of claims 1 to 13.

16. A computer readable storage medium characterized by: The computer readable storage medium stores at least one program code, and the at least one program code is used for being executed by a processor to implement the service mode switching method according to any one of claims 1 to 13.