Method, device and medium for application switching
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsJiankai Zhao, Xiehao Bao, Wankun Yang
Life of this patent
Estimating the term…
Abstract
A method and device for application switching, and a medium are provided. The method includes: identifying an incoming call number to obtain a number type of the incoming call number; during the call, determining an application to be used according to the number type; displaying on a display interface prompt information of application switching; and when detecting a switching confirmation operation, displaying a main page of the application on the display interface.
Claims12
A method for application switching, applied in a terminal device, the method comprising:
- identifying an incoming call number from which an incoming call is initiated;
- if a number stored in a local contact list is consistent with the incoming call number, obtaining name identification matching the incoming call number from the local contact list;
- if no number stored in the local contact list is consistent with the incoming call number, sending the incoming call number to a yellow page server, wherein the yellow page server stores corresponding relationships between a plurality of numbers and name identification, and receiving the name identification returned by the yellow page server;
- automatically determining, based on the name identification and on a set of pre-set and pre-stored rules, a number type of the incoming call number according to whether the name identification was obtained from the local contact list or from the yellow page server;
- during the call, determining an application to be used according to the number type, wherein the determining the application to be used according to the number type comprises:
- determining an application name associated with name identification of the incoming call number if the incoming call number is the yellow page number;
- and
- determining an application indicated by the application name as the application to be used;
- displaying on a display interface prompt information of application switching;
- and
- displaying a main page of the application on the display interface when detecting a switching confirmation operation.
A device for application switching, the device comprising:
- a processor;
- and
- a memory for storing instructions executable by the processor;
- wherein the processor is configured to:
- identify an incoming call number from which an incoming call is initiated;
- if a number stored in a local contact list is consistent with the incoming call number, obtain name identification matching the incoming call number from the local contact list;
- if no number stored in the local contact list is consistent with the incoming call number, send the incoming call number to a yellow page server, wherein the yellow page server stores corresponding relationships between a plurality of numbers and name identification, and receive the name identification returned by the yellow page server;
- automatically determine, based on the name identification and on a set of pre-set and pre-stored rules, a number type of the incoming call number according to whether the name identification was obtained from the local contact list or from the yellow pane server;
- during the call, determine an application to be used according to the number type, wherein the determining the application to be used according to the number type comprises:
- determining an application name associated with name identification of the incoming call number if the incoming call number is the yellow page number;
- and
- determining an application indicated by the application name as the application to be used;
- display on a display interface prompt information of application switching;
- and
- display a main page of the application on the display interface when detect a switching confirmation operation.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a terminal, causes the terminal to perform a method for application switching, the method comprising:
- identifying an incoming call number from which an incoming call is initiated;
- if a number stored in a local contact list is consistent with the incoming call number, obtaining name identification matching the incoming call number from the local contact list;
- if no number stored in the local contact list is consistent with the incoming call number, sending the incoming call number to a yellow page server, wherein the yellow page server stores corresponding relationships between a plurality of numbers and name identification, and receiving the name identification returned by the yellow page server;
- automatically determining, based on the name identification and on a set of pre-set and pre-stored rules, a number type of the incoming call number according to whether the name identification was obtained from the local contact list or from the yellow pane server;
- during the call, determining an application to be used according to the number type, wherein the determining the application to be used according to the number type comprises:
- determining an application name associated with name identification of the incoming call number if the incoming call number is the yellow page number;
- and
- determining an application indicated by the application name as the application to be used;
- displaying on a display interface prompt information of application switching;
- and
- displaying a main page of the application on the display interface when detecting a switching confirmation operation.
Dependencies are inferred from the claim text.