Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Model online deployment method and device

A technology for deploying devices and models, which is applied in the field of artificial intelligence, can solve the problems of unable to deploy offline training models to online services, spend a lot of time writing server code, and cannot guarantee hot updates of services, etc., to achieve automatic horizontal expansion, automatic Realize service discovery and load balancing, realize the effect of automatic release and rollback

Pending Publication Date: 2020-12-01
江苏银承网络科技股份有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 1. Model update iteration is slow, and it takes a lot of time to write server code;
[0010] 2. There is no guarantee of hot update of the service, and the model update can be completed without interrupting the service;
[0011] 3. In the connection process between the offline training model and the online service, it is impossible to quickly and effectively deploy the offline training model to the online service;
[0012] For the above three problems, there is no technical solution that can solve them at the same time

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
  • Model online deployment method and device
  • Model online deployment method and device
  • Model online deployment method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053]In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, 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 It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0054] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances s...

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 invention provides a model online deployment method and device, and the method comprises the steps: receiving training data, carrying out the training of a model based on TensorFlow according to the training data, and obtaining a trained model; storing the trained model based on a preset path, and packaging the model, the model having an alias and a version number corresponding to the model; generating a corresponding container based on the packaged model, wherein the container calls the packaged model based on a version number and an alias; and respectively deploying the trained model andthe container to an infrastructure of a Paas online platform based on the Kubernetes. Compared with the traditional mainstream mode, algorithm engineers do not need to pay attention to model serviceconstruction and can focus on researching the research itself; model updating and multi-model deployment can be rapid and efficient, short-time online operation and verification of more models becomepossible, scheduling management of the model service is more reliable through combination with Kubernetes, dynamic adaptation to page view change can be realized, and the service is more reliable.

Description

technical field [0001] The present invention relates to artificial intelligence technology, in particular to a method and device for online model deployment. Background technique [0002] AI service has become one of the most important reliance of Internet companies today, and it is the core technology for companies to maintain rapid growth and efficient operations. The existing service mode of AI is mainly based on the existing big data, through algorithms, training the model offline, and then using the online service method to serve the results generated by the model to the outside world. [0003] However, how to use the model trained in the offline environment for online deployment and achieve near real-time inference has always been a difficult point in the industry. The current mainstream methods mainly include the following: [0004] 1. Offline training + cache mode. Generate recommendation results for users in the offline environment every once in a while, and stor...

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): G06F9/455G06F8/65G06F8/71
CPCG06F9/45558G06F8/65G06F8/71G06F2009/45595G06F2009/45562
Inventor 李昌盛禹平
Owner 江苏银承网络科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products