CN108280342B - Application synchronization method and device for application synchronization - Google Patents

Application synchronization method and device for application synchronization Download PDF

Info

Publication number
CN108280342B
CN108280342B CN201710002494.0A CN201710002494A CN108280342B CN 108280342 B CN108280342 B CN 108280342B CN 201710002494 A CN201710002494 A CN 201710002494A CN 108280342 B CN108280342 B CN 108280342B
Authority
CN
China
Prior art keywords
application
terminal
application list
target
synchronized
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
CN201710002494.0A
Other languages
Chinese (zh)
Other versions
CN108280342A (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 Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201710002494.0A priority Critical patent/CN108280342B/en
Publication of CN108280342A publication Critical patent/CN108280342A/en
Application granted granted Critical
Publication of CN108280342B publication Critical patent/CN108280342B/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/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an application synchronization method, an application synchronization device and a device for application synchronization, wherein the method specifically comprises the following steps: acquiring a first application list currently installed by a first terminal and granting permission information of a first application in the first application list; determining a target application to be installed in the terminal to be synchronized according to the first application list; determining target grant permission information of the target application according to the grant permission information of the first application in the first application list; and installing the target application in the terminal to be synchronized according to the target grant authority information. The embodiment of the invention can ensure the information security of the user and improve the installation efficiency of the application.

Description

Application synchronization method and device for application synchronization
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to an application synchronization method and apparatus, and an apparatus for application synchronization.
Background
With the development of terminal technology, more and more users use terminals, and the terminals also provide more and more rich functional services. At present, services provided on a terminal are generally provided through APPs (Application programs), and a user can install APPs of various types on a computer, a mobile phone, a tablet computer and other terminals according to own needs, and realize various functions through the APPs.
However, with the endless evolution of terminal technologies, the continuous upgrading of communication technologies, and the continuous loss of terminal hardware, the frequency of terminal upgrading is faster and faster.
At present, after the terminal is replaced, a user generally needs to search various APPs in an APP store according to the needs of the user, and download and install the required APPs to the new terminal one by one.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide an application synchronization method, an application synchronization apparatus, and an apparatus for application synchronization that overcome or at least partially solve the above problems, and can improve installation efficiency of applications while ensuring information security of users.
In order to solve the above problems, the present invention discloses an application synchronization method, which comprises:
acquiring a first application list currently installed by a first terminal and granting permission information of a first application in the first application list;
determining a target application to be installed in the terminal to be synchronized according to the first application list;
determining target authorization authority information of the target application according to authorization authority information of a first application in the first application list;
and installing the target application in the terminal to be synchronized according to the target grant authority information.
In another aspect, the present invention discloses an application synchronization method applied to a first terminal, the method comprising:
acquiring and storing a first application list installed currently and grant permission information of a first application in the first application list;
and sending the first application list and the authority granting information of the first application in the first application list to a terminal or a server to be synchronized.
In another aspect, the present invention discloses an application synchronization apparatus applied to a terminal to be synchronized, the apparatus comprising:
the first application acquisition module is used for acquiring a first application list currently installed by a first terminal and the granting permission information of a first application in the first application list;
the target application determining module is used for determining a target application to be installed in the terminal to be synchronized according to the first application list;
the target permission determining module is used for determining target permission granting information of the target application according to the permission granting information of the first application in the first application list; and
and the target application installation module is used for installing the target application in the terminal to be synchronized according to the target grant authority information.
In another aspect, the present invention discloses an application synchronization apparatus applied to a first terminal, the apparatus including:
the acquisition and storage module is used for acquiring and storing a currently installed first application list and the grant permission information of the first application in the first application list; and
and the sending module is used for sending the first application list and the authority granting information of the first application in the first application list to a terminal or a server to be synchronized.
In yet another aspect, an apparatus for application synchronization is disclosed that includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for:
acquiring a first application list currently installed by a first terminal and granting permission information of a first application in the first application list;
determining a target application to be installed in the terminal to be synchronized according to the first application list;
determining target grant permission information of the target application according to the grant permission information of the first application in the first application list;
and installing the target application in the terminal to be synchronized according to the target grant authority information.
In yet another aspect, an apparatus for application synchronization is disclosed that includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs include instructions for:
acquiring and storing a first application list which is installed currently and the grant permission information of a first application in the first application list;
and sending the first application list and the authority granting information of the first application in the first application list to a terminal or a server to be synchronized.
The embodiment of the invention has the following advantages:
the embodiment of the invention can refer to the first application list currently installed by the first terminal and install the corresponding target application on the terminal to be synchronized, namely, the target application in the first application list can be automatically synchronized to the terminal to be synchronized.
In addition, the embodiment of the invention can determine the target grant permission information of the target application according to the grant permission information of the first application in the first application list, and install the target application in the terminal to be synchronized according to the target grant permission information; in the process of installing the target application to the terminal to be synchronized, the embodiment of the invention can automatically help the user to authorize the target application being installed according to the authorization authority information of the first application in the first application list, so that the information security of the user can be ensured, the operation cost required by the authority setting of the application program can be saved, and the installation efficiency of the application is further improved.
Drawings
FIG. 1 is a flowchart illustrating the steps of a first embodiment of a method for application synchronization according to the present invention;
FIG. 2 is a flowchart illustrating steps of a second embodiment of a method for application synchronization according to the present invention;
FIG. 3 is a flowchart of the third step of an embodiment of the application synchronization method of the present invention;
FIG. 4 is a block diagram of a first embodiment of an application synchronization apparatus according to the present invention;
FIG. 5 is a block diagram of a second embodiment of an application synchronization apparatus according to the present invention;
fig. 6 is a block diagram illustrating an apparatus for applying synchronization as a terminal according to an example embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The embodiment of the invention provides an application synchronization scheme, which can firstly acquire a first application list currently installed by a first terminal and grant permission information of a first application in the first application list; then, determining a target application to be installed in the terminal to be synchronized according to the first application list; then, determining target grant permission information of the target application according to the grant permission information of the first application in the first application list; and finally, installing the target application in the terminal to be synchronized according to the target grant authority information.
In practical applications, the terminal to be synchronized may be used to represent a terminal to be synchronized, and the first terminal may be a terminal different from the terminal to be synchronized. The first terminal and the terminal to be synchronized may both be intelligent terminals, and optionally, the intelligent terminal may specifically include but is not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like.
In an alternative embodiment of the present invention, the first terminal and the terminal to be synchronized may be terminals owned by the same user. For example, the first terminal and the terminal to be synchronized are an old terminal and a new terminal owned by the user a, respectively, where the first terminal may be installed with at least one first application that meets the preference of the user a, and then after the user a purchases the terminal to be synchronized, the application synchronization scheme of the embodiment of the present invention may be triggered, so that the application synchronization scheme of the embodiment of the present invention refers to the first application list and installs the target application that meets the preference of the user a on the terminal to be synchronized.
Of course, the first terminal and the terminal to be synchronized may be the old terminal and the new terminal owned by the user a, respectively, but are only optional embodiments of the present invention, and in fact, the first terminal and the terminal to be synchronized may also be terminals (such as a computer and a smart phone) owned by the user a in two different terminal types, or the first terminal and the terminal to be synchronized may also be terminals owned by different users, such as a terminal owned by the user a and a terminal owned by a friend user or a family user of the user a, and the present invention does not limit the specific first terminal and the terminal to be synchronized.
It should be noted that, since the same terminal may be used as a new terminal at one time and used as an old terminal at another time, the same terminal in the embodiment of the present invention may include both the processing logic of the terminal to be synchronized and the processing logic of the first terminal.
In summary, the embodiment of the present invention may refer to the first application list currently installed on the first terminal, and install the corresponding target application on the terminal to be synchronized, that is, may automatically synchronize the target application in the first application list to the terminal to be synchronized.
At present, the types of application programs which can be installed by a terminal are more and more, and the threat of the application programs to the privacy of a user cannot be ignored when the user installs various application programs. For example, the application program may complete its own role without reading the private data of the user, but for some benefits or other factors, the application program may also read the private data of the user, such as an address book, a short message, a call record, a location, and a schedule, or use system resources, such as a sound recording device, an image pickup device, and a network device, and obtain the private data of the user by using the system resources, and upload the private data to a backend server of the application program, so that the private data of the user is collected by the application program without knowing, thereby threatening the security of the user information and bringing unnecessary loss to the user. Therefore, in order to improve the information security of the user, the user needs to perform permission setting on the user program through an interface provided by an installation interface in the installation process of each application program so as to authorize the corresponding permission to the application program. However, when there are many applications to be installed, the user needs to perform permission setting for each application one by one, and the permission setting undoubtedly consumes the operation cost of the user.
Aiming at the problem of operation cost consumption caused by permission setting of the application program, the embodiment of the invention can determine the target permission granting information of the target application according to the permission granting information of the first application in the first application list, and install the target application in the terminal to be synchronized according to the target permission granting information; in the process of installing the target application to the terminal to be synchronized, the embodiment of the invention can automatically help the user to authorize the target application being installed according to the authorization authority information of the first application in the first application list, so that the information security of the user can be ensured, the operation cost required by the authority setting of the application program can be saved, and the installation efficiency of the application is further improved.
Method embodiment 1
Referring to fig. 1, a flowchart illustrating a step of a first embodiment of an application synchronization method according to the present invention is shown, and is applied to a first terminal, where the first embodiment of the method may specifically include the following steps:
step 101, acquiring and storing a currently installed first application list and grant authority information of a first application in the first application list;
and 102, sending the first application list and the authority granting information of the first application in the first application list to a terminal or a server to be synchronized.
The application synchronization method provided in the first embodiment of the method can be applied to any first APP running on the first terminal, where the first APP may be a system-level APP or an application-level APP, and optionally, the first APP, regardless of being the system-level APP or the application-level APP, may have functions of application program management, system management (such as memory, storage, and the like cleaning), network management, resource transmission, and the like, so as to assist a user in managing the intelligent terminal more conveniently. Optionally, the client and the server of the first APP may be located in a wired or wireless network, and the client and the server may perform data interaction through the wired or wireless network, or the client and the server may perform data interaction. For convenience of description, in the embodiment of the present invention, the first client is used to represent the client running on the first terminal. It is to be understood that the above application environments are only examples, and the embodiments of the present invention are not limited to specific application environments.
The first application list may be used to record a list of currently installed first applications on the first terminal. Optionally, the first application list may be used to record installation information of the first application, and the installation information may include: at least one of an application name, an application package name, and version information. The application program can be used for representing the name of the application program, the application package name can be used for representing the name of an installation package of the application program, the application package name is usually a unique identifier of the application program, and the version information can be used for representing the development order definition of the application program by an application program developer.
In practical applications, the currently installed first application list may be obtained by using an obtaining interface of an installed application provided by an operating system of the first terminal.
In an application example of the present invention, a packagemanar management class is provided in an Android (Android) system, and an interface function of the packagemanar is called to obtain an application package name of a first application installed on a first terminal of the Android system (for example, an entry of a calendar application is com.
In another application example of the present invention, the runtime in the IOS system that provides lsappticationworkpace _ class obtains the class of the installed application list, or the installed application list may also be obtained by reading com.
It can be understood that, in the embodiment of the present invention, no limitation is imposed on an obtaining manner for obtaining the currently installed first application list.
In addition, the authorization information acquisition interface of the installed application provided by the operating system of the first terminal may be used to acquire the authorization information of each currently installed first application, where the authorization information is also what authorization the first application is granted. For example, in an android system, if an installed application needs to execute a certain operation, a right corresponding to the operation needs to be declared, and specifically, a corresponding authorization tag may be added in a manifest file, so that the embodiment of the present invention may obtain grant right information of each first application by reading the authorization tag in the manifest file. For example, if a first application is granted the right to "acquire location data" by a user, the granted right information may include: the position data is read. It can be understood that the embodiment of the present invention does not limit the specific manner of obtaining the grant permission information of each currently installed first application.
In practical applications, the currently installed first application list and the grant permission information of the first application in the first application list may be saved in a manner of a database file or a configuration file, and it may be understood that the embodiment of the present invention is not limited to a specific saving manner.
In practical application, the first terminal may actively send the first application list and the grant permission information of the first application in the first application list to the terminal to be synchronized or the server, or the first terminal may send the first application list and the grant permission information of the first application in the first application list to the terminal to be synchronized or the server in response to an acquisition request sent by the terminal to be synchronized or the server.
The first client running on the first terminal can perform data interaction with the server through the wired or wireless network so as to send the first application list and the authority granting information of the first application in the first application list to the server.
The communication mode between the first terminal and the terminal to be synchronized may specifically include: bluetooth communication, short message communication, data line communication, internet communication, or the like. Optionally, when an internet communication mode is adopted, the first terminal and the terminal to be synchronized may communicate with each other in a user account mode, that is, the first terminal and the terminal to be synchronized may operate a first client and a second client, respectively, and the first client and the second client may communicate with each other in the user account mode, where the first client and the second client may correspond to the same or different user accounts, so that convenience of communication between terminals may be achieved.
Optionally, when the terminal types of the first terminal and the terminal to be synchronized are the same, the first client and the second client may be versions in which the same user account is applicable to the corresponding terminal types, for example, if the terminal type is a smartphone type, the first client and the second client may log in through the same user account. Or, when the terminal types of the first terminal and the terminal to be synchronized are different, the first client and the second client may be versions of the same user account applicable to different terminal types; for example, the first client and the second client may be a version which is applicable to a smart phone and a version which is applicable to a Computer respectively by the same user account, further, the first client is a mobile phone assistant application program of a smart phone version, such as a mobile phone assistant application program of an android version, and the second client is a mobile phone assistant application program of a Computer version, such as a mobile phone assistant application program of a PC (Personal Computer) version, and the like.
In an optional embodiment of the present invention, the step 102 of sending the first application list and the grant permission information of the first application in the first application list to the terminal to be synchronized or the server may specifically include: generating corresponding snapshot information according to the first application list and the authority granting information of the first application in the first application list; and sending snapshot information to a terminal or a server to be synchronized. The snapshot information may be: the first application list and the text information corresponding to the grant permission information of the first application in the first application list have small data volume corresponding to the snapshot information in the text form, so that the transmission efficiency and the processing efficiency of the snapshot information can be improved.
In another optional embodiment of the present invention, the corresponding snapshot information may be further generated according to the first application list, the grant permission information of the first application in the first application list, and the running resource information of the first application in the first application list. The running resource information can be used for representing resource information such as a memory and a CPU (central processing unit) required by the running of the first application, and the running resource information can be used as a basis for determining a target application required to be installed by the terminal to be synchronized.
In yet another optional embodiment of the present invention, corresponding snapshot information may be further generated according to the first application list, the grant permission information of the first application in the first application list, and the usage frequency information of the first application in the first application list. The usage frequency information may be used to indicate a usage frequency of the first application in the first terminal, and the usage frequency information may be used as a basis for determining a target application that needs to be installed by the terminal to be synchronized.
It should be noted that, in the embodiment of the present invention, the snapshot information may be a combination of at least one of the first application list, the grant permission information of the first application in the first application list, the running resource information of the first application in the first application list, and the usage frequency information of the first application in the first application list, and a specific source of the snapshot information is not limited in the embodiment of the present invention.
In practical application, the first client may provide a snapshot generating interface, so that a user generates corresponding snapshot information by triggering the snapshot generating interface, which may be understood that, in the embodiment of the present invention, a specific generation time of the snapshot information is not limited.
In an optional embodiment of the present invention, the step 102 of sending the first application list and the grant permission information of the first application in the first application list to the terminal or the server to be synchronized may include: generating a corresponding two-dimensional code according to the first application list and the authority granting information of the first application in the first application list; and displaying the two-dimension code so that the terminal to be synchronized can obtain the first application list and the authority granting information of the first application in the first application list by scanning the two-dimension code.
The two-dimensional code is also called a two-dimensional bar code, which can be understood as a pattern of black and white alternating with a specific geometric pattern distributed in a two-dimensional direction according to a certain rule, and can be understood as a key of information data. The two-dimensional code may specifically include: stacked, row-by-row, matrix, etc. The embodiment of the invention can transmit information between the first terminal and the terminal to be synchronized in the form of the two-dimensional code so as to improve the safety of information transmission, and the specific two-dimensional code and the corresponding generation mode are not limited.
To sum up, according to the application synchronization method in the embodiment of the present invention, the first terminal may obtain and store the currently installed first application list and the grant permission information of the first application in the first application list, and send the first application list and the grant permission information of the first application in the first application list to the terminal to be synchronized or the server, so that the terminal to be synchronized can install the corresponding target application on the terminal to be synchronized with reference to the first application list currently installed by the first terminal, that is, the target application in the first application list can be automatically synchronized to the terminal to be synchronized, thereby improving the installation efficiency of the application.
Moreover, the authorization information of the first application in the first application list can enable the terminal to be synchronized to automatically help the user to authorize the target application being installed according to the authorization information of the first application in the first application list in the process of installing the target application to the terminal to be synchronized, so that the information security of the user can be ensured, the operation cost required by the authorization setting of the application program can be saved, and the installation efficiency of the application can be further improved.
Method embodiment two
Referring to fig. 2, a flowchart of steps of a second embodiment of the synchronization method according to the present invention is shown, and is applied to a terminal to be synchronized, where the second embodiment of the method may specifically include the following steps:
step 201, acquiring a first application list currently installed by a first terminal and grant permission information of a first application in the first application list;
step 202, determining a target application to be installed in the terminal to be synchronized according to the first application list;
step 203, determining target grant permission information of the target application according to the grant permission information of the first application in the first application list;
and step 204, installing the target application in the terminal to be synchronized according to the target grant authority information.
The application synchronization method provided in the second method embodiment may be applied to any second APP running on the terminal to be synchronized, where the second APP may be a system-level APP or an application-level APP, and optionally, whether the second APP is a system-level APP or an application-level APP, the second APP may have functions of application program management, system management (such as memory, storage, and the like), network management, resource transmission, and the like, so as to assist a user in managing the intelligent terminal more conveniently. Optionally, the client and the server of the second APP may be located in a wired or wireless network, and the client and the server may perform data interaction through the wired or wireless network, or the client and the server may perform data interaction. For convenience of description, the embodiment of the present invention uses the second client to represent the client running on the terminal to be synchronized. It is to be understood that the above application environments are only examples, and the embodiments of the present invention are not limited to specific application environments.
In practical applications, step 201 may obtain, from the first terminal or the server, a first application list currently installed by the first terminal and grant permission information of the first application in the first application list.
In an optional embodiment of the present invention, the obtaining manner adopted by the step 201 of obtaining the first application list currently installed by the first terminal and the authorization authority information of the first application in the first application list may include:
the method comprises the steps that in the mode 1, a two-dimensional code displayed by a first terminal is scanned to obtain a first application list currently installed by the first terminal and grant permission information of a first application in the first application list; or
Acquiring a mode 2, establishing connection with a first terminal, and receiving a first application list currently installed by the first terminal and authorization authority information of a first application in the first application list, which are sent by the first terminal, through the connection; or
And an obtaining mode 3, obtaining a first application list currently installed by the first terminal and the granting permission information of the first application in the first application list from a server.
The obtaining method 1 may obtain, from a first terminal, a first application list currently installed on the first terminal and grant permission information of a first application in the first application list in a form of a two-dimensional code, so as to improve security of information transmission.
The obtaining method 2 may obtain, from the first terminal, the first application list currently installed in the first terminal and the grant permission information of the first application in the first application list through connection between the terminal to be synchronized and the first terminal. Optionally, the communication mode corresponding to the connection between the terminal to be synchronized and the first terminal may include: bluetooth communication, short message communication, data line communication, internet communication, or the like. Optionally, when an internet communication manner is adopted, the first terminal and the terminal to be synchronized may communicate in a user account manner, for example, the second client may send a first obtaining request to the first client, and receive a first application list currently installed on the first terminal and grant permission information of the first application in the first application list, which are returned by the first client according to the first obtaining request.
The obtaining method 3 may obtain the first application list and the grant permission information of the first application in the first application list in a server transfer manner, where the first terminal may report the first application list and the grant permission information of the first application in the first application list to the server periodically, so that the server stores the reported information, and thus, the second client may send a second obtaining request to the server, and receive the first application list currently installed by the first terminal and the grant permission information of the first application in the first application list, which are returned by the server according to the second obtaining request.
It can be understood that a person skilled in the art may adopt any one or a combination of the above obtaining manner 1-obtaining manner 3 according to an actual application requirement, or may also adopt other obtaining manners, for example, the first terminal may send the two-dimensional code to a terminal to be synchronized or a server, so that the terminal to be synchronized decodes the received two-dimensional code to obtain corresponding information, and the like.
In another optional embodiment of the present invention, the step 201 of acquiring a first application list currently installed in the first terminal and grant permission information of a first application in the first application list may include: acquiring snapshot information of a first terminal currently installed with an application; and acquiring a first application list currently installed in the first terminal and the authorization authority information of the first application in the first application list from the snapshot information.
The snapshot information can be obtained through a two-dimensional code, a user account or a Bluetooth communication mode. The snapshot information may be: the first application list and the text information corresponding to the grant permission information of the first application in the first application list have smaller data size corresponding to the snapshot information in the text form, so that the transmission efficiency of the snapshot information can be improved; in addition, the terminal to be synchronized can quickly read the first application list and the grant permission information of the first application in the first application list from the snapshot information in the text form, so that the acquisition efficiency of the first application list and the corresponding grant permission information can be improved.
In another optional embodiment of the present invention, the snapshot information in the embodiment of the present invention may further be a combination of at least one of the first application list, the grant permission information of the first application in the first application list, the running resource information of the first application in the first application list, and the usage frequency information of the first application in the first application list, so that the terminal to be synchronized may obtain at least one of the first application list, the grant permission information of the first application in the first application list, the running resource information of the first application in the first application list, and the usage frequency information of the first application in the first application list from the snapshot information.
In an optional embodiment of the present invention, the first application list obtained in step 201 is used to record installation information of the first application, where the installation information may include: at least one of an application name, an application package name, and version information.
Step 202 may determine, according to the first application list obtained in step 201, a target application that needs to be installed in the terminal to be synchronized. Optionally, installation information of the target application may be determined, and the installation information may include: and at least one of the application name, the application package name and the version information is adopted, so that the target application can be automatically searched in an APP database of an APP store according to the installation information of the target application, and the installation package of the target application obtained by searching is downloaded to the terminal to be synchronized. For example, assuming that the second client is a mobile phone assistant application program of a smart phone version, the second client may send installation information of the target application to the server, so that the server performs automatic search of the target application in the maintained APP database according to the installation information of the target application.
Step 202 may determine, according to the first application list, a target application that needs to be installed in the terminal to be synchronized in the following determination manner:
determining a mode 1, and comparing the first application list with a second application list currently installed in the terminal to be synchronized to obtain a first application existing in the first application list but not in the second application list, which is used as a target application to be installed in the terminal to be synchronized.
In practical application, the terminal to be synchronized may obtain the currently installed second application list by using an obtaining interface of an installed application provided by an operating system of the terminal to be synchronized.
The determination method 1 may obtain, through comparison, a first application that exists in the first application list but is not in the second application list, that is, a first application that is not installed by the terminal to be synchronized, as a target application that needs to be installed in the terminal to be synchronized.
Determining a mode 2, comparing the first application list with a second application list currently installed by the terminal to be synchronized to obtain a first application existing in the first application list but not in the second application list; presenting the first application that exists in the first application list but is not in the second application list to a user; and determining the target application which needs to be installed in the terminal to be synchronized according to the selection operation of the user on the displayed first application.
The determination mode 2 may present the first application that is not installed by the terminal to be synchronized in the form of a list, and may also present a corresponding operation interface. Optionally, the operation interface may include: and the one-key installation interface is used for enabling the user to realize one-key installation of the displayed first application through the one-key installation interface. Alternatively, the operation interface may include: and the check box corresponds to each first application, so that the user can selectively install part of the displayed first applications through the check box, and the selection flexibility of the target application is improved.
Determining a mode 3, comparing the first application list with a second application list currently installed by the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list; and selecting target applications needing to be installed in the terminal to be synchronized from the first applications existing in the first application list but not in the second application list according to the use frequency information of the first applications.
The determination method 3 may automatically select the target application based on the usage frequency information of the first application. The usage frequency information of the first application indicates a usage frequency of the first application in the first terminal, and alternatively, the usage frequency information may be indicated by a last time the first application is used, and the probability that the first application is selected is higher as the last time the first application is used is closer to the current time. Alternatively, the usage frequency information may be represented by the number of times the first application is used within a preset time period, where the length of the preset time period may be 1 month, 2 weeks, and the like, and thus, the target application may be selected according to whether the number of times the first application is used within the preset time period exceeds a threshold number. For example, a certain instant messenger APP is used 30 times within 1 month, an electronic commerce APP is used 20 times within 1 month, a certain browser APP is used 10 times within 1 month, a certain first financing APP is used 9 times within 1 month, a certain dictionary APP and a certain second financing APP are used 1 time within 1 month, and a preset time threshold is 5, then the certain dictionary APP and the certain second financing APP can be discarded, and the instant messenger APP, the electronic commerce APP, the browser APP and the first financing APP are selected. It is to be understood that the embodiment of the present invention does not impose a limitation on the specific manner of selecting the target application according to the usage frequency information of the first application.
Determining a mode 4, and acquiring a target first application needing to be installed in the terminal to be synchronized from the first application existing in the first application list but not in the second application list; and acquiring a target second application matched with the equipment information of the terminal to be synchronized according to the first application name and/or the first application package name of the target first application, and taking the target second application as the target application to be installed in the terminal to be synchronized.
In practical applications, the first application list may be used to record installation information of the first application, where the installation information may include: at least one of a first application name, a first application package name, and first version information.
The determining method 4 may first obtain a target first application that needs to be installed in the terminal to be synchronized, by using at least one of the determining methods 1 to 3; and then, acquiring a target second application matched with the equipment information of the terminal to be synchronized according to the first application name and/or the first application package name of the target first application. Here, the first application name and/or the first application package name of the target first application may be derived from installation information of the first application. In some cases, the device information of the terminal to be synchronized is different from the device information of the first terminal, which may cause mismatching between the target first application and the terminal to be synchronized, so the method for automatically acquiring the target second application adapted to the device information of the terminal to be synchronized in the embodiment of the present invention can improve the intelligence of application synchronization.
In an application example of the present invention, it is assumed that a first application name of a target first application that is not installed by a terminal to be synchronized is referred to as "XX input method" by comparing a first application list and a second application list, where "XX" represents a keyword of an input method corresponding to the target first application, such as a name of the input method; however, by analyzing the first application name and/or the first application package name of the target first application, the operating system applicable to the target first application is android, but by analyzing the device information (such as the operating system information) of the terminal to be synchronized, the operating system of the terminal to be synchronized is an IOS, so that a target second application (such as an "XX input method IOS" or the like) adapted to the IOS of the terminal to be synchronized can be obtained, or an installation package of the target second application adapted to the IOS version of the terminal to be synchronized can be obtained for downloading and installing by the terminal to be synchronized.
In another application example of the present invention, it is assumed that, by comparing the first application list and the second application list, the first application name of the target first application that is not installed by the terminal to be synchronized is referred to as "XX input method," where "XX" represents a keyword of an input method corresponding to the target first application, such as a name of the input method; however, the device type of the target first application is known as a smart phone by analyzing the first application name and/or the first application package name of the target first application, but the device type or the set top box or the smart television of the terminal to be synchronized can be known by analyzing the device information (such as the device model information) of the terminal to be synchronized, so that the target second application (such as an XX input method TV edition) matched with the device model of the terminal to be synchronized can be obtained, or the installation package of the target second application matched with the device model of the terminal to be synchronized can be obtained for downloading and installing by the terminal to be synchronized.
Of course, the os information and the device model information are only optional embodiments of the device information, and actually, the device information of the embodiment of the present invention may further include: the hardware resource information of the device, such as the hardware resource information of the device, may include: CPU information, memory information, and the like, and the embodiment of the present invention does not limit specific device information.
The determining method 5 and the first application list are used for recording installation information of the first application, and the installation information includes: at least one of the first application name, the first application package name, and the first version information, the determining means 5 may include: acquiring a target application which needs to be installed in the terminal to be synchronized from the first application which exists in the first application list but is not in the second application list; the second application list is an application list currently installed by the terminal to be synchronized; and acquiring target version information corresponding to the target application according to the running resource information of the target application and the hardware resource information of the terminal to be synchronized.
The determining means 5 may first obtain a target application to be installed in the terminal to be synchronized by using at least one of the determining means 1 to the determining means 3; then, combining the running resource information of the target application and the hardware resource information of the terminal to be synchronized, and intelligently acquiring reasonable target version information for the terminal to be synchronized; here, the running resource of the target application may be derived from snapshot information of the first terminal.
In an application example of the present invention, assuming that the CPU configuration of the first terminal is low and the memory is small, only the APP with a low version and low memory consumption can be installed, and after the terminal is replaced, the CPU configuration and the memory configuration of the terminal to be synchronized are both improved, and then the APP with a higher version and more functions can be installed. Optionally, a ratio of the hardware resource information of the terminal to be synchronized to the running resource information of the target application may be calculated, and if the ratio is greater than a ratio threshold, the target version information corresponding to the target application name and/or the target application package name may be obtained. For example, assuming that the memory of the terminal to be synchronized is 4GB, the memory occupied by a certain target application when running is 10M, since the ratio of the two is 400, and the threshold of the ratio is assumed to be 50, and since 400 is much greater than 50, the latest version corresponding to the name of the target application and/or the name of the packet of the target application can be obtained as the corresponding target version information. The person skilled in the art can determine the ratio threshold according to the actual application requirement to ensure that the terminal to be synchronized has enough memory to run the required target application, and further ensure the performance such as the response speed of the terminal to be synchronized.
The process of determining the target application to be installed in the terminal to be synchronized according to the first application list is described in detail through the determination mode 1-the determination mode 5, and it can be understood that a person skilled in the art may adopt any one or a combination of the determination mode 1-the determination mode 5 and other determination modes according to actual application requirements.
After determining the target application to be installed in the terminal to be synchronized in step 202, step 203 may determine target grant permission information of the target application according to the grant permission information of the first application in the first application list. The authorization authority information of the first application can be used for indicating which authorities the first application is authorized to, so that the authorization authority information can be used as a basis for target authorization authority information of the target application, and further the target application can be automatically authorized according to the target authorization authority information in the installation process of the target application in step 204, so that the authorization operation and the cost corresponding to the authorization operation performed by a user on the installation interface of each target application one by one can be saved, the installation efficiency of the application is improved, and the user experience is improved.
In an optional embodiment of the present invention, step 203 may acquire a first application matching with the target application, and use the acquired grant permission information of the first application as target grant permission information of the target application. Specifically, the installation information of the target application (e.g., the target application name and/or the target application package name) may be matched with the wrapper information of the first application (e.g., the first application name and/or the first application package name) to obtain the first application matched with the target application. In an application example of the present invention, assuming that an application name of a target application is "XX input method IOS", an application name of a first application matching the target application may be "XX input method", and grant permission information of the first application may be used as target grant permission information of the target application.
In another optional embodiment of the present invention, the step 203 of determining the target grant permission information of the target application according to the grant permission information of the first application in the first application list may include: and displaying part or all of the first application and the corresponding granted permission information, responding to the modification operation of the user on the displayed granted permission information, modifying the granted permission information corresponding to the first application, and taking the modified granted permission information as the corresponding target granted permission information. The display of the grant permission information corresponding to the first application can facilitate the user to obtain the required target grant permission information by modifying the displayed grant permission information, so that the flexibility of the target grant permission information can be improved.
In practical application, the granted permission information of each first application can be displayed while the first application list is displayed; or, only the first application which is not installed by the terminal to be synchronized and the corresponding grant permission information thereof may be presented; alternatively, only the target application and its corresponding grant permission information may be presented.
After determining the target grant permission information of the target application in step 203, step 204 may install the target application in the terminal to be synchronized according to the target grant permission information. Optionally, step 204 may trigger the installation of the target application by executing the installation package of the target application, and automatically help the user to authorize the target application according to the target authorization authority information of the target application during the installation process of the target application. The installation package of the target application may be obtained by automatically searching and downloading according to the snapshot information, for example, the installation package of the target application obtained by searching may be automatically searched in an APP database of an APP store, for example, according to the installation information of the target application carried by the snapshot information, and downloaded to the terminal to be synchronized.
To sum up, the application synchronization method according to the embodiment of the present invention can refer to the first application list currently installed on the first terminal, and install the corresponding target application on the terminal to be synchronized, that is, can automatically synchronize the target application in the first application list to the terminal to be synchronized. From the perspective of a user, the user can trigger the application synchronization method process of the embodiment of the invention through the first terminal or the terminal to be synchronized, that is, the target application can be installed on the terminal to be synchronized by one key, so that the operation cost of the user can be greatly saved, and the user experience is improved.
In addition, the embodiment of the invention can determine the target grant permission information of the target application according to the grant permission information of the first application in the first application list, and install the target application in the terminal to be synchronized according to the target grant permission information; in the process of installing the target application to the terminal to be synchronized, the embodiment of the invention can automatically help the user to authorize the target application being installed according to the authorization authority information of the first application in the first application list, so that the information security of the user can be ensured, the operation cost required by the authority setting of the application program can be saved, and the installation efficiency of the application is further improved.
Method example III
Referring to fig. 3, a flowchart illustrating steps of a second embodiment of the application synchronization method according to the present invention is shown, where the third embodiment of the method may specifically include the following steps:
301, a first client acquires and stores a first application list currently installed by a first terminal and grant permission information of a first application in the first application list;
assuming that the first client is a smartphone version of a mobile assistant application, in order to provide reference information of application synchronization to other terminals, the first client may obtain and store a first application list currently installed in the first terminal and grant permission information of a first application in the first application list.
Optionally, the first application list may be used to record installation information of the first application, where the installation information may include: at least one of the first application name, the first application package name and the first version information can be used for searching and obtaining the installation package which is the same as the installation package of the first application.
The granted permission information of the first application can be used for indicating which permissions are granted to the first application, and the saved granted permission information can be used for automatically helping the user to authorize the target application in the installation process of the terminal to be synchronized on the target application.
Step 302, the first client generates corresponding snapshot information according to the first application list and the grant permission information of the first application in the first application list;
step 303, the first client generates a corresponding two-dimensional code according to the snapshot information, and displays the two-dimensional code, so that the terminal to be synchronized obtains the first application list and the grant permission information of the first application in the first application list by scanning the two-dimensional code;
it should be noted that step 302 and/or step 303 may be triggered by the user or the first client. For example, when a user of a first terminal needs to provide a first application list and grant permission information of a first application in the first application list to a terminal to be synchronized through the first terminal, step 302 and step 303 may be triggered; for another example, when a user of a terminal to be synchronized needs to obtain a first application list from a first terminal and grant permission information of a first application in the first application list, an obtaining request may be sent to a first client through a second client, and the first client may execute step 302 and step 303 in response to the obtaining request; for another example, the first client may periodically perform step 302 to generate snapshot information, and perform step 303 in response to the obtaining request sent by the second client, and so on; it is understood that the embodiment of the present invention does not limit the specific triggering manner of step 302 and/or step 303.
Step 304, the second client scans the two-dimensional code displayed by the first terminal to obtain a first application list currently installed by the first terminal and grant permission information of the first application in the first application list;
305, the second client determines a target application to be installed in the terminal to be synchronized according to the first application list;
step 306, the second client determines the target authorization authority information of the target application according to the authorization authority information of the first application in the first application list;
and 307, the second client installs the target application in the terminal to be synchronized according to the target grant permission information.
In an application example of the present invention, assuming that a user B installs an input method APP, an instant messaging APP, a browser APP, an e-commerce APP, a payment APP, and the like on a currently used first terminal according to a preference of the user B, a first client running on the first terminal may automatically obtain and store a first application list currently installed on the first terminal and grant permission information of a first application in the first application list.
Assuming that a user B newly purchases a terminal to be synchronized and the terminal to be synchronized is still poor in APP and is not installed, the user B may trigger the second client to generate a first application list currently installed by the first terminal, snapshot information corresponding to authority granting information of the first application in the first application list, and a two-dimensional code corresponding to the snapshot information.
The second client running on the terminal to be synchronized can scan the two-dimensional code to obtain corresponding snapshot information, obtain a first application list currently installed by the first terminal and grant permission information of the first application in the first application list from the snapshot information, use the first application not installed by the terminal to be synchronized as a target application, search an installation package corresponding to the target application in an APP store, and install all the target applications on the terminal to be synchronized by one key, wherein in the process of installing the target applications on the terminal to be synchronized, the grant permission information of the first application is automatically utilized to help a user to authorize the target application, so that the authorization operation of the user on installation interfaces of each target application one by one can be saved, and thus, the operation cost required by permission setting of an application program can be saved while the information security of the user is ensured, further improving the installation efficiency of the application.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the present invention is not limited by the described motion sequences, because some steps may be performed in other sequences or simultaneously according to the present invention. Furthermore, those skilled in the art will appreciate that the embodiments described in this specification are presently preferred and that the motion described is not required for the embodiments of the invention.
Apparatus embodiment one
Referring to fig. 4, a block diagram of a first embodiment of an application synchronization apparatus according to the present invention is shown, where the apparatus is applied to a terminal to be synchronized, and specifically may include: a first application acquisition module 401, a target application determination module 402, a target permission determination module 403, and a target application installation module 404.
The first application obtaining module 401 is configured to obtain a first application list currently installed in a first terminal and grant permission information of a first application in the first application list;
a target application determining module 402, configured to determine, according to the first application list, a target application that needs to be installed in the terminal to be synchronized;
a target permission determining module 403, configured to determine, according to permission granting information of a first application in the first application list, target permission granting information of the target application;
and a target application installation module 404, configured to install the target application in the terminal to be synchronized according to the target grant permission information.
Optionally, the target application determining module 402 may include:
and the first comparison sub-module is used for comparing the first application list with a second application list currently installed in the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list, and the first application is used as a target application to be installed in the terminal to be synchronized.
Optionally, the target application determining module 402 may include:
the second comparison submodule is used for comparing the first application list with a second application list currently installed in the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
a presentation submodule, configured to present, to a user, the first application that exists in the first application list but is not in the second application list;
and the first selection determining submodule is used for determining the target application required to be installed in the terminal to be synchronized according to the selection operation of the user on the displayed first application.
Optionally, the target application determining module 402 may include:
a third comparison sub-module, configured to compare the first application list with a second application list currently installed in the terminal to be synchronized, so as to obtain a first application that exists in the first application list but is not in the second application list;
and the second selection determining submodule is used for selecting target applications which need to be installed in the terminal to be synchronized from the first applications which exist in the first application list but are not in the second application list according to the use frequency information of the first applications.
Optionally, the first application list is used to record installation information of the first application, where the installation information may include: at least one of a first application name, a first application package name, and first version information.
Optionally, the target application determining module 402 may include:
a first obtaining sub-module, configured to obtain a target first application that needs to be installed in the terminal to be synchronized from the first application that exists in the first application list but is not in the second application list; the second application list is an application list currently installed on the terminal to be synchronized;
and the second obtaining submodule is used for obtaining a target second application matched with the equipment information of the terminal to be synchronized according to the first application name and/or the first application package name of the target first application, and taking the target second application as the target application to be installed in the terminal to be synchronized.
Optionally, the target application determining module 402 may include:
a third obtaining sub-module, configured to obtain, from the first application that exists in the first application list but is not in the second application list, a target application that needs to be installed in the terminal to be synchronized; the second application list is an application list currently installed by the terminal to be synchronized;
and the fourth obtaining submodule is used for obtaining the target version information corresponding to the target application according to the running resource information of the target application and the hardware resource information of the terminal to be synchronized.
Optionally, the first application list is used to record installation information of the first application, where the installation information may include: at least one of a first application name, a first application package name, and first version information.
Optionally, the first application obtaining module 401 may include:
the scanning sub-module is used for scanning the two-dimensional code displayed by the first terminal to obtain a first application list currently installed by the first terminal and grant authority information of the first application in the first application list; or
The fifth obtaining submodule is used for establishing connection with a first terminal and receiving a first application list which is sent by the first terminal and is currently installed by the first terminal and the granting authority information of the first application in the first application list through the connection; or
And the sixth obtaining submodule is used for obtaining a first application list currently installed by the first terminal and the authorization authority information of the first application in the first application list from a server.
Optionally, the first application obtaining module 401 may include:
the snapshot obtaining submodule is used for obtaining snapshot information of the currently installed application of the first terminal;
and a seventh obtaining sub-module, configured to obtain, from the snapshot information, a first application list currently installed in the first terminal and grant permission information of the first application in the first application list.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Device embodiment II
Referring to fig. 5, a block diagram of a second embodiment of an application synchronization apparatus according to the present invention is shown, where the apparatus is applied to a first terminal, and specifically includes: an acquisition and storage module 501 and a sending module 502.
The acquiring and storing module 501 is configured to acquire and store a currently installed first application list and grant permission information of a first application in the first application list; and
a sending module 502, configured to send the first application list and the grant permission information of the first application in the first application list to a terminal or a server to be synchronized.
Optionally, the sending module 502 may include:
the snapshot generating submodule is used for generating corresponding snapshot information according to the first application list and the grant permission information of the first application in the first application list;
and the snapshot sending submodule is used for sending snapshot information to the terminal to be synchronized or the server.
Optionally, the sending module 502 may include:
the two-dimension code generation submodule is used for generating a corresponding two-dimension code according to the first application list and the grant permission information of the first application in the first application list;
and the two-dimension code display submodule is used for displaying the two-dimension code so that the terminal to be synchronized can obtain the first application list and the granting permission information of the first application in the first application list through scanning the two-dimension code.
For the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating an apparatus for applying synchronization as a terminal according to an exemplary embodiment. For example, the terminal 900 may be the aforementioned smart terminal, and may also be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 6, terminal 900 can include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
Processing component 902 generally controls overall operation of terminal 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
Memory 904 is configured to store various types of data to support operation at terminal 900. Examples of such data include instructions for any application or method operating on terminal 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the terminal 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 900.
The multimedia components 908 include a screen providing an output interface between the terminal 900 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide motion action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 900 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when terminal 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 914 includes one or more sensors for providing various aspects of state evaluation for terminal 900. For example, sensor component 914 can detect an open/closed state of terminal 900, a relative positioning of components, such as a display and keypad of terminal 900, sensor component 914 can also detect a change in position of terminal 900 or a component of terminal 900, the presence or absence of user contact with terminal 900, orientation or acceleration/deceleration of terminal 900, and a change in temperature of terminal 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 916 is configured to facilitate communications between terminal 900 and other devices in a wired or wireless manner. Terminal 900 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 904 comprising instructions, executable by processor 920 of terminal 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal to perform a method of application synchronization, the method comprising: acquiring a first application list currently installed by a first terminal and grant permission information of a first application in the first application list; determining a target application to be installed in the terminal to be synchronized according to the first application list; determining target grant permission information of the target application according to the grant permission information of the first application in the first application list; and installing the target application in the terminal to be synchronized according to the target grant authority information.
Optionally, the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized includes:
and comparing the first application list with a second application list currently installed in the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list, and using the first application as a target application to be installed in the terminal to be synchronized.
Optionally, the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized includes:
comparing the first application list with a second application list currently installed by the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
presenting the first application existing in the first application list but not in the second application list to a user;
and determining the target application which needs to be installed in the terminal to be synchronized according to the selection operation of the user on the displayed first application.
Optionally, the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized includes:
comparing the first application list with a second application list currently installed by the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
and selecting target applications needing to be installed in the terminal to be synchronized from the first applications existing in the first application list but not in the second application list according to the use frequency information of the first applications.
Optionally, the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized includes:
acquiring a target first application to be installed in the terminal to be synchronized from the first application which exists in the first application list but is not in the second application list; the second application list is an application list currently installed by the terminal to be synchronized;
and acquiring a target second application matched with the equipment information of the terminal to be synchronized according to the first application name and/or the first application package name of the target first application, and taking the target second application as the target application to be installed in the terminal to be synchronized.
Optionally, the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized includes:
acquiring a target application to be installed in the terminal to be synchronized from the first application which exists in the first application list but is not in the second application list; the second application list is an application list currently installed on the terminal to be synchronized;
and acquiring target version information corresponding to the target application according to the running resource information of the target application and the hardware resource information of the terminal to be synchronized.
Optionally, the first application list is used to record installation information of the first application, where the installation information includes: at least one of a first application name, a first application package name, and first version information.
Optionally, the obtaining a first application list currently installed by a first terminal and grant permission information of a first application in the first application list includes:
scanning a two-dimensional code displayed by a first terminal to obtain a first application list currently installed by the first terminal and authority granting information of a first application in the first application list; or alternatively
Establishing connection with a first terminal, and receiving a first application list currently installed by the first terminal and grant permission information of a first application in the first application list, which are sent by the first terminal, through the connection; or
And acquiring a first application list currently installed by the first terminal and the granting permission information of the first application in the first application list from a server.
Optionally, the obtaining a first application list currently installed by a first terminal and grant permission information of a first application in the first application list includes: acquiring snapshot information of a first terminal currently installed with an application; and acquiring a first application list currently installed in the first terminal and the authorization authority information of the first application in the first application list from the snapshot information.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal to perform a method of application synchronization, the method comprising: acquiring and storing a first application list which is installed currently and the grant permission information of a first application in the first application list; and sending the first application list and the authority granting information of the first application in the first application list to a terminal or a server to be synchronized.
Optionally, the sending the first application list and the grant permission information of the first application in the first application list to the terminal to be synchronized or the server includes: generating corresponding snapshot information according to the first application list and the authority granting information of the first application in the first application list; and sending snapshot information to a terminal or a server to be synchronized.
Optionally, the sending the first application list and the grant permission information of the first application in the first application list to the terminal to be synchronized or the server includes: generating a corresponding two-dimensional code according to the first application list and the grant permission information of the first application in the first application list; and displaying the two-dimension code so that the terminal to be synchronized can obtain the first application list and the authority granting information of the first application in the first application list by scanning the two-dimension code.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the invention is only limited by the appended patent claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.
The application synchronization method, the application synchronization device, and the device for application synchronization provided by the present invention are described in detail above, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (23)

1. An application synchronization method is applied to a terminal to be synchronized, and the method comprises the following steps:
acquiring a first application list currently installed by a first terminal and grant permission information of a first application in the first application list;
determining a target application to be installed in the terminal to be synchronized according to the first application list;
determining target authorization authority information of the target application according to authorization authority information of a first application in the first application list;
according to the target grant permission information, the target application is installed in the terminal to be synchronized;
the step of determining the target application to be installed in the terminal to be synchronized according to the first application list includes: acquiring a target first application needing to be installed in the terminal to be synchronized from a first application existing in the first application list but not in the second application list; the second application list is an application list currently installed by the terminal to be synchronized; acquiring a target second application adapted to the device information of the terminal to be synchronized according to the first application name and/or the first application package name of the target first application, and taking the target second application as a target application to be installed in the terminal to be synchronized;
the step of obtaining a first application list currently installed by a first terminal and grant permission information of a first application in the first application list comprises the following steps: scanning the two-dimensional code displayed by the first terminal to obtain snapshot information; and acquiring a first application list currently installed in the first terminal and the authorization authority information of the first application in the first application list from the snapshot information.
2. The method according to claim 1, wherein the step of determining a target first application to be installed in the terminal to be synchronized according to the first application list comprises:
and comparing the first application list with a second application list currently installed in the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list, and taking the first application as a target first application to be installed in the terminal to be synchronized.
3. The method according to claim 1, wherein the step of determining the target application to be installed in the terminal to be synchronized according to the first application list further comprises:
comparing the first application list with a second application list currently installed on the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
presenting the first application that exists in the first application list but is not in the second application list to a user;
and determining the target application which needs to be installed in the terminal to be synchronized according to the selection operation of the user on the displayed first application.
4. The method according to claim 1, wherein the step of determining the target application to be installed in the terminal to be synchronized according to the first application list further comprises:
comparing the first application list with a second application list currently installed by the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
and selecting target applications needing to be installed in the terminal to be synchronized from the first applications existing in the first application list but not in the second application list according to the use frequency information of the first applications.
5. The method according to claim 1, wherein the step of determining the target application to be installed in the terminal to be synchronized according to the first application list further comprises:
acquiring a target application to be installed in the terminal to be synchronized from the first application which exists in the first application list but is not in the second application list; the second application list is an application list currently installed on the terminal to be synchronized;
and acquiring target version information corresponding to the target application according to the running resource information of the target application and the hardware resource information of the terminal to be synchronized.
6. The method according to any one of claims 1 to 5, wherein the first application list is used for recording installation information of the first application, and the installation information comprises: at least one of a first application name, a first application package name, and first version information.
7. An application synchronization method, applied to a first terminal, the method comprising:
acquiring and storing a first application list which is installed currently and the grant permission information of a first application in the first application list;
sending the first application list and the authority granting information of the first application in the first application list to a terminal or a server to be synchronized;
the step of sending the first application list and the grant permission information of the first application in the first application list to the terminal to be synchronized or the server includes:
generating corresponding snapshot information according to the first application list and the authority granting information of the first application in the first application list;
generating a corresponding two-dimensional code according to the snapshot information;
and displaying the two-dimension code so that the terminal to be synchronized can obtain the first application list and the authority granting information of the first application in the first application list by scanning the two-dimension code.
8. An application synchronization apparatus, applied to a terminal to be synchronized, the apparatus comprising:
the first application acquisition module is used for acquiring a first application list currently installed by a first terminal and the granting permission information of a first application in the first application list;
the target application determining module is used for determining a target application to be installed in the terminal to be synchronized according to the first application list;
the target permission determining module is used for determining target permission granting information of the target application according to the permission granting information of the first application in the first application list; and
the target application installation module is used for installing the target application in the terminal to be synchronized according to the target grant permission information;
the target application determination module comprises:
a first obtaining submodule, configured to obtain a target first application that needs to be installed in the terminal to be synchronized from a first application that exists in the first application list but is not in the second application list; the second application list is an application list currently installed by the terminal to be synchronized;
a second obtaining sub-module, configured to obtain a target second application adapted to the device information of the terminal to be synchronized according to a first application name and/or a first application package name of the target first application, and use the target second application as a target application to be installed in the terminal to be synchronized;
the first application acquisition module comprises:
the scanning submodule is used for scanning the two-dimensional code displayed by the first terminal to obtain snapshot information;
and a seventh obtaining sub-module, configured to obtain, from the snapshot information, a first application list currently installed in the first terminal and grant permission information of the first application in the first application list.
9. The apparatus according to claim 8, wherein the first obtaining sub-module is specifically configured to compare the first application list with a second application list currently installed in the terminal to be synchronized, so as to obtain a first application that exists in the first application list but is not in the second application list, and the first application is used as a target first application that needs to be installed in the terminal to be synchronized.
10. The apparatus of claim 8, wherein the target application determination module further comprises:
the second comparison submodule is used for comparing the first application list with a second application list currently installed in the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
a presentation submodule, configured to present, to a user, the first application that exists in the first application list but is not in the second application list;
and the first selection determining submodule is used for determining the target application required to be installed in the terminal to be synchronized according to the selection operation of the user on the displayed first application.
11. The apparatus of claim 8, wherein the target application determination module further comprises:
a third comparison sub-module, configured to compare the first application list with a second application list currently installed in the terminal to be synchronized, so as to obtain a first application that exists in the first application list but is not in the second application list;
and the second selection determining submodule is used for selecting target applications which need to be installed in the terminal to be synchronized from the first applications which exist in the first application list but are not in the second application list according to the use frequency information of the first applications.
12. The apparatus of claim 8, wherein the target application determination module further comprises:
a third obtaining sub-module, configured to obtain, from the first application that exists in the first application list but is not in the second application list, a target application that needs to be installed in the terminal to be synchronized; the second application list is an application list currently installed by the terminal to be synchronized;
and the fourth obtaining submodule is used for obtaining the target version information corresponding to the target application according to the running resource information of the target application and the hardware resource information of the terminal to be synchronized.
13. The apparatus according to any one of claims 8 to 12, wherein the first application list is configured to record installation information of a first application, the installation information including: at least one of a first application name, a first application package name, and first version information.
14. An application synchronization apparatus, applied to a first terminal, the apparatus comprising:
the acquisition and storage module is used for acquiring and storing a currently installed first application list and the granting permission information of the first application in the first application list; and
the sending module is used for sending the first application list and the authorization authority information of the first application in the first application list to a terminal or a server to be synchronized;
wherein the sending module comprises:
the snapshot generating submodule is used for generating corresponding snapshot information according to the first application list and the authorization authority information of the first application in the first application list;
the two-dimension code generating submodule is used for generating a corresponding two-dimension code according to the snapshot information;
and the two-dimension code display submodule is used for displaying the two-dimension code so that the terminal to be synchronized can obtain the first application list and the granting permission information of the first application in the first application list through scanning the two-dimension code.
15. An apparatus for application synchronization, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
acquiring a first application list currently installed by a first terminal and granting permission information of a first application in the first application list;
determining a target application to be installed in the terminal to be synchronized according to the first application list;
determining target grant permission information of the target application according to the grant permission information of the first application in the first application list;
according to the target grant permission information, the target application is installed in the terminal to be synchronized;
the step of determining the target application to be installed in the terminal to be synchronized according to the first application list includes: acquiring a target first application to be installed in the terminal to be synchronized from the first application which exists in the first application list but is not in the second application list; the second application list is an application list currently installed on the terminal to be synchronized; acquiring a target second application adapted to the device information of the terminal to be synchronized according to the first application name and/or the first application package name of the target first application, and taking the target second application as a target application to be installed in the terminal to be synchronized;
the step of obtaining a first application list currently installed by a first terminal and grant permission information of a first application in the first application list includes: scanning the two-dimensional code displayed by the first terminal to obtain snapshot information; and acquiring a first application list currently installed by the first terminal and the granting permission information of the first application in the first application list from the snapshot information.
16. The apparatus of claim 15, wherein the obtaining of the target first application to be installed in the terminal to be synchronized comprises:
and comparing the first application list with a second application list currently installed in the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list, and taking the first application as a target first application to be installed in the terminal to be synchronized.
17. The apparatus of claim 15, wherein the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized further comprises:
comparing the first application list with a second application list currently installed on the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
presenting the first application that exists in the first application list but is not in the second application list to a user;
and determining the target application which needs to be installed in the terminal to be synchronized according to the selection operation of the user on the displayed first application.
18. The apparatus of claim 15, wherein the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized further comprises:
comparing the first application list with a second application list currently installed on the terminal to be synchronized to obtain a first application which exists in the first application list but is not in the second application list;
and selecting target applications needing to be installed in the terminal to be synchronized from the first applications existing in the first application list but not in the second application list according to the use frequency information of the first applications.
19. The apparatus according to claim 15, wherein the determining, according to the first application list, a target application that needs to be installed in the terminal to be synchronized further comprises:
acquiring a target application which needs to be installed in the terminal to be synchronized from the first application which exists in the first application list but is not in the second application list; the second application list is an application list currently installed by the terminal to be synchronized;
and acquiring target version information corresponding to the target application according to the running resource information of the target application and the hardware resource information of the terminal to be synchronized.
20. The apparatus according to any one of claims 15 to 19, wherein the first application list is configured to record installation information of a first application, the installation information including: at least one of a first application name, a first application package name, and first version information.
21. An apparatus for application synchronization, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
acquiring and storing a first application list which is installed currently and the grant permission information of a first application in the first application list;
sending the first application list and the authority granting information of the first application in the first application list to a terminal or a server to be synchronized;
the step of sending the first application list and the grant permission information of the first application in the first application list to the terminal or the server to be synchronized comprises the following steps:
generating corresponding snapshot information according to the first application list and the authority granting information of the first application in the first application list;
generating a corresponding two-dimensional code according to the snapshot information;
and displaying the two-dimension code so that the terminal to be synchronized can obtain the first application list and the authority granting information of the first application in the first application list by scanning the two-dimension code.
22. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method recited by one or more of claims 1-6.
23. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method of claim 7.
CN201710002494.0A 2017-01-03 2017-01-03 Application synchronization method and device for application synchronization Active CN108280342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710002494.0A CN108280342B (en) 2017-01-03 2017-01-03 Application synchronization method and device for application synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710002494.0A CN108280342B (en) 2017-01-03 2017-01-03 Application synchronization method and device for application synchronization

Publications (2)

Publication Number Publication Date
CN108280342A CN108280342A (en) 2018-07-13
CN108280342B true CN108280342B (en) 2022-09-30

Family

ID=62800461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710002494.0A Active CN108280342B (en) 2017-01-03 2017-01-03 Application synchronization method and device for application synchronization

Country Status (1)

Country Link
CN (1) CN108280342B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857747B (en) * 2018-12-18 2021-07-13 百度在线网络技术(北京)有限公司 Data synchronous updating method, system and computer equipment
CN109992430B (en) * 2019-02-28 2021-07-20 维沃移动通信有限公司 Data transmission method, first terminal and second terminal
CN110727936B (en) * 2019-08-26 2022-10-21 上海商米科技集团股份有限公司 Method and device for authorizing application
CN110929233B (en) * 2019-11-22 2022-11-15 连尚(新昌)网络科技有限公司 Information processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079565A (en) * 2014-06-13 2014-10-01 小米科技有限责任公司 Authorization method and device
CN105453036A (en) * 2013-05-29 2016-03-30 微软技术许可有限责任公司 Application install and layout syncing
CN105474678A (en) * 2013-07-31 2016-04-06 良好科技公司 Centralized selective application approval for mobile devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8849717B2 (en) * 2009-07-09 2014-09-30 Simon Cooper Methods and systems for upgrade and synchronization of securely installed applications on a computing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105453036A (en) * 2013-05-29 2016-03-30 微软技术许可有限责任公司 Application install and layout syncing
CN105474678A (en) * 2013-07-31 2016-04-06 良好科技公司 Centralized selective application approval for mobile devices
CN104079565A (en) * 2014-06-13 2014-10-01 小米科技有限责任公司 Authorization method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
通信终端与Web服务程序数据同步设计;张万方等;《北京联合大学学报(自然科学版)》;20110620(第02期);全文 *

Also Published As

Publication number Publication date
CN108280342A (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN109032606B (en) Native application compiling method and device and terminal
US20170150290A1 (en) Method and device for information push
CN106897937B (en) Method and device for displaying social sharing information
CN108280342B (en) Application synchronization method and device for application synchronization
CN108804244B (en) Data transmission method, device and storage medium
CN108764003B (en) Picture identification method and device
CN106991018B (en) Interface skin changing method and device
CN107395624B (en) Information processing method and device
CN107402767B (en) Method and device for displaying push message
CN105303120B (en) Short message reading method and device
CN113076504A (en) Skeleton screen generation method, device, equipment and storage medium
CN107733674B (en) Component upgrading method and terminal
CN109885360B (en) Data processing method, device and storage medium
CN110213062B (en) Method and device for processing message
CN110221813B (en) Application data connection establishment method and device, storage medium and electronic equipment
CN109842688B (en) Content recommendation method and device, electronic equipment and storage medium
CN111695064A (en) Embedded point loading method and device
CN110809036A (en) Resource updating method and device
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN106851418B (en) Video recommendation method and device
CN112102009A (en) Advertisement display method, device, equipment and storage medium
CN110457084B (en) Loading method and device
CN108804181B (en) Control content obtaining method and device and storage medium
CN107734072B (en) Processing method and device for push information
CN110278228B (en) Data processing method and device for data processing

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
GR01 Patent grant
GR01 Patent grant