Model file management method and terminal device

US11940992B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11940992-B2
Application numberUS-201917284898-A
CountryUS
Kind codeB2
Filing dateNov 1, 2019
Priority dateNov 1, 2018
Publication dateMar 26, 2024
Grant dateMar 26, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A model file management method includes that a terminal device receives a storage address of a target model file package from a server and the terminal device obtains the target model file package based on the storage address of the target model file package, where the target model file package is based on a parameter of a model file package locally stored in the terminal device and a parameter of a model file package managed by the server. In an artificial intelligence (AI) field, an application may implement a specific function by using an AI model file. An application is decoupled from an AI model file such that the terminal device performs centralized management on a general model file.

First claim

Opening claim text (preview).

What is claimed is: 1. A method implemented by a terminal device, wherein the method comprises: obtaining a first parameter of a target model file package from among K second parameters, based on a second-type parameter of a first model file package and second-type parameters of N model file packages in K model packages, when a first-type parameter of the first model file package matches first-type parameters of N model file packages, wherein K is a positive integer, and wherein N is a positive integer less than or equal to K; sending, based on the first parameter, a first request requesting the target model file package to a server, wherein the first parameter comprises an identifier of a target model file package; receiving, in response to the first request, a storage address of the target model file package from the server, wherein the target model file package is based on a third parameter of a first model file package locally stored in the terminal device and a fourth parameter of a second model file package of the server, wherein each of the first parameter, the second parameter, the third parameter, and the fourth parameters comprises a first-type parameter and a second-type parameter, and wherein a first matching priority of the first-type parameter is higher than a second matching priority of the second-type parameter; and obtaining the target model file package based on the storage address. 2. The method of claim 1 , wherein each second-type parameter comprises a plurality of sub-parameters, wherein each of the sub-parameters has a different matching priority, and wherein the method further comprises matching the second-type parameter of the first model file package with the second-type parameters of the N model file packages based on a matching priority sequence of the sub-parameters to determine the third first parameter. 3. The method of claim 1 , wherein before receiving the storage address, the method further comprises: obtaining, when the target model file is not in the locally stored model file, and based on the first parameter, a second parameter of a third model file package to which the target model file belongs; and sending a second request comprising the second parameter to the server to determine the storage address. 4. The method of claim 1 , further comprising: receiving a second request from the server; and further sending, based on the second request, the first parameter to the server. 5. The method of claim 1 , further comprising the first parameter to the server when a condition for sending a first parameter of a third model file package is met. 6. The method of claim 1 , wherein the transceiver is further configured to further send the first parameter to the server when a condition for sending a first parameter of a third model file package is met. 7. The method of claim 6 , wherein the condition comprises the lapse of a preset period for updating. 8. The method of claim 6 , wherein the condition comprises when the terminal device detects that a current wireless network connection is a wireless local area network (WLAN). 9. A terminal device comprising: a transceiver configured to communicate with a server; and a processor coupled to the transceiver and configured to: obtain a first parameter of a target model file package from among K second parameters, based on a second-type parameter of a first model file package and second-type parameters of N model file packages in K model packages, when a first-type parameter of the first model file package matches first-type parameters of N model file packages, wherein K is a positive integer, and wherein N is a positive integer less than or equal to K; cause the transceiver to send, based on the first parameter, a first request requesting the target model file package to a server, wherein the first parameter comprises an identifier of a target model file package; receive from the transceiver, in response to the first request, a storage address of the target model file package from the server, wherein the target model file package is based on a third parameter of a first model file package locally stored in the terminal device and a fourth parameter of a second model file package of the server, wherein each of the first parameter, the second parameter, the third parameter, and the fourth parameters comprises a first-type parameter and a second-type parameter, and wherein a first matching priority of the first-type parameter is higher than a second matching priority of the second-type parameter; and obtain the target model file package based on the storage address. 10. The terminal device of claim 9 , wherein each second-type parameter comprises a plurality of sub-parameters, wherein each of the sub-parameters has a different matching priority, and wherein the processor is further configured to match the second-type parameter of the first model file package with the second-type parameters of the N model file packages based on a matching priority sequence of the sub-parameters to determine the first third parameter. 11. The terminal device of claim 9 , wherein the processor is further configured to: obtain, when the target file is not located in a locally stored model file of the terminal device, and based on the first parameter, a second parameter of a third model file package to which the target model file belongs, and wherein the transceiver is further configured to send a second request comprising the second fourth parameter to the server to determine the storage address. 12. The terminal device of claim 9 , wherein the transceiver is further configured to receive a second request from the server and further send, based on the second request, the first parameter to the server. 13. The terminal device of claim 9 , wherein the transceiver is further configured to further send the first parameter to the server when a condition for sending a first parameter of a third model file package is met. 14. The terminal device of claim 13 , wherein the condition comprises the lapse of a preset period for updating. 15. A computer program product comprising computer-executable instructions stored on a non-transitory computer-readable storage medium that, executed by a processor, cause an apparatus to: obtain a first parameter of a target model file package from among K second parameters, based on a second-type parameter of a first model file package and second-type parameters of N model file packages in K model packages, when a first-type parameter of the first model file package matches first-type parameters of N model file packages, wherein K is a positive integer, and wherein N is a positive integer less than or equal to K; send, based on the first parameter, a first request requesting the target model file package to a server, wherein the first parameter comprises an identifier of a target model file package; receive, in response to the first request, a storage address of the target model file package from the server, wherein the target model file package is based on a third parameter of a first model file package locally stored in the terminal device and a fourth parameter of a second model file package of the server, wherein each of the first parameter, the second parameter, the third parameter, and the fourth parameters comprises a first-type parameter and a second-type parameter, and wherein a first matching priority of the first-type parameter is higher than a second matching priority of the second-type parameter; and obtain the target model file package based on the storage address. 16. The computer program produ

Assignees

Inventors

Classifications

  • Updates performed during online database operations; commit processing · CPC title

  • H04L67/06Primary

    specially adapted for file transfer, e.g. file transfer protocol [FTP] · CPC title

  • Installation · CPC title

  • involving the movement of software or configuration parameters  (network booting or remote initial program loading [RIPL] G06F9/4416) · CPC title

  • for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS] · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11940992B2 cover?
A model file management method includes that a terminal device receives a storage address of a target model file package from a server and the terminal device obtains the target model file package based on the storage address of the target model file package, where the target model file package is based on a parameter of a model file package locally stored in the terminal device and a parameter…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/2379. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 26 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).