TWI719336B - System and method for micro-service heterogeneous regenerating based on industrial internet, readable storage medium - Google Patents

System and method for micro-service heterogeneous regenerating based on industrial internet, readable storage medium Download PDF

Info

Publication number
TWI719336B
TWI719336B TW107128673A TW107128673A TWI719336B TW I719336 B TWI719336 B TW I719336B TW 107128673 A TW107128673 A TW 107128673A TW 107128673 A TW107128673 A TW 107128673A TW I719336 B TWI719336 B TW I719336B
Authority
TW
Taiwan
Prior art keywords
data
target microservice
microservice
matching
data processing
Prior art date
Application number
TW107128673A
Other languages
Chinese (zh)
Other versions
TW201947418A (en
Inventor
高子龍
王劍
劉堅
陳昌奇
陳德仁
吳信威
張雲
Original Assignee
大陸商深圳富桂精密工業有限公司
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 大陸商深圳富桂精密工業有限公司 filed Critical 大陸商深圳富桂精密工業有限公司
Publication of TW201947418A publication Critical patent/TW201947418A/en
Application granted granted Critical
Publication of TWI719336B publication Critical patent/TWI719336B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • 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
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A micro-service heterogeneous regenerating method based on an industrial internet includes: establishing a resource pool for processing data, and the resource pool comprising a plurality of data processing mechanisms and a plurality of data processing algorithms; selecting one or more data processing mechanisms and one or more data processing algorithms form the resource pool to generate an algorithm service model which is matched to a requiring micro-service; obtaining data information of the requiring micro-service and recording a processing flow of the data information that is processed by an industrial mechanism corresponding to the requiring micro-service and the algorithm service model to generate a solution of the requiring micro-service. A micro-service heterogeneous regenerating system based on the industrial internet and a readable storage medium are also provided.

Description

基於工業互聯網之微服務異構再生系統、方法及可讀存 儲介質 Microservice heterogeneous regeneration system, method and readable storage based on industrial internet Storage medium

本發明涉及工業互聯網技術領域,尤其涉及一種基於工業互聯網之微服務異構再生系統、方法及電腦可讀存儲介質。 The present invention relates to the technical field of industrial Internet, and in particular to a system, method and computer-readable storage medium for heterogeneous regeneration of microservices based on industrial Internet.

習知之工業互聯網平臺服務可被分類為資料型微服務、服務型微服務及搭配專業領域知識而得之解決方案型微服務,各平臺均獨立提供服務,無法有效地進行整合,制約了工業互聯網之發展前景。 Conventional industrial Internet platform services can be classified into data-based microservices, service-based microservices, and solution-based microservices derived from professional domain knowledge. Each platform provides services independently and cannot be effectively integrated, which restricts the industrial Internet. The development prospects.

有鑑於此,有必要提供一種基於工業互聯網之微服務異構再生系統、方法及電腦可讀存儲介質,其能實現將資料、演算法服務及製造業行業專業知識進行彙整,進而彙整輸出微服務之解決方案。 In view of this, it is necessary to provide a heterogeneous regeneration system, method and computer-readable storage medium for microservices based on the Industrial Internet, which can aggregate data, algorithm services and manufacturing industry expertise, and then aggregate and output microservices The solution.

本發明一實施方式提供一種基於工業互聯網之微服務異構再生系統,包括:處理器;及記憶體,適於存儲多條指令,所述指令適於由所述處理器執行:建立一資料處理資源池,所述資料處理資源池包括多種資料操作機制及多種資料處理演算法;從所述資料處理資源池中選擇與一目標微服務匹配之 資料操作機制及資料處理演算法進行組合,以生成一演算法服務模型;及獲取與所述目標微服務匹配之資料,並記錄藉由與所述目標微服務對應之工業機理及所述演算法服務模型對所述資料進行處理過程中之資料流程處理機制,以生成所述目標微服務之解決方案。 An embodiment of the present invention provides a heterogeneous regeneration system for microservices based on the Industrial Internet, including: a processor; and a memory, suitable for storing a plurality of instructions, the instructions being suitable for being executed by the processor: establishing a data processing Resource pool, the data processing resource pool includes a variety of data operation mechanisms and a variety of data processing algorithms; from the data processing resource pool, select the one that matches a target microservice The data operation mechanism and the data processing algorithm are combined to generate an algorithm service model; and the data matching the target microservice is obtained, and the industrial mechanism and the algorithm corresponding to the target microservice are recorded by The data flow processing mechanism in the process of processing the data by the service model to generate the solution of the target microservice.

本發明一實施方式還提供一種基於工業互聯網之微服務異構再生方法,所述方法包括以下步驟:建立一資料處理資源池,所述資料處理資源池包括多種資料操作機制及多種資料處理演算法;從所述資料處理資源池中選擇與一目標微服務匹配之資料操作機制及資料處理演算法進行組合,以生成一演算法服務模型;及獲取與所述目標微服務匹配之資料,並記錄藉由與所述目標微服務對應之工業機理及所述演算法服務模型對所述資料進行處理過程中之資料流程處理機制,以生成所述目標微服務之解決方案。 An embodiment of the present invention also provides a heterogeneous regeneration method for microservices based on the Industrial Internet, the method includes the following steps: establishing a data processing resource pool, the data processing resource pool includes multiple data operation mechanisms and multiple data processing algorithms ; Select a data operation mechanism and data processing algorithm that matches a target microservice from the data processing resource pool to combine to generate an algorithm service model; and obtain data matching the target microservice, and record The data flow processing mechanism in the process of processing the data by the industrial mechanism corresponding to the target microservice and the algorithm service model is used to generate the solution of the target microservice.

本發明一實施方式還提供一種一種可讀存儲介質,所述可讀存儲介質存儲有多條指令,多條所述指令可被一個或者多個處理器執行,以實現上述基於工業互聯網的微服務異構再生方法之步驟。 An embodiment of the present invention also provides a readable storage medium, the readable storage medium stores a plurality of instructions, and the plurality of instructions can be executed by one or more processors to realize the aforementioned industrial Internet-based microservices Steps of heterogeneous regeneration method.

與習知技術相比,上述基於工業互聯網之微服務異構再生系統,將資料、演算法服務及製造業積累之工業機理有效地整合於一起,進而實現提供解決方案型微服務之異構再生搭建,基於工業互聯網之Paas on Pass理念可有效地重複利用已開發之微服務架構,實現根據使用者之微服務需求快速生成與其對應之解決方案。 Compared with conventional technologies, the above-mentioned industrial Internet-based microservice heterogeneous regeneration system effectively integrates data, algorithm services, and industrial mechanisms accumulated by the manufacturing industry to achieve heterogeneous regeneration of solution-based microservices. Built, the Paas on Pass concept based on the Industrial Internet can effectively reuse the developed micro-service architecture and realize the rapid generation of corresponding solutions according to the user's micro-service needs.

10:建立模組 10: Create a module

11:記憶體 11: Memory

12:處理器 12: processor

13:網路介面 13: network interface

20:組合模組 20: Combination module

30:生成模組 30: Generate modules

100:基於工業互聯網之微服務異構再生系統 100: Micro-service heterogeneous regeneration system based on industrial Internet

101:伺服器 101: server

圖1是本發明一實施方式之伺服器之架構示意圖。 FIG. 1 is a schematic diagram of the structure of a server according to an embodiment of the present invention.

圖2是本發明一實施方式之基於工業互聯網之微服務異構再生系統之功能模組圖。 Fig. 2 is a functional module diagram of a heterogeneous regeneration system for microservices based on the Industrial Internet according to an embodiment of the present invention.

圖3是本發明一實施方式之基於工業互聯網之微服務異構再生系統生成與目標微服務匹配之解決方案之示意圖。 FIG. 3 is a schematic diagram of a solution for generating and matching target microservices in a heterogeneous regeneration system of microservices based on the Industrial Internet according to an embodiment of the present invention.

圖4是本發明一實施方式之基於工業互聯網之微服務異構再生方法之步驟流程圖。 FIG. 4 is a flow chart of the steps of a heterogeneous regeneration method for microservices based on the Industrial Internet according to an embodiment of the present invention.

請參閱圖1,是本發明各個實施例一可選之應用環境示意圖。 Please refer to FIG. 1, which is a schematic diagram of an optional application environment of each embodiment of the present invention.

伺服器101可包括藉由系統匯流排相互通信連接記憶體11、處理器12、網路介面13。需要指出之是,圖1僅示出了具有元件11-13之伺服器101,可理解之是,所述伺服器101可包括更多或者更少之元件。其中,所述伺服器101可是機架式伺服器、刀片式伺服器、塔式伺服器或機櫃式伺服器,該伺服器101可是獨立之伺服器,亦可是多個伺服器所組成之伺服器集群。 The server 101 may include a memory 11, a processor 12, and a network interface 13 in communication with each other via a system bus. It should be pointed out that FIG. 1 only shows the server 101 with components 11-13, and it is understandable that the server 101 may include more or fewer components. The server 101 may be a rack server, a blade server, a tower server or a cabinet server. The server 101 may be an independent server or a server composed of multiple servers. Cluster.

所述記憶體11至少包括一種類型之可讀存儲介質,所述可讀存儲介質包括快閃記憶體、硬碟機、多媒體卡、卡型記憶體(例如,SD或DX記憶體等)、隨機訪問記憶體(RAM)、靜態隨機訪問記憶體(SRAM)、唯讀記憶體(ROM)、電可擦除可程式設計唯讀記憶體(EEPROM)、可程式設計唯讀記憶體(PROM)、磁性記憶體、磁片、光碟等。於一實施例中,所述記憶體11可是所述伺服器101之內部存儲單元,例如伺服器101之硬碟機或記憶體。所述記憶體11亦可是所述伺服器101之外部存放裝置,例如該伺服器101上配備之插接式硬碟機,智慧存儲卡(Smart Media Card,SMC),安全數位(Secure Digital,SD)卡,快閃記憶體卡(Flash Card)等。所述記憶體11還可既包括所述伺服器101之內部存儲單元亦包括其它外部存放裝置。本一實施例中,所述記憶體11可用於存儲安裝所述伺服器101之作業系統及應用軟體。本一實施例中,所述記憶體11還可存儲基於工業互聯網之微服務異構再生系統100之程式碼等。 The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk drive, multimedia card, card-type memory (for example, SD or DX memory, etc.), random Access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), Magnetic memory, floppy disks, optical discs, etc. In one embodiment, the memory 11 may be an internal storage unit of the server 101, such as a hard disk drive or a memory of the server 101. The memory 11 may also be an external storage device of the server 101, such as a plug-in hard disk drive, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) equipped on the server 101. ) Card, Flash Card, etc. The memory 11 may also include not only the internal storage unit of the server 101 but also other external storage devices. In this embodiment, the memory 11 can be used to store the operating system and application software on which the server 101 is installed. In this embodiment, the memory 11 can also store program codes of the micro-service heterogeneous regeneration system 100 based on the Industrial Internet.

所述處理器12於一些實施例中可是中央處理器(Central Processing Unit,CPU)、控制器、微控制器、微處理器、或其他資料處理晶片。所述處理器12可用於運行所述記憶體11中存儲之程式碼或者處理資料,例如運行所述基於工業互聯網之微服務異構再生系統100等。 In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 12 can be used to run the program code stored in the memory 11 or process data, for example, to run the industrial Internet-based microservice heterogeneous regeneration system 100.

所述網路介面13可包括無線網路介面或有線網路介面,該網路介面13可用在於所述伺服器101與其他通信設備之間建立通信連接。 The network interface 13 can include a wireless network interface or a wired network interface, and the network interface 13 can be used to establish a communication connection between the server 101 and other communication devices.

請同時參閱圖2與圖3,所述基於工業互聯網之微服務異構再生系統100可運行於所述伺服器101中。所述基於工業互聯網之微服務異構再生系統100可被分割成一個或多個模組,所述一個或者多個模組被存儲於所述記憶體11中,並由一個或多個處理器(例如本實施例中為所述處理器12)所執行,以完成本發明之功能。所述基於工業互聯網之微服務異構再生系統100可被分割成建立模組10、組合模組20及生成模組30。本發明所稱之模組是指能夠完成特定功能之一系列電腦程式指令段,比程式更適合於描述所述基於工業互聯網之微服務異構再生系統100於所述伺服器101中之執行過程。 Please refer to FIG. 2 and FIG. 3 at the same time. The microservice heterogeneous regeneration system 100 based on the industrial Internet can run in the server 101. The microservice heterogeneous regeneration system 100 based on the industrial Internet can be divided into one or more modules, and the one or more modules are stored in the memory 11 and run by one or more processors. (For example, it is executed by the processor 12 in this embodiment) to complete the functions of the present invention. The microservice heterogeneous regeneration system 100 based on the industrial Internet can be divided into a building module 10, a combination module 20 and a generating module 30. The module referred to in the present invention refers to a series of computer program instruction segments that can complete a specific function, and is more suitable than a program to describe the execution process of the industrial Internet-based microservice heterogeneous regeneration system 100 in the server 101 .

所述建立模組10用於建立一資料處理資源池,所述資料處理資源池包括多種資料操作機制及多種資料處理演算法。 The establishment module 10 is used to establish a data processing resource pool, and the data processing resource pool includes a variety of data operation mechanisms and a variety of data processing algorithms.

舉例而言,所述資料操作機制可包括資料搜尋操作、資料格式轉換操作、基本統計操作、資料分析操作等。所述資料處理演算法可是統計演算法、機器學習演算法、深度學習演算法等,例如Spark演算法、TensorFlow演算法、Caffe演算法、Keras演算法或其他協力廠商演算法庫。 For example, the data operation mechanism may include data search operations, data format conversion operations, basic statistical operations, data analysis operations, and so on. The data processing algorithm may be a statistical algorithm, a machine learning algorithm, a deep learning algorithm, etc., such as Spark algorithm, TensorFlow algorithm, Caffe algorithm, Keras algorithm, or other third-party algorithm libraries.

所述組合模組20用於從所述資料處理資源池中選擇與一目標微服務匹配之資料操作機制及資料處理演算法進行組合,以生成一演算法服務模型。 The combination module 20 is used to select a data operation mechanism and a data processing algorithm matching a target microservice from the data processing resource pool to combine to generate an algorithm service model.

於一實施方式中,不同類型之微服務所運用到之資料操作機制及 資料處理演算法可能並不相同,所述組合模組20可根據目標微服務之需求資訊來搜尋與之匹配之資料操作機制及資料處理演算法。 In one embodiment, the data manipulation mechanism used by different types of microservices and The data processing algorithms may be different. The combination module 20 can search for a matching data operation mechanism and data processing algorithm according to the demand information of the target microservice.

所述生成模組30用於獲取與所述目標微服務匹配之資料,並記錄藉由與所述目標微服務對應之工業機理及所述演算法服務模型對所述資料進行處理過程中之資料流程處理機制,以生成所述目標微服務之解決方案。 The generating module 30 is used to obtain data matching the target microservice, and record data in the process of processing the data by the industrial mechanism corresponding to the target microservice and the algorithm service model Process processing mechanism to generate the solution of the target microservice.

於一實施方式中,所述工業機理可包括工廠所積累之生產設備工業機理、行業規則/經驗等。對於不同之解決方案型微服務,可藉由組合不同之工業機理、資料操作機制及資料處理演算法,並搭配資料之提供來滿足其需求,進而可實現針對不同之Pass(Platform as a Service、平臺即服務)進行整合,來生成所述目標微服務之解決方案。所述基於工業互聯網之微服務異構再生系統100可將每一Pass等同於一平臺再次進行平臺即服務整合,實現PaaS on PaaS概念(或稱為PaaS over PaaS,PaaS of PaaS,PaaS in PaaS,PaaS above PaaS,PaaS under PaaS,或PaaS with PaaS概念)。資料、資料演算法服務及工業機理可開發成相互獨立之模組,當需要生成目標微服務之解決方案時,可將三者與目標微服務匹配之區塊進行組合來形成解決方案,同時由於所述基於工業互聯網之微服務異構再生系統100具有深度學習功能,經過不斷之機器學習可使得該系統生成微服務之解決方案之能力會越來越強大。 In one embodiment, the industrial mechanism may include the industrial mechanism of production equipment accumulated by the factory, industry rules/experience, etc. For different solution-type microservices, different industrial mechanisms, data manipulation mechanisms, and data processing algorithms can be combined to meet their needs, and data can be provided to meet their needs. Then, different Pass (Platform as a Service, (Platform as a Service) is integrated to generate the solution of the target microservice. The industrial Internet-based microservice heterogeneous regeneration system 100 can equate each Pass to a platform to perform platform-as-a-service integration again, realizing the PaaS on PaaS concept (or called PaaS over PaaS, PaaS of PaaS, PaaS in PaaS, PaaS above PaaS, PaaS under PaaS, or PaaS with PaaS concept). Data, data algorithm services and industrial mechanisms can be developed into mutually independent modules. When a solution for the target microservice needs to be generated, the three can be combined with the matching block of the target microservice to form a solution. The micro-service heterogeneous regeneration system 100 based on the industrial Internet has a deep learning function. After continuous machine learning, the system's ability to generate micro-service solutions will become more and more powerful.

於一實施方式中,所述目標微服務可是為實現生產設備管理之微服務。所述資料可包括設備資料、車間資料、工廠資料等等。所述基於工業互聯網之微服務異構再生系統100可建立一資料庫(圖未示)來存儲所述資料,即所述設備資料、所述車間資料及所述工廠資料均可存儲至所述資料庫,所述資料庫可設置於邊緣資料存放地或者雲端伺服器。所述車間資料可是指包括該車間內每一設備資料之與,再加上車間之環境資料(例如:車間溫度、車間濕度等)。所述工廠資料可是指包括該廠區內每一車間資料之與。 In one embodiment, the target microservice may be a microservice for realizing production equipment management. The data may include equipment data, workshop data, factory data, and so on. The industrial Internet-based microservice heterogeneous regeneration system 100 can establish a database (not shown) to store the data, that is, the equipment data, the workshop data, and the factory data can all be stored in the A database, the database can be set in an edge data storage place or a cloud server. The workshop data may refer to the sum of the data of each equipment in the workshop, plus the environmental data of the workshop (for example: workshop temperature, workshop humidity, etc.). The factory data may refer to the sum of the data of each workshop in the factory area.

於一實施方式中,所述資料庫優選為資料庫集群,並藉由Spark橋接方式來提供資料操作。 In one embodiment, the database is preferably a database cluster, and data operations are provided by Spark bridging.

於一實施方式中,所述生成模組30可藉由API(Application Programming Interface、應用程式設計發展介面)介面來獲取與所述目標微服務匹配之資料。所述生成模組30還用於判斷與所述目標微服務匹配之資料之資料量是否大於一預設值,若所述資料量不大於所述預設值,則所述生成模組30可直接利用API介面獲取與所述目標微服務匹配之資料;若所述資料量大於所述預設值,則所述生成模組30利用所述API介面獲取與所述目標微服務匹配之資料之存放資訊,然後再根據所述資料之存放資訊從雲端伺服器中提取與所述目標微服務匹配之資料。 In one embodiment, the generating module 30 can use API (Application Programming Interface, application programming development interface) interface to obtain data matching the target microservice. The generating module 30 is also used to determine whether the data amount of the data matching the target microservice is greater than a preset value. If the data amount is not greater than the preset value, the generating module 30 may Directly use the API interface to obtain data matching the target microservice; if the amount of data is greater than the preset value, the generation module 30 uses the API interface to obtain the data matching the target microservice Store the information, and then extract the data matching the target microservice from the cloud server according to the storage information of the data.

於一實施方式中,所述資料庫中存儲之資料均定義有資料格式及資料說明,所述生成模組30於進行資料提取時可根據所述資料之資料格式及資料說明來確定是否與所述目標微服務匹配。舉例而言,所述目標微服務是針對車間A之微服務,則所述生成模組30提取之資料是定義有歸屬於車間A之資料。 In one embodiment, the data stored in the database is defined with a data format and data description, and the generation module 30 can determine whether it is consistent with the data format and data description of the data when extracting data. The target microservice matching. For example, if the target microservice is a microservice for workshop A, the data extracted by the generation module 30 is defined as data belonging to workshop A.

於一實施方式中,當與所述目標微服務匹配之資料過大時,所述資料處理資源池優選部署至所述資料之存放地,並利用所述資料之存放地之計算資源對所述資料進行處理,減少資料之搬運成本,提高目標微服務之生成速度。 In one embodiment, when the data matching the target microservice is too large, the data processing resource pool is preferably deployed to the storage location of the data, and the computing resources of the storage location of the data are used to analyze the data. Perform processing to reduce the cost of data transportation and increase the speed of target microservice generation.

於一實施方式中,所述資料處理資源池中之每一所述資料操作機制及每一所述資料處理演算法均定義有相應之調用方式,所述組合模組20可根據每一所述資料操作機制及每一所述資料處理演算法之調用方式來確定是否與所述目標微服務匹配。 In one embodiment, each of the data operation mechanisms and each of the data processing algorithms in the data processing resource pool is defined with a corresponding calling method, and the combination module 20 can be configured according to each of the data processing algorithms. The data manipulation mechanism and the calling method of each data processing algorithm determine whether it matches the target microservice.

圖4為本發明一實施方式中基於工業互聯網之微服務異構再生方 法之流程圖。本方法可使用於圖3所示之基於工業互聯網之微服務異構再生系統100中。 Figure 4 is a heterogeneous regeneration method of microservices based on the Industrial Internet in an embodiment of the present invention Flow chart of law. This method can be used in the microservice heterogeneous regeneration system 100 based on the industrial Internet shown in FIG. 3.

步驟S400,所述建立模組10建立一資料處理資源池,所述資料處理資源池包括多種資料操作機制及多種資料處理演算法。 In step S400, the establishment module 10 establishes a data processing resource pool. The data processing resource pool includes multiple data operation mechanisms and multiple data processing algorithms.

步驟S402,所述組合模組20從所述資料處理資源池中選擇與一目標微服務匹配之資料操作機制及資料處理演算法進行組合,以生成一演算法服務模型。 In step S402, the combination module 20 selects a data operation mechanism and a data processing algorithm matching a target microservice from the data processing resource pool to combine to generate an algorithm service model.

步驟S404,所述生成模組30獲取與所述目標微服務匹配之資料,並記錄藉由與所述目標微服務對應之工業機理及所述演算法服務模型對所述資料進行處理過程中之資料流程處理機制,以生成所述目標微服務之解決方案。 Step S404, the generating module 30 obtains the data matching the target microservice, and records the process of processing the data by the industrial mechanism corresponding to the target microservice and the algorithm service model Data flow processing mechanism to generate the solution of the target microservice.

上述基於工業互聯網之微服務異構再生系統,將資料、演算法服務及製造業積累之工業機理有效地整合於一起,進而實現提供解決方案型微服務之異構再生搭建,基於工業互聯網之Paas on Pass理念可有效地重複利用已開發之微服務架構,實現根據使用者之微服務需求快速生成與其對應之解決方案。 The above-mentioned heterogeneous regeneration system for microservices based on the Industrial Internet effectively integrates data, algorithm services and industrial mechanisms accumulated by the manufacturing industry to achieve heterogeneous regeneration of microservices that provide solutions. Paas based on the Industrial Internet The on Pass concept can effectively reuse the developed micro-service architecture to realize the rapid generation of corresponding solutions according to the user's micro-service needs.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,本發明之範圍並不以上述實施方式為限,舉凡熟悉本案技藝之人士爰依本發明之精神所作之等效修飾或變化,皆應 涵蓋於以下申請專利範圍內。 In summary, the present invention meets the requirements of an invention patent, and Yan filed a patent application in accordance with the law. However, the above are only the preferred embodiments of the present invention, and the scope of the present invention is not limited to the above embodiments. Anyone familiar with the art of the present case makes equivalent modifications or changes based on the spirit of the present invention. should Covered in the scope of the following patent applications.

Claims (11)

一種基於工業互聯網之微服務異構再生系統,包括:處理器;及記憶體,適於存儲多條指令,所述指令適於由所述處理器執行:建立一資料處理資源池,所述資料處理資源池包括多種資料操作機制及多種資料處理演算法;從所述資料處理資源池中選擇與一目標微服務匹配之資料操作機制及資料處理演算法進行組合,以生成一演算法服務模型;及獲取與所述目標微服務匹配之資料,並記錄藉由與所述目標微服務對應之工業機理及所述演算法服務模型對所述資料進行處理過程中之資料流程處理機制,以生成所述目標微服務之解決方案。 A heterogeneous regeneration system for microservices based on the Industrial Internet, comprising: a processor; and a memory, suitable for storing a plurality of instructions, the instructions being suitable for being executed by the processor: establishing a data processing resource pool, the data The processing resource pool includes multiple data operation mechanisms and multiple data processing algorithms; a data operation mechanism and data processing algorithm matching a target microservice are selected from the data processing resource pool and combined to generate an algorithm service model; And obtain data matching the target microservice, and record the data flow processing mechanism in the process of processing the data by the industrial mechanism corresponding to the target microservice and the algorithm service model to generate all The solution of the target microservice. 如請求項1所述之系統,其中所述資料包括資料格式及資料說明,所述指令還包括:根據所述資料之資料格式及資料說明來確定是否與所述目標微服務匹配。 The system according to claim 1, wherein the data includes a data format and a data description, and the instruction further includes: determining whether it matches the target microservice according to the data format and the data description of the data. 如請求項1所述之系統,還包括一資料庫,所述資料庫存儲有多種資料,所述獲取與所述目標微服務匹配之資料之指令包括:判斷與所述目標微服務匹配之資料之資料量是否大於一預設值;若所述資料量不大於所述預設值,利用API介面獲取與所述目標微服務匹配之資料;及若所述資料量大於所述預設值,利用所述API介面獲取與所述目標微服務匹配之資料之存放資訊,並根據所述資料之存放資訊從所述資料庫中提取與所述目標微服務匹配之資料。 The system according to claim 1, further comprising a database storing a variety of data, and the instruction for obtaining data matching the target microservice includes: judging data matching the target microservice Whether the data amount of is greater than a preset value; if the data amount is not greater than the preset value, use the API interface to obtain data that matches the target microservice; and if the data amount is greater than the preset value, The API interface is used to obtain the storage information of the data matching the target microservice, and the data matching the target microservice is extracted from the database according to the storage information of the data. 如請求項3所述之系統,所述指令還包括:將所述資料處理資源池部署至所述資料庫,並利用所述資料庫之計算資源對所 述資料進行處理。 For the system according to claim 3, the instruction further includes: deploying the data processing resource pool to the database, and using the computing resources of the database to perform The data is processed. 如請求項1所述之系統,其中每一所述資料操作機制及每一所述資料處理演算法均定義有相應之調用方式,所述指令還包括:根據每一所述資料操作機制及每一所述資料處理演算法之調用方式來確定是否與所述目標微服務匹配。 The system according to claim 1, wherein each of the data operation mechanisms and each of the data processing algorithms has a corresponding calling method defined, and the instructions further include: according to each of the data operation mechanisms and each A call method of the data processing algorithm is used to determine whether it matches the target microservice. 一種基於工業互聯網之微服務異構再生方法,所述方法包括以下步驟:建立一資料處理資源池,所述資料處理資源池包括多種資料操作機制及多種資料處理演算法;從所述資料處理資源池中選擇與一目標微服務匹配之資料操作機制及資料處理演算法進行組合,以生成一演算法服務模型;及獲取與所述目標微服務匹配之資料,並記錄藉由與所述目標微服務對應之工業機理及所述演算法服務模型對所述資料進行處理過程中之資料流程處理機制,以生成所述目標微服務之解決方案。 A method for heterogeneous regeneration of microservices based on the Industrial Internet. The method includes the following steps: establishing a data processing resource pool, the data processing resource pool including multiple data operation mechanisms and multiple data processing algorithms; The data operation mechanism and data processing algorithm matching a target microservice are selected from the pool and combined to generate an algorithm service model; and the data matching the target microservice is obtained, and the data matching with the target microservice is recorded. The industrial mechanism corresponding to the service and the data flow processing mechanism in the process of processing the data by the algorithm service model to generate the solution of the target microservice. 如請求項6所述之方法,其中所述資料包括資料格式及資料說明,所述方法還包括:根據所述資料之資料格式及資料說明來確定是否與所述目標微服務匹配。 The method according to claim 6, wherein the data includes a data format and a data description, and the method further includes: determining whether it matches the target microservice according to the data format and the data description of the data. 如請求項6所述之方法,其中所述獲取與所述目標微服務匹配之資料之步驟包括:判斷與所述目標微服務匹配之資料之資料量是否大於一預設值;若所述資料量不大於所述預設值,利用API介面獲取與所述目標微服務匹配之資料;及若所述資料量大於所述預設值,利用所述API介面獲取與所述目標微服務匹配之資料之存放資訊,並根據所述資料之存放資訊從一資料庫中提取與所述目標 微服務匹配之資料。 The method according to claim 6, wherein the step of obtaining data matching the target microservice includes: determining whether the data volume of the data matching the target microservice is greater than a preset value; if the data If the amount of data is not greater than the preset value, use an API interface to obtain data that matches the target microservice; and if the amount of data is greater than the preset value, use the API interface to obtain data that matches the target microservice The storage information of the data, and extract the target from a database based on the storage information of the data Data for microservice matching. 如請求項8所述之方法,還包括:將所述資料處理資源池部署至所述資料庫,並利用所述資料庫之計算資源對所述資料進行處理。 The method according to claim 8, further comprising: deploying the data processing resource pool to the database, and using the computing resources of the database to process the data. 如請求項6所述之方法,其中每一所述資料操作機制及每一所述資料處理演算法均定義有相應之調用方式,所述方法還包括:根據每一所述資料操作機制及每一所述資料處理演算法之調用方式來確定是否與所述目標微服務匹配。 The method according to claim 6, wherein each of the data operation mechanism and each of the data processing algorithms defines a corresponding calling method, and the method further includes: according to each of the data operation mechanisms and each A call method of the data processing algorithm is used to determine whether it matches the target microservice. 一種可讀存儲介質,所述可讀存儲介質存儲有多條指令,多條所述指令可被一個或者多個處理器執行,以實現如請求項6至10中任一項所述之基於工業工業互聯網之微服務異構再生方法之步驟。 A readable storage medium, the readable storage medium stores a plurality of instructions, and the plurality of instructions can be executed by one or more processors, so as to realize the industry-based The steps of the heterogeneous regeneration method of microservices in the Industrial Internet.
TW107128673A 2018-05-10 2018-08-16 System and method for micro-service heterogeneous regenerating based on industrial internet, readable storage medium TWI719336B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810443377.2 2018-05-10
CN201810443377.2A CN110473120A (en) 2018-05-10 2018-05-10 Micro services isomery regenerative system, method and storage medium based on industry internet

Publications (2)

Publication Number Publication Date
TW201947418A TW201947418A (en) 2019-12-16
TWI719336B true TWI719336B (en) 2021-02-21

Family

ID=68504085

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107128673A TWI719336B (en) 2018-05-10 2018-08-16 System and method for micro-service heterogeneous regenerating based on industrial internet, readable storage medium

Country Status (2)

Country Link
CN (1) CN110473120A (en)
TW (1) TWI719336B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111400000B (en) * 2020-03-09 2023-07-25 百度在线网络技术(北京)有限公司 Network request processing method, device, equipment and storage medium
CN113553029B (en) * 2020-04-23 2024-01-16 深圳富桂精密工业有限公司 Micro-service integrated development system and method
US20220138695A1 (en) * 2020-11-02 2022-05-05 Who To Work For, LLC System and method for facilitating interaction between two groups of users
WO2023028778A1 (en) * 2021-08-30 2023-03-09 Siemens Aktiengesellschaft Methods, systems and storage medium for industrial app development
TWI802223B (en) * 2022-01-14 2023-05-11 殷富資訊股份有限公司 Micro-service application platform system, method of micro-service application and computer program product thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506605A (en) * 2016-10-14 2017-03-15 华南理工大学 A kind of SaaS application construction methods based on micro services framework

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159710B (en) * 2007-11-06 2011-03-23 中国科学院计算技术研究所 Service combination searching method and system of structure facing to service
CN101674290B (en) * 2008-11-26 2012-07-25 天津大学 Semantics-based automatic service combination system for web service relation network
US9251377B2 (en) * 2012-12-28 2016-02-02 Intel Corporation Instructions processors, methods, and systems to process secure hash algorithms
CN103136336B (en) * 2013-01-31 2015-09-16 中国农业银行股份有限公司 The integrated system and method for a kind of mass data
CN107508698B (en) * 2017-07-20 2020-07-24 上海交通大学 Software defined service reorganization method based on content perception and weighted graph in fog calculation
CN107621934B (en) * 2017-07-28 2020-11-03 中国人民解放军国防信息学院 Evaluation index calculation method and device based on modular and graphical operators

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506605A (en) * 2016-10-14 2017-03-15 华南理工大学 A kind of SaaS application construction methods based on micro services framework

Also Published As

Publication number Publication date
TW201947418A (en) 2019-12-16
CN110473120A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
TWI719336B (en) System and method for micro-service heterogeneous regenerating based on industrial internet, readable storage medium
CN107844634B (en) Modeling method of multivariate general model platform, electronic equipment and computer readable storage medium
US9460127B2 (en) Datacenter database generation using task fingerprint and allocated resources
CN107885762A (en) Intelligent big data system, the method and apparatus that intelligent big data service is provided
CN109710406B (en) Data distribution and model training method and device thereof, and computing cluster
US10013261B2 (en) Techniques for managing or controlling computing devices
US20220229707A1 (en) Managing migration of workload resources
WO2016178316A1 (en) Computer procurement predicting device, computer procurement predicting method, and program
US11880703B2 (en) Optimization of multi-layered images
CN113094125A (en) Business process processing method, device, server and storage medium
CN114172819B (en) Method, system, electronic equipment and storage medium for predicting demand resources of NFV network element
CN111586022A (en) Firewall opening verification method, electronic device, computer equipment and storage medium
WO2021174779A1 (en) Data pre-processing system and method, computer device, and readable storage medium
CN115151902A (en) Cluster capacity expansion method and device, storage medium and electronic equipment
CN110134546A (en) Batch restarts windows systems approach, electronic device and storage medium
CN110674150A (en) BMC setting strategy updating method and equipment
CN109995571B (en) Method and device for matching server configuration and VNF application
CN111368864A (en) Identification method, availability evaluation method and device, electronic equipment and storage medium
US20230236922A1 (en) Failure Prediction Using Informational Logs and Golden Signals
CN115391275A (en) Three-dimensional virtual scene construction method and device, electronic equipment and storage medium
JP2017534088A (en) System and method for management of additional calendar periods in retail
CN112667393B (en) Method and device for building distributed task computing scheduling framework and computer equipment
TW202315360A (en) Microservice allocation method, electronic equipment, and storage medium
JP7516263B2 (en) Distributed computing system with a frameset package store of synthetic data as a service - Patents.com
CN111625343A (en) Container scheduling method and device, computer equipment and storage medium