IP Library Granted Patent US 10,698,940
Granted Patent B2
US 10,698,940 · App. 15/120,645 · Granted Jun 30, 2020

Method for searching for multimedia file, terminal device, and server

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,698,940
App. No.
15/120,645
Granted
Jun 30, 2020
Kind
B2
Abstract

Embodiments of the present disclosure provide a method for searching for a multimedia file, a terminal device, and a server. The method for searching for a multimedia file includes: acquiring, from a server, encrypted summary information of a first multimedia file in at least one multimedia file, where encrypted summary information of the at least one multimedia file corresponds to encrypted content of the at least one multimedia file; decrypting, by a terminal device, the encrypted summary information of the first multimedia file, to obtain summary information of the first multimedia file; when determining that the summary information of the first multimedia file corresponds to a target multimedia file, acquiring, by the terminal device from the server, encrypted content of the first multimedia file corresponding to the summary information of the first multimedia file. According to the embodiments of the present disclosure, a target multimedia file can be quickly found.

Claims (111)

1. A method for searching for a multimedia file, comprising:

sending, by a terminal device to a server, a first request message, wherein the first request message is used to request encrypted summary information of a first multimedia file in at least one multimedia file;

receiving, by the terminal device from the server, the encrypted summary information of the first multimedia file in the at least one multimedia file, wherein encrypted content of the at least one multimedia file and encrypted summary information of the at least one multimedia file are stored in the server, and the encrypted summary information of the at least one multimedia file corresponds to the encrypted content of the at least one multimedia file;

sending, by the terminal device to the server, a second request message, wherein the second request message is used to request encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file; and

receiving, by the terminal device from the server, the encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file;

wherein the encrypted summary information of the first multimedia file is in a label of the first multimedia file, the label of the first multimedia file is a description about the first multimedia file, and before the receiving, by the terminal device from the server, the encrypted summary information of the first multimedia file in the at least one multimedia file, the method further comprises:

acquiring, by the terminal device, an address, in the server, of the label of the first multimedia file, and an address, in the server, of the encrypted content of the first multimedia file corresponding to the label of the first multimedia file, wherein the first request message carries the address, in the server, of the label of the first multimedia file and is used to request the label of the first multimedia file;

receiving, by the terminal device, the label, sent by the server, of the first multimedia file; and

acquiring, by the terminal device, the encrypted summary information of the first multimedia file from the label of the first multimedia file, wherein the second request message carries the address, in the server, of the encrypted content of the first multimedia file corresponding to the label of the first multimedia file, and is used to request the encrypted content of the first multimedia file.

2. The method according to claim 1 , wherein the address, in the server, of the label of the first multimedia file and the address, in the server, of the encrypted content of the first multimedia file are a same address or different addresses.

3. The method according to claim 1 , further comprising:

generating, by the terminal device according to content of a second multimedia file in the at least one multimedia file, summary information of the second multimedia file;

encrypting, by the terminal device, the summary information of the second multimedia file by using a first key, to obtain encrypted summary information of the second multimedia file, and putting the encrypted summary information of the second multimedia file into a label of the second multimedia file;

encrypting, by the terminal device, the content of the second multimedia file by using a second key, to obtain encrypted content of the second multimedia file;

sending, by the terminal device, the label of the second multimedia file and the encrypted content of the second multimedia file to the server; and

receiving, by the terminal device, an address, in the server, of the label of the second multimedia file and an address, in the server, of the encrypted content of the second multimedia file that are returned by the server.

4. The method according to claim 3 , wherein before the sending, by the terminal device, the label of the second multimedia file and the encrypted content of the second multimedia file to the server, the method further comprises:

receiving, by the terminal device, a personal digital certificate issued by a trusted third party (TTP); and

encrypting, by the terminal device, the first key and the second key by using a public key corresponding to the personal digital certificate, and putting an encrypted first key and an encrypted second key into the label of the second multimedia file,

wherein after receiving the label, sent by the server, of the second multimedia file, the terminal device decrypts, by using a private key corresponding to the public key, the encrypted first key and the encrypted second key that are in the label of the second multimedia file.

5. The method according to claim 3 ,

wherein the address, in the server, of the label of the second multimedia file and the address, in the server, of the encrypted content of the second multimedia file are different addresses; and

wherein before the sending, by the terminal device, the label of the second multimedia file and the encrypted content of the second multimedia file to the server, the method further comprises:

separating, by the terminal device, the label of the second multimedia file and the encrypted content of the second multimedia file, and

recording, by the terminal device, a correspondence between the label of the second multimedia file and the encrypted content of the second multimedia file.

6. The method according to claim 1 , further comprising:

generating, by the terminal device according to content of a second multimedia file in the at least one multimedia file, summary information of the second multimedia file;

putting, by the terminal device, the summary information of the second multimedia file into a label of the second multimedia file, and encrypting the label of the second multimedia file by using a first key;

encrypting, by the terminal device, the content of the second multimedia file by using a second key, to obtain encrypted content of the second multimedia file;

sending, by the terminal device, the label, which has been encrypted, of the second multimedia file and the encrypted content of the second multimedia file to the server; and

receiving, by the terminal device, an address, in the server, of the label of the second multimedia file and an address, in the server, of the encrypted content of the second multimedia file that are returned by the server.

7. A method for searching for a multimedia file, comprising:

receiving, by a server, a first request message sent by a terminal device, wherein the first request message is used to request encrypted summary information of a first multimedia file in at least one multimedia file, wherein encrypted content of the at least one multimedia file and encrypted summary information of the at least one multimedia file are stored in the server, and the encrypted summary information of the at least one multimedia file corresponds to the encrypted content of the at least one multimedia file;

sending, by the server, the encrypted summary information of the first multimedia file to the terminal device according to the first request message;

receiving, by the server, a second request message sent by the terminal device, wherein the second request message is used to request encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file; and

sending, by the server to the terminal device according to the second request message, the encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file,

wherein the encrypted summary information of the first multimedia file is in a label of the first multimedia file, the label of the first multimedia file is a description about the first multimedia file, the first request message carries an address of the label of the first multimedia file and is used to request the label of the first multimedia file; and

wherein the sending, by the server, the encrypted summary information of the first multimedia file to the terminal device according to the first request message comprises:

sending, by the server, the label of the first multimedia file to the terminal device, wherein the second request message carries an address of the encrypted content of the first multimedia file, wherein the encrypted content of the first multimedia file corresponds to the label of the first multimedia file.

8. The method according to claim 7 ,

wherein the encrypted summary information of the first multimedia file is in a label of the first multimedia file, the label of the first multimedia file is a description about the first multimedia file, the first request message carries an address of the label of the first multimedia file and is used to request the label of the first multimedia file;

wherein after the receiving, by the server, the first request message sent by the terminal device, the method further comprises:

separating, by the server, the label of the first multimedia file and the encrypted content of the first multimedia file according to the first request message, and

recording, by the server, a correspondence between the label of the first multimedia file and the encrypted content of the first multimedia file;

wherein the sending, by the server, the encrypted summary information of the first multimedia file to the terminal device comprises: sending, by the server, the label of the first multimedia file to the terminal device, wherein the second request message carries the address of the label of the first multimedia file; and

wherein after the receiving, by the server, a second request message sent by the terminal device, the method further comprises: determining, by the server according to the second request message and the correspondence, the encrypted content of the first multimedia file corresponding to the label of the first multimedia file.

9. A terminal device, comprising:

a memory storing instructions; and

a processor configured to execute the instructions stored in the memory to cause the terminal device to:

send, to a server, a first request message, wherein the first request message is used to request encrypted summary information of a first multimedia file in at least one multimedia file;

receive, from the server, the encrypted summary information of the first multimedia file in the at least one multimedia file, wherein encrypted content of the at least one multimedia file and encrypted summary information of the at least one multimedia file are stored in the server, and the encrypted summary information of the at least one multimedia file corresponds to the encrypted content of the at least one multimedia file;

send, to the server, a second request message, wherein the second request message is used to request encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file;

receive, from the server, the encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file;

generate, according to content of a second multimedia file in the at least one multimedia file, summary information of the second multimedia file;

encrypt the summary information of the second multimedia file by using a first key, to obtain encrypted summary information of the second multimedia file, and put the encrypted summary information of the second multimedia file into a label of the second multimedia file; and further configured to encrypt content of the second multimedia file by using a second key, to obtain encrypted content of the second multimedia file;

send the label of the second multimedia file and the encrypted content of the second multimedia file to the server; and

receive an address, in the server, of the label of the second multimedia file and an address, in the server, of the encrypted content of the second multimedia file that are returned by the server.

10. The terminal device according to claim 9 , wherein the encrypted summary information of the first multimedia file is in a label of the first multimedia file, the label of the first multimedia file is a description about a multimedia file of the first multimedia file, and wherein the processor is further configured to execute the instructions stored in the memory to cause the terminal device to:

before receiving from the server, the encrypted summary information of the first multimedia file in the at least one multimedia file:

acquire an address, in the server, of the label of the first multimedia file and an address, in the server, of the encrypted content of the first multimedia file corresponding to the label of the first multimedia file, wherein the first request message carries the address, in the server, of the label of the first multimedia file and is used to request the label of the first multimedia file;

receive the label, sent by the server, of the first multimedia file; and

acquire the encrypted summary information of the first multimedia file according to the label of the first multimedia file, wherein the second request message carries the address, in the server, of the encrypted content of the first multimedia file corresponding to the label of the first multimedia file, and is used to request the encrypted content of the first multimedia file.

11. The terminal device according to claim 9 , wherein the processor is further configured to execute the instructions stored in the memory to cause the terminal device to:

before sending the label of the second multimedia file and the encrypted content of the second multimedia file to the server, receive a personal digital certificate issued by a trusted third party (TTP);

encrypt the first key and the second key by using a public key corresponding to the personal digital certificate, and put an encrypted first key and an encrypted second key into the label of the second multimedia file; and

after receiving the label, sent by the server, of the second multimedia file, decrypt, by using a private key corresponding to the public key, the encrypted first key and the encrypted second key that are in the label of the second multimedia file.

12. The terminal device according to claim 9 , wherein the processor is further configured to execute the instructions stored in the memory to cause the terminal device to:

generate, according to content of a second multimedia file in the at least one multimedia file, summary information of the second multimedia file;

put the summary information of the second multimedia file into a label of the second multimedia file and encrypt the label of the second multimedia file by using the first key; and further configured to encrypt content of the second multimedia file by using the second key, to obtain encrypted content of the second multimedia file;

send the label, which has been encrypted, of the second multimedia file and the encrypted content of the second multimedia file to the server; and

receive an address, in the server, of the label of the second multimedia file and an address, in the server, of the encrypted content of the second multimedia file that are returned by the server.

13. A server, comprising:

a memory storing instructions; and

a processor configured to execute the instructions stored in the memory to cause the server to:

receive a first request message sent by a terminal device, wherein the first request message is used to request encrypted summary information of a first multimedia file in at least one multimedia file, wherein encrypted content of the at least one multimedia file and encrypted summary information of the at least one multimedia file are stored in the server, and the encrypted summary information of the at least one multimedia file corresponds to the encrypted content of the at least one multimedia file; and

send the encrypted summary information of the first multimedia file to the terminal device according to the first request message;

receive a second request message sent by the terminal device, wherein the second request message is used to request encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file; and

send, to the terminal device according to the second request message, the encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file;

wherein the encrypted summary information of the first multimedia file is in a label of the first multimedia file, the label of the first multimedia file is a description about the first multimedia file, the first request message carries an address of the label of the first multimedia file and is used to request the label of the first multimedia file;

wherein after the receiving, by the server, the first request message sent by the terminal device, the method further comprises:

separating, by the server, the label of the first multimedia file and the encrypted content of the first multimedia file according to the first request message, and

recording, by the server, a correspondence between the label of the first multimedia file and the encrypted content of the first multimedia file;

wherein the sending, by the server, the encrypted summary information of the first multimedia file to the terminal device comprises: sending, by the server, the label of the first multimedia file to the terminal device, wherein the second request message carries the address of the label of the first multimedia file; and

wherein after the receiving, by the server, a second request message sent by the terminal device, the method further comprises: determining, by the server according to the second request message and the correspondence, the encrypted content of the first multimedia file corresponding to the label of the first multimedia file.

14. A terminal device, comprising:

a memory;

a transceiver, configured to:

send, to a server, a first request message, wherein the first request message is used to request encrypted summary information of a first multimedia file in at least one multimedia file;

receive, from the server, the encrypted summary information of the first multimedia file in the at least one multimedia file, wherein encrypted content of the at least one multimedia file and encrypted summary information of the at least one multimedia file are stored in the server, and the encrypted summary information of the at least one multimedia file corresponds to the encrypted content of the at least one multimedia file;

send, to the server, a second request message, wherein the second request message is used to request encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file;

receive, from the server, the encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file;

generate, according to content of a second multimedia file in the at least one multimedia file, summary information of the second multimedia file;

put the summary information of the second multimedia file into a label of the second multimedia file and encrypt the label of the second multimedia file by using the first key; and further configured to encrypt content of the second multimedia file by using the second key, to obtain encrypted content of the second multimedia file;

send the label, which has been encrypted, of the second multimedia file and the encrypted content of the second multimedia file to the server; and

receive an address, in the server, of the label of the second multimedia file and an address, in the server, of the encrypted content of the second multimedia file that are returned by the server.

15. A server, comprising:

a transceiver, configured to:

receive a first request message sent by a terminal device, wherein the first request message is used to request encrypted summary information of a first multimedia file in at least one multimedia file, wherein encrypted content of the at least one multimedia file and encrypted summary information of the at least one multimedia file are stored in the server, and the encrypted summary information of the at least one multimedia file corresponds to the encrypted content of the at least one multimedia file;

send the encrypted summary information of the first multimedia file to the terminal device according to the first request message;

receive a second request message sent by the terminal device, wherein the second request message is used to request encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file; and

send, to the terminal device according to the second request message, the encrypted content of the first multimedia file corresponding to the encrypted summary information of the first multimedia file;

wherein the encrypted summary information of the first multimedia file is in a label of the first multimedia file, the label of the first multimedia file is a description about the first multimedia file, the first request message carries an address of the label of the first multimedia file and is used to request the label of the first multimedia file; and

wherein the sending, by the server, the encrypted summary information of the first multimedia file to the terminal device according to the first request message comprises:

sending, by the server, the label of the first multimedia file to the terminal device, wherein the second request message carries an address of the encrypted content of the first multimedia file, wherein the encrypted content of the first multimedia file corresponds to the label of the first multimedia file.

16. The server according to claim 15 ,

wherein the encrypted summary information of the first multimedia file is in a label of the first multimedia file, the label of the first multimedia file is a description about the first multimedia file, the first request message carries an address of the label of the first multimedia file and is used to request the label of the first multimedia file;

wherein after the receiving, by the server, the first request message sent by the terminal device, the method further comprises:

separating, by the server, the label of the first multimedia file and the encrypted content of the first multimedia file according to the first request message, and

recording, by the server, a correspondence between the label of the first multimedia file and the encrypted content of the first multimedia file;

wherein the sending, by the server, the encrypted summary information of the first multimedia file to the terminal device comprises: sending, by the server, the label of the first multimedia file to the terminal device, wherein the second request message carries the address of the label of the first multimedia file; and

wherein after the receiving, by the server, a second request message sent by the terminal device, the method further comprises: determining, by the server according to the second request message and the correspondence, the encrypted content of the first multimedia file corresponding to the label of the first multimedia file.

Assignments (3)
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 22, 2016
From: HUANG, JIEJING; WANG, CHAN; WU, HUANGWEI
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 039498/0299 →