File updating method and device, electronic device and storage medium

A file update and file technology, applied in the computer field, can solve problems such as difficulty in ensuring file relevance

Pending Publication Date: 2021-03-02
UBTECH ROBOTICS CORP LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the second update method, due to the large number of updated files, it is difficult to ensure the relevance between files if they are updated separately

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File updating method and device, electronic device and storage medium
  • File updating method and device, electronic device and storage medium
  • File updating method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] figure 1 It is a flow chart of a file update method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the target merged model library file is sent by the server side so that the device side can update the model library file to be updated. This method can It is executed by the file updating device provided by the embodiment of the present invention, which can be realized by software and / or hardware, and can be integrated on the server side. see figure 1 , the file updating method provided by this embodiment includes:

[0037] Step 110, generating a merged model library file of each AI model library according to at least one sub-file in the AI ​​model library.

[0038] Among them, the AI ​​model library is used to call when the device performs AI recognition to obtain the AI ​​recognition result. Obtain the final recognition result of the face data.

[0039] Each AI model library includes at least one sub-file, and...

Embodiment 2

[0062] image 3 It is a flow chart of a file update method provided by Embodiment 2 of the present invention. This embodiment is applicable to the situation where the target merged model library file on the server side is acquired through the device side to update the model library file to be updated. This method can be implemented by this The file update device provided by the embodiment of the invention can be implemented by means of software and / or hardware, and can be integrated on the device side. see image 3 , the file updating method provided by this embodiment includes:

[0063] Step 310: Send a version information acquisition request to the server to obtain the current file version information of the merged model library file from the server, and based on the current file version information and the local file version of the local model library file on the device information, and determine the model library file to be updated from the local model library file.

[...

Embodiment 3

[0086] Figure 4 It is a schematic structural diagram of a file updating device provided by Embodiment 3 of the present invention. The device is configured on the server side, can be implemented by hardware and / or software, can execute a file update method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. like Figure 4 As shown, the device includes:

[0087] A model library file generation module 410, configured to generate a merged model library file of the AI ​​model library according to at least one sub-file in each AI model library;

[0088] The current file version information sending module 420 is configured to determine the current file version information of the merged model library file, and send the current file version information to the device in response to the version information acquisition request of the device, so that the The device side determines whether to send...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a file updating method and device, an electronic device and a storage medium. The method comprises the steps of generating a combined model library file of each AI model library according to at least one sub-file in the AI model library; determining current file version information of the combined model library file, and sending the current file version information to the equipment terminal in response to the version information acquisition request of the equipment terminal; and in response to an updating request of the equipment end, determining a to-be-downloaded target combined model library file from the at least one candidate combined model library file, so that the equipment end updates the to-be-updated model library file according to the target combined model library file. By running the technical scheme provided by the embodiment of the invention, the problem that the overall updating occupies too much equipment memory or the relevanceamong the files is difficult to guarantee by separate updating can be solved, and the effects of improving the file updating stability and reducing the memory occupied by file updating are achieved.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to a file updating method, device, electronic equipment and storage medium. Background technique [0002] At present, AI recognition is more and more widely used in practical applications, so that it can run on a microcontroller chip with a small memory. With the improvement of AI recognition accuracy and efficiency, it is often necessary to update the AI ​​recognition library files. [0003] The existing updating methods are generally divided into two types. One is to compress all AI recognition library files into a compressed package using a common compression method, so as to update all files uniformly. The second is to separate a single AI recognition library file into individual files, and update each file separately. [0004] For the first update method, a large amount of memory is required to cache the model library files during the upgrade process to en...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F8/71
CPCG06F8/65G06F8/71
Inventor 何围
Owner UBTECH ROBOTICS CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products