Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Data storage method and device

A data storage device and data storage technology, which is applied in the field of data processing, can solve problems such as cookie scope conflicts and program exceptions, and achieve the effect of low cost and avoiding cookie scope conflicts

Inactive Publication Date: 2016-07-27
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as the size of the company grows, there will be more and more web subsystems supporting the company's operation and business, and these web subsystems are often deployed under the same parent domain name of the company, which may lead to the emergence of two subsystems. The phenomenon of cookie scope conflict
For example: Suppose there are two subsystems as follows, Web subsystem A, domain name a.company.com, need to write a cookie named foo and value value to domain name company.com, path / , the user visits subsystem A, After receiving the cookie written by subsystem A, the user then visits subsystem B, but since b.company.com is a subdomain name of company.com, the browser sends the cookie belonging to subsystem A to subsystem B, and the System B reads data that does not belong to this system, causing an exception in the program

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
  • Data storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0070] In related technologies, the http protocol (HyperTextTransfer Protocol, hypertext transfer protocol) is stateless, and each http request is independent of each other. The role of cookies (sometimes also in its plural form Cookies, which refers to the data stored on the user's local terminal by some websites in order to identify the user's identity and track the session) is to st...

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 discloses a data storage method and device. The method comprises the following steps: obtaining a received Cookie record to be stored; comparing the Cookie record to be stored with a prestored Cookie record to judge whether the action scope of the Cookie record to be stored and the action scope of the prestored Cookie record mutually conflict or not; and according to a judgment result, determining whether the Cookie record to be stored is stored or not. The technical scheme can compare the Cookie record to be stored with the prestored Cookie record to automatically and accurately judge whether the action scope of the Cookie record to be stored and the action scope of the prestored Cookie record mutually conflict or not so as to avoid a phenomenon that the action scopes of Cookie conflict by extremely low cost.

Description

technical field [0001] The present disclosure relates to the technical field of data processing, and in particular, to a data storage method and device. Background technique [0002] In related technologies, the http protocol (HyperTextTransfer Protocol, hypertext transfer protocol) is stateless, and each http request is independent of each other. The role of cookies (sometimes also in its plural form Cookies, which refers to the data stored on the user's local terminal by some websites in order to identify the user's identity and track the session) is to store the user's status data on the client. Every time an http request is sent to the server, the server learns the status of the client by parsing the cookie data. However, as the size of the company grows, there will be more and more web subsystems supporting the company's operation and business, and these web subsystems are often deployed under the same parent domain name of the company, which may lead to the emergence ...

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): G06F17/30
CPCG06F16/958
Inventor 周瑞晓聂杰峰吕颜良
Owner BEIJING XIAOMI MOBILE SOFTWARE CO 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
Eureka Blog
Learn More
PatSnap group products