Containerization-based traffic algorithm standardized packaging method
A packaging method and algorithm technology, applied in the direction of instruments, calculations, program control devices, etc., can solve the problems of not providing external call interfaces, high development costs, parameters, and interface confusion, etc., to meet the needs of rapid deployment and facilitate query and deployment , the effect of reducing the amount of information transmitted
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0063] Specific implementation mode one, combining Figure 1-Figure 5 Explain this implementation method: the current algorithm uses the Flask framework to implement basic interface services. Flask is a web framework of python. The biggest feature is that it is light and easy to use, allowing developers to be freely and flexibly compatible with the applications to be developed;
[0064] In this embodiment, the combination of gunicorn and gevent is selected to load and run the Flask application, so the Dockerfile needs to be set to execute the gunicorn configuration file.
[0065] All algorithms need to be encapsulated into a RESTful interface and packaged into a Docker image, and hosted on the transportation big data platform for unified operation and management;
[0066] As attached to the manual figure 1 and figure 2 as shown, figure 1 A step-by-step diagram for algorithm image packaging and deployment, figure 2 The overall architecture diagram encapsulated by the algo...
specific Embodiment approach 2
[0074] Specific embodiment two, in a containerized traffic algorithm standardization encapsulation method based on the present embodiment, the specific steps of developing the algorithm calling interface of the HTTP protocol according to the RESTful architecture using Python's Flask are:
[0075] Step S21. Configure the traffic algorithm call interface development tool;
[0076] Step S22. Complete the installation of the traffic algorithm call interface framework and the generation of the algorithm call interface.
[0077] Among them, combined with the manual attached image 3 Explanation The specific steps for configuring the traffic algorithm call interface development tool in step S21 are:
[0078] Step S211. install plug-ins gunicorn and gevent;
[0079] Step S212. configuration file;
[0080] Write the configuration file of gunicorn (file name gunicorn.conf.py), set internal parameters of gunicorn, including process parameter worker, working mode parameter worker_class...
specific Embodiment approach 3
[0101] Specific implementation mode 3, in a standardized encapsulation method for traffic algorithms based on containerization in this implementation mode,
[0102] Mirror name specification:
[0103] The image name (Repository) refers to the part of the full name of the image before the colon (:), and the part after the colon (:) is the image tag (tag), which is used to distinguish the image version. For example, a mirror named my-app:3.1.4, my-app is the Repository part of the mirror.
[0104] Mirror names are separated by forward slashes ( / ), and the part before ' / ' is an optional host name in DNS format. The host name must comply with the DNS rules, but must not contain the underscore '_' character, and the host name can be a port number in the format of 8080.
[0105] The mirror name naming convention is: "host name / mirror warehouse name / subject / algorithm name", the algorithm name adopts the "subject-predicate" structure, all words are lowercase letters, and the words a...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com