Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed operation method and device of stateless system

A state system, distributed technology, applied in the direction of transmission system, multi-program device, inter-program communication, etc., can solve the problems of system statelessness, abandon user state management and maintenance, etc., achieve both maintenance and management, and expand application scenarios Effect

Active Publication Date: 2020-01-07
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the system is stateless, which means that the system gives up the management and maintenance of user state

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
  • Distributed operation method and device of stateless system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] While the invention may be embodied in various forms, some exemplary and non-limiting embodiments are shown in the drawings and will be described below, it should be understood that the disclosure is to be considered as an example of the invention and not It is intended that the invention be limited to the specific embodiments described.

[0037] figure 1 A schematic block diagram of an embodiment of a method for distributed operation of a stateless system according to the present invention is shown. In the illustrated embodiment, the method at least includes the following steps:

[0038] S1: Receive the user's login information and perform login verification;

[0039] S2: In response to passing the login verification, store the user status string generated according to the login information into the shared memory of the stateless system;

[0040] S3: In response to the task request initiated by the user, query the user status string from the shared memory in the cor...

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 distributed operation method of a stateless system, which comprises the following steps: receiving login information of a user, and carrying out login verification; in response to login verification passing, storing a user state character string generated according to the login information into a shared memory of the stateless system; in response to a task request initiated by a user, querying a user state character string from the shared memory in a corresponding process, and verifying request legality of the user according to a query result; and in response to thatthe request validity of the user passes the verification, executing the task in the process according to the corresponding request. By utilizing the method provided by the invention, after a user initiates a task request, each distributed process in the system can maintain the user state, and the maintenance and management of the system on the user state are considered on the premise of keeping the advantage that the stateless system supports distribution and multithreading.

Description

technical field [0001] The invention relates to the technical field of operating system security. The present invention further relates to a method and device for distributed operation of a stateless system. Background technique [0002] The traditional system relies on the session session to establish the context and maintain the user status. After the user logs in, the login context is established. After that, all the user's requests are linked to the context established by the user login through the session. However, sessions are stored locally and cannot support distributed processes or concurrent programs. Session is disabled in the stateless system, the context is no longer established after the user logs in, and the program itself no longer stores the user's information. For each request after login, the program itself does not know the user's information. Since the system's support for distributed and concurrency has become a common appeal, more and more systems a...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/31G06F9/54H04L29/06
CPCG06F9/544G06F21/31H04L63/08
Inventor 张彬
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products