Nothing Special   »   [go: up one dir, main page]

CN106845247B - Method and device for synchronizing android system setting on mobile terminal and mobile terminal - Google Patents

Method and device for synchronizing android system setting on mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106845247B
CN106845247B CN201710024986.XA CN201710024986A CN106845247B CN 106845247 B CN106845247 B CN 106845247B CN 201710024986 A CN201710024986 A CN 201710024986A CN 106845247 B CN106845247 B CN 106845247B
Authority
CN
China
Prior art keywords
mode
system setting
information
setting information
common mode
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.)
Active
Application number
CN201710024986.XA
Other languages
Chinese (zh)
Other versions
CN106845247A (en
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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co 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 Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201710024986.XA priority Critical patent/CN106845247B/en
Publication of CN106845247A publication Critical patent/CN106845247A/en
Application granted granted Critical
Publication of CN106845247B publication Critical patent/CN106845247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for synchronizing android system setting on a mobile terminal and the mobile terminal, wherein the method comprises the steps of switching from a common mode to a protection mode so as to protect the safety of an android system in the protection mode; acquiring system setting information in a common mode; and synchronizing the system setting information in the normal mode to the system setting in the protection mode. The synchronous android system is set, so that the problem that data cannot be shared due to the fact that direct communication cannot be conducted among multiple login mode states is solved, and the use experience of a user is enhanced; and the user operation is simplified, so that the user can obtain the same personalized experience in the protection mode. The user experience is not influenced while the safety is ensured, and the mobile terminal is more intelligent.

Description

Method and device for synchronizing android system setting on mobile terminal and mobile terminal
Technical Field
The invention relates to the technical field of android, in particular to a method and a device for synchronizing android system setting on a mobile terminal and the mobile terminal.
Background
Some mobile terminals set a corresponding security protection mode for security, so as to protect the security of the user in the occasions of online transaction, online payment, bank inquiry, etc. For example, the property isolation system of 360 mobile phones, on one hand, prevents trojan horse stealing and application counterfeiting invasion by means of a built-in security application store, and ensures source security of applications from the source; on the other hand, a special network channel is constructed to carry out encryption transmission on data such as account passwords and the like, so that the safety of the data in the transmission process is ensured. Meanwhile, data such as financial management and the like are isolated systematically, malicious application is prohibited from being read illegally, and safety of the user payment environment is guaranteed fundamentally.
However, when the user performs operations related to financial data transmission security, such as payment, collection, transfer, and the like, the system is switched to the protected mode, and because the login modes are independent and do not interfere with each other, the user personalized system setting in the normal mode cannot be applied to the protected mode, and the system setting in the protected mode still maintains the default factory setting of the system, which brings great inconvenience to the user.
Disclosure of Invention
The invention provides a method and a device for setting a synchronous android system on a mobile terminal and the mobile terminal; the system settings in the different modes can be synchronized.
The invention provides a method for synchronizing android system setting on a mobile terminal, which comprises the following steps:
switching from a normal mode to a protection mode to protect the safety of the android system in the protection mode; (ii) a
Acquiring system setting information in a common mode;
and synchronizing the system setting information in the normal mode to the system setting in the protection mode.
In one embodiment, the switching from the normal mode to the protection mode includes:
and switching from the common account login mode to the protected account login mode.
In one embodiment, the switching from the normal account login mode to the protected account login mode includes:
and calling switchUser () in an ActivityManager class to switch from a common account login mode to a protected account login mode.
Before the obtaining of the system setting information in the normal mode, the method further includes:
sending out prompt information of system setting in a synchronous common mode;
an instruction to confirm synchronization is fetched.
In one embodiment, the acquiring the system setting information in the normal mode includes:
determining specific items to be synchronized;
and acquiring the system setting information of the specific item in the common mode.
In one embodiment, the determining the specific entry to be synchronized includes:
sending an information list selection prompt of system setting information in a common mode;
and acquiring a selection instruction input by a user.
In one embodiment, the system setting information includes: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information.
In one embodiment, the synchronizing the system setting information in the normal mode to the android system in the protected mode includes:
judging whether the system setting information influences the financial data transmission safety item by item;
and if the financial data transmission safety is not influenced, synchronizing the system setting information to the android system in the protection mode.
In one embodiment, the determining, item by item, whether the system setting information affects the security of the financial data transmission includes:
and judging whether the system setting information influences the financial data transmission safety item by item according to whether the operation of the fund-related application is related or not as a safety judgment basis.
In one embodiment, before acquiring the system setting information in the normal mode, the method further includes:
sending out prompt information whether to resynchronize the system setting in the common mode when detecting that the system setting in the common mode changes;
if receiving a resynchronization command, continuing the step of obtaining the system setting information in the common mode;
and if the command of not resynchronizing is received, storing the selection corresponding to the command of not resynchronizing as the selection when the system setting under the common mode is detected to be changed next time.
The invention also provides a device for synchronizing the setting of the android system on the mobile terminal, which comprises the following steps:
the switching module is used for switching from a common mode to a protection mode so as to protect the safety of the android system in the protection mode; (ii) a
The first acquisition module is used for acquiring system setting information in a common mode;
and the first synchronization module is used for synchronizing the system setting information in the common mode to the system setting in the protection mode.
In one embodiment, the switching module is further configured to:
and the android system is switched from a common account login mode to a protected account login mode.
In one embodiment, the switching module is further configured to:
the android system switches from a normal account login mode to a protected account login mode by calling switchUser () in an ActivityManager class.
In one embodiment, the first prompt module is specifically configured to send prompt information for synchronizing system settings in the normal mode before acquiring system setting information in the normal mode;
and the acquisition module is used for acquiring the instruction for confirming the synchronization.
In one embodiment, the first obtaining module is specifically configured to determine a specific entry to be synchronized, and obtain system setting information of the specific entry in a normal mode.
In one embodiment, the first obtaining module includes the following modules:
the selection submodule is used for sending an information list selection prompt of system setting information in a common mode;
and the first acquisition submodule is used for acquiring a selection instruction input by a user.
In one embodiment, the system setting information includes: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information.
In one embodiment, the first synchronization module includes the following modules:
the judgment submodule is used for judging whether the system setting information influences the financial data transmission safety one by one;
and the first synchronization submodule is used for synchronizing the system setting information to the android system in the protection mode when the safety of financial data transmission is not influenced.
In one embodiment, the determining sub-module is configured to determine, item by item, whether the system setting information affects the financial data transmission security according to whether the operation of the fund-related application is associated as a determination security basis.
In one embodiment, before the first obtaining module, the method further includes:
the second prompting module is used for sending out prompting information whether to resynchronize the system setting in the common mode when detecting that the system setting in the common mode changes; (ii) a
A receiving module, configured to continue the step of obtaining the system setting information in the normal mode if a resynchronization instruction is received;
and if the command of not resynchronizing is received, storing the selection corresponding to the command of not resynchronizing as the selection when the system setting under the common mode is detected to be changed next time.
The present invention also provides a mobile terminal, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of synchronizing android system settings on a mobile terminal as described above.
In the technical scheme, a common mode is switched to a protection mode so as to protect the safety of the android system in the protection mode; acquiring system setting information in a common mode; and synchronizing the system setting information in the normal mode to the system setting in the protection mode. In some embodiments, the system enters the protected mode from the normal mode by the multi-user mode of the system. Namely, the system is in a common mode when logging in a common account, the system is in a protection mode when logging in a protection account, and the system enters the protection mode from the common mode, namely, the system is switched from the common account logging mode to the protection account logging mode. The synchronous android system in the technical scheme not only solves the problem that data cannot be shared due to indirect communication among multiple login modes, but also enhances the use experience of users; and the user operation is simplified, so that the user can obtain the same personalized experience in the protection mode. The user experience is not influenced while the safety is ensured, and the mobile terminal is more intelligent.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a method for synchronizing android system settings on a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for synchronizing android system settings on a mobile terminal according to another embodiment of the present invention;
FIG. 3 is a schematic block diagram of a synchronous android system setup on a mobile terminal of the present invention;
fig. 4 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
As will be appreciated by those skilled in the art, a remote network device, as used herein, includes, but is not limited to, a computer, a network host, a single network server, a collection of multiple network servers, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the remote network device, the terminal device and the WNS server may communicate with each other through any communication method, including but not limited to mobile communication based on 3GPP, LTE and WIMAX, computer network communication based on TCP/IP and UDP protocols, and short-range wireless transmission based on bluetooth and infrared transmission standards.
In the following description, the system is the operating system of a mobile terminal, such as the android system. In the following description, the android system is taken as an exemplary illustration.
Please refer to fig. 1, which is a flowchart illustrating a method of an embodiment of a method for synchronizing android system settings on a mobile terminal according to the present invention.
The invention provides a method for synchronizing android system setting on a mobile terminal, which comprises the following steps:
step S101: and switching from a normal mode to a protection mode to protect the safety of the android system in the protection mode.
Similar to the multi-user mode of the WINDOWS system, the android system also supports the multi-user mode, and user data in the system under the login of different users are independent and not influenced. Therefore, the system is in a common mode when logging in a common account, and is in a protection mode when logging in a protection account, wherein the protection mode refers to a safety protection system which is automatically switched when safety operation related to financial data transmission is carried out. The system is switched from the normal mode to the protection mode, namely the system is switched from the normal account login mode to the protection account login mode. User settings of different accounts are different, and applications and application data installed by users of different accounts are different. But the settings related to the hardware in the system are common, such as network settings, etc.
When a user carries out operations related to financial data transmission safety, such as payment, collection, transfer and the like, the system is switched from a normal mode to a protection mode, namely the system is switched from a normal account login state to a protected account login state. In the android system, a switchUser () method in an ActivityManager class is called to realize switching from a normal account login mode to a protected account login mode.
Step S102: and acquiring system setting information in a common mode.
When the system is switched from the normal account login mode to the protected account login mode, the system setting information under the protected account is default system setting information, before the system setting information under the normal mode is acquired, the system sends prompt information for judging whether the system setting under the normal mode needs to be synchronized, and when an instruction for confirming synchronization is acquired. The step of acquiring system setting information in the normal mode is continued. And if the obtained instruction is negative, setting the android system logged in by the common account according to default system setting information.
The acquiring of the system setting information in the normal mode includes determining a specific item to be synchronized, and acquiring the system setting information in the normal mode of the specific item. After the instruction for confirming synchronization is obtained and executed, the system will send out an information list selection prompt of system setting information in a common mode, and the list lists all personalized system setting information, including: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information. The user can select specific items to be synchronized according to personal habits, when a system acquires a selection instruction input by the user, namely keywords are preset according to the selected specific items, an interface provided by a corresponding service layer in a common mode is called item by item, the value of each specific item corresponding to the keywords is read out and stored in a shared storage area of the terminal, the shared storage area can be arranged in a cloud server and/or a terminal storage area, and for example, a storage space (such as a folder D: shared) with a certain size divided from an SD card/ROM and the like is used as the shared storage area.
Step S103: and synchronizing the system setting information in the normal mode to the system setting in the protection mode.
After system setting information in a common mode is acquired and stored in a shared storage area, the terminal can set the attribute of the shared storage area to be accessible to all systems for reading and writing, or can set a password to realize communication between a common account login system and a protected account login system. The common account login system can verify whether the user is legal or not according to the password input by the user carried by the data call request, if the user is legal, the setting information in the shared storage area can be read, and if the user is illegal, the setting information in the shared storage area cannot be read.
After the setting information in the shared storage area is acquired by the identity of a legal user, whether the system setting information influences the financial data transmission safety is judged item by item according to the condition that whether the setting information is related to the operation of fund-related application or not as the basis for judging the safety. And if the financial data transmission safety is not influenced, synchronizing the system setting information to the android system in the protection mode.
The method comprises the steps that a user frequently updates system setting of a terminal in the process of using the terminal in a common mode, for example, mobile phone ring tones of the user are continuously updated along with the popular trend of music, a setting information database of a system is monitored circularly, when the change of the system setting in the common mode is detected, the system sends prompt information for whether to resynchronize the system setting in the common mode, and if a resynchronization instruction is received, the step of obtaining the system setting information in the common mode is continued; and if the command of not resynchronizing is received, storing the selection corresponding to the command of not resynchronizing as the selection when the system setting under the common mode is detected to be changed next time.
To sum up, according to the method for synchronizing android system settings on a mobile terminal in the embodiment of the present invention, since a certain data isolation exists between users in a multi-user mode, system personalization settings cannot be applied in a protection mode, and the synchronous android system settings in the technical solution not only solve the problem that data cannot be shared due to indirect communication among multiple login modes, but also enhance the user experience of the users; and the user operation is simplified, so that the user can obtain the same personalized experience in the protection mode. The user experience is not influenced while the safety is ensured, and the mobile terminal is more intelligent.
Please refer to fig. 2, which is a flowchart of a method of synchronizing android system settings on a mobile terminal according to another embodiment of the present invention. The embodiment is based on the previous embodiment, and mainly adds a method for monitoring the change of the system setting information and the content of the setting information whether to be updated synchronously after the change. The method comprises the following steps:
step S201: and switching from a normal mode to a protection mode to protect the safety of the android system in the protection mode.
When the user carries out the operation related to the fund, the system automatically switches to the protection mode to prevent the important information from being stolen.
Step S202: the system sends out prompt information whether to synchronize the updated system settings in the normal mode.
The setting program circularly monitors a database of various setting information of the system in a common mode, the Configuration class is specially used for describing the setting information on the mobile terminal equipment, and the setting information comprises user-defined and dynamic equipment setting of the system. The program may call the function getConfiguration () to get the Configuration object of the system. If the program needs to monitor the change of the system setting, the onConfigurationChanged method of rewriting Activity, which is a callback-based event processing method, can be considered, and when the system setting is changed, the method will be automatically triggered.
When the system is switched to the system in the protection mode, namely the prompt information of whether the system setting pushed by the program is changed and the system setting is synchronously set is received, the specific item of the changed system setting can be displayed by clicking the prompt information, and a user can judge and select whether the set information is synchronously updated or not by browsing the list of the specific item.
Step S203 a: an input instruction of the setting information of the synchronous update is executed.
If a user-triggered resynchronization instruction is received, step S204 is continued.
Step S203 b: and storing the selection corresponding to the non-resynchronization instruction.
If the user considers that the influence on the personal use experience is not large by browsing the updated list of the specific items of the system settings, or the user is busy with interactive and unpopular processing of financial data to update the settings, the user can select the setting information of asynchronous update, and the system stores the selection corresponding to the command of not resynchronizing input by the user as the selection when the system settings under the common mode are detected to be changed next time. The information frame prompting synchronization can not be skipped out until new system settings are changed. When the system setting is changed again, the process returns to step S202.
Step S204: and acquiring system setting information in a common mode.
Step S205: and synchronizing the system setting information in the normal mode to the system setting in the protection mode.
To sum up, according to the method for synchronizing android system settings on a mobile terminal in the embodiment of the present invention, since a certain data isolation exists between users in a multi-user mode, system personalization settings cannot be applied in a protection mode, and the synchronous android system settings in the technical solution not only solve the problem that data cannot be shared due to indirect communication among multiple login modes, but also enhance the user experience of the users; and the user operation is simplified, so that the user can obtain the same personalized experience in the protection mode. The user experience is not influenced while the safety is ensured, and the mobile terminal is more intelligent.
Please refer to fig. 3, which is a schematic block diagram illustrating an embodiment of a synchronous android system on a mobile terminal according to the present invention.
Corresponding to the method for synchronizing the android system setting on the mobile terminal, the invention also provides a device for synchronizing the android system setting on the mobile terminal, which comprises the following steps: a switching module 301, a first obtaining module 302, and a first synchronizing module 303.
The switching module 301 is configured to switch from a normal mode to a protection mode to protect the security of the android system in the protection mode; the first obtaining module 302 is configured to obtain system setting information in a normal mode; the first synchronization module 303 is configured to synchronize the system setting information in the normal mode to the system setting in the protected mode.
The switching module 301: and switching from a normal mode to a protection mode to protect the safety of the android system in the protection mode.
Similar to the multi-user mode of the WINDOWS system, the android system also supports the multi-user mode, and user data in the system under the login of different users are independent and not influenced. Therefore, the system is in a common mode when logging in a common account, and is in a protection mode when logging in a protection account, wherein the protection mode refers to a safety protection system which is automatically switched when safety operation related to financial data transmission is carried out. The switching module 301 switches from the normal mode to the protected mode, which is equivalent to switching the system from the normal account login mode to the protected account login mode. User settings of different accounts are different, and applications and application data installed by users of different accounts are different. But the settings related to the hardware in the system are common, such as network settings, etc.
When a user performs operations related to financial data transmission security, such as payment, collection, transfer, and the like, the switching module 301 switches from the normal mode to the protected mode, that is, the system switches from the normal account login state to the protected account login state. In the android system, a switchUser () method in an ActivityManager class is called to realize switching from a normal account login mode to a protected account login mode.
The first obtaining module 302 is used for obtaining system setting information in a normal mode.
When the switching module 301 switches from the normal account login mode to the protected account login mode, the system setting information under the protected account is default system setting information, before the first obtaining module 302 obtains the system setting information under the normal mode, the first prompting module sends a prompting message for whether to synchronize the system setting under the normal mode, and when the obtaining module obtains a synchronization confirmation instruction. The step of acquiring the system setting information in the normal mode by the first acquisition module 302 is continued. And if the instruction acquired by the acquisition module is negative, setting the android system logged in by the common account according to default system setting information.
The first obtaining module 302 obtains the system setting information in the normal mode, including determining a specific entry to be synchronized, and obtains the system setting information in the normal mode of the specific entry. After the first obtaining module 302 obtains and executes the synchronization confirmation instruction, the selecting sub-module may send an information list selection prompt of the system setting information in the normal mode, where the list lists all the personalized system setting information, including: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information. The user can select specific items to be synchronized according to personal habits, when the first acquisition submodule acquires a selection instruction input by the user, namely, preset keywords are arranged according to the selected specific items, an interface provided by a corresponding service layer in a common mode is called item by item, the value of each specific item corresponding to the keywords is read out and stored in a shared storage area of the terminal, the shared storage area can be arranged in a cloud server and/or a terminal storage area, and for example, a storage space (such as a folder D: shared) with a certain size divided from an SD card/ROM and the like is used as the shared storage area.
The first synchronization module 303 is configured to synchronize the system setting information in the normal mode to the system setting in the protected mode.
After the first obtaining module 302 obtains the system setting information in the normal mode and stores the system setting information in the shared storage area, the first synchronization module 303 may set the attribute of the shared storage area to be accessible to all systems for reading and writing, or may set a password, so as to implement communication between the normal account login system and the protected account login system. The common account login system can verify whether the user is legal or not according to the password input by the user carried by the data call request, if the user is legal, the setting information in the shared storage area can be read, and if the user is illegal, the setting information in the shared storage area cannot be read.
And after the setting information in the shared storage area is acquired by the identity of a legal user, the judgment submodule judges whether the system setting information influences the financial data transmission safety item by item according to whether the setting information is related to the operation of fund-related application as a basis for judging the safety. And if the safety of the financial data transmission is not influenced, the first synchronization sub-module synchronizes the system setting information to the android system in the protection mode.
The method comprises the steps that a user frequently updates system setting of a terminal in the process of using the terminal in a common mode, for example, mobile phone ring tones of the user are continuously updated along with the popular trend of music, a second prompting module circularly monitors a setting information database of the system, when the change of the system setting in the common mode is detected, prompting information for whether to resynchronize the system setting in the common mode is sent, and if a receiving module receives a resynchronization instruction, the step of obtaining the system setting information in the common mode is continued; and if the receiving module receives the non-resynchronization instruction, storing a selection corresponding to the non-resynchronization instruction as a selection when the system setting under the common mode is detected to be changed next time.
To sum up, according to the method for synchronizing android system settings on a mobile terminal in the embodiment of the present invention, since a certain data isolation exists between users in a multi-user mode, system personalization settings cannot be applied in a protection mode, and the synchronous android system settings in the technical solution not only solve the problem that data cannot be shared due to indirect communication among multiple login modes, but also enhance the user experience of the users; and the user operation is simplified, so that the user can obtain the same personalized experience in the protection mode. The user experience is not influenced while the safety is ensured, and the mobile terminal is more intelligent.
As shown in fig. 4, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 4 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 4, the handset includes: radio Frequency (RF) circuitry 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, audio circuitry 1560, wireless fidelity (WiFi) module 1570, processor 1580, and power supply 1590. Those skilled in the art will appreciate that the handset configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 4:
the RF circuit 1510 may be configured to receive and transmit signals during information transmission and reception or during a call, and in particular, receive downlink information of a base station and then process the received downlink information to the processor 1580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1520 may be used to store software programs and modules, and the processor 1580 performs various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 1520. The memory 1520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1520 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1530 may include a touch panel 1531 and other input devices 1532. The touch panel 1531, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 1531 using any suitable object or accessory such as a finger or a stylus) and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1580, and can receive and execute commands sent by the processor 1580. In addition, the touch panel 1531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1530 may include other input devices 1532 in addition to the touch panel 1531. In particular, other input devices 1532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 1540 may include a Display panel 1541, and optionally, the Display panel 1541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1531 may cover the display panel 1541, and when the touch panel 1531 detects a touch operation on or near the touch panel 1531, the touch operation is transmitted to the processor 1580 to determine the type of the touch event, and then the processor 1580 provides a corresponding visual output on the display panel 1541 according to the type of the touch event. Although in fig. 4, the touch panel 1531 and the display panel 1541 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1531 and the display panel 1541 may be integrated to implement the input and output functions of the mobile phone.
The handset can also include at least one sensor 1550, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1541 according to the brightness of ambient light and a proximity sensor that turns off the display panel 1541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1560, speaker 1561, and microphone 1562 may provide an audio interface between a user and a cell phone. The audio circuit 1560 may transmit the electrical signal converted from the received audio data to the speaker 1561, and convert the electrical signal into an audio signal by the speaker 1561 and output the audio signal; on the other hand, the microphone 1562 converts collected sound signals into electrical signals, which are received by the audio circuit 1560 and converted into audio data, which are processed by the audio data output processor 1580 and then passed through the RF circuit 1510 for transmission to, for example, another cellular phone, or for output to the memory 1520 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a WiFi module 1570, and provides wireless broadband internet access for the user. Although fig. 4 shows WiFi module 1570, it is understood that it does not belong to the essential components of the handset and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1520 and calling data stored in the memory 1520, thereby integrally monitoring the mobile phone. Optionally, the processor 1580 may include one or more processing units; preferably, the processor 1580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, and the like, and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor may not be integrated into the processor 1580.
The handset also includes a power supply 1590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1580 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 1580 included in the terminal further has the following functions: switching from a normal mode to a protection mode to protect the safety of the android system in the protection mode; (ii) a Acquiring system setting information in a common mode; and synchronizing the system setting information in the normal mode to the system setting in the protection mode. That is, the processor 1580 is provided with a method for executing the above-mentioned method for synchronizing the android system setting on the mobile terminal, which is not described herein again.
According to the method and the device for synchronizing the android system setting on the mobile terminal and the mobile terminal, the common mode is switched to the protection mode, so that the safety of the android system in the protection mode is protected; (ii) a Acquiring system setting information in a common mode; and synchronizing the system setting information in the normal mode to the system setting in the protection mode. According to the method for synchronizing the android system setting on the mobile terminal, due to the fact that certain data isolation exists among users in the multi-user mode, system personalized setting cannot be applied to the protection mode, the synchronous android system setting in the technical scheme solves the problem that data cannot be shared due to the fact that direct communication cannot be conducted among multiple login modes, and user experience is enhanced; and the user operation is simplified, so that the user can obtain the same personalized experience in the protection mode. The user experience is not influenced while the safety is ensured, and the mobile terminal is more intelligent.
In some embodiments, the system enters the protected mode from the normal mode by the multi-user mode of the system. Namely, the system is in a common mode when logging in by an administrator account, the system is in a protection mode when logging in by a common user account, and the system enters the protection mode from the common mode, namely, the system is switched from the administrator mode to the common user mode.
A1, a method for synchronizing android system settings on a mobile terminal, comprising:
switching from a normal mode to a protection mode to protect the safety of the android system in the protection mode;
acquiring system setting information in a common mode;
and synchronizing the system setting information in the normal mode to the system setting in the protection mode.
A2, the method of A1, the switching from normal mode to protected mode comprising:
and switching from the common account login mode to the protected account login mode.
A3, according to the method of A2, the switching from the normal account login mode to the protected account login mode includes:
and calling switchUser () in an ActivityManager class to switch from a common account login mode to a protected account login mode.
A4, according to the method in a1, before the obtaining the system setting information in the normal mode, the method further includes:
sending out prompt information of system setting in a synchronous common mode;
an instruction to confirm synchronization is fetched.
A5, according to the method of A1, the acquiring the system setting information in the normal mode includes:
determining specific items to be synchronized;
and acquiring the system setting information of the specific item in the common mode.
A6, according to the method of A5, the determining the specific item to be synchronized includes:
sending an information list selection prompt of system setting information in a common mode;
and acquiring a selection instruction input by a user.
A7, the method of A1, the system setup information comprising: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information.
A8, according to the method of a1, the synchronizing the system setting information in the normal mode to the android system in the protected mode includes:
judging whether the system setting information influences the financial data transmission safety item by item;
and if the financial data transmission safety is not influenced, synchronizing the system setting information to the android system in the protection mode.
A9, according to the method of A8, the judging whether the system setting information affects the safety of financial data transmission piece by piece includes:
and judging whether the system setting information influences the financial data transmission safety item by item according to whether the operation of the fund-related application is related or not as a safety judgment basis.
A10, according to the method in a1, before the obtaining the system setting information in the normal mode, the method further includes:
sending out prompt information whether to resynchronize the system setting in the common mode when detecting that the system setting in the common mode changes;
if receiving a resynchronization command, continuing the step of obtaining the system setting information in the common mode;
and if the command of not resynchronizing is received, storing the selection corresponding to the command of not resynchronizing as the selection when the system setting under the common mode is detected to be changed next time.
B11, a device of synchronous android system setting on mobile terminal includes:
the switching module is used for switching from a common mode to a protection mode so as to protect the safety of the android system in the protection mode;
the first acquisition module is used for acquiring system setting information in a common mode;
and the first synchronization module is used for synchronizing the system setting information in the common mode to the system setting in the protection mode.
B12, the apparatus of B11, the switching module further to:
and the android system is switched from a common account login mode to a protected account login mode.
B13, the apparatus of B12, the switching module further to:
the android system switches from a normal account login mode to a protected account login mode by calling switchUser () in an ActivityManager class.
B14, the apparatus according to B11, further comprising:
the first prompting module is used for sending out prompting information of system setting in a synchronous normal mode before the system setting information in the normal mode is acquired;
and the acquisition module is used for acquiring the instruction for confirming the synchronization.
B15, according to the apparatus of B11, the first obtaining module is specifically configured to determine a specific item to be synchronized, and obtain system setting information of the specific item in the normal mode.
B16, the apparatus of B15, the first obtaining module comprising:
the selection submodule is used for sending an information list selection prompt of system setting information in a common mode;
and the first acquisition submodule is used for acquiring a selection instruction input by a user.
B17, the apparatus of B11, the system setup information comprising: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information.
B18, the apparatus of B11, the first synchronization module comprising:
the judgment submodule is used for judging whether the system setting information influences the financial data transmission safety one by one;
and the first synchronization submodule is used for synchronizing the system setting information to the android system in the protection mode when the safety of financial data transmission is not influenced.
B19, the device according to B18, the judgment submodule is provided with a module for judging whether the system setting information influences the financial data transmission safety item by item according to whether the operation of the fund-related application is related or not as the judgment safety basis.
B20, the apparatus according to B11, further comprising:
the second prompting module is used for sending out prompting information whether to resynchronize the system setting in the common mode when detecting that the system setting in the common mode changes;
a receiving module, configured to continue the step of obtaining the system setting information in the normal mode if a resynchronization instruction is received; and if the command of not resynchronizing is received, storing the selection corresponding to the command of not resynchronizing as the selection when the system setting under the common mode is detected to be changed next time.
C21, a mobile terminal, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of synchronizing android system settings on a mobile terminal as described in any of a 1-a 10.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (19)

1. A method for synchronizing android system setting on a mobile terminal is characterized by comprising the following steps:
switching from a normal mode to a protection mode to protect the safety of the android system in the protection mode;
acquiring system setting information in a common mode;
judging whether the system setting information influences the financial data transmission safety item by item; and if the financial data transmission safety is not influenced, synchronizing the system setting information in the common mode to the system setting in the protection mode.
2. The method of claim 1, wherein switching from normal mode to protected mode comprises:
and switching from the common account login mode to the protected account login mode.
3. The method of claim 2, wherein switching from a normal account login mode to a protected account login mode comprises:
and calling switchUser () in an ActivityManager class to switch from a common account login mode to a protected account login mode.
4. The method according to claim 1, wherein before obtaining the system setting information in the normal mode, the method further comprises:
sending out prompt information of system setting in a synchronous common mode;
an instruction to confirm synchronization is fetched.
5. The method of claim 1, wherein the obtaining system setting information in the normal mode comprises:
determining specific items to be synchronized;
and acquiring the system setting information of the specific item in the common mode.
6. The method of claim 5, wherein the determining the specific entry to be synchronized comprises:
sending an information list selection prompt of system setting information in a common mode;
and acquiring a selection instruction input by a user.
7. The method of claim 1, wherein the system setting information comprises at least one of: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information.
8. The method of claim 1, wherein said determining, item by item, whether said system setup information affects financial data transfer security comprises:
and judging whether the system setting information influences the financial data transmission safety item by item according to whether the operation of the fund-related application is related or not as a safety judgment basis.
9. The method according to claim 1, wherein before obtaining the system setting information in the normal mode, the method further comprises:
sending out prompt information whether to resynchronize the system setting in the common mode when detecting that the system setting in the common mode changes;
if receiving a resynchronization command, continuing the step of obtaining the system setting information in the common mode;
and if the command of not resynchronizing is received, storing the selection corresponding to the command of not resynchronizing as the selection when the system setting under the common mode is detected to be changed next time.
10. The utility model provides a device of tall and erect system setting of synchronous ann on mobile terminal which characterized in that includes:
the switching module is used for switching from a common mode to a protection mode so as to protect the safety of the android system in the protection mode;
the first acquisition module is used for acquiring system setting information in a common mode;
the first synchronization module is used for judging whether the system setting information influences the financial data transmission safety one by one; and if the financial data transmission safety is not influenced, synchronizing the system setting information in the common mode to the system setting in the protection mode.
11. The apparatus of claim 10, wherein the switching module is further configured to:
and the android system is switched from a common account login mode to a protected account login mode.
12. The apparatus of claim 11, wherein the switching module is further configured to:
the android system switches from a normal account login mode to a protected account login mode by calling switchUser () in an ActivityManager class.
13. The apparatus of claim 10, further comprising:
the first prompting module is used for sending out prompting information of system setting in a synchronous normal mode before the system setting information in the normal mode is acquired;
and the acquisition module is used for acquiring the instruction for confirming the synchronization.
14. The apparatus of claim 10, wherein the first obtaining module is specifically configured to determine a specific entry to be synchronized, and obtain system configuration information of the specific entry in a normal mode.
15. The apparatus of claim 14, wherein the first obtaining module comprises:
the selection submodule is used for sending an information list selection prompt of system setting information in a common mode;
and the first acquisition submodule is used for acquiring a selection instruction input by a user.
16. The apparatus of claim 10, wherein the system setting information comprises at least one of: the system comprises incoming call prompt information, screen locking interface information, screen locking password information, screen display information and contact person information.
17. The apparatus of claim 10, wherein the first synchronization module comprises a determination sub-module having a function for determining, item by item, whether the system setting information affects financial data transmission security based on whether to associate operation of a fund-related application as a determination security basis.
18. The apparatus of claim 10, further comprising:
the second prompting module is used for sending out prompting information whether to resynchronize the system setting in the common mode when detecting that the system setting in the common mode changes;
a receiving module, configured to continue the step of obtaining the system setting information in the normal mode if a resynchronization instruction is received; and if the command of not resynchronizing is received, storing the selection corresponding to the command of not resynchronizing as the selection when the system setting under the common mode is detected to be changed next time.
19. A mobile terminal, comprising:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of synchronizing android system settings on a mobile terminal of any of claims 1-9.
CN201710024986.XA 2017-01-13 2017-01-13 Method and device for synchronizing android system setting on mobile terminal and mobile terminal Active CN106845247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710024986.XA CN106845247B (en) 2017-01-13 2017-01-13 Method and device for synchronizing android system setting on mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710024986.XA CN106845247B (en) 2017-01-13 2017-01-13 Method and device for synchronizing android system setting on mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN106845247A CN106845247A (en) 2017-06-13
CN106845247B true CN106845247B (en) 2020-10-09

Family

ID=59123522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710024986.XA Active CN106845247B (en) 2017-01-13 2017-01-13 Method and device for synchronizing android system setting on mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN106845247B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112085463A (en) * 2020-08-11 2020-12-15 广州汽车集团股份有限公司 Vehicle-mounted voice schedule management device and method and vehicle-mounted terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611021A (en) * 2015-08-21 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Contact synchronization method and device used for terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130054473A1 (en) * 2011-08-23 2013-02-28 Htc Corporation Secure Payment Method, Mobile Device and Secure Payment System
CN104216761B (en) * 2013-06-04 2017-11-03 中国银联股份有限公司 It is a kind of that the method for sharing equipment is used in the device that can run two kinds of operating system
CN104618601B (en) * 2015-02-05 2019-01-22 深圳酷派技术有限公司 A kind of data sharing method and multisystem terminal
CN105635428B (en) * 2015-03-23 2019-04-12 西安酷派软件科技有限公司 Notifier processes method, notifier processes device and terminal
CN106331178B (en) * 2016-10-28 2019-08-02 宇龙计算机通信科技(深圳)有限公司 A kind of information sharing method and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611021A (en) * 2015-08-21 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Contact synchronization method and device used for terminal

Also Published As

Publication number Publication date
CN106845247A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
JP6060267B2 (en) Terminal lock release processing method, apparatus, terminal apparatus, program, and recording medium
US20190197226A1 (en) Information Displaying Method for Terminal Device and Terminal Device
CN106778175B (en) Interface locking method and device and terminal equipment
CN111758095A (en) Method and terminal for quickly opening application or application function
CN107145794B (en) Data processing method and device and mobile terminal
CN110837327B (en) Message viewing method and terminal
CN106909820B (en) Mobile terminal and fingerprint data processing method and device thereof
CN105320616B (en) External device control method and device
CN106550361B (en) Data transmission method, equipment and computer readable storage medium
CN110719319B (en) Resource sharing method, device, terminal equipment and storage medium
CN106201484A (en) The collocation method of application program, device and terminal unit
CN110941821A (en) Data processing method, device and storage medium
CN111459362A (en) Information display method, information display device, electronic apparatus, and storage medium
CN108573169A (en) Nearest task list display methods and device, storage medium, electronic equipment
CN108664818B (en) Unlocking control method and device
CN108537025B (en) Privacy protection method and device, computer readable storage medium and terminal
CN106506815A (en) A kind of application enables method and relevant device
CN111125680A (en) Permission setting method and terminal equipment
CN109309659B (en) Mobile terminal and method and device for logging in application of mobile terminal
CN106203015A (en) The collocation method of application program, device and terminal unit
CN106845247B (en) Method and device for synchronizing android system setting on mobile terminal and mobile terminal
WO2019206224A1 (en) Screen unlocking method and mobile terminal
CN111159738A (en) Permission configuration method, application login method and device
CN108319839B (en) Fingerprint unlocking method and device
CN106850957A (en) Method, device and mobile terminal that applicative notifications are managed

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant