CN110908658A - Micro-service and micro-application system, data processing method and device - Google Patents

Micro-service and micro-application system, data processing method and device Download PDF

Info

Publication number
CN110908658A
CN110908658A CN201911119266.7A CN201911119266A CN110908658A CN 110908658 A CN110908658 A CN 110908658A CN 201911119266 A CN201911119266 A CN 201911119266A CN 110908658 A CN110908658 A CN 110908658A
Authority
CN
China
Prior art keywords
micro
service
application
services
distributed photovoltaic
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
CN201911119266.7A
Other languages
Chinese (zh)
Other versions
CN110908658B (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.)
Guowang Xiongan Finance Technology Group Co ltd
State Grid Co Ltd Customer Service Center
State Grid Agel Ecommerce Ltd
State Grid Corp of China SGCC
Original Assignee
Guowang Xiongan Finance Technology Group Co ltd
State Grid Co Ltd Customer Service Center
State Grid Agel Ecommerce Ltd
State Grid Corp of China SGCC
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 Guowang Xiongan Finance Technology Group Co ltd, State Grid Co Ltd Customer Service Center, State Grid Agel Ecommerce Ltd, State Grid Corp of China SGCC filed Critical Guowang Xiongan Finance Technology Group Co ltd
Priority to CN201911119266.7A priority Critical patent/CN110908658B/en
Publication of CN110908658A publication Critical patent/CN110908658A/en
Application granted granted Critical
Publication of CN110908658B publication Critical patent/CN110908658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Computer Hardware Design (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The micro-service and micro-application system, the data processing method and the data processing device are suitable for distributed photovoltaic services, the micro-application and the micro-services are set according to the requirements of the distributed photovoltaic services, each micro-service independently operates in the process of the micro-service to complete a certain specific function, the micro-service and micro-application system is formed by the micro-services which independently operate, and due to the fact that each micro-service and micro-application independently operate, when the micro-service and micro-application system needs to conduct service expansion, only the corresponding micro-application and micro-service need to be set according to the requirements of the distributed photovoltaic services, expansibility is good, and codes are easy to maintain.

Description

Micro-service and micro-application system, data processing method and device
Technical Field
The application relates to the technical field of information and system architecture correlation, in particular to a 'micro-service + micro-application' system, a data processing method and a data processing device which are suitable for distributed photovoltaic services.
Background
In recent years, the number of distributed photovoltaic power stations in China is greatly increased, and corresponding business handling requirements are correspondingly increased, for example, a series of processes such as planning, construction, grid connection, settlement, operation and maintenance of the power stations in the past period need to be effectively integrated and supported by an on-line platform, and the power generation efficiency of the distributed photovoltaic power stations is improved.
In order to construct an online platform of distributed photovoltaic services, a multilayer technical framework is adopted at the present stage, client side display, interface control, service, application support, data management and bottom layer support are separated, loose coupling among layers is realized, flexibility, expandability, safety and concurrency processing capability of a system are improved, and data interaction with other service applications is realized through a unified data interface.
However, as the application scale increases, the conventional multi-layer technology framework has become unable to cope with the explosive business growth of the enterprise, such as: the traditional multi-layer technology architecture can only be horizontally expanded by placing a plurality of instances of the whole application program behind a load balancer, and if a specific service needs to be expanded in an application, the whole application program needs to be constructed and deployed in any part/layer of a single application, so that the traditional multi-layer technology architecture has poor expansibility, and improper layering causes code to be difficult to maintain, thereby causing system confusion.
Disclosure of Invention
The application provides a 'micro-service + micro-application' system, a data processing method and a data processing device, and aims to solve the problems that the traditional multilayer technical framework in the existing distributed photovoltaic system technology is poor in expansibility and codes are difficult to maintain.
In order to achieve the above object, the present application provides the following technical solutions:
a 'micro service + micro application' system is suitable for distributed photovoltaic business, and comprises: terminal equipment and backstage server, wherein:
the terminal equipment comprises a plurality of micro applications set according to the requirements of the distributed photovoltaic service, and the micro applications provide display pages for users;
the background server comprises a plurality of micro services which are set according to the requirements of the distributed photovoltaic service, and the micro services provide service processing corresponding to the access requests of the micro applications;
the background server corresponds to a plurality of the micro-services, and each micro-service corresponds to a plurality of the micro-applications.
Preferably, the micro-applications comprise an information publishing micro-application, a photovoltaic newly-installed micro-application, an electric charge settlement micro-application and a photovoltaic operation and maintenance micro-application.
Preferably, the micro service comprises a grid-connected micro service, a settlement micro service, an operation and maintenance micro service and a self-service micro service.
Preferably, the terminal device includes a human-computer interaction module and a client application module, wherein:
the human-computer interaction module is used for showing and interacting an interface to the outside;
the client application module is used for providing various service functions and service flow handling according to the requirements of the distributed photovoltaic service, and comprises power station planning, power station construction, power station operation and core application.
Preferably, the background server includes: an operation support module and a support module, wherein:
the operation support module is used for providing various management supports for the development of the distributed photovoltaic service, and comprises information release management, order management, fund management and user evaluation;
the support module is divided into a decision analysis support module and a basic support module, wherein the decision analysis module comprises power generation analysis and prediction, installation analysis and prediction, equipment power generation efficiency analysis, electric charge settlement analysis and fault statistical analysis; the basic support module is a unified service processing platform and comprises a workflow platform, log management, content management and security components.
A data processing method is applied to a background server and is suitable for distributed photovoltaic services, the background server sets a plurality of micro-services according to the requirements of the distributed photovoltaic services, and the method comprises the following steps:
receiving an access request sent by terminal equipment, wherein the access request comprises a unique identifier of a micro application accessed by a user and user identity authentication information, and an application system of the terminal equipment sets a plurality of micro applications according to the distributed photovoltaic service requirement;
authenticating the access request according to the user identity authentication information;
if the authentication is passed, searching the micro service corresponding to the micro application accessed by the user from a preset data table according to the unique identifier of the micro application, wherein the preset data table stores the corresponding relation between the unique identifier of the micro application and the micro service in advance;
and the micro service performs service processing on the user access, and feeds back a service result to the terminal equipment for displaying.
Preferably, the micro service performs service processing on the user access, specifically:
the system comprises a power generation component, an installation component, a device power generation efficiency component, an electricity charge settlement component, a fault statistic component, an information issuing component, an order management component, a fund management component, a user evaluation component, a workflow platform component, a log management component, a content management component and a safety component.
A data processing device is applied to a background server and is suitable for distributed photovoltaic services, the background server sets a plurality of micro-services according to the requirements of the distributed photovoltaic services, and the device comprises:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for receiving an access request sent by terminal equipment, the access request comprises a unique identifier of a micro application accessed by a user and user identity authentication information, and an application system of the terminal equipment is provided with a plurality of micro applications according to the distributed photovoltaic service requirement;
the second processing unit is used for authenticating the access request according to the user identity authentication information;
the third processing unit is used for searching the micro service corresponding to the micro application accessed by the user from a preset data table according to the unique identifier of the micro application if the authentication is passed, wherein the preset data table stores the corresponding relation between the unique identifier of the micro application and the micro service in advance;
and the fourth processing unit is used for the micro service to perform service processing on the user access and feeding back a service result to the terminal equipment for displaying.
A storage medium comprising a stored program, wherein a device on which the storage medium is located is controlled to perform the data processing method as described above when the program is run.
An electronic device comprising at least one processor, and at least one memory, bus connected with the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the data processing method as described above.
The system, the data processing method and the data processing device of 'micro service + micro application' are suitable for distributed photovoltaic services, and the system comprises the following components: terminal equipment and backstage server, wherein: the terminal equipment comprises a plurality of micro applications set according to the requirements of the distributed photovoltaic service, and the micro applications provide display pages for users; the background server comprises a plurality of micro services which are set according to the requirements of the distributed photovoltaic service, and the micro services provide service processing corresponding to the access requests of the micro applications; the background server corresponds to a plurality of the micro-services, and each micro-service corresponds to a plurality of the micro-applications. According to the method, the micro-applications and the micro-services are set according to the requirements of the distributed photovoltaic services, each micro-service independently operates in the process of the micro-service to complete a specific function, the micro-service + micro-application system is formed by the micro-services which independently operate, and the micro-service + micro-application system only needs to set the corresponding micro-applications and the corresponding micro-services according to the requirements of the distributed photovoltaic services when the micro-service + micro-application system needs to perform service expansion due to the fact that each micro-service and the micro-applications independently operate, and is good in expansibility and easy to maintain codes.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a "microservice + micro-application" system according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating an overall architecture of a "microservice + microservice" system provided by an embodiment of the present application;
FIG. 3 is a diagram of a business application framework of a "microservice + microservice" system provided in an embodiment of the present application;
FIG. 4 is a diagram of a technical architecture of a "microservice + microservice" system provided by an embodiment of the present application;
FIG. 5 is a diagram of a physical deployment architecture of a "microservice + microservice" system provided by an embodiment of the present application;
fig. 6 is a schematic flow chart of a data processing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The application provides a 'micro-service + micro-application' system, a data processing method and a data processing device, which are suitable for distributed photovoltaic services.
The invention of the present application aims to: the problems that the traditional multilayer technical framework in the prior distributed photovoltaic system technology is poor in expansibility and codes are difficult to maintain are solved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, the embodiment of the present application provides a structural diagram of a "microservice + microservice" system. The micro-service and micro-application system disclosed in the embodiment of the application is suitable for distributed photovoltaic services, and specifically comprises: terminal equipment 10 and backend server 20, wherein:
the terminal device 10 includes a plurality of micro applications set according to the requirements of the distributed photovoltaic service, and the micro applications provide a display page for a user. The background server 20 includes a plurality of micro services set according to the requirements of the distributed photovoltaic service, and the micro services provide service processing corresponding to the access requests of the micro applications. The background server 20 corresponds to a plurality of the micro services, and each micro service corresponds to a plurality of the micro applications.
The micro-service and micro-application system provided by the embodiment of the application adopts a micro-service and micro-application mode, and performs comprehensive design and deployment of the system from four aspects of a general architecture, a business application framework, a technical architecture and a physical deployment architecture, thereby effectively supporting the flow and systematic development of distributed photovoltaic business.
The detailed scheme comprises the following contents:
fig. 2 is a diagram illustrating an overall architecture of a microservice + micro-application system provided in the embodiment of the present application. The overall architecture of the 'micro service + micro application' system is divided into four parts, namely a client 21, an external network access layer 22, a system support layer 23 and a resource layer 24, and is integrated and interacted with an external service system 25 of distributed log service, a wind control system, message bus service, information push service, APP message service and short message service.
The client 21 includes a native application and a micro application, wherein the native application is a technology used by the front-end page, a frame, and an entry of a native code written by using the technologies, and the micro application is a front-end visual effect (foreground page) displayed to the client, for example: the system comprises an information issuing micro application, a photovoltaic newly-installed micro application, an electric charge settlement micro application, a photovoltaic operation and maintenance micro application and the like.
The extranet access layer 22 includes a unified access layer and a micro-service, wherein: the unified access layer comprises access management, service discovery, identity authentication, encryption and decryption, behavior recording, page display and file service, and the micro-service comprises grid-connected micro-service, settlement micro-service, operation and maintenance micro-service, self-service micro-service and the like.
The system supporting layer 23 is a cloud management platform for implementing micro application management, micro service management, activity management, menu management, version management, and operation monitoring.
The resource layer 24 includes data storage and intranet service forwarding nodes, where the data storage includes log management data, micro application management data, micro service management data, activity data, user management data, message management data, user behavior data, monitoring data, and the intranet service forwarding nodes are responsible for performing data interaction forwarding in cooperation with channels.
The external service system 25 provides more friendly user experience for the whole system, and a high-efficiency cooperative operation mechanism including information push service, log service, message bus service, a wind control system and a channel cooperative platform.
Fig. 3 is a diagram of a business application framework of a microservice + microservice system according to an embodiment of the present application. The business application framework of the microservice + microservice system comprises a human-computer interaction module 31, a client application module 32, an operation support module 33 and a support module 34, specifically:
the human-computer interaction module 31 includes a computer PC terminal and a mobile phone APP terminal, and is used for displaying and interacting with the outside. The client application module 32 provides various service functions and service flow handling for a distributed photovoltaic micro-service micro-application system, and specifically may include power station planning, power station construction, power station operation, core application, and the like. The operation support module 33 is configured to provide various management supports for development of the distributed photovoltaic service, and may specifically include information release management, order management, fund management, user evaluation, and the like. The support module 34 is divided into a decision analysis support module 341 and a basic support module 342, wherein the decision analysis module 341 can be divided into power generation analysis and prediction, installation analysis and prediction, equipment power generation efficiency analysis, power rate settlement analysis and fault statistical analysis; the basic support module 342 is a unified service platform, and specifically includes a workflow platform, log management, content management, security components, and the like.
Fig. 4 is a diagram illustrating a technical architecture of a microservice + micro-application system according to an embodiment of the present application. In the technical architecture of the 'micro-service + micro-application' system, the whole set of 'micro-service + micro-application' system development technology is mainly SpringCloud, and a single micro-service module is developed by combination of SSM (Sringmvc + Spring + Mybatis). Front-end display layer, front-end page mainly uses H5+ CSS, frame mainly uses node. In the load layer, the front end accesses a load balance (LB for short) which reaches the server end through the Http protocol, and may perform load balancing by hardware such as F5 or may perform self-deployment (Nginx may be used on the premise of a small user amount). And after the request passes through the LB, the request reaches a gateway layer Zuul (gateway) of the whole micro-service system, Ribbon is embedded inside the gateway layer for client load balancing, Hystrix is used for fusing degradation and the like. And (4) registering the service, using the Eureka to perform service administration, and enabling the Zuul to acquire the published micro-service access address from the Eureka cluster and then proxy the request to the corresponding micro-service according to the configuration. All the micro services are deployed in the Docker container, the front end and the rear end of the Docker container are separated, the micro services at the front end and the rear end are respectively and independently deployed, the micro services at the rear end are mutually invoked, protocol modes such as Http and the like are adopted among micro service modules, and the invoking technology adopts Feign + Ribbon + Hystrix. And (4) uniformly configuring, wherein each micro-service module can interact with a Eureka configuration center and the like. According to the actual implementation requirements, the third-party framework and each micro-service module usually need to use some third-party components, such as data caching (Redis), authority management (Shiro), and the like. The Mysql database can be managed according to the micro-service module, and each service can have an independent database. And the GitHub code management is used for uniformly managing codes developed by all service modules of the whole system.
The embodiment of the application realizes gorgeous and flexible interface display of the micro application by using front-end research and development technologies such as HTML5, CSS and JS. Breaking the barrier of communication between native and micro applications, performing secondary packaging based on native APIS (object-c, Java Android SDK) GPS, camera, microphone and the like, and providing a special calling interface for the micro applications to meet the diversified use scene of the micro applications. According to the applied opening and closing principle, the dependence inversion principle, the interface isolation principle, the single responsibility, the Dimidt principle (the principle is known at least) and the Rich replacement principle, the native API is packaged according to modules, the modules are divided according to layers, the modules cooperate with each other, and the layers support each other, so that the smooth operation of the micro-application is guaranteed.
Fig. 5 is a diagram illustrating a physical deployment architecture of a microservice + microservice system provided in an embodiment of the present application. In the technical architecture of the microservice and microservice system, the overall physical architecture of the microservice and microservice system mainly comprises an internet architecture, an information extranet architecture and an information intranet deployment architecture, wherein: the Internet architecture mainly comprises: mobile phone APP and mobile phone SDK; the information extranet architecture mainly comprises: unified access platforms (monitoring service, registration service, authentication service, configuration service, encryption and decryption service), micro-services (grid-connected micro-services, settlement micro-services, operation and maintenance micro-services, self-service and the like); the information intranet architecture mainly comprises: intranet service forwarding nodes and database services.
The embodiment of the application can adapt to the demand change of the distributed photovoltaic service as soon as possible, the best practice in the industry is introduced timely, timely reconstruction is achieved, the vitality and competitiveness of the design are guaranteed, the application of the distributed photovoltaic service under the environment of 'extranet + intranet' by 'micro service + micro application' is achieved, the online handling of the distributed photovoltaic full flow one-stop type is achieved, the management of the micro service and the micro application is achieved on the supporting layer, and the data management and the strong isolation function of the extranet and the extranet are achieved on the resource layer.
The microservice and microservice system is suitable for distributed photovoltaic services, and microservice are integrated into an integral system from a general architecture, a service application framework, a technical architecture and a physical deployment architecture according to actual service application of the distributed photovoltaic, so that a service-oriented and component-oriented architecture is constructed by taking service and data as centers, and the microservice and microservice system has the capability of being flexible and capable of being combined according to needs. According to the method, through the idea of a 'micro-service + micro-application' architecture, each service has a transverse expansion capability, can be used as required, is automatically and elastically telescopic, can be dynamically replaced and flexibly deployed, and supports high-performance, high-throughput, high-concurrency and high-availability service scenes. In addition, the method supports the principles of iteration, increment and continuous delivery, the miniaturization and flattening of development organization and the independent and efficient parallel development of small teams.
On the basis of the microservice + microservice system disclosed in the above embodiment, the embodiment of the present application further discloses a data processing method, which is applied to a background server and is suitable for a distributed photovoltaic service, where the background server sets a plurality of microservices according to the requirements of the distributed photovoltaic service, as shown in fig. 6, the method specifically includes the following steps:
s601: receiving an access request sent by terminal equipment, wherein the access request comprises a unique identifier of a micro application accessed by a user and user identity authentication information, and an application system of the terminal equipment sets a plurality of micro applications according to the distributed photovoltaic service requirement.
S602: and authenticating the access request according to the user identity authentication information.
S603: and if the authentication is passed, searching the micro service corresponding to the micro application accessed by the user from a preset data table according to the unique identifier of the micro application, wherein the preset data table stores the corresponding relation between the unique identifier of the micro application and the micro service in advance.
S604: and the micro service performs service processing on the user access, and feeds back a service result to the terminal equipment for displaying.
The micro service performs service processing on the user access, specifically:
the system comprises a power generation component, an installation component, a device power generation efficiency component, an electricity charge settlement component, a fault statistic component, an information issuing component, an order management component, a fund management component, a user evaluation component, a workflow platform component, a log management component, a content management component and a safety component.
The data processing method is suitable for the distributed photovoltaic business, each micro-service independently operates in the process of the micro-service to complete a specific function through the plurality of micro-applications and the plurality of micro-services which are set according to the requirements of the distributed photovoltaic business, and the micro-service + micro-application system is formed by the plurality of micro-services which independently operate.
Referring to fig. 7, based on the data processing method disclosed in the foregoing embodiment, the present embodiment correspondingly discloses a data processing apparatus, which specifically includes: a first processing unit 701, a second processing unit 702, a third processing unit 703 and a fourth processing unit 704, wherein:
the first processing unit 701 is configured to receive an access request sent by a terminal device, where the access request includes a unique identifier of a micro application accessed by a user and user identity authentication information, and an application system of the terminal device sets a plurality of micro applications according to a distributed photovoltaic service requirement.
A second processing unit 702, configured to authenticate the access request according to the user identity authentication information.
The third processing unit 703 is configured to, if the authentication passes, search, according to the unique identifier of the micro application, a micro service corresponding to the micro application accessed by the user from a preset data table, where a corresponding relationship between the unique identifier of the micro application and the micro service is stored in the preset data table in advance.
A fourth processing unit 704, configured to perform service processing on the user access by the micro service, and feed back a service result to the terminal device for displaying.
The data processing device comprises a processor and a memory, wherein the first processing unit, the second processing unit, the third processing unit, the fourth processing unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be provided with one or more than one, each micro service independently operates in the process of the kernel to complete a specific function by the multiple micro applications and the multiple micro services which are set according to the requirements of the distributed photovoltaic service, and the multiple micro services which independently operate form a micro service + micro application system.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the data processing method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the data processing method is executed when the program runs.
An embodiment of the present invention provides an electronic device, as shown in fig. 8, the electronic device 80 includes at least one processor 801, at least one memory 802 connected to the processor, and a bus 803; the processor 801 and the memory 802 complete communication with each other through the bus 803; the processor 801 is used for calling the program instructions in the memory 802 to execute the data processing method described above.
The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
receiving an access request sent by terminal equipment, wherein the access request comprises a unique identifier of a micro application accessed by a user and user identity authentication information, and an application system of the terminal equipment sets a plurality of micro applications according to the distributed photovoltaic service requirement;
authenticating the access request according to the user identity authentication information;
if the authentication is passed, searching the micro service corresponding to the micro application accessed by the user from a preset data table according to the unique identifier of the micro application, wherein the preset data table stores the corresponding relation between the unique identifier of the micro application and the micro service in advance;
and the micro service performs service processing on the user access, and feeds back a service result to the terminal equipment for displaying.
Preferably, the micro service performs service processing on the user access, specifically:
the system comprises a power generation component, an installation component, a device power generation efficiency component, an electricity charge settlement component, a fault statistic component, an information issuing component, an order management component, a fund management component, a user evaluation component, a workflow platform component, a log management component, a content management component and a safety component.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A micro service and micro application system is suitable for distributed photovoltaic services, and comprises: terminal equipment and backstage server, wherein:
the terminal equipment comprises a plurality of micro applications set according to the requirements of the distributed photovoltaic service, and the micro applications provide display pages for users;
the background server comprises a plurality of micro services which are set according to the requirements of the distributed photovoltaic service, and the micro services provide service processing corresponding to the access requests of the micro applications;
the background server corresponds to a plurality of the micro-services, and each micro-service corresponds to a plurality of the micro-applications.
2. The system of claim 1, wherein the micro-applications comprise an information publishing micro-application, a photovoltaic fresh micro-application, an electricity rate settlement micro-application, and a photovoltaic operation and maintenance micro-application.
3. The system of claim 1, wherein the micro-service comprises a grid-connected micro-service, a settlement micro-service, an operation and maintenance micro-service, a self-service micro-service.
4. The system of claim 1, wherein the terminal device comprises a human-machine interaction module and a client application module, wherein:
the human-computer interaction module is used for showing and interacting an interface to the outside;
the client application module is used for providing various service functions and service flow handling according to the requirements of the distributed photovoltaic service, and comprises power station planning, power station construction, power station operation and core application.
5. The system of claim 1, wherein the backend server comprises: an operation support module and a support module, wherein:
the operation support module is used for providing various management supports for the development of the distributed photovoltaic service, and comprises information release management, order management, fund management and user evaluation;
the support module is divided into a decision analysis support module and a basic support module, wherein the decision analysis module comprises power generation analysis and prediction, installation analysis and prediction, equipment power generation efficiency analysis, electric charge settlement analysis and fault statistical analysis; the basic support module is a unified service processing platform and comprises a workflow platform, log management, content management and security components.
6. A data processing method is characterized in that the method is applied to a background server and is suitable for distributed photovoltaic services, the background server sets a plurality of micro-services according to the requirements of the distributed photovoltaic services, and the method comprises the following steps:
receiving an access request sent by terminal equipment, wherein the access request comprises a unique identifier of a micro application accessed by a user and user identity authentication information, and an application system of the terminal equipment sets a plurality of micro applications according to the distributed photovoltaic service requirement;
authenticating the access request according to the user identity authentication information;
if the authentication is passed, searching the micro service corresponding to the micro application accessed by the user from a preset data table according to the unique identifier of the micro application, wherein the preset data table stores the corresponding relation between the unique identifier of the micro application and the micro service in advance;
and the micro service performs service processing on the user access, and feeds back a service result to the terminal equipment for displaying.
7. The method according to claim 6, wherein the microservice performs service processing on the user access, specifically:
the system comprises a power generation component, an installation component, a device power generation efficiency component, an electricity charge settlement component, a fault statistic component, an information issuing component, an order management component, a fund management component, a user evaluation component, a workflow platform component, a log management component, a content management component and a safety component.
8. The data processing device is applied to a background server and is suitable for distributed photovoltaic services, the background server sets a plurality of micro services according to the requirements of the distributed photovoltaic services, and the device comprises:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for receiving an access request sent by terminal equipment, the access request comprises a unique identifier of a micro application accessed by a user and user identity authentication information, and an application system of the terminal equipment is provided with a plurality of micro applications according to the distributed photovoltaic service requirement;
the second processing unit is used for authenticating the access request according to the user identity authentication information;
the third processing unit is used for searching the micro service corresponding to the micro application accessed by the user from a preset data table according to the unique identifier of the micro application if the authentication is passed, wherein the preset data table stores the corresponding relation between the unique identifier of the micro application and the micro service in advance;
and the fourth processing unit is used for the micro service to perform service processing on the user access and feeding back a service result to the terminal equipment for displaying.
9. A storage medium characterized by comprising a stored program, wherein a device on which the storage medium is located is controlled to execute the data processing method according to any one of claims 6 to 7 when the program is run.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is arranged to call program instructions in the memory to perform the data processing method of any of claims 6 to 7.
CN201911119266.7A 2019-11-15 2019-11-15 Micro-service and micro-application system, data processing method and device Active CN110908658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911119266.7A CN110908658B (en) 2019-11-15 2019-11-15 Micro-service and micro-application system, data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911119266.7A CN110908658B (en) 2019-11-15 2019-11-15 Micro-service and micro-application system, data processing method and device

Publications (2)

Publication Number Publication Date
CN110908658A true CN110908658A (en) 2020-03-24
CN110908658B CN110908658B (en) 2024-04-12

Family

ID=69817833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911119266.7A Active CN110908658B (en) 2019-11-15 2019-11-15 Micro-service and micro-application system, data processing method and device

Country Status (1)

Country Link
CN (1) CN110908658B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831290A (en) * 2020-07-02 2020-10-27 大唐信通(浙江)科技有限公司 Swarm intelligence intermediate station system supporting swarm intelligence self-adaptive collaborative decision
CN111952928A (en) * 2020-08-12 2020-11-17 上海许继电气有限公司 Relay protection fault information system based on springclosed micro-service and transmission method thereof
CN112217878A (en) * 2020-09-23 2021-01-12 上海维信荟智金融科技有限公司 High-concurrency request distribution method and system
CN112232783A (en) * 2020-10-27 2021-01-15 国网冀北电力有限公司经济技术研究院 Data mining method and device, electronic equipment and storage medium
CN112258162A (en) * 2020-11-04 2021-01-22 广西电网有限责任公司 One-stop information application system
CN112596710A (en) * 2020-12-21 2021-04-02 上海钒钛智能科技有限公司 Front-end system
CN113253980A (en) * 2021-03-05 2021-08-13 吉林烟草工业有限责任公司 Tobacco logistics platform design method, system, device and storage medium
CN114125028A (en) * 2021-11-29 2022-03-01 Oppo广东移动通信有限公司 Running method, device, equipment, storage medium and program product of micro application
CN114327389A (en) * 2021-12-24 2022-04-12 商派软件有限公司 Application management method, account management plug-in and application management system
CN114598749A (en) * 2020-12-17 2022-06-07 国网信息通信产业集团有限公司 Service access method and device
CN115001933A (en) * 2022-07-01 2022-09-02 国家电网有限公司华东分部 Architecture for non-intrusive microservices and micro-applications
CN112102108B (en) * 2020-08-28 2024-03-01 国网思极网安科技(北京)有限公司 Self-service terminal of electric power business hall

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656630A (en) * 2017-01-13 2017-05-10 北京中电普华信息技术有限公司 Electric marketing service application system, and construction method and platform thereof
CN107193546A (en) * 2017-04-11 2017-09-22 国网天津市电力公司信息通信公司 A kind of micro services business application system
US20170331812A1 (en) * 2016-05-11 2017-11-16 Oracle International Corporation Microservices based multi-tenant identity and data security management cloud service
CN107491858A (en) * 2017-07-05 2017-12-19 北京科东电力控制系统有限责任公司 A kind of electric power transaction platform based on micro services application architecture
US20190273746A1 (en) * 2018-03-02 2019-09-05 Syntegrity Networks Inc. Microservice architecture for identity and access management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170331812A1 (en) * 2016-05-11 2017-11-16 Oracle International Corporation Microservices based multi-tenant identity and data security management cloud service
CN106656630A (en) * 2017-01-13 2017-05-10 北京中电普华信息技术有限公司 Electric marketing service application system, and construction method and platform thereof
CN107193546A (en) * 2017-04-11 2017-09-22 国网天津市电力公司信息通信公司 A kind of micro services business application system
CN107491858A (en) * 2017-07-05 2017-12-19 北京科东电力控制系统有限责任公司 A kind of electric power transaction platform based on micro services application architecture
US20190273746A1 (en) * 2018-03-02 2019-09-05 Syntegrity Networks Inc. Microservice architecture for identity and access management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘俊玲;杨维;朱平飞;欧阳红;洪杨;: "电力营销多渠道微服务架构设计", no. 06 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831290A (en) * 2020-07-02 2020-10-27 大唐信通(浙江)科技有限公司 Swarm intelligence intermediate station system supporting swarm intelligence self-adaptive collaborative decision
CN111952928A (en) * 2020-08-12 2020-11-17 上海许继电气有限公司 Relay protection fault information system based on springclosed micro-service and transmission method thereof
CN112102108B (en) * 2020-08-28 2024-03-01 国网思极网安科技(北京)有限公司 Self-service terminal of electric power business hall
CN112217878A (en) * 2020-09-23 2021-01-12 上海维信荟智金融科技有限公司 High-concurrency request distribution method and system
CN112232783A (en) * 2020-10-27 2021-01-15 国网冀北电力有限公司经济技术研究院 Data mining method and device, electronic equipment and storage medium
CN112258162A (en) * 2020-11-04 2021-01-22 广西电网有限责任公司 One-stop information application system
CN114598749B (en) * 2020-12-17 2024-01-09 国网信息通信产业集团有限公司 Service access method and device
CN114598749A (en) * 2020-12-17 2022-06-07 国网信息通信产业集团有限公司 Service access method and device
CN112596710A (en) * 2020-12-21 2021-04-02 上海钒钛智能科技有限公司 Front-end system
CN112596710B (en) * 2020-12-21 2024-05-14 上海钒钛智能科技有限公司 Front-end system
CN113253980A (en) * 2021-03-05 2021-08-13 吉林烟草工业有限责任公司 Tobacco logistics platform design method, system, device and storage medium
CN114125028A (en) * 2021-11-29 2022-03-01 Oppo广东移动通信有限公司 Running method, device, equipment, storage medium and program product of micro application
CN114125028B (en) * 2021-11-29 2024-05-14 Oppo广东移动通信有限公司 Method, apparatus, device, storage medium and program product for operating micro-application
CN114327389A (en) * 2021-12-24 2022-04-12 商派软件有限公司 Application management method, account management plug-in and application management system
CN114327389B (en) * 2021-12-24 2023-03-24 商派软件有限公司 Application management method, account management plug-in and application management system
CN115001933A (en) * 2022-07-01 2022-09-02 国家电网有限公司华东分部 Architecture for non-intrusive microservices and micro-applications

Also Published As

Publication number Publication date
CN110908658B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN110908658A (en) Micro-service and micro-application system, data processing method and device
WO2021017301A1 (en) Management method and apparatus based on kubernetes cluster, and computer-readable storage medium
US11625281B2 (en) Serverless platform request routing
Bojanova et al. Analysis of cloud computing delivery architecture models
CN107463434B (en) Distributed task processing method and device
CN110716744A (en) Data stream processing method, system and computer readable storage medium
CN110071965B (en) Data center management system based on cloud platform
CN107409436B (en) Cloud platform, application running method and access network unit
US9591079B2 (en) Method and apparatus for managing sessions of different websites
US8606908B2 (en) Wake-up server
CN107291744A (en) It is determined that and with the method and device of the relationship between application program
CN103067486B (en) Based on the large data processing method of PaaS platform
CN104580532A (en) Cross-platform application system
CN113778615A (en) Rapid and stable network shooting range virtual machine construction system
CN113312168A (en) Page access method and electronic equipment
US11405321B2 (en) 5G filters for virtual network functions
CN115349117A (en) Multi-level cache grid system for multi-tenant, serverless environments
CN117061592A (en) Data center system based on cloud platform and construction method thereof
CN114745377A (en) Edge cloud cluster service system and implementation method
CN113923257A (en) Container group instance termination and creation method, device, electronic equipment and storage medium
CN113839821A (en) Method, device, system, equipment and medium for deploying cluster and constructing infrastructure
CN110719303B (en) Containerization NRF method and system
CN116760881B (en) System configuration method and device of power distribution terminal, storage medium and electronic equipment
Pugdeethosapol et al. Dynamic configuration of the computing nodes of the ALICE O 2 system
CN115361388B (en) Resource scheduling method and device in edge cloud computing system

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