Interface display method and terminal equipment
By displaying the option of turning off the flight mode on the terminal device, the problem of users needing to manually turn off the flight mode by dialing non-emergency numbers in flight mode in flight mode is solved, simplifying the operation process and improving the user experience.
Patent Information
- Application Number
- CN202310615698.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
When the terminal device is in flight mode, the user needs to manually turn off the flight mode by dialing a non-emergency number, resulting in a reduced call efficiency and affecting the user experience.
An interface display method is provided. By displaying the option of turning off the flight mode on the terminal device, the user can directly turn off the flight mode, simplify the operation process, and avoid reminding the user to turn off the flight mode multiple times when the reason for disconnection is empty.
It improves the efficiency of users making calls in flight mode, simplifies the operation process, and improves the user experience.
Smart Images

Figure CN119031067A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of call technology, and in particular to an interface display method and terminal equipment. Background Art
[0002] With the development of communication technology, terminal devices have become the most important tools for people to communicate. Take mobile phones as an example. When the mobile phone is in flight mode, if the mobile phone detects that the user dials an emergency number (such as 119, 120, etc.), the flight mode can be automatically turned off and an emergency call can be initiated. If the mobile phone detects that the user dials a non-emergency number, it will remind the user to turn off the flight mode to make a call; in this case, if the user needs to exit the call and turn off the flight mode by himself, it will reduce the call efficiency and greatly affect the user experience. Summary of the invention
[0003] The embodiments of the present application provide an interface display method and a terminal device for simplifying the operation of turning off the flight mode for users and improving the user experience.
[0004] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0005] In the first aspect, the present application provides an interface display method, which is applied to a terminal device, and the method includes: displaying a first interface at a first time point, the first interface including a dial button and a first icon, the first icon indicating that the terminal device is in flight mode; in response to the user inputting a target number on the first interface, displaying the target number on the first interface, the target number is a non-emergency number; in response to the user clicking the dial button on the first interface, displaying a second interface, the second interface including prompt information and a first option, the prompt information is used to prompt to turn off the flight mode; after the user clicks the dial button, at a second time point, obtaining a description of the disconnection reason, the description of the disconnection reason is empty, between the first time point and the second time point, the terminal device is in flight mode, and only receives one user click on the dial button, the second time point is later than the first time point; in response to the user clicking the first option on the second interface, displaying a third interface, the third interface does not include the first icon. Wherein, the third interface does not include the first icon to indicate that the terminal device is not in flight mode.
[0006] Among them, the first time point is the time point when the first interface is displayed, and the second time point is the time point when the description of the disconnection reason is obtained. The first time point and the second time point can be any time point. That is to say, when the terminal device is in flight mode and the target number dialed by the user is a non-emergency number, the terminal device can display a second interface including the first option. In this way, the user can quickly turn off the flight mode through the first option. In addition, based on the fact that the description of the disconnection reason is empty, the terminal device will not display the preset application's pop-up box for reminding the user to turn off the flight mode again, avoiding the inconvenience caused to the user by the terminal reminding the user to turn off the flight mode multiple times.
[0007] In an implementation provided in the first aspect, the third interface includes a target number and a second icon, and the second icon indicates that the terminal device is connected to the operator network. That is, after the user clicks the dial button, the terminal device can directly display the third interface for the user to quickly redial the target number without the user having to re-enter the target number.
[0008] In an implementation manner provided in the first aspect, the method further includes: obtaining a reason value of the disconnection reason, and the reason value of the disconnection reason is POWER OFF. That is, the disconnection reason includes not only a description (value) but also a reason value. When the terminal device is in flight mode and the target number dialed by the user is a non-emergency number, the terminal device can set the disconnection reason to POWER OFF.
[0009] In an implementation method provided in the first aspect, the first interface is an interface of a dialing application, and in response to the user clicking a dial button on the first interface, a second interface is displayed, including: in response to the user clicking a dial button on the first interface, when the target number is a non-emergency number, the terminal device is in flight mode, and the dialing application is a preset application, the second interface is displayed.
[0010] In an implementation manner provided in the first aspect, after displaying the second interface, the method further includes: setting the description in the disconnection reason to empty.
[0011] In an implementation provided by the first aspect, in response to a user clicking a dial button on the first interface, a second interface is displayed, including: in response to the user clicking a dial button on the first interface, a connection object is created; based on a failure to create the connection object, a disconnection reason is generated, and the description of the disconnection reason includes prompt information; when the dialing application is a preset application, the second interface is displayed based on the description of the disconnection reason.
[0012] In an implementation manner provided in the first aspect, the failure to create the connection object is based on the target number being an emergency number and the terminal device being in flight mode.
[0013] In an implementation manner provided in the first aspect, the method further includes: when the dialing application is not a preset application or the terminal device is not in airplane mode, setting the description in the disconnection reason to a preset value.
[0014] In an implementation manner provided in the first aspect, based on the description of the disconnection reason being empty, the terminal device does not display the second pop-up box, and the second pop-up box is a pop-up box of a preset application.
[0015] In a second aspect, the present application also provides an interface display method, which is applied to a terminal device, and the method includes: during a call on the terminal device, in response to receiving an operation by a user to turn on the airplane mode, turning on the airplane mode and ending the call; if the dialing application is a preset application, displaying a first pop-up box, the first pop-up box includes a first option; in response to a user clicking on the first option, turning off the airplane mode; after displaying the first pop-up box, obtaining the reason for disconnection, and the description in the reason for disconnection is empty; in response to determining that the description in the reason for disconnection is empty, not displaying the second pop-up box, and the second pop-up box does not include an option for turning off the airplane mode.
[0016] In a third aspect, the present application provides an interface display method, which is applied to a terminal device, and the method includes: displaying a dialing interface, which is an interface of a dialing application, and the dialing interface includes a dialing button and a target number input by a user; in response to a user clicking the dialing button, when the target number is a non-emergency number, the terminal device is in flight mode, and the dialing application is a preset application, a first pop-up box is displayed, and the first pop-up box includes a first option; in response to the user clicking the first option, the flight mode is turned off; after displaying the first pop-up box, the disconnection reason is obtained, and the description in the disconnection reason is empty; in response to determining that the description in the disconnection reason is empty, the second pop-up box is not displayed, and the second pop-up box does not include an option for turning off the flight mode.
[0017] In an implementation manner provided in the third aspect, the method further includes: creating a connection object in response to a user clicking a dial button; and generating a disconnection reason when creation of the connection object fails.
[0018] In an implementation manner provided in the third aspect, the failure to create a connection object includes: the failure to create a connection object when the target number is an emergency number and the terminal device is in an airplane mode.
[0019] In an implementation manner provided by the third aspect, generating a disconnection reason includes: when the dial-up application is a preset application, setting the description in the disconnection reason to empty.
[0020] In an implementation provided by the third aspect, generating a disconnection reason further includes: when the dialing application is not a preset application or the terminal device is not in airplane mode, setting the description in the disconnection reason to a preset value.
[0021] In an implementation provided by the third aspect, in response to a user clicking a dial button, when the target number is a non-emergency number, the terminal device is in flight mode, and the dial application is a preset application, a first pop-up window is displayed, including: in response to a user clicking a dial button, a call interface is displayed; wherein, when the target number is a non-emergency number, the terminal device is in flight mode, and the dial application is a preset application, the call interface includes a first pop-up window.
[0022] In a fourth aspect, the present application also provides a terminal device, comprising: a memory, one or more processors; the memory is coupled to the processor; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method of any one of the embodiments of the first aspect to the third aspect.
[0023] In a fifth aspect, the present application also provides a computer-readable storage medium, comprising computer instructions, which, when executed on a terminal device, enable the terminal device to execute a method in any one of the first to third aspects.
[0024] In a sixth aspect, the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute a method in any one of the first to third aspects.
[0025] In a seventh aspect, the present application provides a chip system, which includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by lines. The above chip system can be applied to a terminal device including a communication module and a memory. The interface circuit is used to receive a signal from the memory of the terminal device and send the received signal to the processor, the signal including a computer instruction stored in the memory. When the processor executes the computer instruction, the terminal device can execute the method of any one of the embodiments of the first aspect to the third aspect.
[0026] Among them, the technical effects brought about by any implementation method in the second to seventh aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0028] Figure 2A schematic diagram of a process of turning off the flight mode provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0030] Figure 4 A software architecture block diagram of a terminal device provided in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0032] Figure 6 A schematic diagram of an interface provided in an embodiment of the present application;
[0033] Figure 7 A schematic diagram of another application scenario provided by an embodiment of the present application;
[0034] Figure 8 A schematic diagram of a method for displaying an interface provided in an embodiment of the present application Figure 1 ;
[0035] Fig. 9 A schematic diagram of a method for displaying an interface provided in an embodiment of the present application Figure 2 ;
[0036] Fig.10 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in a "or" relationship.
[0038] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0039] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of 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 "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0040] When the phone is in airplane mode, if the phone detects that the user is calling a non-emergency number, it will remind the user to turn off airplane mode before making the call. TM Google Dialer requires users to exit the call and turn off the airplane mode in the above scenario before they can dial non-emergency numbers normally, which is very inconvenient for users. TM The dial pad is an application with dialing, calling and contact functions. TM When the dialer detects that the user is calling a non-emergency number while in airplane mode, a pop-up window will be displayed to remind the user to turn off airplane mode. TM The dial pad may also be called the first dial pad, native dial pad, preset application, etc.
[0041] The following is an explanation of the application scenarios of the present application in conjunction with the accompanying drawings. Figure 1 As shown in (a), the mobile phone can display interface 101, which can be Google TMIn addition, the icon 102 in the interface 101 indicates that the mobile phone is in flight mode; the interface 101 also includes a dial button 103 and a non-emergency number (e.g., 152****0000) input by the user. Optionally, the interface 101 may also include a dial pad for the user to input a number. In response to the user's operation on the dial button 103, the mobile phone may display an interface 104. Figure 1 As shown in (b) of FIG. 1 , the interface 104 includes a pop-up box 105, which includes a reminder message 105a and a cancel option 105b. The reminder message 105a is used to remind the user to turn off the airplane mode to make a call, and the cancel option 105b is used to cancel the call and close the pop-up box 105. In response to the user's operation on the cancel option 105b, the mobile phone can close the pop-up box 105 and redisplay the Google TM The dial pad interface, the Google TM The dial interface can be Figure 1 The interface 106 shown in (c) of FIG. 106 is compared with the interface 101 , and it can be seen that the interface 106 does not include the non-emergency number input by the user.
[0042] In one implementation, the user can turn off the flight mode. For example, the user can pull down the top of the interface 106. In response to the user pulling down the top of the interface 106, the mobile phone can display a pull-down notification bar 107. Figure 2 As shown in (a) of FIG. 1 , the pull-down notification bar 107 includes icons for options such as mute, Bluetooth, and flight mode 108, wherein the flight mode icon 108 indicates that the mobile phone has turned on the flight mode. The mobile phone can receive an operation of the user on the flight mode 108 option, and in response to the operation, the mobile phone turns off the flight mode. And, Figure 2 As shown in (b) of FIG. 1 , the mobile phone can also update the icon of the flight mode 108 to indicate that the flight mode has been turned off. Based on this, the user can close the pull-down notification bar 107 (for example, slide up the pull-down notification bar 107) and make a new call. Exemplarily, in response to the user closing the pull-down notification bar 107, the mobile phone can redisplay the dial interface. Exemplarily, the dial interface can be Figure 2 The interface 109 shown in (c) in the figure can be used for the user to redial the number. The icon 110 in the interface 109 is used to indicate that the mobile phone has been connected to the operator's network, that is, the mobile phone has turned off the flight mode.
[0043] It can be seen that in the above scenario, if the user turns off the flight mode and makes a call again, he needs to go through at least four steps: closing the pop-up window 105, entering the entrance to set the flight mode (such as pulling down the notification bar 107), turning off the flight mode, and returning to the dialing interface. The operation is relatively cumbersome.
[0044] In view of this, an embodiment of the present application provides an interface display method, in which a first pop-up window can be displayed when a terminal device is in flight mode and a user calls a non-emergency number. The first pop-up window includes a close option. In response to the user's operation on the close option, the terminal device can directly close the flight mode so that the user can continue the call operation. The embodiment of the present application directly closes the flight mode through the close option, thereby simplifying user operations and improving user experience.
[0045] It should be noted that the terminal device provided in the embodiments of the present application may be a mobile phone, a tablet computer, a computer, a laptop computer, a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device and / or a smart city device, and the embodiments of the present application do not impose any special restrictions on the specific type of the terminal device.
[0046] Figure 3 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 3 As shown, the terminal device may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0047] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0048] The controller can be the nerve center and command center of the terminal device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0049] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0050] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0051] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the terminal device. In other embodiments, the terminal device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0052] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142, it can also power the terminal device through the power management module 141.
[0053] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. In some embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0054] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor. In some embodiments, antenna 1 and mobile communication module 150 of the terminal device are coupled, and antenna 2 and wireless communication module 160 are coupled, so that the terminal device can communicate with the network and other devices through wireless communication technology.
[0055] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0056] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to terminal devices. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
[0057] The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the same device as at least some modules of the processor 110.
[0058] The wireless communication module 160 can provide wireless communication solutions including WLAN (such as (wirelessfidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), nearfield communication technology (nearfield communication, NFC), infrared technology (infrared, IR), etc. applied to the terminal device.
[0059] The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 may also receive a signal to be sent from the processor 110, modulate the signal, amplify the signal, and convert it into an electromagnetic wave for radiation via the antenna 2.
[0060] The terminal device implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0061] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.
[0062] The terminal device can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor. The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture a static image or a video. In some embodiments, the terminal device may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0063] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0064] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the terminal device by running the instructions stored in the internal memory 121. For example, in an embodiment of the present application, the processor 110 may execute instructions stored in the internal memory 121, and the internal memory 121 may include a program storage area and a data storage area.
[0065] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0066] The terminal device can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. For example, music playback, recording, etc. The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, or for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195, or pulled out from the SIM card interface 195 to achieve contact and separation with the terminal device. The terminal device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
[0067] Among them, the above-mentioned sensor module 180 may include sensors such as pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor and bone conduction sensor.
[0068] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device. In other embodiments, the terminal device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0069] The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Here, the software structure of the terminal device is exemplified.
[0070] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through interfaces. In some embodiments, the terminal device may include an application layer, an application framework layer, and a hardware abstraction layer (HAL). It should be noted that the embodiments of the present application are used as examples to illustrate that in different operating systems (such as Android TM system, IOS system, etc.), as long as the functions implemented by each functional module are similar to the embodiments of the present application, the solution of the present application can also be implemented.
[0071] The application layer can include a series of applications. Figure 4 As shown, the application layer may include applications such as dialer, telecom service, and teleservice. Optionally, the application layer may also include settings, gallery, calendar, call, and other applications, which are not limited in this application.
[0072] Among them, the dial pad is an application with dialing, calling and contact functions. Users can use this application to dial, call, manage contacts and other operations.
[0073] The call management service is used to manage calls (also called calls), such as caller ID, answering calls, hanging up calls, etc.
[0074] The call service can interact with the HAL layer to implement basic call functions. The call service can also interact with the call management service to receive dial requests initiated by the dial pad through the call management service, or send incoming call information reported by the underlying modem to the dial pad through the call management service.
[0075] The application framework layer provides application programming interface (API) and programming framework for the application programs in the application layer. The application framework layer includes some predefined functions. For example, it may include a telecom framework, a teleservice framework, etc. Among them, the telecom framework is used to provide services and interfaces related to telecom management. The teleservice framework is used to provide interfaces and services related to telecom services.
[0076] The HAL layer is an encapsulation of the Linux kernel driver, providing an interface to the upper layer and shielding the implementation details of the underlying hardware. In an embodiment of the present application, the HAL layer may include a radio interface layer (RIL). The RIL is an abstract layer between the call service framework and the modem, which may be responsible for the reliable transmission of data, the response between the management call service framework and the modem, the control modem driver, and the information and instructions actively reported by the transmission modem.
[0077] The hardware layer includes modem, which is used to realize functions such as making calls and surfing the Internet.
[0078] The following uses a mobile phone as an example of a terminal device to illustrate the interface display method provided in an embodiment of the present application.
[0079] In an optional implementation, the mobile phone can display a dialing interface (also referred to as a first interface), which is an interface of a dialing application (also referred to as a dial pad). The dialing interface includes a dialing button and a target number input by the user.
[0080] In response to the user clicking the dial button, when the target number is a non-emergency number, the terminal device is in flight mode, and the dialing application is a preset application, a first pop-up box is displayed, the first pop-up box includes a first option. The first option can be used to turn off the flight mode.
[0081] For example, the dialing interface may be as follows: Figure 5 The interface 501 shown in (a) in FIG. 5 may be a Google TM In addition, the icon 502 (also referred to as the first icon) in the interface 501 indicates that the mobile phone is in flight mode; the interface 501 also includes a dial button 503 and a non-emergency number (for example, 152****0000) input by the user, a dial pad for the user to input numbers, etc. In response to the user's operation on the dial button 503, the mobile phone can display an interface 504 (also referred to as a second interface). Figure 5As shown in (b) of FIG. 5 , the interface 504 includes a pop-up box 505 (i.e., the first pop-up box), and the pop-up box 505 includes a reminder message 505a, a cancel option 505b, and a close option 505c (i.e., the first option). The user can turn off the flight mode by clicking the close option 505c. In response to the user's click operation on the close option 505c, an interface 506 (also referred to as a third interface) is displayed. Figure 5 As shown in (c) of FIG. 5 , the interface 506 includes an icon 507, a dial pad 508, and a dial button 503. The icon 507 is used to indicate that the mobile phone has been connected to the operator's network. The interface 506 does not include the icon 502, indicating that the mobile phone has turned off the flight mode (not in the flight mode). The user can re-enter the target number through the dial pad 508 and operate the dial button 503 to call the target number. After the user clicks the close option 505c, the mobile phone will turn off the flight mode.
[0082] Optionally, in response to the user's operation on the close option 505c, the mobile phone turns off the airplane mode and displays the following information: Figure 6 The interface 601 shown in (a) in FIG. The difference between the interface 601 and the interface 506 is that the interface 601 also includes the non-emergency number in the interface 501, so that the user can make a call directly without re-entering the number, simplifying the user's dialing operation.
[0083] Optionally, in response to the user's operation on the close option 505c, the mobile phone turns off the flight mode and calls the non-emergency number previously input by the user. And, the mobile phone can also display Figure 6 The interface 602 shown in (b) indicates that the mobile phone is calling the non-emergency number input by the user. This method does not require the user to re-enter the number and redial, which is simpler and more convenient.
[0084] It should be noted that after the mobile phone detects the user's operation on the closing option 505c, other interfaces can also be displayed. There is no specific limitation here, as long as the mobile phone can turn off the airplane mode in response to the user's operation on the closing option 505c.
[0085] In another optional implementation, if the mobile phone receives an operation from the user to turn on the airplane mode while a call is in progress, the mobile phone may also display a first pop-up window, wherein the call is between the local number and a non-emergency number.
[0086] For example, Figure 7 As shown in (a) of FIG. 1 , the mobile phone may display an interface 701, which indicates that the mobile phone is calling a target number (e.g., 152****0000). Optionally, the interface 701 may also include icons for options such as recording, waiting, adding, and hanging up. In response to the user pulling down the top of the interface 701, the mobile phone may display a pull-down notification bar 702. Figure 7 As shown in (b) of FIG. 1 , the pull-down notification bar 702 includes icons for options such as mute, Bluetooth, and flight mode 703, wherein the flight mode icon 703 indicates that the mobile phone is not in flight mode. In response to the user's operation on the flight mode icon 703, the mobile phone can turn on the flight mode, hang up the call, and display interface 704. Figure 7 As shown in (c) of FIG. 7 , the interface 704 is an interface of a dial pad application, and the interface 704 also includes a pop-up box 705 (i.e., a first pop-up box), and the pop-up box 705 includes a reminder message 705a, a cancel option 705b, and a close option 705c. In response to the user clicking the close option 705c, the mobile phone turns off the flight mode.
[0087] It can be seen that the interface display method provided in the embodiment of the present application can be applied to dialing scenarios and call scenarios. The following will illustrate the specific implementation method of the interface display method provided in the embodiment of the present application in the dialing scenario and call scenario with reference to the accompanying drawings.
[0088] Figure 8 A schematic diagram of a method for displaying an interface provided in an embodiment of the present application Figure 1 , the interface display method can be Figure 3 The terminal device shown in FIG. Figure 5 The specific implementation method in the dial-up scenario is shown in FIG. Figure 8 As shown, the interface display method includes:
[0089] S801, in response to a user's dialing operation, the dial pad sends a dialing request to a telecom (call management) service.
[0090] The dial request carries the target number called by the user.
[0091] For example, the user's dialing operation may be Figure 5 In (a) , the user clicks the dial button 503.
[0092] It should be noted that, in the embodiment of the present application, the dial pad can implement the transmission of the dial request by way of function call.
[0093] S802: The telecom service adds a new call object and records the status of the call object.
[0094] In response to the dial request, the telecom service may create a new call object (i.e., call object). A new call object is created to add a new call. The call object has the ability to manage a call, including answering, rejecting, holding, hanging up, etc. The state of the call object may include the state of the call, such as dialing, not connected, connected, hung up, etc. The state of the call object also includes whether to notify the UI to refresh, whether to establish a connection, etc.
[0095] Optionally, the telecom service may also assign a call ID to the call object to facilitate management of the state of the call object.
[0096] S803, the telecom service sends an instruction to the dial pad to create a call interface.
[0097] The instruction to create a call interface carries the target number and the call status, which is used to notify the dialer to create the call interface. Optionally, the instruction to create a call interface may also include a call ID. In an optional implementation, the telecom service may notify the dialer to create a call interface through the onSuccessfulOutgoingCall() function.
[0098] S804, the dial pad creates a call interface and displays the call interface.
[0099] In response to receiving the instruction to create a call interface, the dial pad can create a call interface according to the target number and the call status, and display the call interface. The call interface is used to indicate that the number called by the terminal device is the target number and the call status is dialing.
[0100] S805, the telecom service sends a request to initiate a call to the teleservice (call service).
[0101] The request to initiate a call carries a target number for instructing the teleservice to call the target number. In an optional implementation, the telecom service may pass the request to initiate a call to the teleservice via a placeoutgoingcall() function.
[0102] It should be noted that the timing between S803 to S804 and S805 is independent of each other, that is, S803 to S804 can be executed before S805, can also be executed after S805, and can also be executed synchronously with S805, and no specific limitation is made here.
[0103] In response to receiving a request to initiate a call, teleservice may create a connection object so that teleservice sends a dialing instruction to the modem through the RIL to make the modem call the target number. In an embodiment of the present application, the process of teleservice creating a connection object may include S806 to S809. Among them, S806 is used to determine whether a connection object can be created, and S807 to S809 are used to describe the process of creating a disconnection cause (DisconnectCause) when the creation of the connection object fails. S806 to S809 will be described separately below.
[0104] S806, teleservice determines whether the target number is an emergency number and whether the terminal device is in flight mode.
[0105] Among them, emergency numbers are some emergency rescue telephone numbers set up for the convenience of the public to respond to some emergency situations, such as 110, 119, 120, etc. Flight mode is a mode of a terminal device. When the terminal device turns on the flight mode, it will not actively send a paging signal to the base station and will not respond to the user's dialing request. Among them, the terminal device turning on the flight mode can be understood as the terminal device is in flight mode, and the terminal device not turning on (or turning off) the flight mode can be understood as the terminal device is not in flight mode.
[0106] In an embodiment of the present application, teleservice can determine whether a connection object can be created by judging whether the target number is an emergency number and whether the terminal device is in flight mode.
[0107] If the target number is not an emergency number (or a non-emergency number) and the terminal device is in flight mode, the teleservice fails to create a connection object. If the target number is an emergency number or the terminal device is not in flight mode, the teleservice successfully creates a connection object, and the teleservice can further send a dialing instruction to the modem through the call service framework and RIL, which carries the target number. In response to receiving the dialing instruction, the modem calls the target number.
[0108] Among them, the target number is an emergency number or the terminal device does not turn on the flight mode, which may include three situations: (1) the target number is not an emergency number and the terminal device does not turn on the flight mode; (2) the target number is an emergency number and the terminal device does not turn on the flight mode; (3) the target number is an emergency number and the terminal device turns on the flight mode.
[0109] In an optional implementation, emergency number information is pre-stored in the terminal device, and the emergency number information includes an emergency number pre-configured on the terminal device and / or an emergency number provided by the operator after the terminal device accesses the operator's network. Teleservice can determine whether the target number can be queried in the emergency number information. If teleservice can query the target number from the emergency number information, it can be determined that the target number is an emergency number; if teleservice cannot query the target number from the emergency number information, it can be determined that the target number is a non-emergency number.
[0110] In addition, teleservice can also determine whether the terminal device has turned on the flight mode based on the flight mode status information. Exemplarily, the flight mode status information may include "radio on" and "radio off". If the flight mode status information is "radio on", it means that the terminal device has not turned on the flight mode; if the flight mode status information is "radio off", it means that the terminal device has turned on the flight mode. In other embodiments, other information can also be used to represent "radio on" and "radio off". Exemplarily, "0" can be used to represent "radio off" and "1" can be used to represent "radio on", and no specific limitation is made here.
[0111] It should be noted that S806 indicates that the teleservice needs to make two judgments: whether the target number is an emergency number and whether the terminal device is in flight mode. It does not limit the order in which the two judgments are performed. For example, the teleservice can judge whether the target number is an emergency number and whether the terminal device is in flight mode, or the teleservice can first judge whether the target number is an emergency number and then judge whether to turn on flight mode, or the teleservice can first judge whether to turn on flight mode and then judge whether the target number is an emergency number. No specific restrictions are made here.
[0112] In the embodiment of the present application, if the target number is not an emergency number and the terminal device turns on the flight mode, teleservice can execute S807.
[0113] In the embodiment of the present application, if the target number is not an emergency number and the terminal device is in flight mode, the teleservice fails to create a connection object. In the case of failure to create a connection object, the teleservice needs to further create a disconnection reason (DisconnectCause).
[0114] In the embodiment of the present application, the disconnection reason (DisconnectCause) includes a code (code) and a description (description).
[0115] Wherein, code refers to the code of the disconnection reason, which is used to indicate the specific reason for the disconnection / failure to create a connection. For example, the code can be any one of the codes such as "UNKOWN", "ERROR", "LOCAL", "RESTRICTED", etc. Wherein, the code "UNKOWN" indicates that the connection is disconnected due to an unknown or unspecified reason; the code "ERROR" indicates that the connection is disconnected due to an error (such as a network problem); the code "LOCAL" indicates that the connection is disconnected due to an operation initiated by a local user (such as hanging up); the code "RESTRICTED" indicates that the connection is disconnected due to restrictions on making calls, such as dialing in airplane mode. Wherein, different codes can be represented by different values, for example, 0 represents "UNKOWN", 1 represents "ERROR", 2 represents "LOCAL", 8 represents "RESTRICTED", etc.
[0116] Description refers to a localized description to be displayed to the user to explain the disconnection, such as "Turn off airplane mode to call a phone number". In an embodiment of the present application, the terminal device can first set the description to a preset value, such as "Turn off airplane mode to call a phone number", so that the subsequent dialer can pop up a reminder based on the description.
[0117] Optionally, the disconnection reason (DisconnectCause) may also include information such as a label (label), a reason value (reason), etc. The label (label) refers to a localized label to be displayed to the user to explain the disconnection, and the label may be displayed in the user interface. The reason value (reason) refers to the reason for the disconnection, such as "making a call in airplane mode".
[0118] In the embodiment of the present application, the process of creating a disconnection reason by teleservice may include S807 to S809. Among them, S807-S808 are used to determine whether to create and display a first pop-up box, which is used to remind the user to turn off the flight mode to make a call and provide the user with an entry to quickly turn off the flight mode; S809 is used to describe how teleservice sets various information in the disconnection reason. S807 to S809 will be described separately below.
[0119] However, in actual applications, teleservice can create DisconnectCause not only when it is determined that the target number is not an emergency number and the terminal device is in flight mode, but also in many other situations. For example, teleservice can also disconnect when a network failure occurs and create a disconnection reason (i.e., teleservice creates a disconnection reason in response to determining a network failure); for another example, teleservice can disconnect when the user actively hangs up the phone and create a disconnection reason (i.e., teleservice creates a disconnection reason in response to the user's hang-up operation).
[0120] The first pop-up box in this application is the need to open the dial pad for Google TM The pop-up box is displayed only when the dial pad is on and the terminal device is in flight mode. Therefore, when creating the disconnection reason, teleservice can first determine whether the conditions for displaying the first pop-up box are met.
[0121] S807, teleservice determines whether the dial pad is Google TM Whether the dial pad and terminal device are in flight mode.
[0122] Among them, Google TM Although the dial pad will display a pop-up window when the target number is not an emergency number and the terminal device is in flight mode, the pop-up window does not contain an option for the user to turn off flight mode, such as Figure 1 Hit frame 105.
[0123] In an optional implementation, teleservice can read the system configuration information to obtain the dial pad identifier, and determine whether the dial pad is Google TM Dial pad. Exemplarily, the dial pad may include Google TM Dial pads and self-developed dial pads by manufacturers, including Google TM The dial pad identifier can be "1", and the dial pad identifier of the manufacturer's self-developed dial pad can be "0". If the dial pad identifier obtained by teleservice is "1", it can be determined that the dial pad is Google TM Dial pad; if the dial pad identifier obtained by teleservice is "0", it can be determined that the dial pad is not Google TM A dial pad (for example, a dial pad developed by a manufacturer).
[0124] In addition, the teleservice also needs to determine whether the terminal device is in flight mode. For the process of determining whether the terminal device is in flight mode, please refer to S806, which will not be described in detail here.
[0125] In the embodiment of the present application, if the dial pad is Google TM dial pad and the terminal device is in flight mode, teleservice can execute S808; if the dial pad is not Google TM If the dial pad or terminal device is not in flight mode, teleservice can execute S809.
[0126] S808, teleservice displays the first pop-up box on the call interface.
[0127] In response to determining that the dial pad is Google TM When the dial pad is on and the terminal device turns on the flight mode, teleservice displays the first pop-up box on the call interface. The first pop-up box includes a reminder message, a cancel option, and a close option. Among them, the reminder message is used to prompt the user to turn off the flight mode to make a call, the close option is used to turn off the flight mode, and the cancel option is used to close the first pop-up box.
[0128] Exemplarily, the first pop-up window may be Figure 5 In the pop-up box 505 shown in (b), the reminder information may be reminder information 505a, the close option may be close option 505c, and the cancel option may be cancel option 505b. In response to the user clicking on close option 505c, the terminal device turns off the flight mode, for example, the flight mode status information may be set to "radio off". In response to the user clicking on cancel option 505b, the terminal device displays Google TM The dial interface, for example Figure 1 In addition, after the user clicks the cancel option 505b, the terminal device closes the pop-up box 505, that is, the pop-up box 505 is not displayed.
[0129] In an embodiment of the present application, the teleservice may display the first pop-up box based on the description of the disconnection reason. The reminder information on the first pop-up box may be a description of the disconnection reason, such as "turn off the airplane mode to make a call."
[0130] S809, teleservice sets the description in the disconnection reason to null.
[0131] That is, if the dial pad is Google TMIf the dial pad is on and the terminal device turns on the airplane mode, the terminal device can also set the description in the disconnection reason to null to avoid the dial pad pop-up window reminding the user to turn off the airplane mode again.
[0132] In an optional implementation, if the dial pad is not Google TM If the flight mode is not enabled on the dial pad or the terminal device, teleservice may not reset the description in the disconnection reason, that is, keep the description in the disconnection reason as the preset value, so that the dial pad can pop up a reminder based on the description in the future.
[0133] Optionally, teleservice may set the reason value in the disconnection reason to POWER OFF (power interruption), where POWER OFF is used to indicate that the modem is in a powered-off state.
[0134] In an optional implementation, the disconnection cause (DisconnectCause) may be expressed in the form of [Code:()Label:()Description:()Reason:(radio off)]. For example, teleservice may create a DisconnectCause, the content of which is [Code:(RESTRICTED)Label:()Description:()Reason:(POWER OFF)], where the DisconnectCause indicates that the disconnection code is "RESTRICTED", the reason value is "POWER OFF", and both Label and Description are empty.
[0135] S810, teleservice sends an instruction to update the call status to the telecom service.
[0136] The instruction for updating the call status includes the disconnection reason and the call ID.
[0137] S811, the telecom service updates the status of the call partner.
[0138] In response to receiving the connection response, the telecom service may update the status of the corresponding call object according to the disconnection reason and the call ID.
[0139] It should be noted that the telecom service may print a log after receiving a connection response, and the log may record the disconnection reason received by the telecom service.
[0140] S812, the telecom service sends the disconnection reason to the dial pad.
[0141] In the embodiment of the present application, the telecom service may pass the disconnection reason to the dial pad by calling back the dial pad.
[0142] S813, the dialer determines whether the code in the disconnection reason is a preset code and whether the description in the disconnection reason is empty.
[0143] Currently, Google TM The native logic of the dial pad is: when the code of the disconnection reason is "ERROR" or "RESTRICTED" and the description in the disconnection reason is not empty, the second pop-up box is displayed. The second pop-up box is, for example, Figure 1 The pop-up box 105 shown in (b) in FIG. 100 . In the embodiment of the present application, the preset code may be “ERROR” and “RESTRICTED”.
[0144] That is, the dial pad determines whether to display the second pop-up box by judging whether the code in the disconnection reason is a preset code and whether the description in the disconnection reason is empty.
[0145] If the code in the disconnection reason is a preset code and the description in the disconnection reason is not empty, the dial pad displays a second pop-up box, which includes the description in the disconnection reason. Figure 1 In the pop-up box 105 shown in (b), the reminder information 105a in the pop-up box 105 may be the content described in the disconnection reason.
[0146] If the code in the disconnection reason is not a preset code, or the description in the disconnection reason is empty, the dial pad executes S815 (ie, the second pop-up box is not displayed).
[0147] S814, the dial pad does not display the second pop-up window.
[0148] In the embodiment of the present application, since the teleservice sets the description of the disconnection reason to be empty in S809, the dialer can determine that the description in the disconnection reason is empty in S814, and then no longer display the second pop-up box. In this way, the terminal device can avoid displaying pop-ups multiple times to avoid the user's bad experience.
[0149] Fig. 9 A schematic diagram of a method for displaying an interface provided in an embodiment of the present application Figure 2 , the interface display method can be Figure 3 The terminal device shown in FIG. Figure 7 The specific implementation method in the call scenario shown in FIG. Fig. 9 As shown, the interface display method includes:
[0150] S901, in response to a user's operation of turning on the airplane mode, the configuration application sends a power-off instruction to a modem.
[0151] Exemplarily, the user's operation of turning on the flight mode may be the user's operation on the flight mode icon 703 in the pull-down notification bar 702, or the user's operation of turning on the flight mode in a settings application.
[0152] The configuration application may send a power-off instruction to the modem through the application framework layer and the RIL.
[0153] S902: The modem determines whether the terminal device is currently in a call.
[0154] In an optional implementation, the modem can determine whether there is a call object in the call list. If there is a call object in the call list, it means that the terminal device is currently in a call; if there is no call object in the call list, it means that the terminal device is not in a call.
[0155] If the terminal device is currently in a call, the modem may execute S903; if the terminal device is not currently in a call, the modem may be powered off directly.
[0156] S903: The modem hangs up the call and generates status change information.
[0157] The state change information carries the call ID and the reason for hanging up. In the embodiment of the present application, the call is hung up because the flight mode is turned on, and the reason for hanging up can be set to "radio off".
[0158] S904: The modem sends status change information to the teleservice.
[0159] The modem may send status change information to the teleservice through the call service framework of the RIL and application framework layers.
[0160] S905, teleservice determines whether the dial pad is Google TM Whether the dial pad and terminal device are in flight mode.
[0161] In response to receiving the status change information, teleservice can further create a disconnection reason (DisconnectCause). As mentioned above, many situations will cause teleservice to create DisconnectCause, and the first pop-up box only needs to be displayed in specific scenarios. Therefore, teleservice needs to determine whether the dial pad is Google TM Dial pad and determine whether the terminal device is in flight mode.
[0162] Among them, teleservice determines whether the dial pad is Google TM The process of whether the dial pad and the terminal device are in flight mode can be found in S806 and S807, which will not be described in detail here.
[0163] S906, teleservice displays the first pop-up box on the call interface.
[0164] S907, teleservice sets the description in the disconnection reason to null.
[0165] S908, teleservice sends an instruction to update the call status to the telecom service.
[0166] S909: The telecom service updates the status of the call partner.
[0167] S910, the telecom service sends the disconnection reason to the dial pad.
[0168] S911, the dialer determines whether the code in the disconnection reason is a preset code and whether the description in the disconnection reason is empty.
[0169] S912, the dial pad does not display the second pop-up window.
[0170] In summary, in the embodiment of the present application, if the mobile phone receives an operation of the user dialing a non-emergency number when the flight mode is turned on, or the mobile phone receives an operation of the user turning on the flight mode when the mobile phone is talking to a non-emergency number, the mobile phone can display a first pop-up window in response to the operation. Among them, the first pop-up window includes a close option, and the user can use the close option to quickly turn off the flight mode without entering the settings application, the drop-down menu bar, and other interfaces to turn off the flight mode, thereby simplifying the user operation and improving the user experience.
[0171] The present application also provides a terminal device, which includes a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the processor, the terminal device performs each function or step in the above method embodiment. The structure of the terminal device can refer to Figure 3 The structure of the terminal device shown.
[0172] The present application also provides a chip system, such as Fig.10 As shown, the chip system includes at least one processor 1001 and at least one interface circuit 1002. The processor 1001 and the interface circuit 1002 can be interconnected via lines. For example, the interface circuit 1002 can be used to receive signals from other devices (such as a memory of a terminal device). For another example, the interface circuit 1002 can be used to send signals to other devices (such as processor 1001). Exemplarily, the interface circuit 1002 can read instructions stored in the memory and send the instructions to the processor 1001. When the instructions are executed by the processor 1001, the terminal device can execute the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiments of the present application.
[0173] An embodiment of the present application also provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned terminal device, the terminal device executes each function or step executed by the mobile phone in the above-mentioned method embodiment.
[0174] The embodiment of the present application also provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes each function or step executed by the mobile phone in the above method embodiment.
[0175] It is understandable that the terminal device provided in the embodiment of the present application includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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 exceed the scope of the embodiment of the present application.
[0176] The embodiment of the present application can divide the functional modules of the above-mentioned terminal device according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0177] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0178] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0179] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0180] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0181] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0182] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An interface display method, characterized in that: Applied to a terminal device, the method comprises: Displaying a first interface at a first time point, the first interface including a dial button and a first icon, the first icon indicating that the terminal device is in flight mode; In response to a user inputting a target number on the first interface, displaying the target number on the first interface, wherein the target number is a non-emergency number; In response to the user clicking the dial button on the first interface, displaying a second interface, the second interface including prompt information and a first option, the prompt information being used to prompt turning off the flight mode; After the user clicks the dial button, at a second time point, a description of the disconnection reason is obtained, the description of the disconnection reason is empty, between the first time point and the second time point, the terminal device is in flight mode, and only receives one operation of the user clicking the dial button, and the second time point is later than the first time point; In response to a user clicking on the first option of the second interface, a third interface is displayed, and the third interface does not include the first icon.
2. The method according to claim 1, characterized in that The third interface includes the target number and a second icon, and the second icon indicates that the terminal device is connected to the operator network.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: A reason value of the disconnection reason is acquired, where the reason value of the disconnection reason is POWER OFF.
4. The method according to any one of claims 1 to 3, characterized in that: The first interface is an interface of a dialing application, and in response to the user clicking the dialing button on the first interface, displaying the second interface includes: In response to the user clicking the dial button on the first interface, the second interface is displayed when the target number is a non-emergency number, the terminal device is in flight mode, and the dial application is a preset application.
5. The method according to any one of claims 1 to 4, characterized in that After displaying the second interface, the method further includes: Set the description in the disconnect reason to empty.
6. The method according to claim 5, characterized in that The step of displaying the second interface in response to the user clicking the dial button on the first interface comprises: In response to the user clicking the dial button on the first interface, creating a connection object; Based on the failure to create the connection object, generating the disconnection reason, the description of the disconnection reason including the prompt information; In a case where the dial-up application is a preset application, the second interface is displayed based on the description of the disconnection reason.
7. The method according to claim 6, characterized in that The failure to create the connection object is based on the target number being an emergency number and the terminal device being in airplane mode.
8. The method according to any one of claims 1 to 7, characterized in that: Because the description of the disconnection reason is empty, the terminal device does not display a reminder pop-up box, and the reminder pop-up box is a pop-up box of a preset application.
9. An interface display method, characterized in that: Applied to a terminal device, the method comprises: During a call on the terminal device, in response to receiving an operation by a user to turn on the flight mode, turning on the flight mode and ending the call; If the dialing application is a preset application, a first pop-up box is displayed, wherein the first pop-up box includes a first option; In response to the user clicking the first option, turning off the flight mode; After the first pop-up window is displayed, a disconnection reason is obtained, where the description in the disconnection reason is empty; In response to determining that the description in the disconnection reason is empty, not displaying the second pop-up box, and the second pop-up box does not include an option for turning off the airplane mode.
10. A terminal device, characterized in that: The terminal device comprises: a memory and one or more processors; the memory is coupled to the processor; The memory is used to store computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method as described in any one of claims 1-9.
11. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on a terminal device, cause the terminal device to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Airplane mode control method and mobile terminal
CN104935732A
Prompting method and device
CN105391861A
Method for opening airplane mode and intelligent terminal
CN106603808A
Communication control method and related product
CN108429854A
Voice call processing method and device, computer readable medium and electronic equipment
CN109348439A
Cited By
Interface display method and terminal device
EP4648395A1
Interface display method and terminal device
WO2024244636A1
