CPC G06F 16/2379 (2019.01) [H04L 67/06 (2013.01); G06F 8/61 (2013.01); H04L 67/34 (2013.01)] | 20 Claims |
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.
|