CN112968897A - Container calculation method operating in decentralized system - Google Patents

Container calculation method operating in decentralized system Download PDF

Info

Publication number
CN112968897A
CN112968897A CN202110214577.2A CN202110214577A CN112968897A CN 112968897 A CN112968897 A CN 112968897A CN 202110214577 A CN202110214577 A CN 202110214577A CN 112968897 A CN112968897 A CN 112968897A
Authority
CN
China
Prior art keywords
container
node
task
information
running program
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.)
Granted
Application number
CN202110214577.2A
Other languages
Chinese (zh)
Other versions
CN112968897B (en
Inventor
张海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunwan Technology Jiaxing Co ltd
ZHEJIANG TSINGHUA YANGTZE RIVER DELTA RESEARCH INSTITUTE
Yangtze Delta Region Institute of Tsinghua University Zhejiang
Original Assignee
Yunwan Technology Jiaxing Co ltd
ZHEJIANG TSINGHUA YANGTZE RIVER DELTA RESEARCH INSTITUTE
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yunwan Technology Jiaxing Co ltd, ZHEJIANG TSINGHUA YANGTZE RIVER DELTA RESEARCH INSTITUTE filed Critical Yunwan Technology Jiaxing Co ltd
Priority to CN202110214577.2A priority Critical patent/CN112968897B/en
Publication of CN112968897A publication Critical patent/CN112968897A/en
Application granted granted Critical
Publication of CN112968897B publication Critical patent/CN112968897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a container calculation method operated in a decentralized system, which is used for authorizing a container to operate in the decentralized system and comprises the following steps of S1: transferring first login user information in the primary login task to a system login area of a display interface of the block chain system; step S2: receiving browsing information of a block chain system; step S3: and deploying a first node of the container cluster management system on a main node of the blockchain system based on the received browsing information, and starting a first running program on the main node by using the blockchain ID corresponding to the first login user information. The invention discloses a container computing method operating in a decentralized system, which enables the container to be deployed and operated in a third-party computer.

Description

Container calculation method operating in decentralized system
Technical Field
The invention belongs to the technical field of container calculation of a decentralized system, and particularly relates to a container calculation method operating in the decentralized system.
Background
Large-scale deployment of containers has been common in common clouds. In this environment, it is typically a centralized manager to manage container deployment on the servers, which is a master-slave relationship.
In remote decentralized systems, containers are also typically deployed and managed using kubenets (container cluster management system). However, in a decentralized environment, mutual trust between the manager and the server is valuable, and is not a master-slave relationship, so that the original centralized manager cannot deploy a container on the server.
Therefore, the above problems are further improved.
Disclosure of Invention
The invention mainly aims to provide a container computing method running in a decentralized system, which realizes an equal relation between a manager and a server through a decentralized mechanism of a block chain system, so that the container can be deployed and run in a third-party computer.
To achieve the above object, the present invention provides a container calculation method operating in a decentralized system for authorizing a container to operate in the decentralized (calculation) system, comprising the steps of:
step S1: transferring first login user information in the primary login task to a system login area of a display interface of the block chain system;
step S2: receiving browsing information of a blockchain system (the blockchain system is used for issuing tasks in the invention);
step S3: deploying a container cluster management system (Kubernetes Master) on a main node (manager) of the blockchain system based on the received browsing information, and starting a first running program (Chain Daemon) on the main node by using a blockchain ID corresponding to the first login user information;
step S4: the computing node system (server) performs information interaction with the blockchain system and matches the tasks of the containers with the resources of the computing nodes;
step S5: after receiving the task of the container, the computer node judges whether the signature carried by the current task is marked by an authorized main node through a first running program;
step S6: and starting and executing the task, and recording the information of the completed task in the blockchain system after the completed task is executed.
As a further preferable embodiment of the above technical means, step S3 is specifically implemented as the following steps:
step S3.1: the first running program is used for signing the scheduling task of the container;
step S3.2: the master node is used to normally schedule tasks for the allocation containers.
As a further preferable embodiment of the above technical means, step S4 is specifically implemented as the following steps:
step S4.1: transferring second login user information in the primary login task to a system login area of a display interface of the computing node system;
step S4.2: receiving browsing information of a computing node system (in the invention, the computing node system is a computing node client used for computing tasks issued by a block chain system);
step S4.3: a plurality of computing nodes of the computing node system perform information interaction with a main node of the block chain system;
step S4.4: the tasks of the container are matched to the resources of the compute node by a first running program launched on the master node.
As a further preferable embodiment of the above technical means, step S5 is specifically implemented as the following steps:
step S5.1: if the signature carried by the current task is marked by the authorized master node through the first running program, executing step S6, and recording the information allocated by the current task in the blockchain system;
step S5.2: if the signature carried by the current task is not marked for the authorized master node by the first running program, step S4 is executed, and the information of the current task assignment is recorded in the blockchain system.
As a further preferable technical solution of the above technical solution, the computer node includes a container cluster management system (kuberlet), an application container engine (docker), and a first running program (Chain Daemon).
Drawings
FIG. 1 is a schematic diagram of a container calculation method of the present invention operating in a decentralized system.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art. The basic principles of the invention, as defined in the following description, may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
Referring to FIG. 1 of the drawings, FIG. 1 is a schematic diagram of a vessel computation method of the present invention operating in a decentralized system.
In the preferred embodiment of the present invention, those skilled in the art should note that the cluster management system (kuberlet), the application container engine (docker), the first running program (Chain Daemon), and the like, which are related to the present invention, can be regarded as the prior art.
PREFERRED EMBODIMENTS
The invention discloses a container calculation method operated in a decentralized system, which is used for authorizing a container to operate in the decentralized (calculation) system and comprises the following steps:
step S1: transferring first login user information in the primary login task to a system login area of a display interface of the block chain system;
step S2: receiving browsing information of a blockchain system (the blockchain system is used for issuing tasks in the invention);
step S3: deploying a container cluster management system (Kubernetes Master) on a main node (manager) of the blockchain system based on the received browsing information, and starting a first running program (Chain Daemon) on the main node by using a blockchain ID corresponding to the first login user information;
step S4: the computing node system (server) performs information interaction with the blockchain system and matches the tasks of the containers with the resources of the computing nodes;
step S5: after receiving the task of the container, the computer node judges whether the signature carried by the current task is marked by an authorized main node through a first running program;
step S6: and starting and executing the task, and recording the information of the completed task in the blockchain system after the completed task is executed.
Specifically, step S3 is implemented as the following steps:
step S3.1: the first running program is used for signing the scheduling task of the container;
step S3.2: the master node is used to normally schedule tasks for the allocation containers.
More specifically, step S4 is specifically implemented as the following steps:
step S4.1: transferring second login user information in the primary login task to a system login area of a display interface of the computing node system;
step S4.2: receiving browsing information of a computing node system (in the invention, the computing node system is a computing node client used for computing tasks issued by a block chain system);
step S4.3: a plurality of computing nodes of the computing node system perform information interaction with a main node of the block chain system;
step S4.4: the tasks of the container are matched to the resources of the compute node by a first running program launched on the master node.
Further, step S5 is specifically implemented as the following steps:
step S5.1: if the signature carried by the current task is marked by the authorized master node through the first running program, executing step S6, and recording the information allocated by the current task in the blockchain system;
step S5.2: if the signature carried by the current task is not marked for the authorized master node by the first running program, step S4 is executed, and the information of the current task assignment is recorded in the blockchain system.
Further, the computer node includes a container cluster management system (kuberlet), an application container engine (docker), and a first runtime program (Chain Daemon).
It should be noted that technical features of a cluster management system (kuberlet), an application container engine (docker), a first running program (Chain Daemon) and the like related to the present patent application are regarded as the prior art, specific structures, operation principles, control modes and spatial arrangement modes that may be related to the technical features are conventionally selected in the field, and are not regarded as the invention points of the present patent application, and the present patent application is not further specifically described in detail.
It will be apparent to those skilled in the art that modifications and equivalents may be made in the embodiments and/or portions thereof without departing from the spirit and scope of the present invention.

Claims (5)

1. A container calculation method for operation in a decentralized system for authorizing a container to operate in the decentralized system, comprising the steps of:
step S1: transferring first login user information in the primary login task to a system login area of a display interface of the block chain system;
step S2: receiving browsing information of a block chain system;
step S3: deploying a container cluster management system on a main node of the blockchain system based on the received browsing information, and starting a first running program on the main node by using a blockchain ID corresponding to the first login user information;
step S4: the computing node system performs information interaction with the blockchain system, and matches tasks of the containers with resources of the computing nodes;
step S5: after receiving the task of the container, the computer node judges whether the signature carried by the current task is marked by an authorized main node through a first running program;
step S6: and starting and executing the task, and recording the information of the completed task in the blockchain system after the completed task is executed.
2. The method of claim 1, wherein step S3 is embodied as the steps of:
step S3.1: the first running program is used for signing the scheduling task of the container;
step S3.2: the master node is used to normally schedule tasks for the allocation containers.
3. The method of claim 2, wherein step S4 is embodied as the steps of:
step S4.1: transferring second login user information in the primary login task to a system login area of a display interface of the computing node system;
step S4.2: receiving browsing information of a computing node system;
step S4.3: a plurality of computing nodes of the computing node system perform information interaction with a main node of the block chain system;
step S4.4: the tasks of the container are matched to the resources of the compute node by a first running program launched on the master node.
4. The method of claim 3, wherein step S5 is embodied as the steps of:
step S5.1: if the signature carried by the current task is marked by the authorized master node through the first running program, executing step S6, and recording the information allocated by the current task in the blockchain system;
step S5.2: if the signature carried by the current task is not marked for the authorized master node by the first running program, step S4 is executed, and the information of the current task assignment is recorded in the blockchain system.
5. The method of claim 4, wherein the computer node comprises a container cluster management system, an application container engine, and a first running program.
CN202110214577.2A 2021-02-25 2021-02-25 Container calculation method operating in decentralized system Active CN112968897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110214577.2A CN112968897B (en) 2021-02-25 2021-02-25 Container calculation method operating in decentralized system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110214577.2A CN112968897B (en) 2021-02-25 2021-02-25 Container calculation method operating in decentralized system

Publications (2)

Publication Number Publication Date
CN112968897A true CN112968897A (en) 2021-06-15
CN112968897B CN112968897B (en) 2022-04-08

Family

ID=76275747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110214577.2A Active CN112968897B (en) 2021-02-25 2021-02-25 Container calculation method operating in decentralized system

Country Status (1)

Country Link
CN (1) CN112968897B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN107025136A (en) * 2016-01-29 2017-08-08 中兴通讯股份有限公司 A kind of decentralization resource regulating method and system
CN107579998A (en) * 2017-10-17 2018-01-12 光载无限(北京)科技有限公司 Personal data center and digital identification authentication method based on block chain, digital identity and intelligent contract
CN108777625A (en) * 2018-06-28 2018-11-09 腾讯科技(深圳)有限公司 Verification method, device and system, storage medium, the electronic device of signature
CN109194506A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network dispositions method, platform and computer storage medium
CN109409738A (en) * 2018-10-25 2019-03-01 平安科技(深圳)有限公司 Method, the electronic device of deep learning are carried out based on block platform chain
CN109582452A (en) * 2018-11-27 2019-04-05 北京邮电大学 A kind of container dispatching method, dispatching device and electronic equipment
CN109800056A (en) * 2019-01-16 2019-05-24 杭州趣链科技有限公司 A kind of block chain dispositions method based on container
CN109933420A (en) * 2019-04-02 2019-06-25 深圳市网心科技有限公司 Node tasks dispatching method, electronic equipment and system
CN109951561A (en) * 2019-03-28 2019-06-28 浙江数值跳跃网络科技有限公司 Decentralization basis running environment cater system based on cloud container technique
CN110601896A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and equipment based on block chain nodes
US20200044855A1 (en) * 2018-08-06 2020-02-06 Tyson York Winarski Material exchange format mxf file augmented with blockchain hashing technology
CN111614490A (en) * 2020-04-29 2020-09-01 北京金山云网络技术有限公司 Management system and method for managed container cluster based on top-level container cluster
CN111866000A (en) * 2020-07-24 2020-10-30 宁夏政安信息科技有限公司 Account password management method of computer medium management system
CN112199178A (en) * 2020-10-21 2021-01-08 中国电子科技集团公司第十五研究所 Cloud service dynamic scheduling method and system based on lightweight container
CN112256388A (en) * 2020-10-15 2021-01-22 深圳壹账通智能科技有限公司 Container-based blockchain network deployment method, device, equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN107025136A (en) * 2016-01-29 2017-08-08 中兴通讯股份有限公司 A kind of decentralization resource regulating method and system
CN107579998A (en) * 2017-10-17 2018-01-12 光载无限(北京)科技有限公司 Personal data center and digital identification authentication method based on block chain, digital identity and intelligent contract
CN108777625A (en) * 2018-06-28 2018-11-09 腾讯科技(深圳)有限公司 Verification method, device and system, storage medium, the electronic device of signature
US20200044855A1 (en) * 2018-08-06 2020-02-06 Tyson York Winarski Material exchange format mxf file augmented with blockchain hashing technology
CN109194506A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network dispositions method, platform and computer storage medium
CN109409738A (en) * 2018-10-25 2019-03-01 平安科技(深圳)有限公司 Method, the electronic device of deep learning are carried out based on block platform chain
CN109582452A (en) * 2018-11-27 2019-04-05 北京邮电大学 A kind of container dispatching method, dispatching device and electronic equipment
CN109800056A (en) * 2019-01-16 2019-05-24 杭州趣链科技有限公司 A kind of block chain dispositions method based on container
CN109951561A (en) * 2019-03-28 2019-06-28 浙江数值跳跃网络科技有限公司 Decentralization basis running environment cater system based on cloud container technique
CN109933420A (en) * 2019-04-02 2019-06-25 深圳市网心科技有限公司 Node tasks dispatching method, electronic equipment and system
CN110601896A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and equipment based on block chain nodes
CN111614490A (en) * 2020-04-29 2020-09-01 北京金山云网络技术有限公司 Management system and method for managed container cluster based on top-level container cluster
CN111866000A (en) * 2020-07-24 2020-10-30 宁夏政安信息科技有限公司 Account password management method of computer medium management system
CN112256388A (en) * 2020-10-15 2021-01-22 深圳壹账通智能科技有限公司 Container-based blockchain network deployment method, device, equipment and storage medium
CN112199178A (en) * 2020-10-21 2021-01-08 中国电子科技集团公司第十五研究所 Cloud service dynamic scheduling method and system based on lightweight container

Also Published As

Publication number Publication date
CN112968897B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN109194506B (en) Block chain network deployment method, platform and computer storage medium
US11886929B2 (en) Deploying cloud-native services across control planes
US6944858B2 (en) Installation of application software through a network from a source computer system on to a target computer system
US20120203823A1 (en) Apparatus, systems and methods for deployment and management of distributed computing systems and applications
WO2005122681A2 (en) Goal-oriented predictive scheduling in a grid environment
CN110209484B (en) Credible cloud task scheduling system and method based on multiple clouds and security mapping
CN110752947A (en) K8s cluster deployment method and device, and deployment platform
CN109117252B (en) Method and system for task processing based on container and container cluster management system
CN113434283B (en) Service scheduling method and device, server and computer readable storage medium
Liu et al. Reliability modelling and optimization for microservice‐based cloud application using multi‐agent system
CN114816694A (en) Multi-process cooperative RPA task scheduling method and device
CN112968897B (en) Container calculation method operating in decentralized system
US20100122261A1 (en) Application level placement scheduler in a multiprocessor computing environment
Madhura et al. An efficient list‐based task scheduling algorithm for heterogeneous distributed computing environment
Ali et al. Utilization-based techniques for statically mapping heterogeneous applications onto the HiPer-D heterogeneous computing system
US7159012B2 (en) Computational data processing system and computational process implemented by means of such a system
CN115269140A (en) Container-based cloud computing workflow scheduling method, system and equipment
CN115686813A (en) Resource scheduling method and device, electronic equipment and storage medium
Lin et al. A multi-centric model of resource and capability management in cloud simulation
Richard et al. The I-Cluster Cloud: distributed management of idle resources for intense computing
CN115454450B (en) Method and device for resource management of data job, electronic equipment and storage medium
CN117938636B (en) Intelligent node management and control service system
CN115396305B (en) Heterogeneous network equipment unified management and control method and system based on micro-service architecture
CN116032928B (en) Data collaborative computing method, device, system, electronic device and storage medium
US11353855B1 (en) Configuring and deploying gateway connectors and workflows for data sources at client networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant