Back to results
US 10,503,930 B2Granted
NDM file protection method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorDacheng Zhang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present application provide an NDM file protection method and apparatus. The method includes: a sending device generates integrity information of an NDM file, and sends the NDM file and the integrity information of the NDM file to a receiving device, so that the receiving device verifies, according to the integrity information, whether the NDM file is tampered with.
Claims16
A method, comprising:
- generating, by a sending device, integrity information of a negotiable datapath model (NDM) file, wherein generating the integrity information comprises generating signature information for the NDM file and validity information for the NDM file using a first key and using a preset algorithm, wherein the signature information serves as the integrity information, and wherein the validity information comprises a valid period of the NDM file;
- adding the integrity information and the validity information to a metadata section of the NDM file;
- and
- sending, by the sending device, the NDM file with the integrity information of the NDM file to a receiving device, causing the receiving device to verify, according to the integrity information, whether the NDM file has been tampered with.
1 more element
A method, comprising:
- receiving, by a receiving device, a negotiable datapath model (NDM) file that is sent by a sending device;
- after receiving the NDM file, retrieving integrity information of the NDM file from a metadata section of the NDM file;
- retrieving validity information of the NDM file from the metadata section and determining a valid period of the NDM file according to the validity information;
- and
- verifying, by the receiving device, whether the NDM file has been tampered with according to the integrity information.
2 more elements
A sending device, comprising:
- a processor;
- and
- a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:
- generating integrity information and validity information of a negotiable datapath model (NDM) file;
- adding the integrity information and the validity information to a metadata section of the NDM file;
- and
- generating a signed NDM file from the NDM file and the integrity information, wherein the metadata section of the signed NDM file comprises protocol version information of the NDM file, a valid period of the NDM file, and the integrity information of the NDM file;
- and
- a transmitter, configured to send the signed NDM file to a receiving device, causing the receiving device to verify, according to the integrity information, whether the NDM file has been tampered with.
6 more elements
A receiving device, comprising:
- a receiver, configured to:
- receive a negotiable datapath model (NDM) file from a sending device;
- after receiving the NDM file, retrieve integrity information of the NDM file from a metadata section of the NDM file;
- and
- retrieve validity information of the NDM file from the metadata section;
- a processor;
- and
- a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:
- determine a valid period of the NDM file according to the validity information;
- and
- verifying, according to the integrity information, whether the NDM file has been tampered with.
8 more elements
A system, comprising:
- a sending device;
- and
- a receiving device;
- wherein the sending device comprises a processor and a non-transitory computer readable storage medium storing instructions, and the processor is configured to execute the instructions to:
- generate an integrity information and validity information of a negotiable datapath model (NDM) file;
- add the integrity information and the validity information to a metadata section of the NDM file;
- generate a signed NDM file from the NDM file and the integrity information, wherein the metadata section of the signed NDM file comprises protocol version information of the NDM file, a valid period of the NDM file, and the integrity information of the NDM file;
- and
- send the signed NDM file to the receiving device;
- and
- wherein the receiving device is configured to receive the signed NDM file sent by the sending device, and verify, according to the integrity information, whether the NDM file has been tampered with.
8 more elements
Dependencies are inferred from the claim text.