Dial plate starting method and device and storage medium

By waiting for the communication service initialization in the initialization process of the electronic device, the first dial pad obtains the default dial pad information again, solving the problem that users cannot directly use the dial pad after the mobile phone system is upgraded, and improving the user experience.

CN119788774AActive Publication Date: 2025-04-08HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411784119.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-04-08
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

After the mobile phone system is upgraded, users cannot use or retrieve the dial when they turn on or restart for the first time, which will affect the user experience.

Method used

In the initialization process of the electronic device, after waiting for the initialization of the communication service to be completed, the first dial pad acquires the default dial pad information again, thereby ensuring that the recorded information is accurate.

Benefits of technology

Avoid the problem of dial logging errors caused by system upgrades, ensuring that users can use the dial normally after the first power-on or restart, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788774A_ABST
    Figure CN119788774A_ABST
Patent Text Reader

Abstract

The invention provides a dial plate starting method and device and a storage medium, and relates to the technical field of terminals. The method can be applied to the electronic equipment with a display function, the electronic equipment is started or restarted for the first time after system upgrading is completed, and the electronic equipment initializes system services and necessary application programs, such as initialization of communication services and a dial plate. When the dial plate is initialized, the dial plate accesses the communication service to obtain default dial plate information. And after the initialization of the communication service is completed, the dial plate accesses the communication service again so as to update the default dial plate information. When the communication service is accessed again, the initialization of the communication service is completed, and the default dial plate information acquired by the dial plate is accurate, so that the condition that the equipment pops up a prompt for setting the default dial plate when the user uses the dial plate for the first time after the system is upgraded can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a method, device and storage medium for starting a dial pad. Background Art

[0002] With the continuous development of terminal technology, terminal devices can install various types of applications to provide users with different services. Phone applications are commonly used applications in smart phones and provide users with voice call services.

[0003] The dial pad is the main entry point for users to conduct voice communications. Users can use the dial pad preset in the mobile phone system to input phone numbers and make calls. The phone application and the dial pad work together to enable users to make and receive calls conveniently.

[0004] When the mobile phone is turned on or restarted for the first time after the system is upgraded, there is the following problem: in response to the user clicking the phone application icon on the desktop, the mobile phone displays an interface for setting the default dial pad, such as Figure 3 In the interface 106 shown, the user cannot directly use or call the dial pad, which affects the user experience. Summary of the invention

[0005] The embodiments of the present application provide a method, device and storage medium for starting a dial pad, which can prevent the device from popping up a prompt for setting a default dial pad when the user calls the dial pad for the first time after a system upgrade.

[0006] In a first aspect, an embodiment of the present application proposes a method for starting a dial pad, which can be applied to an electronic device with a display function, and the method includes: after the electronic device system is upgraded, the electronic device is turned on or restarted for the first time, and the electronic device executes an initialization process; after the initialization process is completed, the electronic device obtains and records first information through a first dial pad, and the first information is used to indicate that the first dial pad is a default dial pad; in response to the operation of starting the first dial pad, the electronic device displays a first interface, and the first interface includes the first dial pad.

[0007] In some embodiments, when the electronic device is turned on or restarted, the electronic device performs an initialization process, which includes starting various system services (e.g., communication services), registering system services with a service manager, starting some necessary applications (e.g., phone applications and dial pads, etc.), etc.

[0008] In some embodiments, the electronic device starts a phone application, and the phone application can pull up the first dial pad. Figure 5 As shown, after the phone application is started, a first message is sent to the first dial pad to pull up the first dial pad. Pulling up the first dial pad can be understood as initializing the first dial pad.

[0009] The first dial pad may be a dial pad preset in the electronic device system, or a third-party dial pad. The first information may also be described as default dial pad information.

[0010] In some embodiments, the operation of activating the first dial pad may be an operation of a user clicking a phone application icon. Figure 3 As shown, in response to the user clicking on the icon 1011 of the interface 101 , the electronic device displays the first interface 104 , and the first interface 104 includes a first dial pad 1041 .

[0011] In other embodiments, the operation of starting the first dial pad may be an operation in which the user clicks on a dial pad icon, for example, Figure 1 As shown, in response to the user clicking the icon 1021 of the interface 102 , the electronic device displays the first interface 103 , and the first interface 103 includes a first dial pad 1031 .

[0012] In the dial pad startup method shown in this embodiment, when the electronic device is turned on or restarted for the first time after the system is upgraded, the electronic device executes an initialization process, and the initialization process includes updating the system service and initializing the first dial pad. When initializing the first dial pad, it is necessary to access the communication service to obtain the default dial pad information. However, due to the system upgrade, the time for the electronic device to update the system service is longer than usual. When the first dial pad accesses the communication service, the communication service is not ready (initialization is not completed), resulting in the first dial pad recording wrong information (such as the first dial pad is not the default dial pad). Therefore, it is designed that after the initialization process is completed (the communication service initialization is completed), the first dial pad of the electronic device obtains and records the first information again, and the first information is accurate information provided by the communication service. In this way, when the first dial pad is started, the electronic device can display the first dial pad normally, which can avoid the device popping up a prompt to set the default dial pad, which affects the user experience.

[0013] In an optional embodiment of the first aspect, the electronic device includes a communication service. When the electronic device is powered on or restarted for the first time after the system is upgraded, the electronic device obtains and records the first information through the first dial, including: when the electronic device is powered on or restarted for the first time after the system is upgraded, the electronic device initializes the first dial and the communication service; after the communication service is initialized, the first dial obtains the first information from the communication service; the first dial records the first information in the memory of the electronic device.

[0014] In this embodiment, the first dial obtains the first information from the communication service, including: the first dial initiates a request to the communication service to obtain the first information; or the communication service sends the first information to the first dial.

[0015] In some embodiments, the communication service is located in the system service layer of the electronic device, and the communication service may correspond to Figure 4 TeleComService shown.

[0016] In the dial pad startup method shown in this embodiment, in order to prevent the first dial pad from recording erroneous information during initialization, it is designed that after the communication service initialization is completed, the first dial pad again obtains the default dial pad information from the communication service, and the default dial pad information obtained again is accurate.

[0017] In an optional embodiment of the first aspect, after the communication service is initialized, the first dial obtains the first information from the communication service, including: after the communication service is initialized, the communication service sends a notification message to the first dial, and the notification message includes the first information. Figure 6 S601 of the embodiment.

[0018] In the dial pad startup method shown in this embodiment, it is designed that after the communication service initialization is completed, the communication service actively sends a notification message to the first dial pad, so that the first dial pad updates the default dial pad information based on the notification message. The default dial pad information sent by the communication service is accurate.

[0019] In an optional embodiment of the first aspect, after the communication service is initialized, the first dial obtains the first information from the communication service, including: after the communication service is initialized, the first dial sends a first query request to the communication service, the first query request is used to query the information of the default dial; the electronic service responds to the first query request and sends a first query response to the first dial, the first query response includes the first information. Figure 7 Embodiments S701 to S702.

[0020] In the dial pad startup method shown in this embodiment, it is designed that after the communication service is initialized, regardless of whether the first dial pad obtains the default dial pad information from the communication service during initialization, the first dial pad will access the communication service again (such as sending a first query request) to obtain accurate default dial pad information.

[0021] In an optional embodiment of the first aspect, the first dial pad sends the first query request to the communication service, including: at a first time, the first dial pad sends the first query request to the communication service. The first time includes at least one of the following: when the electronic device unlocks the screen for the first time; when the electronic device starts the first dial pad for the first time.

[0022] In one example, after the electronic device system is upgraded and after it is powered on or restarted for the first time, in response to the operation of unlocking the screen for the first time, the electronic device sends a first query request to the communication service through the first dial pad.

[0023] In one example, after the electronic device system is upgraded and it is powered on or restarted for the first time, in response to the first click of a phone application icon, the electronic device activates a first dial pad and sends a first query request to a communication service through the first dial pad.

[0024] In an optional embodiment of the first aspect, the electronic device further includes a telephone application and a communication management module, and the electronic device initializes the first dial pad, including: the electronic device initializes the telephone application; the telephone application sends a first message to the first dial pad, and the first message is used to pull up the first dial pad; the first dial pad responds to the first message and sends a second query request to the communication service through the communication management module, and the second query request is used to query the information of the default dial pad; the communication management module sends a second query response to the first dial pad, and the second query response does not indicate the information of the default dial pad; the first dial pad records second information in the memory based on the second query response, and the second information is used to indicate that the first dial pad is not the default dial pad. Please refer to Figure 6 Embodiments S501 to S505.

[0025] In some embodiments, the communication management module is located in the application framework layer of the electronic device, and the communication management module may correspond to Figure 4 The TeleComManager shown.

[0026] In the dial pad startup method shown in this embodiment, during the initialization process of the first dial pad, the communication service can be accessed through the communication management module to obtain the information of the default dial pad. Since the communication service is not initialized, the first dial pad records in the memory that the first dial pad is not the default dial pad based on the response returned by the communication management module.

[0027] In a second aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, the memory being used to store computer-executable instructions, and the processor being used to run the computer-executable instructions stored in the memory to execute the method described in the first aspect or any optional embodiment of the first aspect.

[0028] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instructions are stored. When the computer program or instructions are executed on a computer, the computer executes the method described in the first aspect or any optional embodiment of the first aspect.

[0029] In a fourth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the method described in the first aspect or any optional embodiment of the first aspect.

[0030] In a fifth aspect, the present application provides a chip or a chip system, the chip or chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected by a line, and the at least one processor is used to run a computer program or instruction to execute the method described in the first aspect or any optional embodiment of the first aspect. The communication interface in the chip can be an input / output interface, a pin or a circuit, etc.

[0031] In an optional embodiment of the fifth aspect, the chip or chip system described above further includes at least one memory, and instructions are stored in at least one memory. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (e.g., a read-only memory, a random access memory, etc.).

[0032] It should be understood that the second to fifth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding optional embodiments are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 An interface change diagram provided in an embodiment of the present application;

[0034] Figure 2 Another interface change diagram provided in an embodiment of the present application;

[0035] Figure 3 Another interface change diagram provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of the software architecture of a mobile phone provided in an embodiment of the present application;

[0037] Figure 5 A flow chart of a method for activating a dial pad provided in an embodiment of the present application;

[0038] Figure 6 Another flow chart of the method for activating the dial pad provided in the embodiment of the present application;

[0039] Figure 7 Another flow chart of the method for activating the dial pad provided in the embodiment of the present application;

[0040] Figure 8 Another flow chart of the method for activating the dial pad provided in the embodiment of the present application;

[0041] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0042] Fig.10 A schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:

[0044] 1. OTA (over-the-air) is a technology that remotely upgrades terminal devices through wireless networks (such as 4G, 5G, Wi-Fi, etc.). Taking the terminal device as a mobile phone as an example, through OTA upgrade, the performance of the mobile phone system can be optimized, security vulnerabilities can be fixed, and new functions can be pushed to users.

[0045] 2. Other terms

[0046] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first query request and the second query request are only used to distinguish different query requests, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0047] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0048] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, and c can be single or multiple.

[0049] 3. Electronic devices

[0050] The electronic device of the embodiment of the present application may include a handheld device with a display function, a vehicle-mounted device, etc. For example, some electronic devices include: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MID), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, 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 functions, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, terminal devices in 5G networks, or terminal devices in future evolved public land mobile communication networks (PLMNs), etc., and the embodiments of the present application are not limited to this.

[0051] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be called wearable smart devices, which are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as watches. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction.

[0052] In addition, in the embodiments of the present application, the electronic device may also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.

[0053] The electronic device in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), 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.

[0054] In an embodiment of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a 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 a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.

[0055] Before introducing the technical solution provided by the embodiment of the present application, the application scenario of the technical solution provided by the present application is first introduced. For the convenience of understanding, the following description is made by taking the electronic device as a mobile phone as an example.

[0056] Figure 1 An interface change diagram provided for an embodiment of the present application. Figure 1 The interface 101 shown includes icons of various applications, such as a clock, a calendar, a gallery, a memo, etc. In response to clicking on the icon 1011 of the phone application on the interface 101, the mobile phone displays the interface 102, which may include a dial pad control 1021. In response to clicking on the dial pad control 1021 on the interface 102, the mobile phone displays the interface 103, which displays a dial pad 1031. The user can enter a phone number on the dial pad 1031 to make a call.

[0057] Figure 1 In the example shown, the user needs to click the phone application icon and then call up the dial pad on the interface provided by the phone application to enter the phone number. The user needs to perform two steps.

[0058] Figure 2 Another interface change diagram provided in the embodiment of the present application. Figure 1The difference is that in response to the operation of clicking the icon 1011 of the phone application on the interface 101, the mobile phone displays the interface 104, and the interface 104 includes a dial pad 1041. The user can enter a phone number on the dial pad 1041 to make a call. In addition, in response to the operation of clicking the control 1042 on the dial pad 1041 for retracting the dial pad, the mobile phone displays the interface 105, and the interface 105 displays the historical call records.

[0059] Figure 2 In the example shown, after the user clicks the phone application icon, the dial pad is directly displayed on the interface provided by the phone application. Figure 1 The example shown makes it easier for users to enter phone numbers.

[0060] However, there is a scenario where, after a mobile phone system upgrade (i.e., OTA upgrade), after the first startup or restart, the user clicks the phone application icon on the desktop, and the phone prompts the user to set a default dial pad.

[0061] Figure 3 Another interface change diagram provided in the embodiment of the present application. After the mobile phone system is upgraded, after the first startup or restart, such as Figure 3 As shown, in response to clicking the phone application icon 1011 on the interface 101, the mobile phone displays the interface 106, which may include a control 1061 for setting the default dial pad. The user can manually set the default dial pad through the interface 106. In this scenario, the mobile phone does not follow Figure 1 or Figure 2 The example shown shows a dial pad, which prevents the user from making a call directly using the dial pad, thus affecting the user experience.

[0062] It should be noted that, in addition to the above scenarios, the user may also be prompted to set a default dial pad in other scenarios, such as dial pad component update (dial pad version upgrade), etc.

[0063] In the right Figure 3 Before explaining the internal execution process of the mobile phone, the software architecture of the mobile phone is first introduced.

[0064] Figure 4 Schematic diagram of the software architecture of the mobile phone provided in the embodiment of the present application. Figure 4 As shown, the software architecture of the mobile phone includes from top to bottom: application layer, application framework layer, and system service layer.

[0065] The application layer may include a series of application packages, such as camera, gallery, calendar, map, navigation, etc. In the embodiment of the present application, the application layer includes a phone application and a dial pad. The phone application is mainly responsible for processing functions related to communication, including, for example, making calls, answering calls, call forwarding, call restriction, etc. The dial pad provides a dialing interface (such as Figure 1 In the interface 103 shown in the figure, the user enters the phone number by touching in the dialing interface to trigger the device to make a call. The dial pad can be a system preset dial pad, or a third-party dial pad downloaded by the user through the application market. In some examples, the user can set the system preset dial pad (such as Google® dial pad) or the third-party dial pad as the default dial pad.

[0066] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer may include some predefined functions. In the embodiment of the present application, the application framework layer includes TeleComManager (communication management module). TeleComManager is an interface class provided by the mobile phone, which can provide a series of functions related to telephone communication, such as querying the default dial pad, querying the call status, sending call requests, etc. Both the telephone application and the dial pad can call the TeleComService (communication service) of the system service layer through TeleComManager.

[0067] The system service layer provides basic services and functions for upper layer applications. In the embodiment of the present application, the system service layer includes TeleComService. TeleComService is responsible for call management, phone number and contact management, audio management during calls, communication records and log management, dial pad management, etc.

[0068] Understandably, Figure 4 The modules included in each layer shown are the modules involved in the embodiments of the present application, and the modules included in each layer do not constitute a limitation on the structure of the electronic device and the level of module deployment.

[0069] In some embodiments, the electronic device may include more or fewer layers than shown in the figure, and each layer may include more or fewer components, which is not limited in this application.

[0070] It should be noted that in the above embodiments, a "module" may be a software program, a hardware circuit, or a combination of the two to implement the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.

[0071] Therefore, the modules of each example described in the embodiments of the present application can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in the form of hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0072] based on Figure 4 The embodiment of the present application provides a method for starting a dial pad, which takes a first dial pad as an example. The first dial pad can be a system preset dial pad or a third-party dial pad. Whether the first dial pad can be started normally depends on whether the first dial pad is a default dial pad.

[0073] Combine the following Figure 5 The following describes the process of activating the dial pad.

[0074] Figure 5 A flowchart of a method for activating a dial pad provided in an embodiment of the present application. The method can be applied to Figure 4 The electronic equipment shown, such as Figure 5 As shown, the method comprises the following steps:

[0075] S501. After the system of the electronic device is upgraded, when the electronic device is powered on or restarted for the first time, the phone application is initialized.

[0076] Initializing the phone application includes but is not limited to system service registration and binding, database (storing contacts, call logs, etc.) initialization, checking whether the device is connected to the network, checking SIM (subscriber identity module) card information, sending voicemail-related broadcasts, etc. Broadcasts are used to notify other applications or system components. Exemplarily, the first message in S502 is a broadcast message used to pull up the first dial.

[0077] S502. The phone application sends a first message to the first dial pad, where the first message is used to pull up the first dial pad.

[0078] The phone application pulls up the first dial pad by sending the first message. Pulling up the first dial pad can be understood as initializing the first dial pad. Initializing the first dial pad refers to a series of settings and preparations for the dial pad when starting the phone application to ensure the stability and availability of the dialing function. Initializing the first dial pad includes checking the default dial pad, see S503 to S505 for details.

[0079] S503. The first dial pad sends a second query request to the TeleComManager in response to the first message, where the second query request is used to query the default dial pad.

[0080] S504. In response to the second query request, the TeleComManager sends a second query response to the first dial pad, and the second query response does not indicate a default dial pad.

[0081] Compared to a regular startup or restart, when the system is started or restarted for the first time after a system upgrade, it will take longer than usual to update and initialize the system services because the electronic device needs to update the system services.

[0082] TeleComService is one of the system services, there is a possibility that the initialization of the first dialer is before the initialization of TeleComService. Figure 5 The first dial pad calls TeleComService through TeleComManager to query the information of the default dial pad. Since TeleComService is not ready, TeleComManager returns a second query response to the first dial pad.

[0083] TeleComService is not ready, which can be understood as: TeleComService has not completed initialization, or TeleComService has not started initialization. The second query response does not indicate the default dial pad, which can be understood as: the second query response is empty (null), or the second query response does not include the package name of the default dial pad.

[0084] S505. In response to the second query response, the first dialer records the information of the default dialer in the memory.

[0085] The information of the default dial pad recorded in the first dial pad may be: the first dial pad is not the default dial pad, or the default dial pad is empty (the system does not set a default dial pad).

[0086] After the phone app and the first dialer perform the initialization process, it also includes:

[0087] S506. In response to the operation of starting the first dial, the first dial displays prompt information based on the memory record, where the prompt information is used to indicate setting a default dial.

[0088] The operation of launching the first dial pad may be an operation in which the user clicks a phone application icon. Figure 3 In response to clicking the icon 1011 of the phone application on the interface 101, the electronic device starts the first dial. After the first dial is started, the information of the default dial is read from the memory, and based on the information of the default dial, it is determined that the first dial is not the default dial. Subsequently, the first dial displays a prompt message to instruct the user to set the default dial. Figure 3 In response to clicking the icon 1011 of the phone application on the interface 101, the electronic device displays the interface 106, and the interface 106 prompts the user to set a default dial pad.

[0089] The dial pad startup method shown in the above embodiment is affected by the "initialization order of the first dial pad and TeleComService" and the "internal execution logic of the first dial pad". During the initialization process of the first dial pad, since TeleComService is not ready, the first dial pad records incorrect default dial pad information in the memory (for example, records that the dial pad is not the default dial pad), resulting in the user being unable to directly call the dial pad when using the phone application, and the user being unable to directly make a call, affecting the user experience.

[0090] against Figure 5 In order to solve the problem that the user cannot directly call the dial pad in the embodiment, the embodiment of the present application proposes an improved method for starting the dial pad. After the TeleComService is initialized, the TeleComService is configured to actively send a notification message to indicate the information of the default dial pad. In this way, when the first dial pad is started, the first dial pad can be displayed normally based on the notification message. Figure 6 The scheme is described in detail.

[0091] Figure 6 Another flow chart of the method for activating the dial provided in the embodiment of the present application. The method can be applied to Figure 4 The electronic equipment shown, such as Figure 6 As shown, the method comprises the following steps:

[0092] S501. After the system of the electronic device is upgraded, when the electronic device is powered on or restarted for the first time, the phone application is initialized.

[0093] S502. The phone application sends a first message to the first dial pad, where the first message is used to pull up the first dial pad.

[0094] S503. The first dial pad sends a second query request to the TeleComManager in response to the first message, where the second query request is used to query the default dial pad.

[0095] S504. In response to the second query request, the TeleComManager sends a second query response to the first dial pad, and the second query response does not indicate a default dial pad.

[0096] S505. In response to the second query response, the first dialer records the information of the default dialer in the memory.

[0097] S501 to S505 of this embodiment can refer to Figure 5 The embodiments are not expanded here.

[0098] Based on the above steps, the method provided in this embodiment further includes:

[0099] S601. After TeleComService is initialized, a notification message is sent, where the notification message is used to indicate information about the default dial pad.

[0100] S602. The first dial pad updates the default dial pad information in the memory based on the notification message.

[0101] In one example, the notification message is a broadcast message.

[0102] In one example, the notification message includes a package name of a default dialer.

[0103] It should be noted that the electronic device system upgrade usually does not update the setting of the default dial pad. For example, before the system upgrade, the default dial pad of the electronic device is the first dial pad. After the electronic device system upgrade, the default dial pad is still the first dial pad. Based on this, TeleComService sends a notification message, and the notification message may include the package name of the first dial pad to indicate that the default dial pad is the first dial pad. Based on the notification message, the first dial pad updates the memory record, such as recording the first dial pad as the default dial pad.

[0104] S603. In response to the operation of starting the first dial, the electronic device displays the first dial.

[0105] In response to the operation of starting the first dial, the first dial determines whether the first dial is a default dial based on the memory record, and if the first dial is the default dial, displays the first dial.

[0106] In the dial pad startup method shown in the above embodiment, although the initialization of the first dial pad is before the initialization of TeleComService, the first dial pad records the wrong default dial pad information in the memory. In order to prevent the user from being unable to directly call the dial pad when using the phone application, TeleComService can be configured to send a broadcast after initialization is completed to indicate the default dial pad information. The first dial pad updates the memory record based on the broadcast, so that when the first dial pad is started, the electronic device can display the first dial pad normally, which can avoid the device popping up a prompt to set the default dial pad, which affects the user experience.

[0107] against Figure 5 In order to solve the problem that the user cannot directly call the dial pad in the embodiment, the embodiment of the present application also proposes an improved dial pad startup method. At some time after the TeleComService is initialized, such as when the device unlocks the screen, or when the device starts the first dial pad, the first dial pad calls TeleComService again through TeleComManager to query the default dial pad information and update the default dial pad information in the memory record. In this way, it can be avoided that the user cannot directly call the dial pad due to the wrong default dial pad information recorded during the initialization process of the first dial pad. Figure 7 The scheme is described in detail.

[0108] Figure 7 Another flowchart of the method for activating the dial provided in the embodiment of the present application. The method can be applied to Figure 4 The electronic equipment shown, such as Figure 7 As shown, the method comprises the following steps:

[0109] S501. After the system of the electronic device is upgraded, when the electronic device is powered on or restarted for the first time, the phone application is initialized.

[0110] S502. The phone application sends a first message to the first dial pad, where the first message is used to pull up the first dial pad.

[0111] S503. The first dial pad sends a second query request to the TeleComManager in response to the first message, where the second query request is used to query the default dial pad.

[0112] S504. In response to the second query request, the TeleComManager sends a second query response to the first dial pad, and the second query response does not indicate a default dial pad.

[0113] S505. In response to the second query response, the first dialer records the information of the default dialer in the memory.

[0114] S501 to S505 of this embodiment can refer to Figure 5 The embodiments are not expanded here.

[0115] Based on the above steps, the method provided in this embodiment further includes:

[0116] S701. At a first opportunity, a first dial pad sends a first query request to TeleComManager, where the first query request is used to query a default dial pad.

[0117] The first time refers to a time when the electronic device is turned on or restarted for the first time after the system is upgraded. Figure 7 Before the first opportunity, TeleComService has completed initialization. Exemplarily, the first opportunity may be when the device unlocks the screen for the first time, or when the device starts the first dial pad for the first time.

[0118] S702. In response to the first query request, the TeleComManager sends a first query response to the first dial pad, where the first query response indicates a default dial pad.

[0119] Reference Figure 5 The first dialer calls TeleComService through TeleComManager to query the information of the default dialer. Since TeleComService has completed initialization, the second query response returned by TeleComManager to the first dialer indicates the information of the default dialer. Exemplarily, the second query response includes the package name of the default dialer, for example, the second query response includes the package name of the first dialer.

[0120] S703. The first dial pad updates the default dial pad information in the memory based on the first query response.

[0121] Based on the first query response, the first dial pad writes the latest queried default dial pad information into the memory and deletes the old default dial pad information.

[0122] In some embodiments, if the first timing is when the device starts the first dial for the first time, after S702, the following is further performed: S704. The electronic device displays the first dial.

[0123] This embodiment does not limit the execution order of S703 and S704, and both can be executed by notification or in sequence.

[0124] In some embodiments, if the first time is when the device unlocks the screen for the first time, after S703, S704 is executed, and S704 specifically includes: in response to the operation of starting the first dial, the electronic device displays the first dial. The operation of starting the first dial can be an operation of the user clicking the phone application icon, refer to Figure 3 In response to clicking the icon 1011 of the telephone application on the interface 101, the electronic device starts the first dial pad.

[0125] In the above embodiment, the method for starting the dial pad is shown. Although the initialization of the first dial pad is before the initialization of TeleComService, the first dial pad records the wrong default dial pad information in the memory. In order to avoid the user being unable to directly call the dial pad when using the phone application, the first dial pad can be configured to re-query the default dial pad at various times to update the default dial pad information recorded in the memory. In this way, when the first dial pad is started, the electronic device can display the first dial pad normally, which can avoid the device popping up to set the default dial pad, which affects the user experience.

[0126] Based on the above embodiments, the present application provides a method for activating a dial pad. Figure 8 , the method comprises the following steps:

[0127] S801. After the electronic device system is upgraded, the electronic device performs an initialization process when it is turned on or restarted for the first time.

[0128] S802. After the initialization process is completed, the electronic device obtains and records first information through the first dial, where the first information is used to indicate that the first dial is a default dial.

[0129] S803. In response to the operation of starting the first dial, the electronic device displays a first interface, where the first interface includes the first dial.

[0130] In some embodiments, when the electronic device is turned on or restarted, the electronic device performs an initialization process, which includes starting various system services (e.g., communication services), registering system services with a service manager, starting some necessary applications (e.g., phone applications and dial pads, etc.), etc.

[0131] In some embodiments, the electronic device starts a phone application, and the phone application can pull up the first dial pad. Figure 5 As shown, after the phone application is started, a first message is sent to the first dial pad to pull up the first dial pad. Pulling up the first dial pad can be understood as initializing the first dial pad.

[0132] In some embodiments, the first dial pad may be a dial pad preset in the electronic device system, or a third-party dial pad.

[0133] In some embodiments, the operation of activating the first dial pad may be an operation of a user clicking a phone application icon. Figure 3 As shown, in response to the user clicking on the icon 1011 of the interface 101 , the electronic device displays the first interface 104 , and the first interface 104 includes a first dial pad 1041 .

[0134] In other embodiments, the operation of starting the first dial pad may be an operation in which the user clicks on a dial pad icon, for example, Figure 1 As shown, in response to the user clicking the icon 1021 of the interface 102 , the electronic device displays the first interface 103 , and the first interface 103 includes a first dial pad 1031 .

[0135] In this embodiment, the first information may also be described as default dial pad information.

[0136] In the dial pad startup method shown in this embodiment, when the electronic device is turned on or restarted for the first time after the system is upgraded, the electronic device executes an initialization process, and the initialization process includes updating the system service and initializing the first dial pad. When initializing the first dial pad, it is necessary to access the communication service to obtain the default dial pad information. However, due to the system upgrade, the time for the electronic device to update the system service is longer than usual. When the first dial pad accesses the communication service, the communication service is not ready (initialization is not completed), resulting in the first dial pad recording wrong information (such as the first dial pad is not the default dial pad). Therefore, it is designed that after the initialization process is completed (the communication service initialization is completed), the first dial pad of the electronic device obtains and records the first information again, and the first information is accurate information provided by the communication service. In this way, when the first dial pad is started, the electronic device can display the first dial pad normally, which can avoid the device popping up a prompt to set the default dial pad, which affects the user experience.

[0137] In an optional embodiment, the electronic device includes a communication service. When the electronic device is powered on or restarted for the first time after the system is upgraded, the electronic device obtains and records the first information through the first dial, including: when the electronic device is powered on or restarted for the first time after the system is upgraded, the electronic device initializes the first dial and the communication service; after the communication service is initialized, the first dial obtains the first information from the communication service; the first dial records the first information in the memory of the electronic device.

[0138] In this embodiment, the first dial obtains the first information from the communication service, including: the first dial initiates a request to the communication service to obtain the first information; or the communication service sends the first information to the first dial.

[0139] In some embodiments, the communication service is located in the system service layer of the electronic device, and the communication service may correspond to Figure 4 TeleComService shown.

[0140] In the dial pad startup method shown in this embodiment, in order to prevent the first dial pad from recording erroneous information during initialization, it is designed that after the communication service initialization is completed, the first dial pad again obtains the default dial pad information from the communication service, and the default dial pad information obtained again is accurate.

[0141] In an optional embodiment, after the communication service is initialized, the first dial obtains the first information from the communication service, including: after the communication service is initialized, the communication service sends a notification message to the first dial, and the notification message includes the first information. Figure 6 S601 of the embodiment.

[0142] In the dial pad startup method shown in this embodiment, it is designed that after the communication service initialization is completed, the communication service actively sends a notification message to the first dial pad, so that the first dial pad updates the default dial pad information based on the notification message. The default dial pad information sent by the communication service is accurate.

[0143] In an optional embodiment, after the communication service is initialized, the first dial obtains the first information from the communication service, including: after the communication service is initialized, the first dial sends a first query request to the communication service, the first query request is used to query the information of the default dial; the electronic service responds to the first query request and sends a first query response to the first dial, the first query response includes the first information. Figure 7 Embodiments S701 to S702.

[0144] In the dial pad startup method shown in this embodiment, it is designed that after the communication service is initialized, regardless of whether the first dial pad obtains the default dial pad information from the communication service during initialization, the first dial pad will access the communication service again (such as sending a first query request) to obtain accurate default dial pad information.

[0145] In an optional embodiment, the first dial pad sends the first query request to the communication service, including: at a first time, the first dial pad sends the first query request to the communication service. The first time includes at least one of the following: when the electronic device unlocks the screen for the first time; when the electronic device starts the first dial pad for the first time.

[0146] In one example, after the electronic device system is upgraded and after it is powered on or restarted for the first time, in response to the operation of unlocking the screen for the first time, the electronic device sends a first query request to the communication service through the first dial pad.

[0147] In one example, after the electronic device system is upgraded and it is powered on or restarted for the first time, in response to the first click of a phone application icon, the electronic device activates a first dial pad and sends a first query request to a communication service through the first dial pad.

[0148] In an optional embodiment, the electronic device further includes a telephone application and a communication management module, and the electronic device initializes the first dial pad, including: the electronic device initializes the telephone application; the telephone application sends a first message to the first dial pad, and the first message is used to pull up the first dial pad; the first dial pad responds to the first message and sends a second query request to the communication service through the communication management module, and the second query request is used to query the information of the default dial pad; the communication management module sends a second query response to the first dial pad, and the second query response does not indicate the information of the default dial pad; the first dial pad records second information in the memory based on the second query response, and the second information is used to indicate that the first dial pad is not the default dial pad. Please refer to Figure 6 Embodiments S501 to S505.

[0149] In some embodiments, the communication management module is located in the application framework layer of the electronic device, and the communication management module may correspond to Figure 4 The TeleComManager shown.

[0150] In the dial pad startup method shown in this embodiment, during the initialization process of the first dial pad, the communication service can be accessed through the communication management module to obtain the information of the default dial pad. Since the communication service is not initialized, the first dial pad records in the memory that the first dial pad is not the default dial pad based on the response returned by the communication management module.

[0151] The embodiment of the present application provides an electronic device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the technical solution in the above method embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.

[0152] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device includes a processor 901, a communication line 904 and at least one communication interface ( Fig. 9 The communication interface 903 is used as an example for explanation).

[0153] The processor 901 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0154] Communications link 904 may include circuitry to transmit information between the above-described components.

[0155] The communication interface 903 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, WLAN, etc.

[0156] In some embodiments, the electronic device may further include a memory 902 .

[0157] The memory 902 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a communication line 904. The memory may also be integrated with the processor.

[0158] The memory 902 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 901. The processor 901 is used to execute the computer-executable instructions stored in the memory 902, thereby implementing the method provided by the embodiment of the present application.

[0159] The computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which is not specifically limited in the embodiments of the present application.

[0160] As an example, the processor 901 may include one or more CPUs.

[0161] As an example, an electronic device may include multiple processors. Each processor may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0162] The embodiment of the present application provides a chip or a chip system. The chip or chip system includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.

[0163] Fig.10 A schematic diagram of the structure of a chip provided in an embodiment of the present application. Fig.10 As shown, the chip 1000 includes at least one processor 1020 and a communication interface 1030. The communication interface 1030 and the at least one processor 1020 are interconnected through a line, and the at least one processor is used to run a computer program or instruction to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.

[0164] In some embodiments, memory 1040 stores the following elements: executable modules or data structures, or a subset of executable modules or data structures, or an extended set of executable modules or data structures.

[0165] In the embodiment of the present application, the memory 1040 may include a read-only memory and a random access memory, and provide instructions and data to the processor 1020. A portion of the memory 1040 may also include a non-volatile random access memory (NVRAM).

[0166] In the embodiment of the present application, the memory 1040, the communication interface 1030 and the memory 1040 are coupled together through the bus system 1010. The bus system 1010 may include a power bus, a control bus and a status signal bus in addition to a data bus. Fig.10 Various buses are labeled as bus system 1010 .

[0167] The method described in the above embodiment of the present application can be applied to the processor 1020, or implemented by the processor 1020. The processor 1020 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the processor 1020. The above processor 1020 can be a general-purpose processor (for example, a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates, transistor logic devices or discrete hardware components. The processor 1020 can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0168] The embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program runs on a computer, the computer executes the technical solution in the above method embodiment. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.

[0169] The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another. The storage medium may be any target medium that can be accessed by a computer.

[0170] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave), the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.

[0171] The embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the technical solution in the above method embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.

[0172] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0173] The above specific implementation methods further explain in detail the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above are only specific implementation methods of the embodiments of the present application and are not used to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. A method for activating a dial, characterized in that: include: After the electronic device system is upgraded, when it is turned on or restarted for the first time, the electronic device executes an initialization process; After the initialization process is completed, the electronic device obtains and records first information through the first dial, where the first information is used to indicate that the first dial is a default dial; In response to the operation of starting the first dial, the electronic device displays a first interface, where the first interface includes the first dial.

2. The method according to claim 1, characterized in that The electronic device includes a communication service; when the electronic device is powered on or restarted for the first time after the system is upgraded, the electronic device obtains and records first information through a first dial, including: When the electronic device is powered on or restarted for the first time after the system is upgraded, the electronic device initializes the first dial and the communication service; After the communication service is initialized, the first dial obtains the first information from the communication service; The first dial records the first information in the memory of the electronic device.

3. The method according to claim 2, characterized in that After the communication service is initialized, the first dial acquires the first information from the communication service, including: After the communication service is initialized, the communication service sends a notification message to the first dial, where the notification message includes the first information.

4. The method according to claim 2, characterized in that: After the communication service is initialized, the first dial acquires the first information from the communication service, including: After the communication service is initialized, the first dial sends a first query request to the communication service, where the first query request is used to query information of the default dial; The electronic service sends a first query response to the first dial in response to the first query request, the first query response including the first information.

5. The method according to claim 4, characterized in that The first dial sends a first query request to the communication service, including: At a first opportunity, the first dial sends the first query request to the communication service; The first timing includes at least one of the following: when the screen of the electronic device is unlocked for the first time; when the first dial is started for the first time.

6. The method according to any one of claims 2 to 5, characterized in that: The electronic device further includes a telephone application and a communication management module, and the electronic device initializes the first dial, including: The electronic device initializes the phone application; The phone application sends a first message to the first dial, where the first message is used to pull up the first dial; The first dial pad sends a second query request to the communication service through the communication management module in response to the first message, wherein the second query request is used to query information of a default dial pad; The communication management module sends a second query response to the first dial, wherein the second query response does not indicate information of the default dial; The first dial pad records second information in the memory based on the second query response, where the second information is used to indicate that the first dial pad is not a default dial pad.

7. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 6.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 6.

9. A chip system, characterized in that: The method comprises at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected via a line, and the at least one processor is used to run a computer program or instruction to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The method comprises a computer program which, when being executed, causes a computer to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Mobile terminal as well as method and system for starting emergency application thereof

    CN101299848A

  • Mobile terminal and method and system for mobile terminal to skip setup wizard

    CN107979690A

  • Operating system setting recovery method, apparatus and device, and storage medium

    CN111708579A

  • Visual voice mailbox service starting method and electronic equipment

    CN116055643A

  • Interface display method, electronic equipment and chip system

    CN117579738A