Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and server for preventing repeated submission of data

A technology for data repetition and repeated submission, which is applied in the field of web application systems to achieve the effect of removing dependencies and preventing repeated data submission

Active Publication Date: 2017-11-14
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the existing methods for preventing repeated submission of data have certain usage restrictions because they must rely on the Session mechanism

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
  • A method and server for preventing repeated submission of data
  • A method and server for preventing repeated submission of data
  • A method and server for preventing repeated submission of data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] In this embodiment, based on the Cookie mechanism and the caching mechanism, the repeated submission of web page data is prevented. This embodiment may include two stages: the user enters the webpage and submits the webpage. like Figure 4 It is a flow chart of the implementation of the user entering the web page stage in this embodiment, Figure 5 It is an implementation flowchart of the stage of user submitting a webpage in this embodiment. The above two stages are described below.

[0059] Phase 1: The user enters the page. like Figure 4 shown, including the following steps:

[0060] Step 401: The user enters the page.

[0061] Step 402: the server inquires whether there is an identity of the current webpage in the current session in the Cookie of the current page, if not, then generates the identity of the current webpage in the current session, saves the identity into the Cookie of the current page, and The cookie is sent to the client; if there is, the coo...

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 present invention proposes a method and server for preventing repeated submission of data, wherein the method includes: generating an identity, a token (Token) and a token name (TokenName) corresponding to the current web page, storing the combination of the identity and TokenName and the Token The corresponding relationship; send the identity, Token and TokenName to the client; receive the webpage data submission request from the client, obtain the identity, Token and TokenName from the webpage data submission request; find out whether the identity is saved The Token corresponding to the combination of TokenName, if yes, then judge whether the Token obtained from the web page data submission request is consistent with the found Token, and if consistent, delete the found Token and its corresponding identity Combination with TokenName. The present invention can prevent repeated submission of data without relying on the session (Session) mechanism.

Description

technical field [0001] The invention relates to the technical field of Web application systems, in particular to a method and server for preventing repeated submission of data. Background technique [0002] In today's web application systems, there are some important operations, such as submitting an application or making an online banking payment. These operations may cause repeated data submissions due to network delays, application system service timeouts, or other reasons. At present, most web application systems either develop their own or use open source frameworks to prevent repeated data submissions. [0003] Currently, the implementation method of preventing data duplication submission is as follows: [0004] first stage, such as figure 1 As shown, after the user enters the web page, the web application system generates a session (Session) for each user, generates a token (Token) corresponding to the session, and saves the Token; at the same time, the web applicat...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 赵天明
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD