[go: up one dir, main page]

CN107222542B - Construction method of cloud service management system - Google Patents

Construction method of cloud service management system Download PDF

Info

Publication number
CN107222542B
CN107222542B CN201710428296.0A CN201710428296A CN107222542B CN 107222542 B CN107222542 B CN 107222542B CN 201710428296 A CN201710428296 A CN 201710428296A CN 107222542 B CN107222542 B CN 107222542B
Authority
CN
China
Prior art keywords
user
client
managed person
api
data
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.)
Expired - Fee Related
Application number
CN201710428296.0A
Other languages
Chinese (zh)
Other versions
CN107222542A (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.)
Donghua University
Original Assignee
Donghua University
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 Donghua University filed Critical Donghua University
Priority to CN201710428296.0A priority Critical patent/CN107222542B/en
Publication of CN107222542A publication Critical patent/CN107222542A/en
Application granted granted Critical
Publication of CN107222542B publication Critical patent/CN107222542B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45529Embedded in an application, e.g. JavaScript in a Web browser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a construction method of a cloud service management system, which comprises the following steps: the system analysis and overall framework design comprises the analysis and design of a client and a server, the analysis and the formulation of a functional module, a controller and a service which are required to be included by the client, and the analysis and the formulation of a database, a data processing method and a RESTful API which are required to be included by the server; the design of a client function module, wherein the function module comprises a user login and registration module, a display module of a user and a managed person, a data analysis result display module of the managed person and a function module for completing the specific requirements of the system; the system RESTful API is designed in order to complete the business logic of the system CRUD. The invention can improve the development speed and efficiency and is suitable for various industries.

Description

一种云服务管理系统的构建方法A construction method of cloud service management system

技术领域technical field

本发明涉及计算机技术领域,特别是涉及一种云服务管理系统的构建方法。The invention relates to the field of computer technology, in particular to a construction method of a cloud service management system.

背景技术Background technique

随着互联网技术和底层基础设施的发展,各行各业对人员的管理、设备的管理及服务的管理提出了更高的要求,迫切希望提高管理的效率与准确度,并且能够实时观察被管理者的状态。为了解决传统管理存在的问题,云服务的管理系统应运而生,云服务的管理系统降低了经济成本,可扩展性强。云服务的管理系统可以实时分析采集到的被管理者的数据,反映给管理者,以便管理者做出决策。因此亟需一种能够面向各行各业的通用云服务管理系统的设计方法。With the development of Internet technology and the underlying infrastructure, all walks of life have put forward higher requirements for personnel management, equipment management and service management. It is urgent to improve the efficiency and accuracy of management, and to be able to observe the management in real time. status. In order to solve the problems of traditional management, the management system of cloud services came into being. The management system of cloud services reduces economic costs and has strong scalability. The management system of cloud services can analyze the collected managed data in real time and reflect it to the manager so that the manager can make a decision. Therefore, there is an urgent need for a design method of a general cloud service management system that can be oriented to all walks of life.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题是提供一种云服务管理系统的构建方法,提升开发速度和效率。The technical problem to be solved by the present invention is to provide a construction method of a cloud service management system, so as to improve the development speed and efficiency.

本发明解决其技术问题所采用的技术方案是:提供一种云服务管理系统的构建方法,包括以下步骤:The technical solution adopted by the present invention to solve the technical problem is: a method for constructing a cloud service management system is provided, comprising the following steps:

(1)系统分析和总体框架设计,包括客户端和服务端的分析和设计,分析和制定客户端需要包括的功能模块、控制器以及服务,分析和制定服务端需要包括的数据库、数据处理方法以及RESTful API;(1) System analysis and overall framework design, including analysis and design of client and server, analysis and formulation of functional modules, controllers and services that the client needs to include, and analysis and formulation of the database, data processing methods and services that the server needs to include RESTful API;

(2)客户端功能模块的设计,所述功能模块包括用户登录和注册模块,用户和被管理者的展示模块以及被管理者的数据分析结果展示模块,还应包含完成系统特定需求的功能模块;(2) Design of client-side functional modules, which include user login and registration modules, user and managed display modules, and managed data analysis result display modules, as well as functional modules that fulfill system-specific requirements ;

(3)设计系统RESTful API,以便完成系统CRUD的业务逻辑;(3) Design the system RESTful API to complete the business logic of the system CRUD;

所述步骤(1)具体包括:The step (1) specifically includes:

(11)客户端根据系统的具体需求,采用Bootstrap和jQuery构建和美化前端页面,包括各个客户端功能模块的构建和美化,增强用户交互性和友好性;利用AngularJS设计多种控制和服务,完成用户需要实现的业务逻辑;(11) According to the specific needs of the system, the client uses Bootstrap and jQuery to build and beautify the front-end page, including the construction and beautification of each client-side functional module, to enhance user interaction and friendliness; use AngularJS to design a variety of controls and services to complete The business logic that the user needs to implement;

(12)服务端根据需求设计数据库,存储系统需要的数据,采用一种后端语言设计RESTful API,以便客户端访问服务端数据;服务端根据系统的具体需求,应该承担大量的数据处理和分析,避免放在客户端,以免客户端响应阻塞或缓慢。(12) The server designs the database according to the requirements, stores the data required by the system, and uses a back-end language to design the RESTful API, so that the client can access the server data; the server should undertake a large amount of data processing and analysis according to the specific requirements of the system , avoid on the client side, so as not to block or slow the client response.

所述步骤(12)中的后端语言为python、PHP或者JAVA。The back-end language in the step (12) is python, PHP or JAVA.

所述步骤(2)具体包括:The step (2) specifically includes:

(21)用户登录和注册模块设计,主要设计用户登录和注册的提交表单,客户端做基本的合法性验证,然后将请求交给前端控制器,前端控制器根据请求信息选择相应的服务,服务通过RESTful API请求后端验证用户合法性或提交用户注册信息,并返回处理后的结果;(21) User login and registration module design, mainly design the submission form for user login and registration, the client performs basic legality verification, and then submits the request to the front-end controller, and the front-end controller selects the corresponding service according to the request information. Request the backend to verify the legitimacy of the user or submit the user registration information through the RESTful API, and return the processed result;

(22)用户和被管理者的展示模块,用户是云服务管理系统的管理者,被管理者是云服务管理系统的被管理人员、设备或者其它业务需求下的被管理者;用户和被管理者的展示模块的主要载体是表格,AngularJS通过服务和相应的RESTful API得到服务端的数据,存储在数据模型层,然后通过指令将数据动态渲染在视图层,该模块还完成了用户和被管理者的增加、删除、编辑和修改的功能;(22) Display module for users and managed users. The user is the manager of the cloud service management system, and the managed is the managed personnel, equipment or other business needs of the cloud service management system. The user and the managed system The main carrier of the user's display module is the form. AngularJS obtains the server-side data through the service and the corresponding RESTful API, stores it in the data model layer, and then dynamically renders the data in the view layer through instructions. This module also completes the user and managed data. add, delete, edit and modify functions;

(23)被管理者的数据分析结果展示模块,管理者通过这个模块监控被管理者,监控被管理者的状态变化;AngularJS通过服务和相应的RESTful API得到服务端的数据,存储在数据模型层,然后通过指令将数据动态渲染在视图层;(23) The managed data analysis result display module, the manager monitors the managed state through this module, and monitors the state change of the managed state; AngularJS obtains the server-side data through the service and the corresponding RESTful API, and stores it in the data model layer. Then dynamically render the data in the view layer through instructions;

(24)根据系统的具体业务需求做相应的扩展,增加完成特定功能的模块。(24) Make corresponding expansions according to the specific business requirements of the system, and add modules that complete specific functions.

所述步骤(23)中的视图层主要是一些图表,这里通过Angular-chart.js实现。The view layer in the step (23) is mainly some charts, which are implemented by Angular-chart.js here.

所述步骤(3)包括:Described step (3) comprises:

(31)获取资源的RESTful API,通过该API获取到用户和被管理者的信息,以及获取用户或被管理者的所有信息,通过附加ID的API获得某一个用户或被管理者的信息;客户端通过AngularJS的$http服务的GET方法使用该RESTful API;(31) The RESTful API for obtaining resources, through which the information of the user and the managed, and all the information of the user or the managed is obtained, and the information of a certain user or the managed is obtained through the API with the additional ID; The client uses the RESTful API through the GET method of the $http service of AngularJS;

(32)删除资源的RESTful API,通过该API删除用户和被管理者的信息,以及删除用户或被管理者的所有信息,通过附加ID的API删除某一个用户或被管理者的信息;客户端通过AngularJS的$http服务的DELETE方法使用该RESTful API;(32) The RESTful API for deleting resources, through this API, delete the information of the user and the managed, and delete all the information of the user or the managed, and delete the information of a certain user or the managed through the API with the additional ID; the client Use the RESTful API through the DELETE method of the AngularJS $http service;

(33)创建资源的RESTful API,通过该API创建某一个用户或被管理者的信息;客户端通过AngularJS的$http服务的POST方法使用该RESTful API;(33) Create a RESTful API of resources, and create a certain user or managed information through the API; the client uses the RESTful API through the POST method of the $http service of AngularJS;

(34)更新资源的RESTful API,通过该API更新用户和被管理者的信息,以及更新用户或被管理者的所有信息,通过附加ID的API更新某一个用户或被管理者的信息;客户端通过AngularJS的$http服务的PUT方法使用该RESTful API。(34) RESTful API to update resources, update user and managed information through this API, and update all user or managed information, and update a certain user or managed information through the API with additional ID; client Use the RESTful API via the PUT method of AngularJS's $http service.

有益效果beneficial effect

由于采用了上述的技术方案,本发明与现有技术相比,具有以下的优点和积极效果:本发明中客户端主要采用AngularJS完成管理系统的CRUD业务逻辑,采用Bootstrap和jQuery构建视图层,美化页面,增强用户交互性。服务端采用一种后端语言构建RESTfulAPI,RESTful API是客户端和服务端的桥梁,客户端通过RESTful API发起请求,服务端接受请求之后,完成对数据库的相应操作,数据库使用MongoDB、MySQL或者SQL Server。本发明的整个构建过程方便快捷,提升了开发速度和效率Due to the adoption of the above technical solution, the present invention has the following advantages and positive effects compared with the prior art: in the present invention, the client mainly uses AngularJS to complete the CRUD business logic of the management system, uses Bootstrap and jQuery to construct the view layer, and beautifies the pages to enhance user interactivity. The server uses a back-end language to build a RESTful API. The RESTful API is the bridge between the client and the server. The client initiates a request through the RESTful API. After the server accepts the request, it completes the corresponding operation on the database. The database uses MongoDB, MySQL or SQL Server. . The whole construction process of the present invention is convenient and quick, and the development speed and efficiency are improved

附图说明Description of drawings

图1是使用本发明构建的云服务管理系统的结构示意图FIG. 1 is a schematic structural diagram of a cloud service management system constructed using the present invention

具体实施方式Detailed ways

下面结合具体实施例,进一步阐述本发明。应理解,这些实施例仅用于说明本发明而不用于限制本发明的范围。此外应理解,在阅读了本发明讲授的内容之后,本领域技术人员可以对本发明作各种改动或修改,这些等价形式同样落于本申请所附权利要求书所限定的范围。The present invention will be further described below in conjunction with specific embodiments. It should be understood that these examples are only used to illustrate the present invention and not to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope defined by the appended claims of the present application.

本发明的实施方式涉及一种基于AngularJS和RESTful的云服务管理系统构建方法,包括客户端和服务端的设计,客户端根据系统的具体需求,采用Bootstrap和jQuery构建各个前端功能模块,可以适应不同的设备,用户交互性和友好性强。通过AngularJS设计多种控制器和可复用的服务,用户的相应请求,会通过控制器调用不同服务的RESTfulAPI,访问服务端,服务端返回响应后的信息。服务端对数据做计算分析,将结果放在客户端的图表中,管理者可以实时监控被管理者数据的变化,做出及时的决策。具体步骤如下:The embodiments of the present invention relate to a method for constructing a cloud service management system based on AngularJS and RESTful, including the design of a client and a server. The client uses Bootstrap and jQuery to build each front-end functional module according to the specific requirements of the system, which can adapt to different equipment, user-interactive and friendly. Design a variety of controllers and reusable services through AngularJS. The user's corresponding request will call the RESTful API of different services through the controller, access the server, and the server will return the response information. The server performs calculation and analysis on the data, and puts the results in the chart on the client side. The manager can monitor the changes of the managed data in real time and make timely decisions. Specific steps are as follows:

步骤1:系统分析和总体框架设计,包括客户端和服务端分析和设计,分析和制定客户端应该包括的功能模块,控制器以及服务,分析和制定服务端应该包括的数据库、数据处理方法以及RESTful API。包含以下步骤:Step 1: System analysis and overall framework design, including analysis and design of client and server, analysis and formulation of functional modules, controllers and services that should be included in the client, analysis and formulation of databases, data processing methods and services that should be included in the server RESTful APIs. Contains the following steps:

步骤1-1:客户端根据系统的具体需求,采用Bootstrap和jQuery构建和美化前端页面,包括各个客户端功能模块的构建和美化,增强用户交互性和友好性。AngularJS主要设计多种控制和服务,完成用户需要实现的业务逻辑。Step 1-1: The client uses Bootstrap and jQuery to build and beautify the front-end page according to the specific requirements of the system, including the construction and beautification of each client-side functional module, to enhance user interaction and friendliness. AngularJS mainly designs a variety of controls and services to complete the business logic that users need to implement.

步骤1-2:服务端根据需求设计数据库,存储系统需要的数据,采用一种后端语言,如python、PHP或者JAVA设计RESTful API,以便客户端访问服务端数据。服务端根据系统的具体需求,应该承担大量的数据处理和分析,避免放在客户端,以免客户端响应阻塞或缓慢。Step 1-2: The server designs the database according to the requirements, stores the data required by the system, and uses a back-end language, such as python, PHP or JAVA, to design a RESTful API, so that the client can access the server data. According to the specific needs of the system, the server should undertake a large amount of data processing and analysis, and avoid placing it on the client to avoid blocking or slow response from the client.

步骤2:客户端功能模块的设计。包含以下步骤Step 2: Design of client functional modules. Contains the following steps

步骤2-1:云服务管理系统通常应该包含的前端功能模块有用户登录和注册模块,用户和被管理者的展示模块以及被管理者的数据分析结果展示模块,还应包含完成系统特定需求的功能模块。Step 2-1: The front-end functional modules that the cloud service management system should usually include include user login and registration modules, user and managed display modules, and managed data analysis result display modules, and should also include modules that fulfill system-specific requirements. functional module.

步骤2-2:用户登录和注册模块设计,主要设计用户登录和注册的提交表单,客户端做基本的合法性验证,然后将请求交给前端控制器,前端控制器根据请求信息选择相应的服务,服务通过RESTful API请求后端验证用户合法性或提交用户注册信息,并返回处理后的结果。Step 2-2: User login and registration module design, mainly design the submission form for user login and registration, the client performs basic legality verification, and then submits the request to the front-end controller, and the front-end controller selects the corresponding service according to the request information , the service requests the backend to verify the legitimacy of the user or submit the user registration information through the RESTful API, and returns the processed result.

步骤2-3:用户和被管理者的展示模块,用户是云服务管理系统的管理者,被管理者是云服务管理系统的被管理人员、设备或者其它业务需求下的被管理者。用户和被管理者的展示模块的主要载体是表格,AngularJS通过服务和相应的RESTful API得到服务端的数据,存储在数据模型层,然后通过指令将数据动态渲染在视图层,该模块还完成了用户和被管理者的增加、删除、编辑和修改的功能。Step 2-3: a display module for users and managed users, the user is the manager of the cloud service management system, and the managed is the managed personnel, equipment or other managed users of the cloud service management system. The main carrier of the user and managed display module is the form. AngularJS obtains the server-side data through the service and the corresponding RESTful API, stores it in the data model layer, and then dynamically renders the data in the view layer through instructions. This module also completes the user interface. And the functions of adding, deleting, editing and modifying by the administrator.

步骤2-4:被管理者的数据分析结果展示模块,管理者通过这个模块监控被管理者,监控被管理者的状态变化。AngularJS通过服务和相应的RESTful API得到服务端的数据,存储在数据模型层,然后通过指令将数据动态渲染在视图层,视图层主要是一些图表,这里通过Angular-chart.js实现。Step 2-4: The managed data analysis result display module, the manager monitors the managed state through this module, and monitors the state change of the managed state. AngularJS obtains server-side data through the service and the corresponding RESTful API, stores it in the data model layer, and then dynamically renders the data in the view layer through instructions. The view layer is mainly some charts, which are implemented here through Angular-chart.js.

步骤2-5:根据系统的具体业务需求做相应的扩展,增加完成特定功能的模块。Step 2-5: Make corresponding expansions according to the specific business requirements of the system, and add modules that complete specific functions.

步骤3:设计系统RESTful API,以便完成系统CRUD的业务逻辑。包含以下步骤:Step 3: Design the system RESTful API to complete the business logic of the system CRUD. Contains the following steps:

步骤3-1:获取资源的RESTful API,通过该API可以获取到用户和被管理者的信息,可以获取用户或被管理者的所有信息,也可以通过附加ID的API获得某一个用户或被管理者的信息。客户端通过AngularJS的$http服务的GET方法使用该RESTful API。Step 3-1: Get the RESTful API of the resource, through this API, you can get the information of the user and the managed, you can get all the information of the user or the managed, and you can also get a certain user or managed through the API with an additional ID information of the person. The client uses the RESTful API via the GET method of the AngularJS $http service.

步骤3-2:删除资源的RESTful API,通过该API可以删除用户和被管理者的信息,可以删除用户或被管理者的所有信息,也可以通过附加ID的API删除某一个用户或被管理者的信息。客户端通过AngularJS的$http服务的DELETE方法使用该RESTful API。Step 3-2: Delete the RESTful API of the resource, through this API, you can delete the information of the user and the managed, you can delete all the information of the user or the managed, and you can also delete a certain user or managed through the API with an additional ID. Information. The client uses the RESTful API via the DELETE method of the AngularJS $http service.

步骤3-3:创建资源的RESTful API,通过该API创建某一个用户或被管理者的信息。客户端通过AngularJS的$http服务的POST方法使用该RESTful API。Step 3-3: Create the RESTful API of the resource, and create the information of a certain user or managed through the API. Clients consume this RESTful API via the POST method of AngularJS' $http service.

步骤3-4:更新资源的RESTful API,通过该API可以更新用户和被管理者的信息,可以更新用户或被管理者的所有信息,也可以通过附加ID的API更新某一个用户或被管理者的信息。客户端通过AngularJS的$http服务的PUT方法使用该RESTful API。Step 3-4: Update the RESTful API of the resource, through which the information of the user and the managed can be updated, all the information of the user or the managed can be updated, or a certain user or managed can be updated through the API with an additional ID Information. The client uses the RESTful API via the PUT method of the AngularJS $http service.

图1所示的使用本发明构建的云服务管理系统,该云服务管理系统包括客户端和服务端,客户端包括的前端功能模快有用户登录和注册模块,用户和被管理者的展示模块以及被管理者的数据分析结果展示模块,完成系统特定需求的功能模块。客户端采用Bootstrap和jQuery可以快速构建友好性和交互性强的前端功能模块。The cloud service management system constructed by using the present invention shown in FIG. 1, the cloud service management system includes a client and a server, and the front-end function modules included in the client include user login and registration modules, and a display module for users and the managed And the data analysis result display module of the managed, to complete the function module of the specific requirements of the system. Using Bootstrap and jQuery on the client side can quickly build friendly and interactive front-end functional modules.

在用户登录和注册模块中,客户端对用户输入的有效性做验证,然后将请求交给前端控制器,前端控制器根据请求信息选择相应服务,服务通过RESTful API请求后端验证用户合法性或提交用户注册信息,并返回处理后的结果。In the user login and registration modules, the client verifies the validity of the user input, and then submits the request to the front controller. Submit user registration information and return the processed result.

在用户和被管理者的展示模块中,用户是云服务管理系统的管理者,被管理者是云服务管理系统的被管理人员、设备或者其它业务需求下的被管理者。用户和被管理者的展示模块的主要载体是表格,AngularJS通过服务和相应的RESTful API得到服务端的数据,存储在数据模型层,然后通过指令将数据动态渲染在视图层,该模块还完成了用户和被管理者的增加、删除、编辑和修改的功能。In the display module of the user and the managed, the user is the manager of the cloud service management system, and the managed is the managed personnel, equipment, or other managers of the cloud service management system under other business requirements. The main carrier of the user and managed display module is the form. AngularJS obtains the server-side data through the service and the corresponding RESTful API, stores it in the data model layer, and then dynamically renders the data in the view layer through instructions. This module also completes the user interface. And the functions of adding, deleting, editing and modifying by the administrator.

在被管理者的数据分析结果展示模块中,管理者通过这个模块监控被管理者,监控被管理者的状态变化。AngularJS通过服务和相应的RESTful API得到服务端的数据,存储在数据模型层,然后通过指令将数据动态渲染在视图层,视图层主要是一些图表,这里通过Angular-chart.js实现。In the managed data analysis result display module, the manager monitors the managed state through this module and monitors the state change of the managed state. AngularJS obtains server-side data through the service and the corresponding RESTful API, stores it in the data model layer, and then dynamically renders the data in the view layer through instructions. The view layer is mainly some charts, which are implemented here through Angular-chart.js.

服务端根据需求设计数据库,存储系统需要的数据,采用一种后端语言,如python、PHP或者JAVA设计RESTful API,以便客户端访问服务端数据。服务端根据系统的具体需求,应该承担大量的数据处理和分析,避免放在客户端,以免客户端响应阻塞或缓慢。服务端构建的RESTful API,使得前端功能模块高效的访问和操作资源,包括获取、删除、增加和编辑资源。The server designs the database according to the requirements, stores the data required by the system, and uses a back-end language, such as python, PHP or JAVA, to design the RESTful API, so that the client can access the server data. According to the specific needs of the system, the server should undertake a large amount of data processing and analysis, and avoid placing it on the client to avoid blocking or slow response from the client. The RESTful API built by the server enables the front-end functional modules to efficiently access and operate resources, including acquiring, deleting, adding, and editing resources.

Claims (4)

1. A construction method of a cloud service management system is characterized by comprising the following steps:
(1) the system analysis and overall framework design comprises the analysis and design of a client and a server, the analysis and the formulation of a functional module, a controller and a service which are required to be included by the client, and the analysis and the formulation of a database, a data processing method and a RESTful API which are required to be included by the server;
(2) the design of a client function module, wherein the function module comprises a user login and registration module, a display module of a user and a managed person, a data analysis result display module of the managed person and a function module for completing the specific requirements of the system; wherein, specifically include:
(21) designing a user login and registration module, mainly designing a submission form of user login and registration, making basic validity verification by a client, then handing a request to a front-end controller, selecting corresponding service by the front-end controller according to request information, requesting a back end to verify user validity or submit user registration information by the service through RESTful API, and returning a processed result;
(22) the cloud service management system comprises a display module of a user and a managed person, wherein the user is a manager of the cloud service management system, and the managed person is a managed person, equipment or a managed person under other business requirements of the cloud service management system; the main carrier of the display module of the user and the managed person is a table, AngularJS obtains data of a server through service and a corresponding RESTful API, the data are stored in a data model layer, then the data are dynamically rendered in a view layer through instructions, and the module also completes the functions of adding, deleting, editing and modifying the user and the managed person;
(23) the data analysis result display module of the managed person, the manager monitors the managed person through the data analysis result display module, and the state change of the managed person is monitored; the AngularJS obtains data of the server through the service and the corresponding RESTful API, stores the data in the data model layer, and then dynamically renders the data in the view layer through an instruction;
(24) performing corresponding expansion according to the specific service requirement of the system, and adding a module for completing a specific function;
(3) designing a system RESTful API so as to complete the business logic of a system CRUD; wherein, specifically include:
(31) acquiring RESTful API of resources, acquiring information of a user and a managed person through the API, acquiring all information of the user or the managed person, and acquiring information of a certain user or the managed person through the API with an ID (identity); the client uses the RESTful API through a GET method of a $ http service of AngularJS;
(32) deleting a RESTful API of the resource, deleting the information of the user and the managed person through the API, deleting all the information of the user or the managed person, and deleting the information of a certain user or the managed person through the API with the ID; the client uses this RESTful API through the DELETE method of the $ http service of AngularJS;
(33) creating RESTful API of resources, and creating information of a certain user or a managed person through the API; the client uses the RESTful API through a POST method of a $ http service of AngularJS;
(34) a RESTful API for updating resources, which updates the information of the user and the managed person through the API, updates all the information of the user or the managed person, and updates the information of a certain user or a managed person through the API with an ID; the client uses this restful api through the PUT method of the $ http service of AngularJS.
2. The method for constructing the cloud service management system according to claim 1, wherein the step (1) specifically includes:
(11) the client side adopts Bootstrap and jQuery to construct and beautify a front-end page according to the specific requirements of the system, including the construction and beautification of each client side functional module, so that the user interactivity and friendliness are enhanced; utilizing AngularJS to design various controls and services to complete the business logic needed to be realized by the user;
(12) the server designs a database according to requirements, stores data required by the system, and adopts a back-end language to design RESTful API so that the client can access the data of the server; the server should undertake a large amount of data processing and analysis according to the specific requirements of the system, and avoid placing the server at the client so as to avoid the client from responding to blockage or slowness.
3. The method for constructing a cloud service management system according to claim 2, wherein the backend language in the step (12) is python, PHP or JAVA.
4. The method for constructing the cloud service management system according to claim 1, wherein the view layer in the step (23) is mainly some charts, and is implemented by Angular-chart.
CN201710428296.0A 2017-06-08 2017-06-08 Construction method of cloud service management system Expired - Fee Related CN107222542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710428296.0A CN107222542B (en) 2017-06-08 2017-06-08 Construction method of cloud service management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710428296.0A CN107222542B (en) 2017-06-08 2017-06-08 Construction method of cloud service management system

Publications (2)

Publication Number Publication Date
CN107222542A CN107222542A (en) 2017-09-29
CN107222542B true CN107222542B (en) 2020-08-11

Family

ID=59947358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710428296.0A Expired - Fee Related CN107222542B (en) 2017-06-08 2017-06-08 Construction method of cloud service management system

Country Status (1)

Country Link
CN (1) CN107222542B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110392068B (en) * 2018-04-17 2022-06-21 阿里巴巴集团控股有限公司 Data transmission method, device and equipment
CN109559258B (en) * 2018-10-24 2023-05-09 宁夏立思辰银山教育产业有限公司 Educational resource public service system
CN113841371B (en) * 2020-02-25 2024-01-09 华为云计算技术有限公司 Methods, systems, and computer readable media for integrating backend, instant services with online services
CN115827140B (en) * 2022-12-20 2024-03-12 北京基调网络股份有限公司 Method, device, equipment and storage medium for generating visual large screen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316128A (en) * 2010-06-29 2012-01-11 阿尔卡特朗讯 A kind ofly be used to generate network service method and device
CN104255007A (en) * 2011-09-29 2014-12-31 甲骨文国际公司 Oauth framework
CN104580446A (en) * 2014-12-29 2015-04-29 上海电机学院 Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform
CN105976034A (en) * 2016-03-02 2016-09-28 趣车网络科技(苏州)有限公司 Vehicle precision service platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9851952B2 (en) * 2014-09-25 2017-12-26 Oracle International Corporation Seamless restful API generation and consumption through a single channel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316128A (en) * 2010-06-29 2012-01-11 阿尔卡特朗讯 A kind ofly be used to generate network service method and device
CN104255007A (en) * 2011-09-29 2014-12-31 甲骨文国际公司 Oauth framework
CN104580446A (en) * 2014-12-29 2015-04-29 上海电机学院 Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform
CN105976034A (en) * 2016-03-02 2016-09-28 趣车网络科技(苏州)有限公司 Vehicle precision service platform

Also Published As

Publication number Publication date
CN107222542A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN107222542B (en) Construction method of cloud service management system
US9535726B2 (en) Reverse dependency injection in a system with dynamic code loading
US10055498B2 (en) Methods for assessing and scoring user proficiency in topics determined by data from social networks and other sources
US20160043967A1 (en) Demand policy-based resource management and allocation system
CN110019350A (en) Data query method and apparatus based on configuration information
KR101588592B1 (en) Hybrid application development system based on object relational mapping and the method thereof
US11314611B2 (en) Universal identity management or governance over applications
WO2020119540A1 (en) Group profile picture generation method and device
CN108108986B (en) A design method, device and electronic device for a customer relationship management system
CN103646091B (en) A kind of generation method and device of grid graph data
JP7639005B2 (en) Autonomous Terraforming on Cloud Infrastructure
JP2022021294A (en) Method and device for user communication in live broadcasting room, electronic apparatus, storage medium and computer program
US11334601B2 (en) Unified data model
CN102521024A (en) Job scheduling method based on bioinformation cloud platform
CN112486482A (en) Page display method and device
WO2016022925A2 (en) Policy based resource management and allocation system
CN105975489A (en) Metadata-based online SQL code completion method
Brown et al. The role of interactive super-computing in using hpc for urgent decision making
CN103399968B (en) A kind of micro-blog information acquisition method and system
CN108319722A (en) Data access method, device, electronic equipment and computer readable storage medium
CN111767149A (en) Scheduling method, device, equipment and storage equipment
US20230385525A1 (en) Web site preview generation with action control
CN117194463A (en) Method and device for inquiring report data
CN112579075B (en) Method and device for reconstructing homogeneous system
CN107749032A (en) A kind of topic management platform based on content analysis, method and device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200811

CF01 Termination of patent right due to non-payment of annual fee