Abstract:
Embodiments of the present invention provide a method for sharing an application between terminals, and a terminal, so as to facilitate user operations at a receiving end. The method includes: generating, by a first terminal according to an application that has been installed, a shared application installation package of the application; sending, by the first terminal, the shared application installation package to a second terminal, so that the second terminal installs the shared application installation package; determining, by the first terminal, shared data of the application that has been installed, where the shared data is data that is from an application server and required for the application to run; and sending, by the first terminal, the shared data to the second terminal, so that the second terminal uses the shared data when running the shared application. In the embodiments of the present invention, when sharing an application, two terminals not only share an installation package of the application, but also share shared data of the application, so that a receiving end does not need to download the shared data from an application server, which facilitates user operations at the receiving end and improves user experience.
Abstract:
A file sharing method and apparatus. The method includes uploading, by a first terminal, each encrypted file to a server for saving, and receiving a uniform resource locator (URL) that is returned by the server and corresponds to a location for saving each encrypted file, generating a key package that includes a shared key and a URL that correspond to a file to be shared, and providing the key package for a second terminal, so that the second terminal acquires a corresponding encrypted file by using the URL in the key package, and decrypts the acquired encrypted file by using the shared key in the key package.
Abstract:
Embodiments of the present invention provide a method for sharing an application between terminals, and a terminal, so as to facilitate user operations at a receiving end. The method includes: generating, by a first terminal according to an application that has been installed, a shared application installation package of the application; sending, by the first terminal, the shared application installation package to a second terminal, so that the second terminal installs the shared application installation package; determining, by the first terminal, shared data of the application that has been installed, where the shared data is data that is from an application server and required for the application to run; and sending, by the first terminal, the shared data to the second terminal, so that the second terminal uses the shared data when running the shared application. In the embodiments of the present invention, when sharing an application, two terminals not only share an installation package of the application, but also share shared data of the application, so that a receiving end does not need to download the shared data from an application server, which facilitates user operations at the receiving end and improves user experience.
Abstract:
A synchronization method includes uploading, by a first terminal, data to a server, where the server is associated with at least one second terminal; receiving, by the first terminal, a notification sent by the server, where the notification includes information of the at least one second terminal; determining, by the first terminal according to the notification, that the first terminal and the at least one second terminal are in a same local area network; and sending, by the first terminal, the data to the at least one second terminal by using the local area network. In this way, data synchronization between a source device and a target device is implemented in a local area network in which the source device and the target device are located. Thus, time consumption of synchronization is reduced, and synchronization efficiency is improved.
Abstract:
A file sharing method and apparatus. The method includes uploading, by a first terminal, each encrypted file to a server for saving, and receiving a uniform resource locator (URL) that is returned by the server and corresponds to a location for saving each encrypted file, generating a key package that includes a shared key and a URL that correspond to a file to be shared, and providing the key package for a second terminal, so that the second terminal acquires a corresponding encrypted file by using the URL in the key package, and decrypts the acquired encrypted file by using the shared key in the key package.
Abstract:
A method for processing data and a message are provided. The method includes: receiving, by a terminal, first switch information, entering a first working mode, and classifying data stored on the terminal; in a first screen lock state or the first working mode, when a notification message related to the data is received, displaying the notification message related to the data; receiving second switch information, entering a second working mode, and hiding, according to classification of the data, data of a specified category; in a second screen lock state or the second working mode, when a notification message related to the data of the specified category is received, hiding the notification message; and receiving the first switch information, entering the first working mode, and displaying the data of the specified category and the notification message that are hidden.
Abstract:
A method for establishing a Bluetooth® connection, where the method includes: establishing data connections with at least two Bluetooth® devices; obtaining a voice connection instruction, where the voice connection instruction includes identification information of a target Bluetooth® device selected by a user from the Bluetooth® devices; and establishing a voice connection between the mobile terminal and the target Bluetooth® device according to the voice connection instruction; and a mobile terminal, a Bluetooth® device, and a system. A voice connection is established with a Bluetooth® device selected by a user, so as to improve an extent to which a Bluetooth® connection is established intelligently and a capability of interacting with the user. Therefore, the user can, according to needs, freely select a Bluetooth® device with which a connection is established, thereby improving convenience of the user in using the Bluetooth® device.
Abstract:
An information processing method and apparatus, an information retrieval method and apparatus, a user terminal, and a server are provided. The retrieval method includes receiving, by a first user terminal, information from a second user terminal, about an address used to save an encrypted file of the second user terminal, acquiring, from a cloud server and a trusted server, privacy information, non-privacy information, and a shared key that correspond to the address information, obtaining address information of a to-be-accessed file by searching the privacy information and the non-privacy information, acquiring, from the cloud server, a first encrypted file corresponding to the address information of the to-be-accessed file, and decrypting the first encrypted file by using the shared key, to obtain the to-be-accessed file.
Abstract:
A method includes receiving a request by a second user through a uniform resource locator (URL) for a user key of a shared file of a first user. The second user is a legitimate user authorized by the first user through a trust center to access the shared file. The shared file is a shared file encrypted by using the user key of the first user. A file description of the corresponding shared file is obtained from a cloud server according to the URL. The file description is a file description obtained by encrypting the user key by using a public key of the trust center. The file description is decrypted using a private key corresponding to the public key of the trust center to obtain the user key of the first user. The user key is sent to the second user.
Abstract:
A method for establishing a Bluetooth® connection, where the method includes: establishing data connections with at least two Bluetooth® devices; obtaining a voice connection instruction, where the voice connection instruction includes identification information of a target Bluetooth® device selected by a user from the Bluetooth® devices; and establishing a voice connection between the mobile terminal and the target Bluetooth® device according to the voice connection instruction; and a mobile terminal, a Bluetooth® device, and a system. A voice connection is established with a Bluetooth® device selected by a user, so as to improve an extent to which a Bluetooth® connection is established intelligently and a capability of interacting with the user. Therefore, the user can, according to needs, freely select a Bluetooth® device with which a connection is established, thereby improving convenience of the user in using the Bluetooth® device.