Movatterモバイル変換


[0]ホーム

URL:


CN114500589A - Public service supporting platform for industrial internet identification analysis - Google Patents

Public service supporting platform for industrial internet identification analysis
Download PDF

Info

Publication number
CN114500589A
CN114500589ACN202111584953.3ACN202111584953ACN114500589ACN 114500589 ACN114500589 ACN 114500589ACN 202111584953 ACN202111584953 ACN 202111584953ACN 114500589 ACN114500589 ACN 114500589A
Authority
CN
China
Prior art keywords
service
layer
platform
support
industrial internet
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
Application number
CN202111584953.3A
Other languages
Chinese (zh)
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.)
Yantai Dongfang Ruichuangda Electronic Technology Co ltd
Original Assignee
Yantai Dongfang Ruichuangda Electronic Technology Co ltd
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 Yantai Dongfang Ruichuangda Electronic Technology Co ltdfiledCriticalYantai Dongfang Ruichuangda Electronic Technology Co ltd
Priority to CN202111584953.3ApriorityCriticalpatent/CN114500589A/en
Publication of CN114500589ApublicationCriticalpatent/CN114500589A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种工业互联网标识解析公共服务支撑平台,涉及工业互联网的领域,其包括基础设施层,用于提供基础软硬件平台,包括网络、存储、计算、数据库、文件系统设施,为其它层提供各类资源的虚拟化和/或云化支持;平台支撑层,包括服务共享平台和大数据平台,用于提供支撑应用运行所需的软件运行时环境、相关工具与服务,包括微服务架构支持、大数据组件、日志服务、监控服务;能力服务共享层,用于为各行业标识解析服务提供包括应用共享、资源共享、数据共享;业务应用服务层,用于为行业提供微服务应用;前端接入层,用于提供统一的各类接入服务接口和人机交互接口。本申请能够提高工业互联网标识解析应用环节中的完整性。

Figure 202111584953

The invention discloses a public service support platform for industrial Internet identification analysis, which relates to the field of industrial Internet. The layer provides virtualization and/or cloudification support for various resources; the platform support layer, including service sharing platforms and big data platforms, is used to provide the software runtime environment, related tools and services required to support application operation, including microservices Architecture support, big data components, log service, monitoring service; capability service sharing layer, used to provide identification resolution services for various industries including application sharing, resource sharing, data sharing; business application service layer, used to provide microservice applications for industries ; The front-end access layer is used to provide unified access service interfaces and human-computer interaction interfaces. The present application can improve the integrity in the application link of industrial Internet identification resolution.

Figure 202111584953

Description

Translated fromChinese
工业互联网标识解析公共服务支撑平台Industrial Internet Logo Analysis Public Service Support Platform

技术领域technical field

本发明涉及工业互联网的领域,尤其是涉及一种工业互联网标识解析公共服务支撑平台。The present invention relates to the field of industrial Internet, in particular to a public service support platform for industrial Internet identification analysis.

背景技术Background technique

工业互联网(Industrial Internet)是新一代信息通信技术与工业经济深度融合的新型基础设施、应用模式和工业生态,通过对人、机、物、系统等的全面连接,构建起覆盖全产业链、全价值链的全新制造和服务体系,为工业乃至产业数字化、网络化、智能化发展提供了实现途径,是第四次工业革命的重要基石。The Industrial Internet (Industrial Internet) is a new type of infrastructure, application model and industrial ecology that deeply integrates the new generation of information and communication technology and the industrial economy. The new manufacturing and service system of the value chain provides a way to realize the digital, networked and intelligent development of the industry and even the industry, and is an important cornerstone of the fourth industrial revolution.

目前,我国工业互联网标识解析体系总体架构包含根节点、国家顶级节点、二级节点和公共递归解析节点,工业互联网标识解析公共服务支撑平台需要面向不同的行业用户,行业差异大、变化/演进快,需要架构具备足够的灵活性,目前的工业互联网标识解析应用环节中,仍然需要得到改善。At present, the overall architecture of my country's industrial Internet identification resolution system includes root nodes, national top-level nodes, secondary nodes, and public recursive resolution nodes. The public service support platform for industrial Internet identification resolution needs to be oriented to users in different industries, with large industry differences and rapid changes/evolution. , the architecture needs to have sufficient flexibility, and the current industrial Internet identification analysis application link still needs to be improved.

发明内容SUMMARY OF THE INVENTION

为了提高工业互联网标识解析应用环节中的完整性,本申请提供一种工业互联网标识解析公共服务支撑平台。In order to improve the integrity in the application link of industrial Internet identification resolution, this application provides a public service support platform for industrial Internet identification resolution.

一种工业互联网标识解析公共服务支撑平台,包括:A public service support platform for industrial Internet identification analysis, including:

基础设施层,用于提供基础软硬件平台,包括网络、存储、计算、数据库、文件系统设施,为其它层提供各类资源的虚拟化和/或云化支持;The infrastructure layer is used to provide basic software and hardware platforms, including network, storage, computing, database, and file system facilities, and to provide virtualization and/or cloudification support for various resources for other layers;

平台支撑层,包括服务共享平台和大数据平台,用于提供支撑应用运行所需的软件运行时环境、相关工具与服务,包括微服务架构支持、大数据组件、日志服务、监控服务;The platform support layer, including the service sharing platform and the big data platform, is used to provide the software runtime environment, related tools and services required to support the operation of the application, including microservice architecture support, big data components, log services, and monitoring services;

能力服务共享层,用于为各行业标识解析服务提供包括应用共享、资源共享、数据共享;The capability service sharing layer is used to provide application sharing, resource sharing, and data sharing for various industry identification resolution services;

业务应用服务层,用于为行业提供微服务应用;The business application service layer is used to provide microservice applications for the industry;

前端接入层,用于提供统一的各类接入服务接口和人机交互接口。The front-end access layer is used to provide unified access service interfaces and human-computer interaction interfaces.

通过采用上述技术方案,通过基础设施层为其它层提供各类资源的虚拟化和/或云化支持,基础设施层提供给消费者的服务是对所有计算基础设施的利用,用户能够部署和运行任意软件,平台支撑层主要提供微服务框架支持和大数据平台支持,平台支撑公共组件为应用开发人员服务,提供支撑应用运行所需的软件运行时环境、相关工具与服务,让应用开发者可以专注于核心业务的开发,消费者在基础设施成操作后,平台支撑公共组件基于基础设施提供的访问远程计算资源的能力,将基础设施、存储、数据库、信息和流程作为服务,提供标准化的业务流程或应用;能力服务共享层面向各行业和区域二级节点、企业应用节点、第三方服务平台、政府监管服务平台等用户,统一封装数据共享服务、资源共享服务、应用共享服务等各类服务,实现对外通用服务;业务应用服务层用于为行业提供微服务应用;前端接入层为各行业和区域二级节点、企业应用节点、第三方服务平台、政府监管服务平台等用户提供服务接入、供应商接入、标识解析、产品展示及统一登录门户等交互等解决方案,以此实现提高工业互联网标识解析应用环节中的完整性的目的。By adopting the above technical solutions, the infrastructure layer provides other layers with virtualization and/or cloudification support for various resources. The services provided by the infrastructure layer to consumers are the utilization of all computing infrastructure, and users can deploy and run For any software, the platform support layer mainly provides micro-service framework support and big data platform support. The platform support public components serve application developers, providing the software runtime environment, related tools and services required to support application operation, so that application developers can Focus on the development of core business. After consumers operate the infrastructure, the platform supports public components based on the ability to access remote computing resources provided by the infrastructure, and uses infrastructure, storage, databases, information and processes as services to provide standardized services Process or application; at the level of capability service sharing, various services such as data sharing services, resource sharing services, and application sharing services are uniformly packaged for users in various industries and regions, such as secondary nodes, enterprise application nodes, third-party service platforms, and government regulatory service platforms. , to achieve external general services; the business application service layer is used to provide micro-service applications for the industry; the front-end access layer provides service access for users in various industries and regions such as secondary nodes, enterprise application nodes, third-party service platforms, and government regulatory service platforms. In order to achieve the purpose of improving the integrity in the application link of industrial Internet identification analysis.

可选的,所述平台支撑层采用基于spring cloud技术构建微服务架构,springcloud提供服务注册、服务发现、服务网关、配置中心、服务访问认证管理服务,用于串联分布运行的多个子系统。Optionally, the platform support layer adopts a micro-service architecture based on spring cloud technology, and spring cloud provides service registration, service discovery, service gateway, configuration center, service access authentication management services, and is used for multiple subsystems that are distributed and run in series.

通过采用上述技术方案,通过采用spring cloud技术构建微服务架构,将系统业务分解成多个独立部署的服务应用,应用部署在tomcat服务器集群中,实现对单体业务系统的解耦,增强业务的扩展能力,确保整个系统高效稳定运行,为后续业务服务的对外补充与扩展提供基础技术支持。By adopting the above technical solutions, by using spring cloud technology to build a micro-service architecture, the system business is decomposed into multiple independently deployed service applications, and the applications are deployed in the tomcat server cluster to realize the decoupling of the single business system and enhance the business The expansion capability ensures the efficient and stable operation of the entire system, and provides basic technical support for the external supplement and expansion of subsequent business services.

可选的,所述服务发现包括客户端模式和服务端模式,其中,Optionally, the service discovery includes a client mode and a server mode, wherein,

在客户端模式下,判断是否需要调用微服务,如果判断为是,则获取服务列表,所述服务列表在服务注册中心获取;In the client mode, it is judged whether the microservice needs to be called, and if it is judged to be yes, the service list is obtained, and the service list is obtained from the service registration center;

根据服务列表,进行服务调用,所述服务调用根据调用端本地的负载均衡策略进行;According to the service list, a service call is made, and the service call is made according to the local load balancing policy of the calling end;

在服务端模式下,调用方直接向服务注册中心进行请求,服务注册中心再通过自身负载均衡策略,对微服务进行调用。In the server-side mode, the caller directly requests the service registry, and the service registry then invokes the microservice through its own load balancing strategy.

通过采用上述技术方案,在两种模式下,能够实现信息的相互调用,使得数据的共享更便捷。By adopting the above technical solutions, in the two modes, mutual invocation of information can be realized, which makes data sharing more convenient.

可选的,所述服务网关采用API网关中的Spring Cloud Gateway。Optionally, the service gateway adopts the Spring Cloud Gateway in the API gateway.

通过采用上述技术方案,通过API网关中的Spring Cloud Gateway,能够实现数据统一、协议统一,提高该平台的性能。By adopting the above technical solutions, through the Spring Cloud Gateway in the API gateway, data unification and protocol unification can be achieved, and the performance of the platform can be improved.

可选的,所述配置中心采用Spring Cloud Config的分布式配置中心组件,包含Client和Server两部分,Server提供配置文件的存储、以接口的形式将配置文件的内容提供出去,Client通过接口获取数据、并依据此数据初始化自己的应用。Optionally, the configuration center adopts the distributed configuration center component of Spring Cloud Config, including two parts: Client and Server. Server provides storage of configuration files and provides the content of configuration files in the form of interfaces, and Client obtains data through interfaces. , and initialize your application based on this data.

通过采用上述技术方案,利用分布式配置中心组件,能够方便服务配置文件统一管理,实时更新,提高维护时的便捷性,且在平台中的某些参数,如连接池大小、熔断阈值等,在应用运行时能够实现动态调整,且在调整时不停止服务。By adopting the above technical solutions and using the distributed configuration center components, it is possible to facilitate unified management of service configuration files, real-time update, and improve the convenience of maintenance, and some parameters in the platform, such as connection pool size, fusing threshold, etc. The application can be dynamically adjusted while the application is running, and the service will not stop during adjustment.

可选的,所述平台支撑层包括关系型数据库、非关系型数据库、内存数据库。Optionally, the platform support layer includes a relational database, a non-relational database, and an in-memory database.

通过采用上述技术方案,业务数据使用关系型数据库;海量数据分析需要使用的数据使用非关系型数据库;需要在多个服务模块中共享的数据和缓存使用内存数据库等,针对不同的业务功能,选择最合适的数据库,体改微服务架构的项目在对数据库产品选型时的敏感度。By adopting the above technical solutions, relational databases are used for business data; non-relational databases are used for data that needs to be used for massive data analysis; in-memory databases are used for data and caches that need to be shared among multiple service modules. The most suitable database, and the sensitivity of the project to change the microservice architecture in the selection of database products.

可选的,所述关系型数据库采用MySQL数据库,用于非高并发读写场景下的数据存储和查询。Optionally, the relational database adopts a MySQL database, which is used for data storage and query in a non-high concurrent read and write scenario.

通过采用上述技术方案,采用MySQL数据库,易于维护,使用表结构,格式一致,使用方便,在处理任务时能够更高效。By adopting the above technical solution, MySQL database is adopted, which is easy to maintain, uses table structure, has a consistent format, is convenient to use, and can be more efficient in processing tasks.

可选的,还包括访问控制层和平台管理层,其中:Optionally, it also includes access control layer and platform management layer, including:

所述访问控制层用于针对身份认证、负荷均衡、数据加密、安全审计、权限控制、隐私保护等安全风险提供安管保护机制,提供全过程的控制访问权限;The access control layer is used to provide a security management protection mechanism for security risks such as identity authentication, load balancing, data encryption, security auditing, authority control, and privacy protection, and to provide control access rights for the entire process;

所述平台管理层对整个支撑平台的软、硬件环境的健康状态进行监控,并在故障发生时提供告警功能。The platform management layer monitors the health status of the software and hardware environments of the entire supporting platform, and provides an alarm function when a fault occurs.

通过采用上述技术方案,通过访问控制层和平台管理层,能够进一步提高平台的完整性。By adopting the above technical solutions, the integrity of the platform can be further improved through the access control layer and the platform management layer.

综上所述,本申请具有以下有益技术效果:To sum up, the present application has the following beneficial technical effects:

1. 通过基础设施层为其它层提供各类资源的虚拟化和/或云化支持,基础设施层提供给消费者的服务是对所有计算基础设施的利用,用户能够部署和运行任意软件,平台支撑层主要提供微服务框架支持和大数据平台支持,平台支撑公共组件为应用开发人员服务,提供支撑应用运行所需的软件运行时环境、相关工具与服务,让应用开发者可以专注于核心业务的开发。平台支撑公共组件基于基础设施提供的访问远程计算资源的能力,将基础设施、存储、数据库、信息和流程作为服务,提供标准化的业务流程或应用;能力服务共享层面向各行业和区域二级节点、企业应用节点、第三方服务平台、政府监管服务平台等用户,统一封装数据共享服务、资源共享服务、应用共享服务等各类服务,实现对外通用服务;业务应用服务层用于为行业提供微服务应用;前端接入层为各行业和区域二级节点、企业应用节点、第三方服务平台、政府监管服务平台等用户提供服务接入、供应商接入、标识解析、产品展示及统一登录门户等交互等解决方案,以此实现提高工业互联网标识解析应用环节中的完整性的目的;1. Provide virtualization and/or cloudification support of various resources for other layers through the infrastructure layer. The services provided by the infrastructure layer to consumers are the utilization of all computing infrastructure, and users can deploy and run any software, platform The support layer mainly provides microservice framework support and big data platform support. The platform supports public components to serve application developers, providing the software runtime environment, related tools and services required to support application operation, allowing application developers to focus on core business. development. The platform supports public components based on the ability to access remote computing resources provided by the infrastructure, and uses infrastructure, storage, databases, information and processes as services to provide standardized business processes or applications; the capability service sharing level provides secondary nodes in various industries and regions. , enterprise application nodes, third-party service platforms, government regulatory service platforms and other users, uniformly encapsulate various services such as data sharing services, resource sharing services, and application sharing services to achieve external general services; the business application service layer is used to provide micro Service application; the front-end access layer provides service access, supplier access, identification resolution, product display and unified login portal for users in various industries and regions, such as secondary nodes, enterprise application nodes, third-party service platforms, and government regulatory service platforms. and other interactive solutions, so as to achieve the purpose of improving the integrity in the application link of industrial Internet identification analysis;

2. 通过采用spring cloud技术构建微服务架构,将系统业务分解成多个独立部署的服务应用,应用部署在tomcat服务器集群中,实现对单体业务系统的解耦,增强业务的扩展能力,确保整个系统高效稳定运行,为后续业务服务的对外补充与扩展提供基础技术支持。2. By using spring cloud technology to build a micro-service architecture, the system business is decomposed into multiple independently deployed service applications, and the applications are deployed in the tomcat server cluster to achieve decoupling of the single business system, enhance business expansion capabilities, and ensure The entire system operates efficiently and stably, providing basic technical support for the external supplement and expansion of subsequent business services.

附图说明Description of drawings

图1是本申请实施例的整体系统框图。FIG. 1 is an overall system block diagram of an embodiment of the present application.

图2是本申请实施例突显微服务框架示意图。FIG. 2 is a schematic diagram of a protruding microscope service framework according to an embodiment of the present application.

图3是本申请实施例突显客户端微服务调用示意图。FIG. 3 is a schematic diagram of highlighting client-side microservice calls according to an embodiment of the present application.

图4是本申请实施例突显服务端微服务调用示意图。FIG. 4 is a schematic diagram of a microservice invocation of a highlighting server according to an embodiment of the present application.

图5是本申请实施例突显API网关的示意图。FIG. 5 is a schematic diagram of highlighting an API gateway according to an embodiment of the present application.

图6是本申请实施例突显配置中心的示意图。FIG. 6 is a schematic diagram of a highlight configuration center according to an embodiment of the present application.

附图标记说明:Description of reference numbers:

1、基础设施层;2、平台支撑层;3、能力服务共享层;4、业务应用服务层;5、前端接入层;6、访问控制层;7、平台管理层。1. Infrastructure layer; 2. Platform support layer; 3. Capability service sharing layer; 4. Business application service layer; 5. Front-end access layer; 6. Access control layer; 7. Platform management layer.

具体实施方式Detailed ways

以下结合全部附图对本申请作进一步详细说明。The present application will be described in further detail below with reference to all the accompanying drawings.

本申请实施例公开一种工业互联网标识解析公共服务支撑平台。The embodiment of the present application discloses a public service support platform for industrial Internet identification resolution.

参照图1,一种工业互联网标识解析公共服务支撑平台,包括基础设施层1、平台支撑层2、能力服务共享层3、业务应用服务层4、前端接入层5、访问控制层6和平台管理层7。Referring to Figure 1, a public service support platform for industrial Internet identification resolution includes infrastructure layer 1, platform support layer 2, capability service sharing layer 3, business application service layer 4, front-end access layer 5, access control layer 6 and a platform Management 7.

参照图1,基础设施层1,用于提供基础软硬件平台,提供给消费者的服务是对所有计算基础设施的利用,包括网络、存储、计算、数据库、文件系统等设施,为其它层提供各类资源的虚拟化和/或云化支持。用户能够部署和运行任意软件,包括操作系统和应用程序。消费者不管理或控制任何云计算基础设施,但能控制操作系统的选择、存储空间、部署的应用,也有可能获得有限制的网络组件(例如路由器、防火墙、负载均衡器等)的控制。Referring to Figure 1, the infrastructure layer 1 is used to provide basic software and hardware platforms. The services provided to consumers are the utilization of all computing infrastructures, including network, storage, computing, database, file system and other facilities, and provide services for other layers. Virtualization and/or cloudification support for various resources. Users can deploy and run arbitrary software, including operating systems and applications. Consumers do not manage or control any cloud computing infrastructure, but can control the choice of operating system, storage space, deployed applications, and potentially gain control of limited network components (such as routers, firewalls, load balancers, etc.).

参照图1和图2,平台支撑层2,平台支撑层2的公共组件为应用开发人员服务,包括服务共享平台和大数据平台,用于提供支撑应用运行所需的软件运行时环境、相关工具与服务,如微服务架构支持、大数据组件、日志服务、监控服务等,让应用开发者可以专注于核心业务的开发。平台支撑公共组件基于基础设施提供的访问远程计算资源的能力,将基础设施、存储、数据库、信息和流程作为服务,提供标准化的业务流程或应用。1 and 2, the platform support layer 2, the public components of the platform support layer 2 serve application developers, including a service sharing platform and a big data platform, which are used to provide the software runtime environment and related tools required to support the operation of the application. And services, such as microservice architecture support, big data components, log services, monitoring services, etc., allow application developers to focus on core business development. The platform supports public components based on the ability to access remote computing resources provided by the infrastructure, and uses infrastructure, storage, databases, information and processes as services to provide standardized business processes or applications.

参照图1,其中,服务共享平台包括服务注册、服务编排、服务治理、消息总线、服务发现、服务路由、服务容错、版本控制;大数据平台包括数据归集、数据计算、数据服务、数据管理、数据存储、数据分析、数据展示、数据运维。Referring to Figure 1, the service sharing platform includes service registration, service orchestration, service governance, message bus, service discovery, service routing, service fault tolerance, and version control; the big data platform includes data collection, data computing, data services, and data management. , data storage, data analysis, data display, data operation and maintenance.

参照图1,平台支撑层2采用基于spring cloud技术构建微服务架构,通过对系统进行科学的拆分梳理,将系统拆分为主数据管理、知识图谱构建、标识应用资源池、行业应用支撑、单点登录等应用微服务,每个应用可以独立开发与部署,确保系统具备足够的弹性和灵活性,提升系统海量业务的处理能力,能够满足业务快速发展的需要。通过微服务,开发人员能够按需创建机器并且调整虚拟化实例的大小,很容易从一台机器扩展到多台。不同的微服务,由不同的小团队负责,他们各自对某个服务的全生命周期负责。Referring to Figure 1, the platform support layer 2 adopts a micro-service architecture based on spring cloud technology. By scientifically splitting and sorting out the system, the system is divided into main data management, knowledge map construction, identification of application resource pools, industry application support, For application microservices such as single sign-on, each application can be independently developed and deployed, ensuring that the system has sufficient elasticity and flexibility, improving the processing capacity of the system's massive business, and meeting the needs of rapid business development. With microservices, developers can create machines and resize virtualized instances on demand, easily scaling from one machine to many. Different microservices are in charge of different small teams, and they are each responsible for the entire life cycle of a service.

参照图1和图2,spring cloud提供服务注册、服务发现、服务网关、配置中心、服务访问认证管理等服务,将分布运行的多个子系统有机串联。通过采用spring cloud技术构建微服务架构,将系统业务分解成多个独立部署的服务应用,应用部署在tomcat服务器集群中,实现对单体业务系统的解耦,增强业务的扩展能力,确保整个系统高效稳定运行,为后续业务服务的对外补充与扩展提供基础技术支持。Referring to Figure 1 and Figure 2, spring cloud provides services such as service registration, service discovery, service gateway, configuration center, service access authentication management, etc., and organically connects multiple subsystems that operate in a distributed manner. By using spring cloud technology to build a micro-service architecture, the system business is decomposed into multiple independently deployed service applications, and the applications are deployed in the tomcat server cluster to realize the decoupling of the single business system, enhance the business expansion ability, and ensure the entire system. Efficient and stable operation, providing basic technical support for the external supplement and expansion of follow-up business services.

参照图1和图2,每个子服务都包含了完整的独立的业务功能,不同的服务间通过约定好的通信协议进行相互调用。其中,服务间通讯又可以分为同步调用和异步调用两种。同步调用通信协议主要采用RESTful,其中RESTful基于HTTP协议,更容易实现,服务端实现技术也更灵活,各个语言能够被支持,同时能跨客户端,对客户端没有特殊的要求。Referring to FIG. 1 and FIG. 2 , each sub-service includes a complete and independent business function, and different services call each other through an agreed-upon communication protocol. Among them, inter-service communication can be divided into two types: synchronous call and asynchronous call. The synchronous call communication protocol mainly adopts RESTful. RESTful is based on the HTTP protocol, which is easier to implement, and the server-side implementation technology is more flexible. Various languages can be supported, and it can be cross-client. There is no special requirement for the client.

参照图3和图4,服务发现包括客户端模式和服务端模式,其中,3 and 4, service discovery includes client mode and server mode, wherein,

在客户端模式下,如果要进行微服务调用,先要进行的是到服务注册中心获取服务列表,然后再根据调用端本地的负载均衡策略,进行服务调用;In the client mode, if you want to make a microservice call, the first thing to do is to get the service list from the service registry, and then make the service call according to the local load balancing strategy of the calling end;

在服务端模式下,调用方直接向服务注册中心进行请求,服务注册中心再通过自身负载均衡策略,对微服务进行调用。这个模式下,调用方不需要在自身节点维护服务发现逻辑以及服务注册信息。In the server-side mode, the caller directly requests the service registry, and the service registry then invokes the microservice through its own load balancing strategy. In this mode, the caller does not need to maintain service discovery logic and service registration information on its own node.

参照图5,服务网关采用API网关中的Spring Cloud Gateway,客户端向SpringCloud Gateway发出请求。如果网关处理映射确定请求与路由匹配,则将其发送到网关Web处理器处理。网关Web处理器处理请求时会经过一系列的过滤器链。过滤器链可以在发送代理请求之前或之后执行过滤逻辑。先执行所有前置过滤器逻辑,然后进行代理请求。在发出代理请求并收到代理服务的响应之后执行后置过滤器逻辑。在执行所有前置过滤器逻辑时,往往进行了鉴权、限流、日志输出等功能,以及请求头的更改、协议的转换;转发之后收到响应之后,会执行所有后置过滤器的逻辑,在这里可以对响应数据进行修改,比如响应头、协议的转换等。Referring to Figure 5, the service gateway adopts the Spring Cloud Gateway in the API gateway, and the client sends a request to the Spring Cloud Gateway. If the gateway processing mapping determines that the request matches the route, it is sent to the gateway web processor for processing. The gateway web processor goes through a series of filter chains when processing a request. Filter chains can perform filtering logic before or after proxy requests are sent. All pre-filter logic is executed before proxying the request. Execute post filter logic after making a proxy request and receiving a response from the proxy service. When executing all pre-filter logic, functions such as authentication, current limiting, log output, etc., as well as request header changes and protocol conversions are often performed; after receiving the response after forwarding, all post-filter logic will be executed. , where you can modify the response data, such as response headers, protocol conversion, etc.

参照图6,配置中心采用Spring Cloud Config的分布式配置中心组件,SpringCloud Config使用git或svn存放配置文件,包含Client和Server两部分,Server提供配置文件的存储、以接口的形式将配置文件的内容提供出去,Client通过接口获取数据、并依据此数据初始化自己的应用。通过分布式配置中心组件能够便于服务配置文件统一管理,实时更新,降低维护困难的可能以及降低出错的可能性。同时,在运行中,某些参数需要在应用运行时动态调整(如连接池大小、熔断阈值等),并且调整时不停止服务。其中,git或svn,是一个开放源代码的版本控制系统。Referring to Figure 6, the configuration center adopts the distributed configuration center component of Spring Cloud Config. Spring Cloud Config uses git or svn to store configuration files, including Client and Server. Server provides storage of configuration files and stores the content of configuration files in the form of interfaces. Provided, the Client obtains data through the interface, and initializes its own application based on this data. Distributed configuration center components can facilitate unified management of service configuration files, real-time update, reduce the possibility of maintenance difficulties and reduce the possibility of errors. At the same time, during operation, some parameters need to be dynamically adjusted when the application is running (such as connection pool size, circuit breaker threshold, etc.), and the service will not be stopped during adjustment. Among them, git or svn, is an open source version control system.

参照图6,微服务在启动时,通过Config Client请求Config Server以获取配置内容,同时会缓存这些内容。维护的时候需要更改配置时,只需要在本地更改后,推送到远程仓库,所有的服务实例都可以通过Config Server来获取配置文件,这时每个服务实例就相当于配置服务的客户端Config Client,为了保证系统的稳定,配置服务端Config Server进行集群部署,即使某一个实例,因为某种原因不能提供服务,也还有其他的实例保证服务的继续进行。Referring to Figure 6, when the microservice starts, it requests the Config Server through the Config Client to obtain the configuration content, and the content is cached at the same time. When you need to change the configuration during maintenance, you only need to push it to the remote warehouse after the local change. All service instances can obtain configuration files through the Config Server. At this time, each service instance is equivalent to the client Config Client of the configuration service. , In order to ensure the stability of the system, configure the server Config Server for cluster deployment. Even if a certain instance cannot provide services for some reason, there are other instances to ensure the continuation of the service.

参照图1,平台支撑层2包括关系型数据库、非关系型数据库、内存数据库。业务数据使用关系型数据库;海量数据分析需要使用的数据使用非关系型数据库;需要在多个服务模块中共享的数据和缓存使用内存数据库等,针对不同的业务功能,选择最合适的数据库,体改微服务架构的项目在对数据库产品选型时的敏感度。Referring to FIG. 1 , the platform support layer 2 includes relational databases, non-relational databases, and in-memory databases. Relational databases are used for business data; non-relational databases are used for data that needs to be used for massive data analysis; in-memory databases are used for data and caches that need to be shared among multiple service modules. Projects that change the microservice architecture are sensitive to database product selection.

关系型数据库采用MySQL数据库,用于非高并发读写场景下的数据存储和查询。采用MySQL数据库,易于维护,使用表结构,格式一致,使用方便,在处理任务时能够更高效。The relational database adopts MySQL database, which is used for data storage and query in non-high concurrent read and write scenarios. Using MySQL database, easy to maintain, using table structure, consistent format, easy to use, and more efficient in processing tasks.

参照图1,能力服务共享层3,用于为各行业标识解析服务提供包括应用共享、资源共享、数据共享等;能力服务共享面向各行业和区域二级节点、企业应用节点、第三方服务平台、政府监管服务平台等用户,统一封装数据共享服务、资源共享服务、应用共享服务等各类服务,实现对外通用服务。其中,Referring to Figure 1, capability service sharing layer 3 is used to provide identification resolution services for various industries, including application sharing, resource sharing, data sharing, etc.; capability service sharing is oriented to secondary nodes, enterprise application nodes, and third-party service platforms in various industries and regions. , government supervision service platform and other users, uniformly encapsulate various services such as data sharing services, resource sharing services, and application sharing services to realize external general services. in,

数据共享服务包括:知识图谱、主数据服务、标识注册、标识解析等。Data sharing services include: knowledge graph, master data service, logo registration, logo resolution, etc.

资源共享服务包括:供应商服务、需求方服务、工具类服务、位置认证、时间认证、应用资源池等。Resource sharing services include: supplier services, demand-side services, tool services, location authentication, time authentication, and application resource pools.

应用服务包括:防伪溯源、全生命周期管理、生产协同、智能供应链、智能仓储、精准营销等。Application services include: anti-counterfeiting traceability, full life cycle management, production collaboration, intelligent supply chain, intelligent warehousing, precision marketing, etc.

参照图1,业务应用服务层4,用于为行业提供微服务应用。业务应用服务层由应用市场及行业微服务应用构成,其中,Referring to Figure 1, the business application service layer 4 is used to provide microservice applications for the industry. The business application service layer is composed of application market and industry microservice applications, among which,

应用市场为各行业提供通用、规范的应用服务产品,如包括应用注册、检索、评价、维护等;The application market provides general and standardized application service products for various industries, such as application registration, retrieval, evaluation, maintenance, etc.;

行业为服务应用,为行业提供专业化应用服务。The industry is a service application, providing professional application services for the industry.

参照图1,前端接入层5,用于提供统一的各类接入服务接口和人机交互接口。前端接入层为各行业和区域二级节点、企业应用节点、第三方服务平台、政府监管服务平台等用户提供服务接入、供应商接入、标识解析、产品展示及统一登录门户等交互等解决方案。Referring to FIG. 1 , the front-end access layer 5 is used to provide unified various access service interfaces and human-computer interaction interfaces. The front-end access layer provides service access, supplier access, identification analysis, product display, and unified login portal for users in various industries and regions, such as secondary nodes, enterprise application nodes, third-party service platforms, and government regulatory service platforms. solution.

参照图1,访问控制层6和平台管理层7平台针对数据的隐私保护、存储安全、防泄漏以及应用服务访问的权限控制等安全风险提供安管保护机制,提供数据采集、存储、分析、应用等全过程的控制访问权限。访问控制层6用于针对身份认证、负荷均衡、数据加密、安全审计、权限控制、隐私保护等安全风险提供安管保护机制,提供全过程的控制访问权限;平台管理层7对整个支撑平台的软、硬件环境的健康状态进行监控,并在故障发生时提供告警功能,保障主平台的安全稳定运行。Referring to Figure 1, the access control layer 6 and the platform management layer 7 provide a security management protection mechanism for data privacy protection, storage security, anti-leakage, and access control of application services and other security risks, and provide data collection, storage, analysis, application Control access rights for the entire process. The access control layer 6 is used to provide a security management protection mechanism for security risks such as identity authentication, load balancing, data encryption, security audit, authority control, and privacy protection, and to provide control access rights throughout the process; The health status of the software and hardware environment is monitored, and an alarm function is provided when a fault occurs to ensure the safe and stable operation of the main platform.

以上均为本申请的较佳实施例,并非依此限制本申请的保护范围,故:凡依本申请的结构、形状、原理所做的等效变化,均应涵盖于本申请的保护范围之内。The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Therefore: all equivalent changes made according to the structure, shape and principle of the present application should be covered within the scope of the present application. Inside.

Claims (8)

Translated fromChinese
1.一种工业互联网标识解析公共服务支撑平台,其特征在于,包括:1. A public service support platform for industrial Internet identification analysis, characterized in that, comprising:基础设施层(1),用于提供基础软硬件平台,包括网络、存储、计算、数据库、文件系统设施,为其它层提供各类资源的虚拟化和/或云化支持;The infrastructure layer (1) is used to provide basic software and hardware platforms, including network, storage, computing, database, and file system facilities, and to provide virtualization and/or cloudification support for various resources for other layers;平台支撑层(2),包括服务共享平台和大数据平台,用于提供支撑应用运行所需的软件运行时环境、相关工具与服务,包括微服务架构支持、大数据组件、日志服务、监控服务;The platform support layer (2), including the service sharing platform and the big data platform, is used to provide the software runtime environment, related tools and services required to support the operation of the application, including microservice architecture support, big data components, log services, and monitoring services ;能力服务共享层(3),用于为各行业标识解析服务提供包括应用共享、资源共享、数据共享;The capability service sharing layer (3) is used to provide identification resolution services for various industries, including application sharing, resource sharing, and data sharing;业务应用服务层(4),用于为行业提供微服务应用;The business application service layer (4) is used to provide microservice applications for the industry;前端接入层(5),用于提供统一的各类接入服务接口和人机交互接口。The front-end access layer (5) is used to provide unified various access service interfaces and human-computer interaction interfaces.2.根据权利要求1所述的工业互联网标识解析公共服务支撑平台,其特征在于:所述平台支撑层(2)采用基于spring cloud技术构建微服务架构,spring cloud提供服务注册、服务发现、服务网关、配置中心、服务访问认证管理服务,用于串联分布运行的多个子系统。2. The industrial Internet identification resolution public service support platform according to claim 1, characterized in that: the platform support layer (2) adopts a micro-service architecture based on spring cloud technology, and spring cloud provides service registration, service discovery, service Gateway, configuration center, service access authentication management service, used for multiple subsystems running in series and distributed.3.根据权利要求2所述的工业互联网标识解析公共服务支撑平台,其特征在于:所述服务发现包括客户端模式和服务端模式,其中,3. The industrial Internet identification resolution public service support platform according to claim 2, wherein the service discovery includes a client mode and a server mode, wherein,在客户端模式下,判断是否需要调用微服务,如果判断为是,则获取服务列表,所述服务列表在服务注册中心获取;In the client mode, it is judged whether the microservice needs to be called, and if it is judged to be yes, the service list is obtained, and the service list is obtained from the service registration center;根据服务列表,进行服务调用,所述服务调用根据调用端本地的负载均衡策略进行;According to the service list, a service call is made, and the service call is made according to the local load balancing policy of the calling end;在服务端模式下,调用方直接向服务注册中心进行请求,服务注册中心再通过自身负载均衡策略,对微服务进行调用。In the server-side mode, the caller directly requests the service registry, and the service registry then invokes the microservice through its own load balancing strategy.4.根据权利要求2所述的工业互联网标识解析公共服务支撑平台,其特征在于:所述服务网关采用API网关中的Spring Cloud Gateway。4. The industrial Internet identification resolution public service support platform according to claim 2, wherein the service gateway adopts the Spring Cloud Gateway in the API gateway.5.根据权利要求2所述的工业互联网标识解析公共服务支撑平台,其特征在于:所述配置中心采用Spring Cloud Config的分布式配置中心组件,包含Client和Server两部分,Server提供配置文件的存储、以接口的形式将配置文件的内容提供出去,Client通过接口获取数据、并依据此数据初始化自己的应用。5. The industrial internet identification resolution public service support platform according to claim 2, is characterized in that: described configuration center adopts the distributed configuration center component of Spring Cloud Config, comprises Client and Server two parts, and Server provides the storage of configuration file , Provide the content of the configuration file in the form of an interface, and the Client obtains data through the interface and initializes its own application based on this data.6.根据权利要求1所述的工业互联网标识解析公共服务支撑平台,其特征在于:所述平台支撑层(2)包括关系型数据库、非关系型数据库、内存数据库。6 . The public service support platform for industrial Internet identification analysis according to claim 1 , wherein the platform support layer ( 2 ) includes a relational database, a non-relational database, and an in-memory database. 7 .7.根据权利要求6所述的工业互联网标识解析公共服务支撑平台,其特征在于:所述关系型数据库采用MySQL数据库,用于非高并发读写场景下的数据存储和查询。7 . The public service support platform for industrial Internet identification analysis according to claim 6 , wherein: the relational database adopts MySQL database, which is used for data storage and query in a non-high concurrent read and write scenario. 8 .8.根据权利要求1所述的工业互联网标识解析公共服务支撑平台,其特征在于,还包括访问控制层(6)和平台管理层(7),其中:8. The industrial Internet identity resolution public service support platform according to claim 1, further comprising an access control layer (6) and a platform management layer (7), wherein:所述访问控制层(6)用于针对身份认证、负荷均衡、数据加密、安全审计、权限控制、隐私保护等安全风险提供安管保护机制,提供全过程的控制访问权限;The access control layer (6) is used to provide a security management protection mechanism for security risks such as identity authentication, load balancing, data encryption, security audit, authority control, privacy protection, etc., and to provide control access rights for the whole process;所述平台管理层(7)对整个支撑平台的软、硬件环境的健康状态进行监控,并在故障发生时提供告警功能。The platform management layer (7) monitors the health status of the software and hardware environments of the entire supporting platform, and provides an alarm function when a fault occurs.
CN202111584953.3A2021-12-222021-12-22Public service supporting platform for industrial internet identification analysisPendingCN114500589A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111584953.3ACN114500589A (en)2021-12-222021-12-22Public service supporting platform for industrial internet identification analysis

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111584953.3ACN114500589A (en)2021-12-222021-12-22Public service supporting platform for industrial internet identification analysis

Publications (1)

Publication NumberPublication Date
CN114500589Atrue CN114500589A (en)2022-05-13

Family

ID=81494325

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111584953.3APendingCN114500589A (en)2021-12-222021-12-22Public service supporting platform for industrial internet identification analysis

Country Status (1)

CountryLink
CN (1)CN114500589A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115858804A (en)*2022-11-162023-03-28浪潮云信息技术股份公司 A construction method of knowledge graph system platform based on microservice architecture
CN116319090A (en)*2023-05-182023-06-23中国电子信息产业集团有限公司第六研究所Power and environment monitoring system and method based on micro-service

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112214338A (en)*2020-11-052021-01-12北京科东电力控制系统有限责任公司Internet of things cloud platform based on flexible deployment of micro-services
CN112765117A (en)*2021-01-262021-05-07中国船级社Industrial internet identification analysis system based on micro-service architecture
CN113176875A (en)*2021-05-122021-07-27同济大学Resource sharing service platform architecture based on micro-service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112214338A (en)*2020-11-052021-01-12北京科东电力控制系统有限责任公司Internet of things cloud platform based on flexible deployment of micro-services
CN112765117A (en)*2021-01-262021-05-07中国船级社Industrial internet identification analysis system based on micro-service architecture
CN113176875A (en)*2021-05-122021-07-27同济大学Resource sharing service platform architecture based on micro-service

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115858804A (en)*2022-11-162023-03-28浪潮云信息技术股份公司 A construction method of knowledge graph system platform based on microservice architecture
CN116319090A (en)*2023-05-182023-06-23中国电子信息产业集团有限公司第六研究所Power and environment monitoring system and method based on micro-service
CN116319090B (en)*2023-05-182023-08-11中国电子信息产业集团有限公司第六研究所Power and environment monitoring system and method based on micro-service

Similar Documents

PublicationPublication DateTitle
CN110908658B (en)Micro-service and micro-application system, data processing method and device
CN106850788B (en) Integration framework and integration method for multi-source heterogeneous geographic information resources
Hashemi et al.Cloud computing vs. grid computing
Bauer et al.IoT reference architecture
Srirama et al.Akka framework based on the actor model for executing distributed fog computing applications
CN111339145B (en)Process integration method and platform, and computer readable storage medium
CN113301116B (en)Cross-network communication method, device, system and equipment for micro-service application
CN111813570A (en) An event-driven message interaction method for power Internet of things
CN106131213A (en)A kind of service management and system
CN111371679A (en)Method for realizing API gateway based on kubernets and Kong
CN111447103A (en)Virtual device management system, electronic device, virtual device management method, and medium
CN112149079A (en) Planning review management platform and user access authorization method based on microservice architecture
CN114500589A (en)Public service supporting platform for industrial internet identification analysis
CN115811546A (en)System and method for realizing network cooperative distributed processing for scientific and technological service
Dautov et al.Automating IoT data-intensive application allocation in clustered edge computing
Yang et al.High-performance docker integration scheme based on OpenStack
Cheng et al.Design of IT infrastructure multicloud management platform based on hybrid cloud
US11106763B2 (en)Systems and methods for transaction-based licensing
Vandikas et al.Microservices in IoT clouds
CN110365743B (en)Zookeeper-based implementation method of load balancer supporting multiple customizable load algorithms
Rac et al.At the edge of a seamless cloud experience
Mohamed et al.MidCloud: an agent‐based middleware for effective utilization of replicated Cloud services
CN100512132C (en)Method for implementing service logic operation environment
CN112468463B (en)Device and method for arranging scene capacity based on cloud native capacity gateway
Mohamed et al.Service-oriented middleware approaches for wireless sensor networks

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20220513


[8]ページ先頭

©2009-2025 Movatter.jp