CN106209827A - Virtual card port system based on container cloud and service creating method thereof - Google Patents
Virtual card port system based on container cloud and service creating method thereof Download PDFInfo
- Publication number
- CN106209827A CN106209827A CN201610536659.8A CN201610536659A CN106209827A CN 106209827 A CN106209827 A CN 106209827A CN 201610536659 A CN201610536659 A CN 201610536659A CN 106209827 A CN106209827 A CN 106209827A
- Authority
- CN
- China
- Prior art keywords
- virtual card
- business
- service
- docker
- administered orally
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention belongs to virtual card vocal imitation skill field, particularly to a kind of virtual card port system based on container cloud and service creating method thereof.The service-creation of the present invention first passes through and described virtual card is administered orally business and virtual card is administered orally the dependence of business and is packaged into docker mirror image, and described docker mirror image is uploaded to docker memory element;Described web services end sends establishment virtual card to service cluster unit and the order of business is administered orally;If described web services end obtains the information that service cluster unit returns at the appointed time, then it represents that establishment virtual card is oral is engaged in successfully, information being stored in data base;If the most not obtaining the information that service cluster unit returns, then prompting user re-creates the oral business of virtual card.Therefore this invention simplifies host deployments process, easy to operate, during service-creation without manually needing to install the oral business of virtual card on the main frame disposed and the oral business of virtual card relies on, the adding procedure automatization of whole virtual bayonet socket, saves the substantial amounts of time.
Description
Technical field
The invention belongs to virtual card vocal imitation skill field, particularly to a kind of virtual card port system based on container cloud and
Its service creating method.
Background technology
In recent years, along with socioeconomic fast development, domestic motor vehicles quantity increases rapidly, in the important discrepancy in city
It is required on the road that mouth, important region and vehicle flowrate are big virtual card port system is installed, in safe city, has a large amount of
Photographic head need to associate the oral business of virtual card, owing to IO and CPU of main frame is consumed very big by virtual bayonet socket, therefore uniprocessor version
Virtual bayonet socket ability very limited, typically can only associate 5 photographic head, therefore be accomplished by enabling Clustering more to associate
Photographic head.
Prior art usually introduces general Clustering, needs manually needing deployment during service-creation
Virtual card oral business is installed on main frame and the oral business of virtual card relies on, both wasted the substantial amounts of time, and unload also inconvenient,
Deployment each time is required for the manual oral business renewal of the virtual card at main hands-operation, batch and stopping is the most loaded down with trivial details.
Summary of the invention
The present invention is in order to overcome above-mentioned the deficiencies in the prior art, it is provided that a kind of virtual bayonet socket system based on container cloud
System, this invention simplifies host deployments process, easy to operate, during service-creation without manually needing the master that disposes
Virtual card oral business is installed on machine and the oral business of virtual card relies on, save the time.
For achieving the above object, present invention employs techniques below measure:
A kind of virtual card port system based on container cloud, including docker memory element, service cluster unit and
Web services end, wherein,
Docker memory element, is administered orally business for storage by virtual card and virtual card is administered orally the common packing that relies on of business
Docker mirror image;
Service cluster unit, inside includes multiple server, and described server stores from described docker for receiving
The docker mirror image of unit, between described service cluster unit and docker memory element, two-way communication is connected;
Web services end, is administered orally the order of business, described web services end and described service cluster for sending establishment virtual card
Two-way communication between unit.
Preferably, exist independently of one another between multiple described servers, multiple servers all by a common interface with
Between docker memory element, web services end, two-way communication connects.
Present invention also offers the service creating method of virtual card port system based on container cloud, including following step
Rapid:
S1, described virtual card is administered orally business and virtual card is administered orally the dependence of business and is jointly packaged into docker mirror image;
S2, described docker mirror image is uploaded to described docker memory element;
S3, described web services end send establishment virtual card to service cluster unit and the order of business are administered orally;
If S4 described web services end obtains the information that service cluster unit returns at the appointed time, then it represents that create void
Intend bayonet socket and service successfully, information is stored in data base;If the most not obtaining the information that service cluster unit returns,
Then prompting user re-creates the oral business of virtual card.
Preferably, described step S3 specifically includes following steps:
The network address that S31, described web services end provide according to service cluster unit, calls connecing of service cluster unit
Mouthful;
S32, described service cluster unit search internal idle server automatically to create the oral business of virtual card.
Preferably, described information includes the network address of described server and No. ID.
Further, when described virtual card be administered orally business need update time, directly virtual card is administered orally business replace to up-to-date
The oral business of virtual card, is administered orally business by up-to-date virtual card and up-to-date virtual card is administered orally the dependence of business and is jointly packaged into docker
Mirror image is uploaded to described docker memory element.
Further, during the off-capacity of described docker memory element, directly delete the docker mirror image of legacy version.
Further, the described stipulated time is 2s~20s.
The beneficial effects of the present invention is:
1), the present invention has abandoned traditional by manually needing to install on the main frame disposed the oral business of virtual card and virtual
Bayonet socket service rely on, the service-creation of the present invention first pass through described virtual card is administered orally business and virtual card the depending on of business is administered orally
Rely and be packaged into docker mirror image, described docker mirror image is uploaded to docker memory element;Described web services end is to services set
Group unit sends establishment virtual card and the order of business is administered orally;If described web services end obtains service cluster unit at the appointed time
The information returned, then it represents that establishment virtual card is oral is engaged in successfully, information being stored in data base;If the most not obtaining
The information that service cluster unit returns, then prompting user re-creates the oral business of virtual card.Therefore this invention simplifies main frame portion
The process of administration, easy to operate, during service-creation without manually installing the oral business of virtual card on the main frame disposed needing
Business oral with virtual card relies on, and the adding procedure automatization of whole virtual bayonet socket saves the substantial amounts of time.
2), described service cluster unit is to be created based on container cloud, it is simple to the establishment of service and renewal;When described
Virtual card is administered orally business when needing to update, and virtual card is directly administered orally business and replaces to the oral business of up-to-date virtual card, by up-to-date void
Intend bayonet socket service and up-to-date virtual card the dependence of business is administered orally jointly to be packaged into docker mirror image and be uploaded to described docker and deposit
Storage unit, therefore the oral business of the virtual card of the present invention updates conveniently;During the off-capacity of described docker memory element, directly delete
Except the docker mirror image of legacy version, facilitate virtual card and business be administered orally and virtual card is administered orally the unloading of dependence of business.
Accompanying drawing explanation
Fig. 1 is the block diagram schematic diagram of the virtual card port system based on container cloud of the present invention;
Fig. 2 is the flow chart of the service creating method of the virtual card port system based on container cloud of the present invention;
Fig. 3 is the particular flow sheet of the service creating method of the virtual card port system based on container cloud of the present invention;
Fig. 4 is the information interaction figure of the present invention.
10 docker memory element 20 service cluster unit 30 web services ends
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, a kind of virtual card port system based on container cloud, including docker memory element 10, service
Cluster unit 20 and web services end 30, described docker memory element 10, for storage by the oral business of virtual card and void
Intend the docker mirror image relying on common packing of bayonet socket service;Described service cluster unit 20 is internal includes multiple server, institute
State server for receiving from the docker mirror image of described docker memory element 10, described service cluster unit 20 with
Between docker memory element 10, two-way communication connects;Described web services end 30 is administered orally the life of business for sending establishment virtual card
Order, two-way communication between described web services end 30 and described service cluster unit 20.
Existing independently of one another between the multiple described server of described service cluster unit 20, multiple servers are all by one
Between individual common interface with docker memory element 10, web services end 30, two-way communication is connected, and is described service cluster unit
20 are created based on container cloud, and service cluster unit 20 is encoded with unit file, it is simple to the establishment of service and more
Newly, simple to operation.
As in figure 2 it is shown, the service creating method of virtual card port system based on container cloud, comprise the following steps:
S1, described virtual card is administered orally business and virtual card is administered orally the dependence of business and is jointly packaged into docker mirror image;
S2, described docker mirror image is uploaded to described docker memory element 10;
S3, described web services end 30 send establishment virtual card to service cluster unit 20 and the order of business are administered orally;
If S4 described web services end 30 obtains the information that service cluster unit 20 returns at the appointed time, then it represents that wound
Build that virtual card is oral is engaged in successfully, information being stored in data base;If the most not obtaining service cluster unit 20 to return
Information, then prompting user re-creates the oral business of virtual card.
As it is shown on figure 3, the service creating method of virtual card port system based on container cloud, step S3 specifically include with
Lower step:
The network address that S31, described web services end 30 provide according to service cluster unit 20, calls service cluster unit
The interface of 20;
S32, described service cluster unit 20 are automatically searched internal idle server and are created the oral business of virtual card.
In the middle of the bayonet system of safe city, when deploying to ensure effective monitoring and control of illegal activities in needs region when, it is necessary first to go to select needs to deploy to ensure effective monitoring and control of illegal activities
Photographic head, then be added to virtual bayonet socket, after having added virtual bayonet socket, backstage can be called service cluster unit 20 and be provided
Restful interface, service cluster unit 20 goes docker memory element 10 to pull a docker mirror image, then at service cluster
Creating a service in unit 20, backstage can record No. ID of service simultaneously.When described virtual card be administered orally business need update time, directly
Connect virtual card is administered orally and be engaged in replacing to the oral business of up-to-date virtual card, up-to-date virtual card is administered orally business and up-to-date virtual card
The dependence of oral business is jointly packaged into docker mirror image and is uploaded to described docker memory element 10, then operation service cluster list
The more newer command of unit 20, cluster will download up-to-date docker mirror image automatically, and the capacity of described docker memory element 10 is not
During foot, directly delete the docker mirror image of legacy version.
As shown in Figure 4, container cloud platform for being managed scheduling to container, and software definition resource uses container cloud
Virtualizing hardware environment, software definition resource is used for realizing container cloud platform, and container is managed scheduling and life
Periodic maintenance, the api interface that container cloud platform provides, service, for creating each concrete container, undertakes various different merit
Can, such as web services, database service, log services etc., in service, the service interface of opening is used for forming api interface use
In providing the user service.
Claims (8)
1. virtual card port system based on container cloud, it is characterised in that: include docker memory element (10), service cluster
Unit (20) and web services end (30), wherein,
Docker memory element (10), is administered orally business for storage by virtual card and virtual card is administered orally the common packing that relies on of business
Docker mirror image;
Service cluster unit (20), inside includes multiple server, and described server stores from described docker for receiving
The docker mirror image of unit (10), between described service cluster unit (20) and docker memory element (10), two-way communication is even
Connect;
Web services end (30), is administered orally the order of business, described web services end (30) and described service for sending establishment virtual card
Two-way communication between cluster unit (20).
2. virtual card port system based on container cloud as claimed in claim 1, it is characterised in that: multiple described servers
Between exist independently of one another, multiple servers are all by a common interface and docker memory element (10), web services end
(30) between, two-way communication connects.
3. the service creating method of virtual card port system based on container cloud as claimed in claim 2, it is characterised in that
Comprise the following steps:
S1, described virtual card is administered orally business and virtual card is administered orally the dependence of business and is jointly packaged into docker mirror image;
S2, described docker mirror image is uploaded to described docker memory element (10);
S3, described web services end (30) send establishment virtual card to service cluster unit (20) and the order of business are administered orally;
If S4 described web services end (30) obtains the information that service cluster unit (20) returns at the appointed time, then it represents that wound
Build that virtual card is oral is engaged in successfully, information being stored in data base;If the most not obtaining service cluster unit (20) to return
The information returned, then prompting user re-creates the oral business of virtual card.
4. the service creating method of virtual card port system based on container cloud as claimed in claim 3, it is characterised in that
Described step S3 specifically includes following steps:
The network address that S31, described web services end (30) provide according to service cluster unit (20), calls service cluster unit
(20) interface;
S32, described service cluster unit (20) are automatically searched internal idle server and are created the oral business of virtual card.
5. the service creating method of virtual card port system based on container cloud as claimed in claim 3, it is characterised in that:
Described information includes the network address of described server and No. ID.
6. the service creating method of the virtual card port system based on container cloud as described in claim 3 or 4, its feature exists
In: when described virtual card be administered orally business need to update time, directly virtual card is administered orally business and replaces to the oral business of up-to-date virtual card, will
Up-to-date virtual card is administered orally business and up-to-date virtual card is administered orally the dependence of business and is jointly packaged into docker mirror image and is uploaded to described
Docker memory element (10).
7. the service creating method of virtual card port system based on container cloud as claimed in claim 3, it is characterised in that:
During the off-capacity of described docker memory element (10), directly delete the docker mirror image of legacy version.
8. the service creating method of virtual card port system based on container cloud as claimed in claim 3, it is characterised in that:
The described stipulated time is 2s~20s.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610536659.8A CN106209827A (en) | 2016-07-08 | 2016-07-08 | Virtual card port system based on container cloud and service creating method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610536659.8A CN106209827A (en) | 2016-07-08 | 2016-07-08 | Virtual card port system based on container cloud and service creating method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106209827A true CN106209827A (en) | 2016-12-07 |
Family
ID=57472878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610536659.8A Pending CN106209827A (en) | 2016-07-08 | 2016-07-08 | Virtual card port system based on container cloud and service creating method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106209827A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603678A (en) * | 2016-12-21 | 2017-04-26 | 济南浪潮高新科技投资发展有限公司 | Method for achieving gridding distributed storage through employing Docker container |
CN107066296A (en) * | 2017-03-31 | 2017-08-18 | 北京奇艺世纪科技有限公司 | The method for cleaning and device of mirror image in a kind of clustered node |
CN109525624A (en) * | 2017-09-20 | 2019-03-26 | 腾讯科技(深圳)有限公司 | A kind of container login method, device and storage medium |
CN109872223A (en) * | 2019-02-12 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Virtual article trading method, apparatus, equipment and storage medium |
CN109889480A (en) * | 2018-12-25 | 2019-06-14 | 武汉烽火信息集成技术有限公司 | Based on container and the totally-domestic of cloud platform fusion cloud platform management method and system |
CN110458000A (en) * | 2019-06-28 | 2019-11-15 | 安徽四创电子股份有限公司 | A kind of video frequency vehicle recognition methods based on docker |
CN111301789A (en) * | 2018-12-11 | 2020-06-19 | 顺丰科技有限公司 | Application software packaging method and device |
CN111586174A (en) * | 2020-05-08 | 2020-08-25 | 安徽三音电子科技有限公司 | Network service system |
CN114005273A (en) * | 2021-10-18 | 2022-02-01 | 北京中交兴路车联网科技有限公司 | Message reminding method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130239004A1 (en) * | 2012-03-08 | 2013-09-12 | Oracle International Corporation | System and method for providing an in-memory data grid application container |
CN104168310A (en) * | 2014-07-24 | 2014-11-26 | 深圳天珑无线科技有限公司 | Method and apparatus for scheduling cloud end vertual server |
CN105245373A (en) * | 2015-10-12 | 2016-01-13 | 天津市普迅电力信息技术有限公司 | Construction and operation method of container cloud platform system |
CN105577779A (en) * | 2015-12-21 | 2016-05-11 | 用友网络科技股份有限公司 | Method and system for containerized deployment of large enterprise private cloud |
-
2016
- 2016-07-08 CN CN201610536659.8A patent/CN106209827A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130239004A1 (en) * | 2012-03-08 | 2013-09-12 | Oracle International Corporation | System and method for providing an in-memory data grid application container |
CN104168310A (en) * | 2014-07-24 | 2014-11-26 | 深圳天珑无线科技有限公司 | Method and apparatus for scheduling cloud end vertual server |
CN105245373A (en) * | 2015-10-12 | 2016-01-13 | 天津市普迅电力信息技术有限公司 | Construction and operation method of container cloud platform system |
CN105577779A (en) * | 2015-12-21 | 2016-05-11 | 用友网络科技股份有限公司 | Method and system for containerized deployment of large enterprise private cloud |
Non-Patent Citations (1)
Title |
---|
罗艳丽、郭庆彬: "基于Docker的虚拟卡口系统研究", 《中国新通信》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603678A (en) * | 2016-12-21 | 2017-04-26 | 济南浪潮高新科技投资发展有限公司 | Method for achieving gridding distributed storage through employing Docker container |
CN107066296A (en) * | 2017-03-31 | 2017-08-18 | 北京奇艺世纪科技有限公司 | The method for cleaning and device of mirror image in a kind of clustered node |
CN109525624A (en) * | 2017-09-20 | 2019-03-26 | 腾讯科技(深圳)有限公司 | A kind of container login method, device and storage medium |
US11556366B2 (en) | 2017-09-20 | 2023-01-17 | Tencent Technology (Shenzhen) Company Ltd | Container login method, apparatus, and storage medium |
CN109525624B (en) * | 2017-09-20 | 2022-01-04 | 腾讯科技(深圳)有限公司 | Container login method and device and storage medium |
CN111301789A (en) * | 2018-12-11 | 2020-06-19 | 顺丰科技有限公司 | Application software packaging method and device |
CN111301789B (en) * | 2018-12-11 | 2022-08-12 | 顺丰科技有限公司 | Application software packaging method and device |
CN109889480A (en) * | 2018-12-25 | 2019-06-14 | 武汉烽火信息集成技术有限公司 | Based on container and the totally-domestic of cloud platform fusion cloud platform management method and system |
CN109872223B (en) * | 2019-02-12 | 2021-05-28 | 百度在线网络技术(北京)有限公司 | Virtual article transaction method, device, equipment and storage medium |
CN109872223A (en) * | 2019-02-12 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Virtual article trading method, apparatus, equipment and storage medium |
CN110458000A (en) * | 2019-06-28 | 2019-11-15 | 安徽四创电子股份有限公司 | A kind of video frequency vehicle recognition methods based on docker |
CN111586174A (en) * | 2020-05-08 | 2020-08-25 | 安徽三音电子科技有限公司 | Network service system |
CN111586174B (en) * | 2020-05-08 | 2023-03-28 | 安徽三音电子科技有限公司 | Network service system |
CN114005273A (en) * | 2021-10-18 | 2022-02-01 | 北京中交兴路车联网科技有限公司 | Message reminding method and device, computer equipment and storage medium |
CN114005273B (en) * | 2021-10-18 | 2022-11-25 | 北京中交兴路车联网科技有限公司 | Message reminding method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106209827A (en) | Virtual card port system based on container cloud and service creating method thereof | |
US9207929B2 (en) | Integrated system and firmware update method | |
CN111522628A (en) | Kubernets cluster building and deploying method, architecture and storage medium based on OpenStack | |
WO2020103904A1 (en) | Cloud desktop upgrade method, device, cloud server, and storage medium | |
CN109889480A (en) | Based on container and the totally-domestic of cloud platform fusion cloud platform management method and system | |
CN107566165B (en) | Method and system for discovering and deploying available resources of power cloud data center | |
CN103309754B (en) | Terminal and data partitioned management method | |
CN109254825A (en) | A kind of method and device for receiving pipe virtual hard disk | |
CN103327108B (en) | A kind of cross-platform software management platform based on cloud and construction method thereof | |
CN105808274A (en) | Software upgrading method and system as well as corresponding clients and servers | |
CN104572274A (en) | Cross-cloud-node migration system and cross-cloud-node migration method | |
CN106407214A (en) | Distributed storage method and system | |
CN105577442B (en) | Storage virtual machine based on cloud platform receives pipe method | |
CN105893115A (en) | Method and system for differential deployment of virtual machine | |
CN108268299A (en) | A kind of Docker based on OpenStack cloud platforms shares storage solution | |
CN104468811B (en) | Upgrade method and device | |
CN106293846A (en) | The upgrade method of analog processor and device | |
CN106502797A (en) | A kind of group system and the dispositions method of group system | |
CN103176826A (en) | Method for freely configuring terminal equipment default language and terminal default language configuration system | |
CN105071975A (en) | Data transmission and distribution method and system | |
CN106469117A (en) | A kind of SRM method and device for virtual machine storage migration | |
CN111064602B (en) | Resource quota management method under public cloud platform | |
CN104318091A (en) | Moonlet ground testing method based on virtualization computer system | |
CN103684900A (en) | Business polling method and system | |
CN106325872A (en) | Multioperation system management method capable of supporting Macintosh computer and multioperation system management device capable of supporting Macintosh computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |