Web-based cloud service providing method and system and storage medium

A cloud service and server-side technology, applied in the transmission system, digital transmission system, data exchange network, etc., can solve the problems of potential safety hazards, access to cloud services, attacks, etc., and achieve the effect of reducing the risk of intrusion

Pending Publication Date: 2021-11-09
济南浪潮数据技术有限公司
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The cloud platform does not allocate a public network IP for the cloud service, so the network between the service and the terminal user is isolated, and the user cannot access the cloud service by connecting to a certain IP or port through the web
However, if the cloud platform allocates public network IPs for cloud services, so that users can obtain cloud services through the web, there are still some problems: on the one hand, cloud services are directly exposed to the Internet, which has potential security risks, and is easy to be attacked or even invaded by hackers using cloud service ports To the data center of the cloud platform, on the other hand, if a large number of public network IPs are allocated for cloud services, a large number of public network IPs need to be occupied, and the cost of providing cloud services is high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Web-based cloud service providing method and system and storage medium
  • Web-based cloud service providing method and system and storage medium
  • Web-based cloud service providing method and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] refer to figure 1 As shown, this embodiment provides a web-based cloud service providing method, including:

[0060] S100. Create a connection between a web client and an agent, so that the web client obtains a corresponding token from the agent.

[0061] In the specific implementation process, refer to figure 2 As shown, creating a connection between the web client and the agent, so that the web client obtains the corresponding token from the agent includes:

[0062] S101, establishing a TCP connection between the web client and the agent;

[0063] S102, using the TCP connection between the web client and the agent, the user sends a login request based on the http protocol to the agent through the web client, and the login request includes a username and password for identity verification;

[0064] S103, the agent receives the login request to obtain a username and password, and checks whether the username and password are correct in response to the login request, ...

Embodiment 2

[0096] refer to Figure 6 As shown, this embodiment provides a system for providing cloud services, including: a web client, the web client is connected to an agent, and the agent is connected to a server; wherein,

[0097] The web client is configured with a cloud service connection creation request module, and the cloud service connection creation request module is used to initiate a cloud service connection creation request to the agent, and the agent generates a corresponding random response ID according to the cloud service connection creation request and Feedback to the web server;

[0098] The web client is configured with a websocket configuration module, the websocket configuration module is configured to use the random response ID to configure a target url, and the websocket configuration module sends a handshake request to the agent.

[0099] Described agent end configures the first authority identification module, and described first authority identification modul...

Embodiment 3

[0109] This embodiment provides a storage medium for implementing a web-based cloud service providing method, wherein the storage medium for implementing a web-based cloud service providing method stores at least one instruction, and executing the instruction implements the web-based cloud service providing method .

[0110] The web-based cloud service providing method provided by this application connects web clients such as common browsers to the agent, controls the web client to send a cloud service connection creation request to the agent, and the agent is directed to the web client. The cloud service requested in the cloud service connection creation request sent by the terminal generates a random access ID, and the agent returns the random access ID to the corresponding web client, and the corresponding web client uses the random access ID to configure the target url of the websocket, And shake hands with described agent end to realize websocket connection; Can realize t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a web-based cloud service providing method and system and a storage medium. The method comprises the steps that a web client sends a cloud service connection creation request to a proxy end, wherein the cloud service connection creation request comprises a token and a requested cloud service; the agent side responds to the cloud service creating request and checks whether the web client side has the authority of the requested cloud service according to a corresponding token, if yes, a unique random access ID is generated for the requested cloud service, and the corresponding relation between the IP and the port used by the requested cloud service and the generated random access ID is recorded; the random access ID is fed back to the corresponding web client; the web client constructs a target url by using the received random access ID and establishes a websocket connection with the proxy in a handshake manner; and the proxy end determines the requested cloud service according to the random access ID and connects the IP and the port of the requested cloud service. By applying the method and the device, the cloud service provided by the server can be safely accessed through web clients such as a browser and the like.

Description

technical field [0001] The present application relates to the field of cloud service provision of cloud platforms, in particular to a web-based cloud service provision method, system and storage medium. Background technique [0002] The cloud platform composed of the data center uses the configured distributed storage, resource scheduling and virtualization technology to provide its own powerful computing resources and various cloud services to users. Users use the cloud services provided by the cloud platform to serve their own business without having to spend energy The development of costly basic services is conducive to improving the efficiency of completing business and reducing costs. [0003] The cloud platform provides various cloud services, such as Mysql database service, Rabbitmq message queue service and so on. Users who want to use the services of the cloud platform often also configure the corresponding client locally. The user logs in to the cloud platform th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08H04L9/32H04L29/06H04L12/24
CPCH04L67/02H04L9/3213H04L63/083H04L41/0803Y02D30/50
Inventor 王旭东李宪状郭涛
Owner 济南浪潮数据技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products