Obtaining method and device for context information of user

A context and user technology, applied in the Internet field, can solve problems such as inconvenient use, loss of user context information, easy omission and error in passing parameters, etc.

Active Publication Date: 2017-03-29
ALIBABA GRP HLDG LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Obtaining the current operating user in the system is a very common scenario. In web applications, user session information is generally saved by means of website cache (cookie) or session (session) sharing, but in a mesh distributed system , especially on the business (Service) side, the user's context information is lost
[0003] In the prior art, when performing database (Da

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
  • Obtaining method and device for context information of user
  • Obtaining method and device for context information of user
  • Obtaining method and device for context information of user

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are only for explaining the present application, and should not be construed as limiting the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents falling within the spirit and scope of the appended claims.

[0021] figure 1 It is a flowchart of an embodiment of the method for obtaining user context information in this application. this application figure 1 The method for obtaining user context information provided by the illustrated embodiment is applied in a distributed system, and the above-mentioned distributed system includes a webpage application server,...

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 provides an obtaining method and device for context information of a user. The obtaining method for the user context information is applied to a distributed system. The distributed system comprises a webpage application server, remote procedure call protocol middleware and a service application server. The method comprises the steps of receiving a remote call request of the service application server; sending a context search request to a context manager, thereby enabling the context manager to obtain the context information of a current operation user from thread local of the service application server; and receiving the context information of the current operation user sent by the context manager. According to the method and the device, the context information of the current operation user can be obtained at the service application server side in the distributed system, the reusability of a service application can be increased, and the inconvenience resulting from displaying and transmitting the context information of the user in interface parameters and a data error resulting from missing parameters can be avoided.

Description

technical field [0001] The present application relates to the field of Internet technologies, and in particular to a method and device for acquiring user context information. Background technique [0002] Obtaining the current operating user in the system is a very common scenario. In web applications, user session information is generally saved by means of website cache (cookie) or session (session) sharing, but in a mesh distributed system , especially on the business (Service) side, the user's context information is lost. [0003] In the prior art, when performing database (Database; hereinafter referred to as: DB) operations on the Service, the application side usually explicitly sets or transmits the context information of the operating user in the parameters of the interface, but the above method is not only repetitive and cumbersome, but also It is easy to miss and make mistakes in the process of passing parameters, which is very inconvenient to use. Contents of 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/08
CPCH04L67/02H04L67/10H04L67/60
Inventor 许家强
Owner ALIBABA GRP HLDG LTD
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