CN106789872A - A kind of session shared mechanism design based on cloud service - Google Patents
A kind of session shared mechanism design based on cloud service Download PDFInfo
- Publication number
- CN106789872A CN106789872A CN201610993099.9A CN201610993099A CN106789872A CN 106789872 A CN106789872 A CN 106789872A CN 201610993099 A CN201610993099 A CN 201610993099A CN 106789872 A CN106789872 A CN 106789872A
- Authority
- CN
- China
- Prior art keywords
- session
- information
- cloud service
- service
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013461 design Methods 0.000 title claims abstract description 14
- 230000007246 mechanism Effects 0.000 title claims abstract description 10
- 230000004048 modification Effects 0.000 claims description 4
- 238000012986 modification Methods 0.000 claims description 4
- 238000013475 authorization Methods 0.000 claims description 2
- 238000000034 method Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003362 replicative effect Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1083—In-session procedures
- H04L65/1086—In-session procedures session scope modification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of session shared mechanism design based on cloud service, belong to cloud service technical field, managed with centralized session information, lifting session shared high reliability and availability;The session information structure design and open service interface of unified standard;Cloud service pattern provides the storage of session and accesses, and with the storage of the session of cloud service pattern and access, traditional application session management is manifested in the form of PaaS layers of basic public service.With the design concept of service, the form for managing open service by user conversation realizes that the user conversation between service centre's layer and Web application layers, each business domains Web applications is shared for design of the present invention based on cloud service session shared mechanism.
Description
Technical field
The present invention relates to internet data processing technology field, machine is shared in specifically a kind of session based on cloud service
Set up meter.
Background technology
Traditional Web application clusters increasing with clustered node, because of user conversation treatment, storage, distributes to each application
The resource consumption that session information is stored, distributed between the occupancy of system processor resource and memory source, each node or between application is tight
Weight, session information adaptation processing is various between each application caused by conversation format or information disunity between each application system, meeting
Words replicate the bottleneck problem as system.
The content of the invention
Technical assignment of the invention is directed to above weak point, there is provided a kind of session shared mechanism based on cloud service sets
Meter, the form for managing open service by user conversation realizes that service centre's layer and Web application layers, each business domains Web apply it
Between user conversation share.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of session shared mechanism design based on cloud service, is managed with centralized session information, and the shared height of lifting session can
By property and availability, in the form of serviceization, centrally stored, centralized management;The session information structure design of unified standard and
Open service interface, session information includes that user login information, personal user information, system of real name information, company information, enterprise award
User right before as, third-party application authorization message, active user represent company information, and provide session information extension and connect
Mouthful, session information extension demand is provided different service applications, all objects are all deposited with json data forms;Cloud service mould
Formula provide session storage with access, with the storage of the session of cloud service pattern with access, by traditional application session management with
The form of PaaS layers of basic public service manifests.
The shared conversational services open interface includes obtaining session, modification session, deletes three open interfaces of session.
A kind of session shared mechanism based on cloud service of the invention is designed compared to the prior art, with following beneficial effect
Really:
Shared in the form of serviceization, the centrally stored, centralized management, because the change of session turns to centralized place of user conversation
Reason, reduces storage between each node or between application, the resource consumption of distribution session information, is more suitable for being adapted to magnanimity use
Family high concurrent application scenarios, are more prone to realize the linear expansion of server resource and application architecture;
The session information structure of unified standard can reduce between each application system because conversation format or information disunity cause it is each
Using a session information adaptation processing expense, meanwhile, to meet the individualization session information Store of each application, session information structure
It is middle to provide customized information node to support.(Kzxx nodes in correspondence attribute), so that the cloud service session shared model of lifting
Autgmentability and adaptability;
The shared of user session information is realized using cloud open service pattern and manage, it is to avoid traditional Web application cluster meetings
Words replicate bottleneck problem, are the efficiently shared service for providing the foundation of session information between service centre, between center and application
Support.
Specific embodiment
With reference to specific embodiment, the invention will be further described.
A kind of session shared mechanism design based on cloud service, is managed with centralized session information, and lifting session is shared
High reliability and availability, it is considered under traditional application cluster deployment mode, with the increase of application node, the session between node
Replicating turns into systematic function bottleneck problem, shared in the form of serviceization, the centrally stored, centralized management of user conversation, because
The change of session turns to centralized processing, reduces storage between each node or between application, the resource consumption of distribution session information, more
Plus be suitable for being adapted to mass users high concurrent application scenarios, it is more prone to realize the linear expansion of server resource and application architecture
Exhibition;
The session information structure design and open service interface of unified standard, the session information structure of unified standard can be reduced respectively should
With session information adaptation processing expense between each application caused by conversation format or information disunity between system, meanwhile, it is full
The individualization session information Store of each application of foot, provides customized information node to support in session information structure.(Correspondence attribute
Middle kzxx nodes), so that the autgmentability and adaptability of the cloud service session shared model of lifting;Session information includes User logs in
Information, personal user information, system of real name information, company information, business licenses active user authority, third-party application mandate letter
Breath, active user represent company information, and provide session information expansion interface, and providing session information to different service applications expands
Exhibition demand, all objects are all deposited with json data forms;
The shared conversational services open interface includes obtaining session, modification session, deletes three open interfaces of session, specifically such as
Under:
Obtain session
Interface is summarized:Session object is obtained according to sessionId(The time-out time of the session can be refreshed after acquisition).
Method name:String getSession (String json)
Input information:
Sequence number | Parameter name | Chinese implication | Data type | Must fill out no | Remarks |
1 | sessionId | The session unique mark at session center | String | It is |
Output information:
The session information of JSON forms is returned to, referring to session information topology example.
Modification session
Interface is summarized:Session object is set to session center(Time-out time default setting is 30 minutes).
Method name:String setSession (String json)
Input information:
Sequence number | Parameter name | Chinese implication | Data type | Must fill out no | Remarks |
1 | Json | Session information | String | It is |
Specific form is referring to session information topology example.
Output information:
Sequence number | Parameter name | Chinese implication | Data type | Must fill out no | Remarks |
1 | Szjg | Result is set | Boolean | It is | True or false |
{
“szjg”:" setting result "
}
Delete session
Interface is summarized:To the deletion action of session information
Method name: String delSession (String json)
Input information:
Sequence number | Parameter name | Chinese implication | Data type | Must fill out no | Remarks |
1 | sessionId | The session unique mark at session center | String | It is |
{
“sessionId”:" the session unique mark at session center "
}
Output information:
Sequence number | Parameter name | Chinese implication | Data type | Must fill out no | Remarks |
1 | Scjg | Delete result | Boolean | It is | True or false |
{
“scjg”:" deletion result "
}
Cloud service pattern provides the storage of session and accesses, and is more adapted to the micro services framework with Internet era application innovation
Design, with the storage of the session of cloud service pattern with access, by traditional application session management with PaaS layer basis public service
Form manifests, and is conducive to upper layer application to be absorbed in service layer and innovates, and is conducive to the session between multiple applications under micro services framework
Shared treatment, so as to provide basic guarantee for the session after the upper cloud of tradition application and the fractionation of operation system serviceization is shared.
The specific steps embodiment of the method is as follows:
1st, conversation database Choosing Type Analysis
Conversation database is used to deposit session information, and KVStore open services are used on the public cloud of Ali, in government industry or
Enterprise's private clound selects Redis.Session center service provides corresponding parameter setting to support two kinds of conversation databases.
2nd, the estimation of computing resource machine
The portfolio of support is needed to estimate conversation database server and session center applications hardware according to shared conversational services
The demand of resource.
Hardware resource number of machines=(Existing overall support session amount * surplus coefficients)/ unit can process session amount
Dilatation number of machines=(Estimated overall support session amount * surplus coefficients)/ unit can process session amount-existing number of machines of cluster
Note:Unit can process session amount and can process session amount with reference to acquisition according to different configuration server units.
3rd, Redis Open Middlewares and session center applications are disposed
If from Redis, disposed according to Redis related deployment handbooks, existing basic public cloud/private clound it
On, the unified session center applications service of deployment configures related Redis Connecting quantities, and to other cloud service centers or upper strata
Application system open session is serviced.
4th, each application system configures unified single sign-on information in Web.xml, so that user session information is logged in into
First establishment after work(.
5th, other cloud service centers or upper layer application system can be sentenced by the conversational services interface access session information of agreement
Whether disconnected user logs in and concerned right information.
By specific embodiment above, the those skilled in the art can readily realize the present invention.But should
Work as understanding, the present invention is not limited to above-mentioned specific embodiment.On the basis of disclosed embodiment, the technical field
Technical staff can be combined different technical characteristics, so as to realize different technical schemes.
In addition to the technical characteristic described in specification, the known technology of those skilled in the art is.
Claims (2)
1. a kind of session shared mechanism design based on cloud service, it is characterised in that managed with centralized session information, lift meeting
Words shared high reliability and availability, in the form of serviceization, centrally stored, centralized management;The session letter of unified standard
Breath structure design and open service interface, session information include user login information, personal user information, system of real name information, enterprise
Industry information, business licenses active user authority, third-party application authorization message, active user represent company information, and provide meeting
Words Information expansion interface, provides different service applications session information extension demand, and all objects are all with json data forms
Storage;Cloud service pattern provides the storage of session and accesses, and with the storage of the session of cloud service pattern and access, tradition is applied
Session management is manifested in the form of PaaS layers of basic public service.
2. a kind of session shared mechanism design based on cloud service according to claim 1, it is characterised in that described shared
Conversational services open interface includes obtaining session, modification session, deletes three open interfaces of session.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610993099.9A CN106789872A (en) | 2016-11-11 | 2016-11-11 | A kind of session shared mechanism design based on cloud service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610993099.9A CN106789872A (en) | 2016-11-11 | 2016-11-11 | A kind of session shared mechanism design based on cloud service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106789872A true CN106789872A (en) | 2017-05-31 |
Family
ID=58973028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610993099.9A Pending CN106789872A (en) | 2016-11-11 | 2016-11-11 | A kind of session shared mechanism design based on cloud service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789872A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617953A (en) * | 2018-11-28 | 2019-04-12 | 亚信科技(南京)有限公司 | A kind of conversation processing method and system |
-
2016
- 2016-11-11 CN CN201610993099.9A patent/CN106789872A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617953A (en) * | 2018-11-28 | 2019-04-12 | 亚信科技(南京)有限公司 | A kind of conversation processing method and system |
CN109617953B (en) * | 2018-11-28 | 2021-08-31 | 亚信科技(南京)有限公司 | Session processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107066319B (en) | Multi-dimensional scheduling system for heterogeneous resources | |
CN104461740B (en) | A kind of cross-domain PC cluster resource polymerization and the method for distribution | |
CN107066867A (en) | A kind of big data cluster resource allocation methods and device | |
CN103546571B (en) | Platform-as-a-service (PaaS) realizing method and device | |
US8005498B2 (en) | Mobile group data distribution | |
CN107181808A (en) | A kind of privately owned cloud system and operation method | |
US8762505B2 (en) | Definition configuration and administration of distributed server systems through structured data model | |
CN105809356A (en) | Information system resource management method based on application integrated cloud platform | |
CN107864222A (en) | A kind of industrial big data computing architecture based on PaaS platform | |
CN107612959A (en) | A kind of cloud service platform based on cloud micro services Self management | |
SG181548A1 (en) | Delegated and restricted asset-based permissions management for co-location facilities | |
CN106657314A (en) | Cross-data center data synchronization system and method | |
CN101360123B (en) | Network system and management method thereof | |
CN108833464A (en) | Confederate state's formula multiple domain Internet of Things cooperative system and method, smart city, smart home | |
US8375009B2 (en) | Scalable and extensible framework for data-driven web services | |
CN110071965A (en) | A kind of data center management system based on cloud platform | |
CN105007311A (en) | System and method for resource management based on cloud platform and cloud computing | |
CN106453618A (en) | Remote sensing image processing service cloud platform system based on G-Cloud cloud computing | |
CN108011919A (en) | A kind of objective platform of Internet of Things wound based on cloud Internet of Things technology | |
Yin et al. | JTangCSB: A cloud service bus for cloud and enterprise application integration | |
CN106921721A (en) | A kind of server, conversation managing method and system | |
CN104780202A (en) | End-to-end cloud service database virtualization and management framework and method | |
CN109120445A (en) | A kind of network log data synchronous system and method | |
CN100396002C (en) | System and method for identifying authority using relative inquire | |
Huo et al. | A blockchain-enabled trusted identifier co-governance architecture for the industrial internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170531 |
|
WD01 | Invention patent application deemed withdrawn after publication |