CN113094070A - Application program switching method and device, storage medium and mobile terminal - Google Patents

Application program switching method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN113094070A
CN113094070A CN202110441793.0A CN202110441793A CN113094070A CN 113094070 A CN113094070 A CN 113094070A CN 202110441793 A CN202110441793 A CN 202110441793A CN 113094070 A CN113094070 A CN 113094070A
Authority
CN
China
Prior art keywords
operator information
application program
current
mobile terminal
matching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110441793.0A
Other languages
Chinese (zh)
Inventor
闫丽娜
郭利平
雷华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202110441793.0A priority Critical patent/CN113094070A/en
Publication of CN113094070A publication Critical patent/CN113094070A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3017Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an application program switching method, an application program switching device, a storage medium and a mobile terminal. According to the invention, the current operator information is inquired and matched in the preset database, when the matching is successful, the application program associated with the current operator information is loaded, and the display state of the application program is updated, so that the aim that the mobile terminal can automatically switch the corresponding application program according to different operator information is fulfilled, and the storage space of the mobile terminal can be saved.

Description

Application program switching method and device, storage medium and mobile terminal
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to an application switching method and apparatus, a storage medium, and a mobile terminal.
Background
The Android native system is used for scanning and loading all application programs prefabricated by current equipment in a unified manner through a package manager service (PackageManagerService) during startup, and the application programs are displayed on a desktop of the mobile terminal. For a mobile terminal that needs to be compatible with multiple operator networks, to load different customized applications under different operator networks, an Original Equipment Manufacturer (OEM) generally provides different software for different networks, or restarts the mobile terminal device to perform a scan installation of a PackageManagerService again by placing an identification card in the mobile terminal. However, one of the two ways is almost impossible for the user to operate, and the other way makes the user have more obvious perception.
In addition, for some cases, for example, a mobile terminal capable of supporting multiple operators, or a large number of applications customized by an operator, or a large memory space occupied by the customized applications itself may require a large memory space occupied by the mobile terminal when loading the customized applications.
Disclosure of Invention
The embodiment of the invention provides an application program switching method, an application program switching device, a storage medium and a mobile terminal, which not only can realize automatic loading of application programs customized by corresponding operators while replacing a mobile terminal identification card, but also can avoid the problem of large storage space occupation of the mobile terminal caused by loading all customized application programs to adapt to different operator networks.
According to an aspect of the present invention, there is provided a program switching method, the method comprising the steps of: monitoring a state change broadcast message of an identification card of the mobile terminal; when the state change broadcast message is received, reading the current operator information of the identification card; inquiring and matching the current operator information in a preset database; and loading an application program associated with the current operator information according to the matching result, and updating the display state of the application program.
Further, the preset database includes: operator information and a list of applications associated with the operator information, wherein the operator information comprises: target operator information and default operator information, the list of applications comprising: a list of target operator applications associated with the target operator information, and a list of default operator applications associated with the default operator information.
Further, in a preset database, the step of querying and matching the current operator information includes: matching the current operator information with the target operator information; when the matching is successful, acquiring an application program associated with the current operator information according to the target operator information and the target operator application program list; and when the matching fails, acquiring the application program associated with the current operator information according to the default operator information and the default operator application program list.
Further, before the step of monitoring the status change broadcast message of the identification card of the mobile terminal, the method comprises the following steps: detecting whether the mobile terminal is started for the first time; and when the mobile terminal is judged to be started for the first time, executing a step of monitoring a state change broadcast message of an identification card of the mobile terminal.
Further, when the mobile terminal is judged to be not started for the first time, the following steps are executed: monitoring a state change broadcast message of an identification card of the mobile terminal; when the state change broadcast message is received, reading the current operator information of the identification card; matching the current operator information with target operator information in a preset database; and when the matching is successful, acquiring the application program associated with the current operator information according to the target operator information and the target operator application program list.
Further, when the mobile terminal is judged to be not started for the first time, the following steps are also executed: when the matching fails, performing secondary matching on the current operator information and default operator information in a preset database; when the second matching is successful, acquiring an application program associated with the current operator information according to the default operator information and the default operator application program list; and when the secondary matching fails, maintaining the display state of the current application program of the mobile terminal.
Further, the step of updating the display status of the application program includes the steps of: when the current operator information is judged to be the target operator information; acquiring the current state of the installed application program associated with the target operator information and updating the current state to be effective; the current state of the installed application associated with the acquisition default operator information is updated to invalid. When the current operator information is judged to be non-target operator information; acquiring the current state of the installed application program associated with the target operator information and updating the current state into invalid; the current state of the installed application associated with the acquisition default operator information is updated to be valid.
According to another aspect of the present invention, there is provided a program switching method, the apparatus comprising: the monitoring unit is used for monitoring the state change broadcast message of the identification card of the mobile terminal; a reading unit for reading the current operator information of the identification card when receiving the state change broadcast message; the matching unit is used for inquiring and matching the current operator information in a preset database; and the updating unit is used for loading the application program associated with the current operator information according to the matching result and updating the display state of the application program.
According to another aspect of the present invention, there is provided a storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the application switching method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, the present invention provides a mobile terminal, which includes a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the application switching method according to any embodiment of the present invention.
The method and the device have the advantages that the current operator information is inquired and matched in the preset database, when the matching is successful, the application program associated with the current operator information is loaded, and the display state of the application program is updated, so that the aim that the mobile terminal can automatically switch the corresponding application program according to different operator information is fulfilled, and the storage space of the mobile terminal can be saved.
Drawings
The technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1 is a flowchart illustrating steps of an application switching method according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of an application switching method according to a second embodiment of the present invention.
Fig. 3 is a flowchart illustrating steps of an application switching method according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an application switching apparatus according to a fourth embodiment of the present invention.
Fig. 5 is a flowchart illustrating sub-steps of updating the display status of the application according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
As shown in fig. 1, a flowchart of steps of an application switching method according to an embodiment of the present invention is provided. The method comprises the following steps:
step S110: and monitoring the state change broadcast message of the identification card of the mobile terminal.
In this step, the status change broadcast and the multi-user switching broadcast of the identification card are monitored. Specifically, the broadcast messages monitored by the mobile terminal are ACTION _ SIM _ STATE _ CHANGED broadcast and ACTION _ USER _ CHANGED broadcast.
Step S120: and reading the current operator information of the identification card when the state change broadcast message is received.
In this step, when the status change broadcast message is received, the information of the identification card is read, where the information of the identification card includes a unique identifier composed of a Mobile Country Code (MCC) and a Mobile Network Code (MNC). And judging the current operator information of the identification card through reading the information of the identification card. The preset database includes: operator information and a list of applications associated with the operator information, wherein the operator information comprises: target operator information and default operator information, the list of applications comprising: a list of target operator applications associated with the target operator information, and a list of default operator applications associated with the default operator information. Specifically, the default operator application list is used for determining the installation application state and the application running state so as to distinguish the installation application from other non-operator applications.
Step S130: and inquiring and matching the current operator information in a preset database.
In this step, the information of the identification card (SIM card) is read and compared with the operator information in the preset database.
Step S140: and loading an application program associated with the current operator information according to the matching result, and updating the display state of the application program.
In this step, when the information of the identification card is the default operator information, the application program in the default operator application program list associated with the default operator information is loaded. And when the information of the identification card is the target operator information, loading the application program in the target operator application program list associated with the target operator information. For example, when the information of the identification card is the target operator information, the application program associated with the target operator information is automatically detected, and the installation state of the application program list is read in a circulating manner.
Referring to fig. 4, the updating of the display status of the application program includes steps S410-S460. Specifically, when it is determined that the current operator information is the target operator information, the current state update of the installed application program associated with the acquisition target operator information is valid, and the current state update of the installed application program associated with the acquisition default operator information is invalid. When the current operator information is determined to be the default operator information, the current state of the installed application program associated with the acquired target operator information is updated to be invalid, and the current state of the installed application program associated with the acquired default operator information is updated to be valid.
In the first embodiment of the application, the current operator information is queried and matched in the preset database, and when the matching is successful, the application program associated with the current operator information is loaded, and the display state of the application program is updated, so that the purpose that the mobile terminal can automatically switch the corresponding application program according to different operator information is achieved, and the storage space of the mobile terminal can be saved.
As shown in fig. 2, a flowchart of steps of an application switching method according to a second embodiment of the present invention is provided. Specifically, the application switching method provided in the second embodiment of the present application is implemented when the mobile terminal is first started. The method comprises the following steps:
step S210: and monitoring the state change broadcast message of the identification card of the mobile terminal.
In this step, an identification card STATE change broadcast and a multi-USER switching broadcast are monitored, and specifically, broadcast messages monitored by the mobile terminal are an ACTION _ SIM _ STATE _ CHANGED broadcast and an ACTION _ USER _ SWITCHED broadcast.
Step S220: and reading the current operator information of the identification card when the state change broadcast message is received.
In this step, when the status change broadcast message is received, the information of the identification card is read, where the information of the identification card includes a unique identifier composed of a Mobile Country Code (MCC) and a Mobile Network Code (MNC). And judging the current operator information of the identification card through reading the information of the identification card. The preset database includes: operator information and a list of applications associated with the operator information, wherein the operator information comprises: target operator information and default operator information, the list of applications comprising: a list of target operator applications associated with the target operator information, and a list of default operator applications associated with the default operator information.
For convenience of understanding, it is assumed that a target operator information stored in the preset database is a mobile operator information, and a default operator information is a unicom operator information. It should be noted that the target operator information may be multiple.
Step S230: matching the current operator information and the target operator information.
Step S240: and when the matching is successful, acquiring the application program associated with the current operator information according to the target operator information and the target operator application program list.
In this step, if the current identification card used by the mobile terminal belongs to the mobile operator, the application program list associated with the mobile operator is directly obtained from the preset database, and the corresponding application program is obtained according to the application program list.
Step S250: and when the matching fails, acquiring the application program associated with the current operator information according to the default operator information and the default operator application program list.
In this step, when the matching fails, it indicates that the current identification card used by the mobile terminal may belong to the unicom operator, or may belong to an operator other than the mobile operator and the unicom operator. That is, if the current identification card used by the mobile terminal does not belong to the target operator, the application programs in the application program list of the default operator are obtained.
Step S260: and loading an application program associated with the current operator information according to the matching result, and updating the display state of the application program.
In this step, when the information of the identification card is the default operator information or other operator information, the application program in the default operator application program list associated with the default operator information is loaded. And when the information of the identification card is the target operator information, loading the application program in the target operator application program list associated with the target operator information.
Referring to fig. 4, the updating of the display status of the application program includes steps S410-S460. Specifically, when it is determined that the current operator information is the target operator information, the current state update of the installed application program associated with the acquisition target operator information is valid, and the current state update of the installed application program associated with the acquisition default operator information is invalid. When the current operator information is determined to be the default operator information, the current state of the installed application program associated with the acquired target operator information is updated to be invalid, and the current state of the installed application program associated with the acquired default operator information is updated to be valid.
In the second embodiment of the application, the current operator information is queried and matched in the preset database, and when the matching is successful, the application program associated with the current operator information is loaded, and the display state of the application program is updated, so that the purpose that the mobile terminal can automatically switch the corresponding application program according to different operator information is achieved, and the storage space of the mobile terminal can be saved.
As shown in fig. 3, a flowchart of steps of an application switching method according to a third embodiment of the present invention is provided. Specifically, the application switching method provided in the third embodiment of the present application is implemented when the mobile terminal is not started for the first time. The method comprises the following steps:
step S310: and monitoring the state change broadcast message of the identification card of the mobile terminal.
In this step, an identification card STATE change broadcast and a multi-USER switching broadcast are monitored, and specifically, broadcast messages monitored by the mobile terminal are an ACTION _ SIM _ STATE _ CHANGED broadcast and an ACTION _ USER _ SWITCHED broadcast.
Step S320: and reading the current operator information of the identification card when the state change broadcast message is received.
In this step, when the status change broadcast message is received, the information of the identification card is read, where the information of the identification card includes a unique identifier composed of a Mobile Country Code (MCC) and a Mobile Network Code (MNC). And judging the current operator information of the identification card through reading the information of the identification card. The preset database includes: operator information and a list of applications associated with the operator information, wherein the operator information comprises: target operator information and default operator information, the list of applications comprising: a list of target operator applications associated with the target operator information, and a list of default operator applications associated with the default operator information.
For convenience of understanding, it is assumed that a target operator information stored in the preset database is a mobile operator information, and a default operator information is a unicom operator information. It should be noted that the target operator information may be multiple.
Step S330: and matching the current operator information with the target operator information in the preset database.
Step S340: and when the matching is successful, acquiring the application program associated with the current operator information according to the target operator information and the target operator application program list.
In this step, if the current identification card used by the mobile terminal belongs to the mobile operator, the application program list associated with the mobile operator is directly obtained from the preset database, and the corresponding application program is obtained accordingly.
Step S350: and when the matching fails, performing secondary matching on the current operator information and default operator information in a preset database.
The mobile terminal will save the application associated with the previous operator information. It is assumed that the previous operator information of the mobile terminal is a target operator message. Since the mobile terminal is not operated for the first time, when the current operator information of the identification card read by the mobile terminal is the default operator information, step S360 is executed. It is assumed that the previous operator information of the mobile terminal is a target operator message. When the current operator information of the identification card read by the mobile terminal is neither the default operator information nor the target operator information, step S370 is executed. .
Step S360: and when the second matching is successful, acquiring the application program associated with the current operator information according to the default operator information and the default operator application program list.
Step S370: and when the secondary matching fails, maintaining the display state of the current application program of the mobile terminal.
In this step, when the current identification card used by the mobile terminal does not belong to the default operator or the target operator, the mobile device ignores the operation of the identification card replacement.
Step S250: and loading an application program associated with the current operator information according to the matching result, and updating the display state of the application program.
In this step, when the information of the identification card is the default operator information or other operator information, the application program in the default operator application program list associated with the default operator information is loaded. And when the information of the identification card is the target operator information, loading the application program in the target operator application program list associated with the target operator information.
Referring to fig. 4, the updating of the display status of the application program includes steps S410-S460. Specifically, when it is determined that the current operator information is the target operator information, the current state update of the installed application program associated with the acquisition target operator information is valid, and the current state update of the installed application program associated with the acquisition default operator information is invalid. When the current operator information is determined to be the default operator information, the current state of the installed application program associated with the acquired target operator information is updated to be invalid, and the current state of the installed application program associated with the acquired default operator information is updated to be valid.
It should be noted that the difference between the case of starting up the mobile terminal for the first time as described in the embodiment and the case of starting up the mobile terminal for the first time as described in the first or second embodiment is that when the current state of the installed application program is updated, the system sends a broadcast message indicating the change of the application program state, so that all the application programs of the mobile terminal that monitor the broadcast message can obtain the state of the changed application program again, and update the display state of the corresponding application program on the display desktop of the mobile terminal.
In addition, under the condition of not starting up for the first time, the identification information preset in the mobile terminal is detected, but the identification information is not modified or stored. The identification information is used for representing whether the mobile terminal is started for the first time. Specifically, for example, the identification information firstbottflag information is 1 indicating the first startup, and the firstbottflag information is 0 indicating the non-first startup.
In the third embodiment of the application, the current operator information is queried and matched in the preset database, and when the matching is successful, the application program associated with the current operator information is loaded, and the display state of the application program is updated, so that the purpose that the mobile terminal can automatically switch the corresponding application program according to different operator information is achieved, and the storage space of the mobile terminal can be saved. .
As shown in fig. 5, a schematic structural diagram of an application switching device according to a fourth embodiment of the present invention is provided. The device comprises: a listening unit 10, a reading unit 20, a matching unit 30 and an updating unit 40.
The monitoring unit 10 is used for monitoring a status change broadcast message of an identification card of the mobile terminal. In this embodiment, the identity card status change broadcast and the multi-USER handover broadcast are monitored, and specifically, the broadcast messages monitored by the mobile terminal are ACTION _ SIM _ STATE _ CHANGED broadcast and ACTION _ USER _ CHANGED broadcast.
The reading unit 20 is configured to read the current operator information of the identification card when receiving the status change broadcast message. In this embodiment, when the status change broadcast message is received, the information of the identification card is read, where the information of the identification card includes a unique identifier composed of a Mobile Country Code (MCC) and a Mobile Network Code (MNC). And judging the current operator information of the identification card through reading the information of the identification card. The preset database includes: operator information and a list of applications associated with the operator information, wherein the operator information comprises: target operator information and default operator information, the list of applications comprising: a list of target operator applications associated with the target operator information, and a list of default operator applications associated with the default operator information.
The matching unit 30 is configured to perform query matching on the current operator information in a preset database. In this embodiment, the information of the identification card (SIM card) is read and compared with the operator information in the preset database.
The updating unit 40 is configured to load an application program associated with the current operator information according to the matching result, and update a display state of the application program. In this embodiment, when the information of the identification card is the default operator information, the application program in the default operator application program list associated with the default operator information is loaded. And when the information of the identification card is the target operator information, loading the application program in the target operator application program list associated with the target operator information.
In the fourth embodiment of the application, the current operator information is queried and matched in the preset database, and when the matching is successful, the application program associated with the current operator information is loaded, and the display state of the application program is updated, so that the purpose that the mobile terminal can automatically switch the corresponding application program according to different operator information is achieved, and the storage space of the mobile terminal can be saved.
In the fifth embodiment of the present application, a mobile terminal 400 is provided, and the internal structure thereof may be as shown in fig. 6. The mobile terminal 400 includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Wherein the processor of the mobile terminal 400 is configured to provide computing and control capabilities. The memory of the mobile terminal 400 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external computer device through a network connection. The computer program is executed by a processor to implement an application switching method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a mobile terminal 400 is provided comprising a memory having a computer program stored therein and a processor that when executed implements the steps of:
monitoring a state change broadcast message of an identification card of the mobile terminal;
when the state change broadcast message is received, reading the current operator information of the identification card;
inquiring and matching the current operator information in a preset database; and
and loading an application program associated with the current operator information according to the matching result, and updating the display state of the application program.
In another embodiment, a storage medium is provided, on which a computer program is stored, which computer program, when executed by a processor, performs the steps of:
monitoring a state change broadcast message of an identification card of the mobile terminal;
when the state change broadcast message is received, reading the current operator information of the identification card;
inquiring and matching the current operator information in a preset database; and
and loading an application program associated with the current operator information according to the matching result, and updating the display state of the application program.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which can be stored in a non-volatile computer storage medium, and can include the processes of the above embodiments of the methods when executed. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An application switching method for a mobile terminal, the method comprising the steps of:
monitoring a state change broadcast message of an identification card of the mobile terminal;
when the state change broadcast message is received, reading the current operator information of the identification card;
inquiring and matching the current operator information in a preset database; and
and loading an application program associated with the current operator information according to the matching result, and updating the display state of the application program.
2. The application switching method according to claim 1, wherein the pre-defined database comprises: operator information and a list of applications associated with the operator information, wherein the operator information comprises: target operator information and default operator information, the list of applications comprising: a list of target operator applications associated with the target operator information, and a list of default operator applications associated with the default operator information.
3. The method for switching application programs according to claim 2, wherein the step of querying and matching the current operator information in a preset database comprises:
matching the current operator information with the target operator information;
when the matching is successful, acquiring an application program associated with the current operator information according to the target operator information and the target operator application program list; and
and when the matching fails, acquiring the application program associated with the current operator information according to the default operator information and the default operator application program list.
4. The method for switching application programs according to claim 2, wherein before the step of monitoring the status change broadcast message of the identification card of the mobile terminal, the method comprises:
detecting whether the mobile terminal is started for the first time; and
and when the mobile terminal is judged to be started for the first time, monitoring the state change broadcast message of the identification card of the mobile terminal.
5. The method according to claim 4, wherein when it is determined that the mobile terminal is not booted for the first time, the following steps are performed:
monitoring a state change broadcast message of an identification card of the mobile terminal;
when the state change broadcast message is received, reading the current operator information of the identification card;
matching the current operator information with target operator information in a preset database;
and when the matching is successful, acquiring the application program associated with the current operator information according to the target operator information and the target operator application program list.
6. The method for switching application programs according to claim 5, wherein when it is determined that the mobile terminal is not booted for the first time, the following steps are further performed:
when the matching fails, performing secondary matching on the current operator information and default operator information in a preset database;
when the second matching is successful, acquiring an application program associated with the current operator information according to the default operator information and the default operator application program list; and
and when the secondary matching fails, maintaining the display state of the current application program of the mobile terminal.
7. The application switching method according to claim 2, wherein the step of updating the display state of the application includes the steps of:
when the current operator information is judged to be the target operator information;
acquiring the current state of the installed application program associated with the target operator information and updating the current state to be effective;
acquiring the current state update of the installed application program associated with the default operator information as invalid;
when the current operator information is judged to be non-target operator information;
acquiring the current state of the installed application program associated with the target operator information and updating the current state into invalid;
the current state of the installed application associated with the acquisition default operator information is updated to be valid.
8. An application switching apparatus for a mobile terminal, comprising:
the monitoring unit is used for monitoring the state change broadcast message of the identification card of the mobile terminal;
a reading unit for reading the current operator information of the identification card when receiving the state change broadcast message;
the matching unit is used for inquiring and matching the current operator information in a preset database; and
and the updating unit is used for loading the application program associated with the current operator information according to the matching result and updating the display state of the application program.
9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the application switching method of claims 1 to 7.
10. A mobile terminal comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the application switching method according to claims 1 to 7.
CN202110441793.0A 2021-04-23 2021-04-23 Application program switching method and device, storage medium and mobile terminal Pending CN113094070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110441793.0A CN113094070A (en) 2021-04-23 2021-04-23 Application program switching method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110441793.0A CN113094070A (en) 2021-04-23 2021-04-23 Application program switching method and device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN113094070A true CN113094070A (en) 2021-07-09

Family

ID=76679701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110441793.0A Pending CN113094070A (en) 2021-04-23 2021-04-23 Application program switching method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN113094070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986412A (en) * 2021-09-18 2022-01-28 江西小辣椒通讯技术有限责任公司 Method, system and storage medium for dynamically configuring desktop layout

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153558A (en) * 2017-12-06 2018-06-12 广东欧珀移动通信有限公司 Method, electronic device and the readable storage medium storing program for executing of unified custom terminal software version
CN109587252A (en) * 2018-12-10 2019-04-05 上海闻泰电子科技有限公司 Loading method, device, electronic equipment and the storage medium of operator parameter
CN112583924A (en) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 Application package configuration method, communication device and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153558A (en) * 2017-12-06 2018-06-12 广东欧珀移动通信有限公司 Method, electronic device and the readable storage medium storing program for executing of unified custom terminal software version
CN109587252A (en) * 2018-12-10 2019-04-05 上海闻泰电子科技有限公司 Loading method, device, electronic equipment and the storage medium of operator parameter
CN112583924A (en) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 Application package configuration method, communication device and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何力明: "《Android Telephony架构分析与实现》", 31 August 2019, 长春:吉林大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986412A (en) * 2021-09-18 2022-01-28 江西小辣椒通讯技术有限责任公司 Method, system and storage medium for dynamically configuring desktop layout
CN113986412B (en) * 2021-09-18 2023-09-26 江西小辣椒通讯技术有限责任公司 Method, system and storage medium for dynamically configuring desktop layout

Similar Documents

Publication Publication Date Title
CN109992310B (en) Application program keep-alive method, device, computer equipment and storage medium
US10212580B2 (en) Cloud-based connectivity information discovery
CN108055322B (en) Request message processing method and device
US20200364957A1 (en) Automobile diagnosis instrument, method for running system of automobile diagnosis instrument and automobile diagnosis system
CN111858312B (en) Page display method and device for application program, computer equipment and storage medium
CN112115167B (en) Cache system hot spot data access method, device, equipment and storage medium
CN111866850A (en) Configuration file switching method and device, computer equipment and storage medium
US20210321358A1 (en) Sim card registration method and apparatus, computer device, and storage medium
CN113094070A (en) Application program switching method and device, storage medium and mobile terminal
CN114585002A (en) Communication processing method, communication processing device, terminal equipment and computer readable storage medium
CN106686627B (en) WiFi/hotspot starting method and device
CN113489832A (en) Mobile terminal emergency number customizing method and device, terminal equipment and storage medium
CN111328068B (en) Card writing method and device, computer equipment and storage medium
CN111372235A (en) Identification card configuration information determination method and device, computer equipment and storage medium
KR100652715B1 (en) Method and apparatus of application program dynamic loading for mobile phone
CN115915321A (en) Operator network switching method, device, equipment and computer storage medium
CN111935703B (en) Network connection management method and terminal equipment
CN114979072A (en) Automatic dialing network access method, host, wireless module and terminal equipment
CN112423287A (en) Control method and device for registration network, computer equipment and storage medium
CN110321251B (en) Data backup method, device, equipment and storage medium based on network block equipment
CN112423288A (en) Dialing analysis method and device, computer equipment and storage medium
CN112261640B (en) Method and device for eliminating SIM card firmware miscwitch, electronic equipment and storage medium
CN114698055A (en) Network access method, device, network equipment and storage medium
CN112153168A (en) Network access method, device, computer equipment and storage medium
CN113973334B (en) Network selection method, device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210709