Model updating method and device and computer readable medium

Through the communication between the client and the server, the industrial robot model library is updated in real time, solving the problem that model library updates in the existing technology affect users' normal use, and achieving high-accurate model library updates and user differential functions.

CN119513115APending Publication Date: 2025-02-25BEIJING C H L ROBOTICS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411521742.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The existing industrial robot model library update method requires the offline programming software to be updated, which affects the normal use of users and cannot realize user differences and usage frequency viewing.

Method used

Provide a model update method, through the communication between the client and the server, update the local model library in real time, generate a model display interface, determine the download status based on the model information, and execute the post-file update operation process.

Benefits of technology

It realizes real-time update of the local model library without updating the model programming software, improves the accuracy of updates, and supports user difference and usage frequency statistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119513115A_ABST
    Figure CN119513115A_ABST
Patent Text Reader

Abstract

The invention discloses a model updating method and device and a computer readable medium, and the method is applied to a client, and comprises the steps: obtaining a target model file of a brand to which a user belongs from a server based on a request of the user for a target model library; determining a downloading state corresponding to the model based on model information corresponding to each model in the target model file, and generating a model display interface; for any model in the model display interface, if the downloading state of the model is a downloaded state option, executing a post-file updating operation process on the model according to model information corresponding to the model based on triggering of the downloaded state option; and if the downloading state of the model is a non-downloading state option, downloading the model according to the model information corresponding to the model based on triggering of the non-downloading state option, and executing a post-file updating operation process on the model. Therefore, the local model library is updated in real time on the premise that model programming software is not updated, and the updating accuracy of the local model library is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of intelligent manufacturing technology, and in particular relates to a model updating method, device and computer-readable medium. Background Art

[0002] With the rapid development of modern industrial robot technology, the importance of industrial robot programming operations has become increasingly prominent. Among them, the offline programming method of industrial robots has been accepted and recognized by more and more companies. However, the current industrial robot model library is released together with the offline programming software. If the user needs to update the robot model library, the software version or patch package must be released again to update. For the robot model library that is updated in real time, its corresponding offline programming software greatly affects the normal use of users.

[0003] Moreover, the existing robot offline programming software places a picture of the library file in a large dialog box. The library file is the same for all users. Not only is it impossible to differentiate users, but it is also impossible to check the frequency of robot use. Summary of the invention

[0004] In view of the above problems existing in the prior art, an embodiment of the present invention provides a model updating method, device and computer-readable medium; the method can update the local model library in real time without updating the model programming software, thereby improving the accuracy of the local model library update.

[0005] According to a first aspect of an embodiment of the present invention, a model updating method is provided, comprising a client and a server; the client is in communication connection with the server; the method is applied to the client, comprising: based on a user's request for a target model library, obtaining a target model file of the brand to which the user belongs from the server; wherein the target model library is used to indicate a database in which the server stores model files corresponding to various brands; the target model file is used to indicate all models corresponding to the brand to which the user belongs and the model information of each of the models; based on the model information corresponding to each of the models in the target model file, determining the download status corresponding to the model, and generating a model display interface; wherein the model display interface includes a model image and a download status corresponding to each of the models in the target model file; for any of the models in the model display interface: if the download status of the model is a downloaded status option, then based on the triggering of the downloaded status option, a post-file update operation process is performed on the model according to the model information corresponding to the model; if the download status of the model is a not downloaded status option, then based on the triggering of the not downloaded status option, the model is downloaded according to the model information corresponding to the model, and a post-file update operation process is performed on the model.

[0006] Optionally, based on the user's request for the target model library, obtaining the target model file of the brand to which the user belongs from the server; including: based on the user's request for the target model library, sending the request and user identity information to the server, so that the server searches the target model file of the brand corresponding to the user identity information from the target model library according to the request; receiving the target model file sent by the server.

[0007] Optionally, the model information includes: a model name, a model unique identifier, and a model link; the download status corresponding to the model is determined based on the model information corresponding to each model in the target model file, and a model display interface is generated; including: for any model in the target model file: based on the model name of the model, querying from the local cache model library whether there is a model corresponding to the model name; if the query result indicates that there is no model corresponding to the model name, it is determined that the model corresponding to the model name has not been downloaded, and a not downloaded status option is generated; if the query result indicates that there is a model corresponding to the model name, a model unique identifier corresponding to the model is generated; the generated model unique identifier is compared with the model unique identifier in the model information; if the comparison results are consistent, it is determined that the model corresponding to the model name has been downloaded, and a downloaded status option is generated; if the comparison results are inconsistent, a not downloaded status option is generated.

[0008] Optionally, the method further includes: sending information that the model has not been downloaded to the server so that the server estimates the model download time of the model; receiving the model download time, and displaying the model download time corresponding to the model on the model display interface.

[0009] Optionally, based on triggering of the not-downloaded status option, downloading the model according to model information corresponding to the model; including: based on triggering of the not-downloaded status option by a user, downloading the model according to a model link corresponding to the model.

[0010] Optionally, the model information also includes: a post-file name; the post-file update operation process is performed on the model according to the model information corresponding to the model; including: obtaining the post-file information corresponding to the post-file name from the file library corresponding to the server; wherein the post-file information includes: a post-file name, a post-file unique identifier, and a post-file download link; querying whether there is a post-file corresponding to the post-file name in the local cache file library; if the query result indicates that it does not exist, downloading the corresponding post-file based on the post-file download link; if the query result indicates that it exists, generating a post-file unique identifier, and comparing the generated post-file unique identifier with the post-file unique identifier in the post-file information; if the comparison results are consistent, determining that the post-file has been downloaded; if the comparison results are inconsistent, downloading the corresponding post-file based on the post-file download link.

[0011] Optionally, after downloading the model according to the model information corresponding to the model, it also includes: generating model usage information based on the trigger of successful download of the model; the model usage information includes the model name; sending the model usage information to the server so that the server counts the number of times the model corresponding to the model name is used; receiving the number of uses generated by the server, and displaying the number of uses on the model display interface.

[0012] According to the second aspect of an embodiment of the present invention, a model updating method is also provided, which is applied to a server; the server is communicatively connected to the client; the method comprises: receiving a user's request for a target model library and user identity information; querying the brand corresponding to the user identity information and the target model file corresponding to the brand from the target model library; and sending the target model file to the client.

[0013] Optionally, the method further includes: receiving a post-file name sent by the client; querying post-file information corresponding to the post-file name from a file library; and sending the post-file information to the client.

[0014] According to a third aspect of an embodiment of the present invention, a model updating device is also provided, which is applied to a client and includes: an acquisition module, which is used to acquire a target model file of the brand to which the user belongs from the server based on a user's request for a target model library; wherein the target model library is used to indicate a database in which the server stores model files corresponding to various brands; the target model file is used to indicate all models corresponding to the brand to which the user belongs and the model information of each of the models; a generation module, which is used to determine the download status corresponding to the model based on the model information corresponding to each of the models in the target model file, and generate a model display interface; wherein the model display interface includes a model image and a download status corresponding to each of the models in the target model file; an update module, which is used for any of the models in the model display interface: if the download status of the model is a downloaded status option, then based on the triggering of the downloaded status option, a post-file update operation process is executed on the model according to the model information corresponding to the model; if the download status of the model is a not downloaded status option, then based on the triggering of the not downloaded status option, the model is downloaded according to the model information corresponding to the model, and a post-file update operation process is executed on the model.

[0015] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is further provided, on which a computer program is stored. When the program is executed by a processor, the method as described in the first aspect or the method as described in the second aspect is implemented.

[0016] The present invention provides a model updating method, comprising a client and a server; the client is connected to the server in communication; the method is applied to the client, comprising: first, based on a user's request for a target model library, obtaining a target model file of the brand to which the user belongs from the server; wherein the target model library is used to indicate a database of model files corresponding to various brands stored on the server; the target model file is used to indicate all models corresponding to the brand to which the user belongs and model information of each of the models; secondly, based on the model information corresponding to each of the models in the target model file, determining the download status corresponding to the model, and generating a model display interface; wherein the model display interface includes a model image and a download status corresponding to each of the models in the target model file; thereafter, for any of the models in the model display interface: if the download status of the model is a downloaded status option, then based on the triggering of the downloaded status option, a post-file update operation process is executed on the model according to the model information corresponding to the model; if the download status of the model is a not downloaded status option, then based on the triggering of the not downloaded status option, the model is downloaded according to the model information corresponding to the model, and a post-file update operation process is executed on the model. This embodiment can not only differentiate the model files in the target model library according to the user identity information in the model display interface, but also determine the model download status based on the model information, and perform update operations on the model and its post-files according to the model download status; thereby, it realizes the real-time update of the local model library without updating the model programming software, thereby improving the accuracy of the local model library update. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Hereinafter, some specific embodiments of the present invention will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:

[0018] Figure 1 A flow chart of a model updating method provided by one embodiment of the present invention;

[0019] Figure 2 A schematic diagram of a process flow of executing a post-file update operation on a model in one embodiment of the present invention;

[0020] Figure 3 A schematic flow chart of a model updating method provided by another embodiment of the present invention;

[0021] Figure 4 A schematic diagram of a model display interface provided by an embodiment of the present invention;

[0022] Figure 5A schematic diagram of the structure of a model updating device provided by an embodiment of the present invention;

[0023] Figure 6 A schematic structural diagram of a model updating device provided in another embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] The online model library is used to indicate the robot library, tool library, equipment library, application case library, etc. Each online model library corresponds to different types of library files. The online model library is an interface / function for users to browse and select the files to be used. For example, to build a minimum working environment for a robot, you need to select the robot in the robot library, select the tool in the tool library, and select the equipment to be processed by the robot in the equipment library.

[0026] like Figure 1 As shown in FIG. 1 , a flow chart of a model updating method provided by an embodiment of the present invention is shown. Figure 4 , which is a schematic diagram of a model display interface provided by an embodiment of the present invention.

[0027] A model updating method, comprising a client and a server; the client is in communication connection with the server; the method is applied to the client, and comprises at least the following steps:

[0028] S101, based on a user's request for a target model library, obtaining a target model file of the brand to which the user belongs from a server; wherein the target model library is used to indicate a database in which the server stores model files corresponding to various brands; and the target model file is used to indicate all models corresponding to the brand to which the user belongs and model information of each model;

[0029] S102, determining the download status of each model based on the model information corresponding to each model in the target model file, and generating a model display interface; wherein the model display interface includes a model image and a download status corresponding to each model in the target model file;

[0030] S103, for any model in the model display interface: if the download status of the model is the downloaded status option, based on the triggering of the downloaded status option, the post-file update operation process is executed on the model according to the model information corresponding to the model; if the download status of the model is the not downloaded status option, based on the triggering of the not downloaded status option, the model is downloaded according to the model information corresponding to the model, and the post-file update operation process is executed on the model.

[0031] In S101, the model update method is applied to the PQArt software on the client side. For robots, there are different brands, and for other model libraries such as tools and equipment, there are also different brands. PQArt software has supported basically all mainstream robot brands at home and abroad. At the same time, there are many users of PQArt software, including original equipment manufacturers such as robot bodies, special machines and special stations. These users do not want their end customers to see robot brands other than their own brands when using PQArt software. Other libraries are similar. This embodiment is based on the permission function of the model library. Which robots and tool brands can be used by different user roles have been data bound on the server side.

[0032] Exemplarily, based on a user's request for a target model library, the request and user identity information are sent to the server, so that the server searches the target model library for a target model file of a brand corresponding to the user identity information according to the request; and receives the target model file sent by the server.

[0033] For example: The model update method is the PQArt software applied to the client. Based on the user login account and login password, the client obtains the user login information and sends the user login information to the server so that the server generates the corresponding user token value based on the user login information. The client receives the user token value sent by the server. Based on the user's selection of the target model library, the client calls the webservice function to obtain the interface of the target model library link and sends the user token value to the server; the server searches the target model library for the brand corresponding to the user token value and the target model file corresponding to the brand. The server returns the online link corresponding to the target model file to the client.

[0034] The model information is used to indicate information related to the model or the model post-file. The target model file includes at least one model.

[0035] In S102, for any model in the target model file: according to a preset rule or a prediction model, the download status of the model is determined based on the model information corresponding to the model; based on the download status of each model in the target model file, a model display interface is generated. For example: the model information is input into the prediction model for prediction processing, and the prediction result of the model download status is output.

[0036] Exemplarily, the model information includes: model name, model unique identifier, and model link. For any model in the target model file: based on the model name of the model, query whether there is a model corresponding to the model name from the local cache model library; if the query result indicates that there is no model corresponding to the model name, determine that the model corresponding to the model name has not been downloaded, and generate a not downloaded state option; if the query result indicates that there is a model corresponding to the model name, generate a model unique identifier corresponding to the model; compare the generated model unique identifier with the model unique identifier in the model information; if the comparison results are consistent, determine that the model corresponding to the model name has been downloaded, and generate a downloaded state option; if the comparison results are inconsistent, generate a not downloaded state option.

[0037] Further exemplarily, the client sends information that the model has not been downloaded to the server so that the server can estimate the model download time of the model; receives the model download time, and displays the model download time corresponding to the model on the model display interface.

[0038] Here, the downloaded status option is used to indicate the local download link of the model; the not downloaded status option is used to indicate the download link of the model on the server. The model unique identifier can be represented by an MD5 value or other values, which are not limited here. The model name can be represented by a guid or other values. The download status of the model includes two situations: the downloaded status option and the not downloaded status option. The model download status option or the not downloaded status option can be displayed in different forms on the model display interface. For example, the download status option is represented by the word inserted, and the not downloaded status option is represented by the word downloaded.

[0039] For example: for any model in the target model file: the client PQArt software searches for the model corresponding to the model name in the local cache model library of the corresponding type according to the target model library name passed in the UpdataInsertButton function. If not found, it is considered that the model has not been downloaded, and the UpdataInsertButton function returns a false string. After receiving the function return value false, the js function of the server page estimates the download time of the model and displays it on the download button (i.e., the undownloaded state option). If the model is found in the local cache model library, the MD5 value of the model is generated and compared with the MD5 value passed in when the UpdataInsertButton function is called. If they are consistent, it is considered that the model has been downloaded, and the UpdataInsertButton function returns a true string. After receiving the return value true of the UpdataInsertButton function, the js function of the server page refreshes the text on the download button to the word "insert" (i.e., the downloaded state option); if the two MD5 values ​​are inconsistent, false is also returned, and the server estimates the download time and updates it to the download button.

[0040] like Figure 4 As shown, the model display interface displays the online model library. The online model library means that a browser developed based on cef is embedded in the interface that pops up in the PQArt software to load and display the model link returned by the server.

[0041] Therefore, the model display interface generated by this embodiment can not only display the download status of the model, but also display the download time required to download the model for the model that has not been downloaded, thereby improving the user experience.

[0042] In S103, for any model: if the model is in a downloaded state, based on the user triggering the downloaded state option in the model display interface, the post-file update operation process is executed on the model according to the model information corresponding to the model; if the model is in a non-downloaded state, based on the user triggering the non-downloaded state option in the model display interface, the post-file update operation process is executed on the model after the model is downloaded according to the model information corresponding to the model.

[0043] For example: when the target model file is loaded, the download status of the model listed on the page will be refreshed according to the local cache status: insert, download. When the user clicks download, the client will call the OnClickInsert function of the PQArt software and pass in the model information of the selected model; more specifically, the model information includes the model guid, MD5 value, model download link, and the download link of the corresponding model image. The client downloads the model in turn, and the model is updated when the download is complete.

[0044] In addition, this embodiment does not impose any limitation on the model execution post-file update operation process, which can be implemented based on existing technologies or preset rules.

[0045] This embodiment can not only differentiate the model files in the target model library according to the user identity information in the model display interface, but also determine the model download status based on the model information, and perform update operations on the model and its post-files according to the model download status; thereby, it realizes the real-time update of the local model library without updating the model programming software, thereby improving the accuracy of the local model library update.

[0046] In a preferred implementation manner of this embodiment, after downloading the model according to the model information corresponding to the model, the method further includes: generating model usage information based on the trigger of successful download of the model; the model usage information includes a model name; sending the model usage information to the server so that the server counts the number of times the model corresponding to the model name is used; receiving the number of times used generated by the server, and displaying the number of times used on the model display interface.

[0047] The interface of this embodiment can not only display the download time of the model, but also display the number of times the model has been used, that is, the number of downloads, thereby improving the user experience.

[0048] For example, every time the client downloads a model from the online library, it will call a webservice function ResourceUsingRecord to send the model usage information to the server. The model usage information is an XML string containing the guid of the downloaded model and the token of the user currently using PQArt. The server can increase the usage count of the model by 1 every time it receives a message through the ResourceUsingRecord function, so that the number of times the model is used can be refreshed normally every time the user loads and displays the online library link.

[0049] like Figure 2 FIG. 1 is a flow chart of a post-file update operation process for a model in one embodiment of the present invention.

[0050] The post-file update operation process is executed on the model according to the model information corresponding to the model, and at least includes the following steps:

[0051] S201, acquiring post-file information corresponding to the post-file name from a file library corresponding to the server; wherein the post-file information includes: the post-file name, the post-file unique identifier, and the post-file download link;

[0052] S202, querying whether there is a post-file corresponding to the post-file name in the local cache file library;

[0053] S203, if the query result representation does not exist, download the corresponding post-file based on the post-file download link;

[0054] S204, if the query result representation exists, generate a unique identifier for the post-file, and compare the generated unique identifier for the post-file with the unique identifier for the post-file in the post-file information; if the comparison results are consistent, it is determined that the post-file has been downloaded; if the comparison results are inconsistent, download the corresponding post-file based on the post-file download link.

[0055] For example, post-processing files are used to indicate the syntax format of the robot program. Post-processing files of various brands of robots are stored on the server.

[0056] The robot model file officially configured by each PQArt software has cached the post-file name used by this type of robot. When the client finishes downloading the robot model, the cached post-file name in the model will be parsed. The client calls GetRoPostResources to pass in the post-file name. The GetRoPostResources function returns the post-file information on the server. The post-file information includes guid, MD5 value, and post-file download link. The client searches for the file in the cache directory of the post-file according to the returned file name. If it is not found, it is considered that the post-file has not been downloaded yet, and the returned download link is opened to download the post-file. If the file is found in the cache directory, the MD5 value of the file is generated and compared with the MD5 value in the post-file information. If they are consistent, no operation is performed; if the two MD5 values ​​are inconsistent, the returned download link is opened to download the post-file; the update of the post-file is completed.

[0057] This embodiment verifies the model post-configuration file based on the MD5 value, which can not only avoid repeated downloading of the model post-configuration file, but also avoid the problem of inaccurate post-configuration files stored on the client due to the update of the server post-configuration file, thereby realizing real-time update of the model post-configuration file on the client and improving the accuracy of the model post-configuration file update.

[0058] like Figure 3 As shown, a flow chart of a model updating method provided by another embodiment of the present invention.

[0059] A model updating method is applied to a server; the server is connected to the client for communication; the method comprises:

[0060] S301, receiving a user's request for a target model library and user identity information;

[0061] S302, querying the brand corresponding to the user identity information and the target model file corresponding to the brand from the target model library;

[0062] S303, sending the target model file to the client.

[0063] In a preferred implementation manner of this embodiment, the method further includes: receiving a post-file name sent by the client; querying post-file information corresponding to the post-file name from a file library; and sending the post-file information to the client.

[0064] The model updating method provided in this embodiment will be described in detail below in conjunction with specific application scenarios.

[0065] A model updating method, comprising a client and a server; the client is in communication connection with the server;

[0066] S1, based on the user's request for the target model library, the client sends the user's request for the target model library and the user's identity information to the server; wherein the target model library is used to indicate the database where the server stores model files corresponding to various brands.

[0067] S2, the server receives the user's request for the target model library and the user's identity information; and queries the target model library for the brand corresponding to the user's identity information and the target model file corresponding to the brand; and then sends the target model file to the client.

[0068] S3, the client receives the target model file sent by the server; wherein the target model file is used to indicate all models corresponding to the brand to which the user belongs and the model information of each model; wherein the model information includes: model name, model unique identifier, and model link.

[0069] S4, for any model in the target model file: the client queries whether there is a model corresponding to the model name from the local cache model library based on the model name of the model; if the query result indicates that there is no model corresponding to the model name, it is determined that the model corresponding to the model name has not been downloaded, and a not downloaded state option is generated; if the query result indicates that there is a model corresponding to the model name, a model unique identifier corresponding to the model is generated; the generated model unique identifier is compared with the model unique identifier in the model information; if the comparison results are consistent, it is determined that the model corresponding to the model name has been downloaded, and a downloaded state option is generated; if the comparison results are inconsistent, a not downloaded state option is generated.

[0070] S5, for any model in the model display interface: if the download status of the model is the downloaded status option, the client executes the post-file update operation process for the model based on the triggering of the downloaded status option and the model information corresponding to the model; if the download status of the model is the not downloaded status option, the client downloads the model based on the triggering of the not downloaded status option and the model information corresponding to the model, and executes the post-file update operation process for the model.

[0071] S6, the client generates model usage information based on the trigger of successful model download; the model usage information includes the model name; the model usage information is sent to the server so that the server can count the number of times the model corresponding to the model name is used; the number of times used generated by the server is received, and the number of times used is displayed on the model display interface.

[0072] This embodiment is based on determining the model download status and visually displaying the model download status, which helps users identify the storage status of the model, thereby avoiding the problem of users repeatedly downloading models, which leads to the server-side running data being too large and causing download blocking; moreover, this implementation also verifies the locally downloaded model through the MD5 value, so that the server-side model update operation can be synchronized, the client-side model can be updated in real time, and the accuracy of model download is improved.

[0073] There is an offline model library corresponding to the client's offline scenarios.

[0074] Offline model library: PQArt provides offline model library for customers such as military and political agencies, confidential units, etc. that cannot connect to the external network.

[0075] PQArt provides an offline resource package. After the offline version customer installs the offline resource package, all types of offline resources (i.e., model libraries) will be copied to the cache directory of each model library. At the same time, a static web page file and the corresponding json script file will be copied. A refresh function renderView is preset in the json script. When starting the library command, PQArt will determine that the current state is offline, and search for the model in the cache directory of the currently selected model library. A complete offline model library contains a model file, a json file describing the file (containing the model name, picture name, and introduction of the model), and a model picture. All three are indispensable. Then, the contents of the json files of all three complete models are parsed and spliced ​​into a total json file. The refresh function renderView of the json file is called to pass in the total json file content string, and the existing local offline resources can be displayed in the offline model library for users to browse, select, and download.

[0076] like Figure 5 , which is a schematic diagram of the structure of a model updating device provided by an embodiment of the present invention.

[0077] A model updating device, comprising a client and a server; the client is connected to the server in communication; the device 500 is applied to the client, comprising: an acquisition module 501, used to obtain a target model file of the brand to which the user belongs from the server based on a user's request for a target model library; wherein the target model library is used to indicate a database on the server storing model files corresponding to various brands; the target model file is used to indicate all models corresponding to the brand to which the user belongs and the model information of each model; a generation module 502, used to determine the corresponding next generation model based on the model information corresponding to each model in the target model file; download status, generate a model display interface; wherein, the model display interface includes a model picture and a download status corresponding to each model in the target model file; an update module 503, used for any model in the model display interface: if the download status of the model is the downloaded status option, then based on the triggering of the downloaded status option, the post-file update operation process is executed on the model according to the model information corresponding to the model; if the download status of the model is the not downloaded status option, then based on the triggering of the not downloaded status option, the model is downloaded according to the model information corresponding to the model, and the post-file update operation process is executed on the model.

[0078] In a preferred implementation manner of this embodiment, the acquisition module includes: a sending unit, used to send the request and user identity information to the server based on the user's request for the target model library, so that the server can search the target model file belonging to the brand corresponding to the user identity information from the target model library according to the request; a receiving unit, used to receive the target model file sent by the server.

[0079] In a preferred implementation manner of this embodiment, the model information includes: a model name, a model unique identifier, and a model link; the generation module includes: a query unit, which is used to query whether there is a model corresponding to the model name from the local cache model library based on the model name of the model for any model in the target model file; a determination unit, which is used to determine that the model corresponding to the model name has not been downloaded if the query result indicates that there is no model corresponding to the model name, and generate a not downloaded state option; a generation unit, which is used to generate a model unique identifier corresponding to the model if the query result indicates that there is a model corresponding to the model name; compare the generated model unique identifier with the model unique identifier in the model information; if the comparison results are consistent, determine that the model corresponding to the model name has been downloaded, and generate a downloaded state option; if the comparison results are inconsistent, generate a not downloaded state option.

[0080] In a preferred implementation of this embodiment, the generation module includes: a sending unit, used to send information that the model has not been downloaded to the server, so that the server can estimate the model download time of the model; a receiving unit, used to receive the model download time and display the model download time corresponding to the model on the model display interface.

[0081] In a preferred implementation manner of this embodiment, the updating module includes: a first updating unit, configured to download the model according to a model link corresponding to the model based on a triggering of the not-downloaded state option by a user.

[0082] In a preferred implementation manner of this embodiment, the model information also includes: a post-file name; the update module includes: an acquisition unit, which is used to acquire the post-file information corresponding to the post-file name from the file library corresponding to the server; wherein the post-file information includes: a post-file name, a post-file unique identifier, and a post-file download link; a query unit, which is used to query whether there is a post-file corresponding to the post-file name in the local cache file library; a second update unit, which is used to download the corresponding post-file based on the post-file download link if the query result representation does not exist; a third update unit, which is used to generate a post-file unique identifier if the query result representation exists, and compare the generated post-file unique identifier with the post-file unique identifier in the post-file information; if the comparison results are consistent, it is determined that the post-file has been downloaded; if the comparison results are inconsistent, the corresponding post-file is downloaded based on the post-file download link.

[0083] In a preferred implementation manner of this embodiment, the update module also includes: a generating unit, used to generate model usage information based on the trigger of successful download of the model; the model usage information includes a model name; a sending unit, used to send the model usage information to the server, so that the server can count the number of times the model corresponding to the model name is used; a receiving unit, used to receive the number of times used generated by the server, and display the number of times used on the model display interface.

[0084] like Figure 6 , which is a schematic diagram of the structure of a model updating device provided by another embodiment of the present invention.

[0085] A model updating device is applied to a server; the server is connected to the client in communication; the device 600 comprises: a receiving module 601, used to receive a user's request for a target model library and user identity information; a query module 602, used to query the brand corresponding to the user identity information and the target model file corresponding to the brand from the target model library; a sending module 603, used to send the target model file to the client.

[0086] In a preferred implementation manner of this embodiment, the device also includes: a receiving module, which is also used to receive the post-file name sent by the client; a query module, which is also used to query the post-file information corresponding to the post-file name from the file library; and a sending module, which is also used to send the post-file information to the client.

[0087] The above device can execute the model updating method provided by an embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the model updating method. For technical details not described in detail in this embodiment, please refer to the model updating method provided by an embodiment of the present invention.

[0088] The present invention also provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the model updating method described in the present invention.

[0089] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0090] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0091] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the method according to the following embodiments of the present application described in the above "Exemplary Method" section of this specification.

[0092] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0093] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.

[0094] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.

[0095] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.

[0096] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0097] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

[0098] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0099] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0100] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A model updating method, characterized in that: It includes a client and a server; the client is connected to the server for communication; The method is applied to a client and includes: Based on the user's request for the target model library, the target model file of the brand to which the user belongs is obtained from the server; wherein the target model library is used to indicate a database in which the server stores model files corresponding to various brands; the target model file is used to indicate all models corresponding to the brand to which the user belongs and model information of each of the models; Determine the download status of each model based on the model information corresponding to each model in the target model file, and generate a model display interface; wherein the model display interface includes a model image and a download status corresponding to each model in the target model file; For any model in the model display interface: if the download status of the model is the downloaded status option, based on the triggering of the downloaded status option, the post-file update operation process is executed on the model according to the model information corresponding to the model; if the download status of the model is the not downloaded status option, based on the triggering of the not downloaded status option, the model is downloaded according to the model information corresponding to the model, and the post-file update operation process is executed on the model.

2. The method according to claim 1, characterized in that: The method of obtaining the target model file of the brand to which the user belongs from the server based on the user's request for the target model library comprises: Based on the user's request for the target model library, the request and the user identity information are sent to the server, so that the server searches the target model library for the target model file of the brand corresponding to the user identity information according to the request; Receive the target model file sent by the server.

3. The method according to claim 1, characterized in that The model information includes: a model name, a model unique identifier, and a model link; the download status corresponding to the model is determined based on the model information corresponding to each model in the target model file, and a model display interface is generated; including: For any model in the target model file: based on the model name of the model, query from the local cache model library whether there is a model corresponding to the model name; If the query result indicates that there is no model corresponding to the model name, it is determined that the model corresponding to the model name has not been downloaded, and a not downloaded state option is generated; If the query result indicates that there is a model corresponding to the model name, a model unique identifier corresponding to the model is generated; the generated model unique identifier is compared with the model unique identifier in the model information; if the comparison result is consistent, it is determined that the model corresponding to the model name has been downloaded, and a downloaded status option is generated; if the comparison result is inconsistent, a not downloaded status option is generated.

4. The method according to claim 3, characterized in that Also includes: Sending information that the model has not been downloaded to the server so that the server can estimate the model download time of the model; The model download time is received, and the model download time corresponding to the model is displayed on the model display interface.

5. The method according to claim 3, characterized in that: Based on the triggering of the not downloaded state option, downloading the model according to the model information corresponding to the model; including: Based on the user triggering the not downloaded state option, the model is downloaded according to the model link corresponding to the model.

6. The method according to claim 1, characterized in that The model information also includes: a post-file name; the post-file update operation process for executing the post-file update operation on the model according to the model information corresponding to the model includes: Acquire the post-file information corresponding to the post-file name from the file library corresponding to the server; wherein the post-file information includes: the post-file name, the post-file unique identifier, and the post-file download link; Query whether there is a post-file corresponding to the post-file name in the local cache file library; If the query result representation does not exist, download the corresponding post-file based on the post-file download link; If the query result representation exists, a post-file unique identifier is generated, and the generated post-file unique identifier is compared with the post-file unique identifier in the post-file information; if the comparison result is consistent, it is determined that the post-file has been downloaded; if the comparison result is inconsistent, the corresponding post-file is downloaded based on the post-file download link.

7. The method according to claim 1, characterized in that After downloading the model according to the model information corresponding to the model, the method further includes: Based on the trigger of successful download of the model, model usage information is generated; the model usage information includes a model name; Sending the model usage information to the server so that the server can count the usage times of the model corresponding to the model name; Receive the usage count generated by the server, and display the usage count on the model display interface.

8. A model updating method, characterized in that: Applied to a server; the server is connected to the client for communication; the method comprises: Receive a user's request for a target model library and user identity information; Querying the brand corresponding to the user identity information and the target model file corresponding to the brand from the target model library; The target model file is sent to the client.

9. The method according to claim 8, characterized in that: Also includes: Receiving the post-file name sent by the client; Querying the post-file information corresponding to the post-file name from the file library; The post-file information is sent to the client.

10. A model updating device, characterized in that: It includes a client and a server; the client is connected to the server for communication; The device is applied to a client and includes: An acquisition module, used to acquire the target model file of the brand to which the user belongs from the server based on the user's request for the target model library; wherein the target model library is used to indicate a database in which the server stores model files corresponding to various brands; and the target model file is used to indicate all models corresponding to the brand to which the user belongs and model information of each of the models; A generation module, used to determine the download status of each model based on the model information corresponding to each model in the target model file, and generate a model display interface; wherein the model display interface includes a model image and a download status corresponding to each model in the target model file; An update module is used for any model in the model display interface: if the download status of the model is the downloaded status option, based on the triggering of the downloaded status option, the post-file update operation process is executed on the model according to the model information corresponding to the model; if the download status of the model is the not downloaded status option, based on the triggering of the not downloaded status option, the model is downloaded according to the model information corresponding to the model, and the post-file update operation process is executed on the model.

11. A computer readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 7 or any one of claims 8 to 9 is implemented.

Citation Information

Cited By

  • Model downloading management method and device, storage medium and electronic equipment

    CN121334134A