CN104184832A - Data submitting method and device in network application - Google Patents

Data submitting method and device in network application Download PDF

Info

Publication number
CN104184832A
CN104184832A CN201410459597.6A CN201410459597A CN104184832A CN 104184832 A CN104184832 A CN 104184832A CN 201410459597 A CN201410459597 A CN 201410459597A CN 104184832 A CN104184832 A CN 104184832A
Authority
CN
China
Prior art keywords
user
request
network
described user
network address
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.)
Granted
Application number
CN201410459597.6A
Other languages
Chinese (zh)
Other versions
CN104184832B (en
Inventor
孙德彬
冯鸳鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410459597.6A priority Critical patent/CN104184832B/en
Publication of CN104184832A publication Critical patent/CN104184832A/en
Application granted granted Critical
Publication of CN104184832B publication Critical patent/CN104184832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a data submitting method and device in a network application. The data submitting method comprises the steps that a user request is received, wherein the user request is used for requesting network data submitting; a first network address is obtained, wherein the first network address is the address corresponding to the user request; a network session identification corresponding to the user request is obtained; Hash calculation is carried out based on the first network address and the network session identification, and a first Hash value is generated; whether a Hash value equal to the first Hash value is stored in a queue or not is judged within the preset time, wherein the Hash value corresponding to network data submitted in advance is stored in the queue; if it is determined that the Hash value equal to the first Hash value is stored in the queue within the preset time, the user request is rejected to submit the network data. According to the data submitting method and device in the network application, the problems that requests are repeatedly submitted and expanding performance is poor are solved by means of a server side.

Description

Data commit method and device in network application
Technical field
The present invention relates to data processing field, in particular to data commit method and device in a kind of network application.
Background technology
The reason that the request of generation repeats to submit to has two kinds conventionally: the one, and operate miss; The 2nd, the system processing time, the long user of making did not know this what to do.It is to be also cumbersome the more common while that request repeats to submit in web application, and user sometimes can repeat click on submission button, can cause repeatedly asking submitting to, produces the problems such as repeating data or application error.But some occasion repeats to submit to and may cause very serious consequence, for example, in carrying out on-line payment, if the response speed of server is too slow, user's click on submission button again unavoidably, and this just likely causes user to repeat payment.
The problem that currently available technology repeats to submit to for request verifies by front bringing in often, and still, it is dangerous or insecure utilizing client to realize that the request of preventing repeats to submit to, is easy to be tampered.For example, submission of sheet complete after forbidding submit button or jump to other pages etc.It is reliable utilize server end to realize preventing from asking to repeat to submit to, synchronous token method is by coordinating alternately the request of preventing to repeat to submit to client, its general principle is: server end is before processing the request arriving, the token value comprising in request and the token value being kept in active user's session can be compared, see and whether mate.Handling after this request, and before answer sends to client, will produce a new token, this token, except passing to client, also can be replaced the old token of preserving in user conversation.If user return back to the submission page just now and again submits to like this, client just passes the token of coming and the token of server end inconsistent, thereby effectively prevented from repeating the generation of submission.But the expansion of synchronous token method is poor.
Repeat for utilizing service end to realize the request of preventing in correlation technique the problem of submitting to expansion poor, not yet propose at present effective solution.
Summary of the invention
Main purpose of the present invention is to provide data commit method and the device in a kind of network application, utilizes service end realization to prevent that request from repeating the problem of submitting to expansion poor to solve.
To achieve these goals, according to an aspect of the present invention, provide the commit method of the data in a kind of network application.The method comprises: receive user's request, this user's request is used for asking to submit to network data; Obtain first network address, wherein, first network address is that above-mentioned user asks corresponding address; Obtain user and ask corresponding BlueDrama mark; Carry out Hash calculation based on first network address and BlueDrama mark, generate the first cryptographic Hash; In Preset Time, judge in queue whether store the cryptographic Hash identical with the first cryptographic Hash, wherein, this queue stores has cryptographic Hash corresponding to network data of submitting in advance; And if in Preset Time, store the cryptographic Hash identical with the first cryptographic Hash in queue, submission network data refuses user's request.
Further, obtaining user asks corresponding BlueDrama mark to comprise: judge that user asks corresponding user's state; If user asks corresponding user's state for logging in state, user's mark is identified as BlueDrama; If it is visitor's state that user asks corresponding user's state, the network address of the client of user's login is identified as BlueDrama.
Further, obtain in the following manner Preset Time: search configuration file, configuration file is for storage networking address and the corresponding relation of time; From configuration file, search time corresponding to first network address, and using the time finding as Preset Time.
Further, user request is filtered at Web portal place, comprising: obtain set in advance repeat to submit to Rule of judgment; Judge that user asks the whether satisfied Rule of judgment that repeats to submit to; Wherein, repeat to submit to Rule of judgment if user asks to meet, refuse user's request, if user asks discontented lumping weight to submit again Rule of judgment to, receive user's request.
Further, obtaining repeating of setting in advance submits to Rule of judgment to comprise: the record that obtains pre-stored customer access network address; Judge user accesses network address whether again in Preset Time; Wherein, if user accesses network address again in Preset Time, refusal user's request; If user does not have accesses network address again in Preset Time, receive user's request.
To achieve these goals, according to a further aspect in the invention, provide the data in a kind of network application to submit device to.This device comprises: receiver module, and for receiving user's request, this user's request is used for asking to submit to network data; The first acquisition module, for obtaining first network address, wherein, first network address is that user asks corresponding address; The second acquisition module, asks corresponding BlueDrama mark for obtaining user; Computing module, for carrying out Hash calculation based on first network address and BlueDrama mark, generates the first cryptographic Hash; The first judge module, for judging in Preset Time whether queue stores the cryptographic Hash identical with the first cryptographic Hash, wherein, queue stores has cryptographic Hash corresponding to network data of submitting in advance; And refusal module, if store the cryptographic Hash identical with the first cryptographic Hash for queue in Preset Time, submission network data refuses user's request.
Further, the second acquisition module comprises: the second judge module, for judging that user asks corresponding user's state; First arranges module, if ask corresponding user's state for logging in state for user, user's mark is identified as BlueDrama; Second arranges module, is visitor's state if ask corresponding user's state for user, the network address of the client of user's login is identified as BlueDrama.
Further, the data in this network application submit to device also to comprise: first searches module, and for searching configuration file, configuration file is for storage networking address and the corresponding relation of time; Second searches module, for searching from configuration file time corresponding to first network address, and using the time finding as Preset Time.
Further, data in this network application submit to device also to comprise: the 3rd acquisition module, for obtain set in advance repeat to submit to Rule of judgment; The 3rd judge module, repeats to submit to Rule of judgment for judging that user asks whether to meet; Wherein, repeat to submit to Rule of judgment if user asks to meet, refuse user's request; If user asks discontented lumping weight to submit again Rule of judgment to, receive user's request.
Further, the 3rd acquisition module comprises: the 4th acquisition module, for obtaining the record of pre-stored customer access network address; Whether again the 4th judge module, for judging user accesses network address in Preset Time; Wherein, if user accesses network address again in Preset Time, refusal user's request; If user does not have accesses network address again in Preset Time, receive user's request.
The present invention adopts the user's request that receives, and this user's request is used for asking to submit to network data; Obtain first network address; Obtain user and ask corresponding BlueDrama mark; Carry out Hash calculation based on first network address and BlueDrama mark, generate the first cryptographic Hash; In Preset Time, judge in queue whether store the cryptographic Hash identical with the first cryptographic Hash, wherein, this queue stores has cryptographic Hash corresponding to network data of submitting in advance; And if in Preset Time, store the cryptographic Hash identical with the first cryptographic Hash in queue, submission network data refuses user's request.The present invention utilizes judgement that the time asks to repeat to submit to solve to utilize service end to realize the request of preventing and repeats the problem of submitting to expansion poor, and then has reached the request of can either preventing and repeat to submit to, can improve again the effect of expansion.
Brief description of the drawings
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the first embodiment of the data commit method in network application according to the present invention;
Fig. 2 is the flow chart that service end is asked the second embodiment filtering at Web portal place to client user according to the present invention;
Fig. 3 is the schematic diagram that the data in network application are submitted the first embodiment of device to according to the present invention; And
Fig. 4 is the schematic diagram that the data in network application are submitted the second embodiment of device to according to the present invention.
Embodiment
It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Fig. 1 is the flow chart of the first embodiment of the data commit method in network application according to the present invention.As shown in Figure 1, the data commit method in this network application comprises that following step S101 is to step S106:
Step S101, receives user's request, and user's request is used for asking to submit to network data.
Network data is submitted in user's request request of being mainly used in that service end receives to, and this user request information comprises user profile, the content of user's request, requesting method etc.Requesting method GET and HEAD are supported by the general webserver, and other requesting methods are normally optional.GET method is fetched request resource identification information, and for example, in the time of browser address bar input network address accessed web page, browser adopts GET method to obtain Internet resources to server.HEAD method is also to fetch request resource identification information, is in the time of response, not return messages body.POST method can receive the entity information being included in request by request server, can, for submission form, send message etc. to database.
Step S102, obtains first network address, and wherein, first network address is that user asks corresponding address.
In the time of user's request access webpage, the address of the webpage of server end meeting automatic acquisition user access.First network address is that user asks corresponding web page address.Obtaining user, to ask corresponding web page address be in order to utilize this network address and user to ask corresponding BlueDrama mark to carry out Hash calculation.In addition, obtaining user, to ask corresponding address be in order to determine the Preset Time corresponding with this web page address according to the content of the business of the webpage of user access or user's request, the present invention preferably Preset Time corresponding to different web pages network address is set to difference, for example, for on-line payment webpage, what its corresponding Preset Time need to be arranged is very long, and the request of so just preventing repeats to submit to cause to repeat payment problem.For generic web page, such as user's enrollment page, the Preset Time that its corresponding Preset Time can be more corresponding than on-line payment webpage is shorter a little.
Preferably, user is asked the corresponding network address by the present invention, and in configuration file in the corresponding Preset Time storage in this address and server, server manages the Preset Time of each network address by this configuration file.
Preferably, ask the corresponding Preset Time in corresponding first network address to obtain in the following manner with user: search configuration file, configuration file is for storage networking address and the corresponding relation of time; From configuration file, search time corresponding to first network address, and using the time finding as Preset Time.
Step S103, obtains user and asks corresponding BlueDrama mark.
Obtaining user, to ask corresponding BlueDrama mark be in order to ask the corresponding network address to carry out Hash with user this network identity, and then reach the object of distinguishing user's request and differentiation user and ask the network address of accessing.
Preferably, in the embodiment of the present invention, obtaining user, to ask corresponding BlueDrama mark be by judge that user asks corresponding user's state definite.If user asks corresponding user's state for logging in state, user's mark is identified as BlueDrama; If it is visitor's state that user asks corresponding user's state, the network address of the client of user's login is identified as BlueDrama.
Step S104, carries out Hash calculation based on first network address and BlueDrama mark, generates the first cryptographic Hash.
Obtaining after user asks corresponding first network address and BlueDrama mark, the two is carried out to Hash calculation, generate the first cryptographic Hash.Hash is exactly the output that the input of random length is transformed into regular length by hashing algorithm, and this output is exactly hashed value.This conversion is a kind of compressing mapping, and the space of hashed value is conventionally much smaller than the space of input, and different inputs may hash to identical output.Ask corresponding first network address and BlueDrama mark to carry out Hash user, be conducive to save server space, and can conveniently judge the different user of access consolidated network address, or the different web sites of same user access.
Step S105 judges in queue whether store the cryptographic Hash identical with the first cryptographic Hash in Preset Time, and wherein, queue stores has cryptographic Hash corresponding to network data of submitting in advance.
The queue here refers to expired automatic disappearance queue of time, and in queue, the super multiple preset time of cryptographic Hash of original storage will disappear automatically, and wherein, the time refers to the Preset Time corresponding with the network address of user's request.The BlueDrama mark of each user's request receiving (can be user's mark, also can be the network address of the client logined of user) all will ask the corresponding network address to carry out Hash with user, the cryptographic Hash of gained will store with this queue in.
Step S106, if store the cryptographic Hash identical with the first cryptographic Hash in queue in Preset Time, submission network data refuses user's request.
If there is the cryptographic Hash identical with the first cryptographic Hash in queue in Preset Time, prove that user asks to repeat to submit in Preset Time, server will be refused this user and ask to submit to network data; If there is not the cryptographic Hash identical with the first cryptographic Hash in queue in Preset Time, prove that user asks not repeat to submit in Preset Time, server will receive this user request, and receives this user and ask the data that will submit to transfer to other modules of server to process accordingly.
By ask the corresponding network address that different Preset Times is set to user, the first cryptographic Hash that Hash gained is carried out in the BlueDrama mark of the new user's request receiving of judgement and corresponding first network address in Preset Time whether with queue in the cryptographic Hash that existed identical, if identical, prove that user's request repeats to submit in Preset Time, server is refused this user and is asked to submit to data; If to carry out the cryptographic Hash that existed in the first cryptographic Hash of Hash gained and queue not identical the BlueDrama mark of the new user's request receiving and corresponding first network address in Preset Time, so the BlueDrama mark of the user request newly receiving is carried out in the first cryptographic Hash storage and queue of Hash gained with corresponding first network address, and this first cryptographic Hash exceedes Preset Time and will automatically disappear.
Data commit method in network application of the present invention adopts the user's request that receives, and this user's request is used for asking to submit to network data; Obtain first network address, wherein, first network address is that above-mentioned user asks corresponding address; Obtain user and ask corresponding BlueDrama mark; Carry out Hash calculation based on first network address and BlueDrama mark, generate the first cryptographic Hash; In Preset Time, judge in queue whether store the cryptographic Hash identical with the first cryptographic Hash, wherein, this queue stores has cryptographic Hash corresponding to network data of submitting in advance; And if store the cryptographic Hash identical with the first cryptographic Hash in queue in Preset Time, submission network data refuses user's request, by Preset Time corresponding to configuration file management heterogeneous networks address, according to this Preset Time server, user's request is repeated to submit to judgement, solve and utilized service end realization to prevent that request from repeating the problem of submitting to expansion poor, utilize the method can prevent that request from repeating to submit to, and the method have good expansion.
Fig. 2 is the flow chart that service end is asked the second embodiment filtering at Web portal place to client user according to the present invention.As shown in Figure 2, the data commit method in this network application filters at Web portal place client user request, specifically comprises that following step S201 is to step S204:
Step S201, obtain set in advance repeat to submit to Rule of judgment.
Server end carries out the overall situation in the porch of network to user's request of client and filters.In Asp.net, can use HttpModule to expand, if can expand with Filter with Asp.net MVC, other language similarly.All user's requests in Asp.net client all need to process through HttpModel, are expanded and can be realized all user's requests of intercepting and capturing by HttpModel.
Preferably, in the present invention, obtaining repeating of setting in advance submits to Rule of judgment to comprise:
Obtain the record of pre-stored customer access network address.If user accesses this network address for the first time, by user's visit information storage first and queue, and from configuration file, search the Preset Time corresponding with this network address.Judge user accesses network address whether again in Preset Time.Wherein, if user again accesses this network address in Preset Time, server detects the Visitor Logs that has this user, and server will be refused user's request, returns to Client-Prompt information, informs that user asks to repeat to submit to.Access this network address if user exceedes Preset Time, server can't detect user's Visitor Logs, and server will receive this user's request, gives other modules and processes, and this user's Visitor Logs is stored in queue by this user's request.
Step S202, judges that user asks the whether satisfied Rule of judgment that repeats to submit to.
Step S203, repeats to submit to Rule of judgment if user asks to meet, and refuses user's request.
Step S204, if user asks discontented lumping weight to submit again Rule of judgment to, receives user's request.
Data commit method in network application of the present invention repeats to submit to Rule of judgment by request is set, according to request repeat to submit to Rule of judgment server at Web portal place all users' requests to client filter, adopt obtain set in advance repeat to submit to Rule of judgment; Judge that user asks the whether satisfied Rule of judgment that repeats to submit to; Repeat to submit to Rule of judgment if user asks to meet, refuse user's request; If user asks discontented lumping weight to submit again Rule of judgment to, receive user's request, solve and utilized service end realization to prevent that request from repeating the problem of submitting to expansion poor, reach the request of preventing and repeated to submit to, ensure the effect of good expansion.
As can be seen from the above description, the present invention has realized following technique effect:
Data commit method in network application of the present invention adopts the cryptographic Hash of asking corresponding BlueDrama mark and first network address to carry out storing in the first cryptographic Hash that Hash obtains and queue user to judge, if the first cryptographic Hash is identical with the cryptographic Hash of storing in queue in Preset Time, illustrate that user asks to repeat to submit to, server end is refused this user and is asked to submit to network data; If the first cryptographic Hash is not identical with the cryptographic Hash of storing in queue in Preset Time, server receives this user's request.The present invention utilizes the time to judge, repeats to submit to filter at server end, has good expansion.
It should be noted that, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the flow chart of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
According to embodiments of the invention, provide the data in a kind of network application to submit device to.Fig. 3 is the schematic diagram that the data in network application are submitted the first embodiment of device to according to the present invention, as shown in Figure 3, data in this network application submit to device to comprise: receiver module 10, the first acquisition module 20, the second acquisition module 30, computing module 40, the first judge modules 50 and refusal module 60.
Receiver module 10, for receiving user's request, this user's request is used for asking to submit to network data;
The first acquisition module 20, for obtaining first network address, wherein, first network address is that user asks corresponding address;
The second acquisition module 30, asks corresponding BlueDrama mark for obtaining user;
Computing module 40, for carrying out Hash calculation based on first network address and BlueDrama mark, generates the first cryptographic Hash;
The first judge module 50, for judging in Preset Time whether queue stores the cryptographic Hash identical with the first cryptographic Hash, wherein, queue stores has cryptographic Hash corresponding to network data of submitting in advance;
Refusal module 60, if store the cryptographic Hash identical with the first cryptographic Hash for queue in Preset Time, submission network data refuses user's request.
Preferably, the data in this network application submit to the second acquisition module 30 in device to comprise: the second judge module, for judging that user asks corresponding user's state; First arranges module, if ask corresponding user's state for logging in state for user, user's mark is identified as BlueDrama; Second arranges module, is visitor's state if ask corresponding user's state for user, the network address of the client of user's login is identified as BlueDrama.
Data in network application of the present invention submit to device to comprise receiver module 10, the first acquisition module 20, the second acquisition modules 30, computing module 40, the first judge modules 50 and refusal module 60.By this device, the invention solves service end and prevent that request from repeating the problem of submitting to expansion poor, not only can prevent that user from asking to repeat to submit to network data, can also prevent from that user's malice from pouring water to wait certain period to repeat the filtration of submission.
Fig. 4 is the schematic diagram that the data in network application are submitted the second embodiment of device to according to the present invention, as shown in Figure 4, data in this network application submit to device to comprise: receiver module 10, the first acquisition module 20, the second acquisition modules 30, computing module 40, the first judge module 50, refusal module 60, the first is searched module 70, second searches module 80, the three acquisition modules 90 and the 3rd judge module 110.Wherein, the 3rd acquisition module 90 comprises: the 4th acquisition module 901 and the 4th judge module 902.
First searches module 70, and for searching configuration file, configuration file is for storage networking address and the corresponding relation of time;
Second searches module 80, for searching from configuration file time corresponding to first network address, and using the time finding as Preset Time.
The 3rd acquisition module 90, for obtain set in advance repeat to submit to Rule of judgment;
The 3rd judge module 110, repeats to submit to Rule of judgment for judging that user asks whether to meet; Wherein, repeat to submit to Rule of judgment if user asks to meet, refuse user's request; If user asks discontented lumping weight to submit again Rule of judgment to, receive user's request.
The 4th acquisition module 901, for obtaining the record of pre-stored customer access network address;
Whether again the 4th judge module 902, for judging user accesses network address in Preset Time; Wherein, if user accesses network address again in Preset Time, refusal user's request; If user does not have accesses network address again in Preset Time, receive user's request.
Data in network application of the present invention submit to device to comprise: receiver module 10, the first acquisition module 20, the second acquisition modules 30, computing module 40, the first judge modules 50, refusal module 60, first searches module 70, the second searches module 80, the three acquisition modules 90 and the 3rd judge module 110.Wherein, the 3rd acquisition module 90 comprises: the 4th acquisition module 901 and the 4th judge module 902.Data in this network application submit to device to utilize the time to judge, in service end, user's request of client are repeated to submit to and filter, and have good expansion.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the data commit method in network application, is characterized in that, comprising:
Receive user's request, described user's request is used for asking to submit to network data;
Obtain first network address, wherein, described first network address is that described user asks corresponding address;
Obtain described user and ask corresponding BlueDrama mark;
Carry out Hash calculation based on described first network address and described BlueDrama mark, generate the first cryptographic Hash;
In Preset Time, judge in queue whether store the cryptographic Hash identical with described the first cryptographic Hash, wherein, described queue stores has cryptographic Hash corresponding to network data of submitting in advance; And
If store the cryptographic Hash identical with described the first cryptographic Hash in described queue in described Preset Time, refuse described user and ask to submit to network data.
2. the data commit method in network application according to claim 1, is characterized in that, obtains described user and asks corresponding BlueDrama mark to comprise:
Judge that described user asks corresponding user's state;
If described user asks corresponding user's state for logging in state, described user's mark is identified as described BlueDrama; And
If it is visitor's state that described user asks corresponding user's state, the network address of the client of described user's login is identified as described BlueDrama.
3. the data commit method in network application according to claim 1, is characterized in that, obtains in the following manner described Preset Time:
Search configuration file, described configuration file is for storage networking address and the corresponding relation of time; And
From described configuration file, search time corresponding to described first network address, and using the time finding as described Preset Time.
4. the data commit method in network application according to claim 1, is characterized in that, described user's request is filtered at Web portal place, comprising:
Obtain set in advance repeat to submit to Rule of judgment;
Judge whether described user's request meets the described Rule of judgment that repeats to submit to;
Wherein, if described user request meets the described Rule of judgment that repeats to submit to, refuse described user's request, if described user request does not meet the described Rule of judgment that repeats to submit to, receive described user's request.
5. the data commit method in network application according to claim 4, is characterized in that, obtains repeating of setting in advance and submits to Rule of judgment to comprise:
Obtain the record that pre-stored user accesses the described network address;
Judge whether described user again accesses the described network address in described Preset Time;
Wherein, if described user again accesses the described network address in Preset Time, refuse described user's request;
If described user does not again access the described network address in Preset Time, receive described user's request.
6. the data in network application are submitted a device to, it is characterized in that, comprising:
Receiver module, for receiving user's request, described user's request is used for asking to submit to network data;
The first acquisition module, for obtaining first network address, wherein, described first network address is that described user asks corresponding address;
The second acquisition module, asks corresponding BlueDrama mark for obtaining described user;
Computing module, for carrying out Hash calculation based on described first network address and described BlueDrama mark, generates the first cryptographic Hash;
The first judge module, for judging in Preset Time whether queue stores the cryptographic Hash identical with described the first cryptographic Hash, wherein, described queue stores has cryptographic Hash corresponding to network data of submitting in advance; And
Refusal module, if store the cryptographic Hash identical with described the first cryptographic Hash for described queue in described Preset Time, refuses described user and asks to submit to network data.
7. the data in network application according to claim 6 are submitted device to, it is characterized in that, described the second acquisition module comprises:
The second judge module, for judging that described user asks corresponding user's state;
First arranges module, if ask corresponding user's state for logging in state for described user, described user's mark is identified as described BlueDrama; And
Second arranges module, is visitor's state if ask corresponding user's state for described user, the network address of the client of described user's login is identified as described BlueDrama.
8. the data in network application according to claim 6 are submitted device to, it is characterized in that, described device also comprises:
First searches module, and for searching configuration file, described configuration file is for storage networking address and the corresponding relation of time; And
Second searches module, for searching time corresponding to described first network address from described configuration file, and using the time finding as described Preset Time.
9. the data in network application according to claim 6 are submitted device to, it is characterized in that, described device also comprises:
The 3rd acquisition module, for obtain set in advance repeat to submit to Rule of judgment;
The 3rd judge module, for judging whether described user's request meets the described Rule of judgment that repeats to submit to;
Wherein, if described user request meets the described Rule of judgment that repeats to submit to, refuse described user's request; If described user's request does not meet the described Rule of judgment that repeats to submit to, receive described user's request.
10. the data in network application according to claim 9 are submitted device to, it is characterized in that, described the 3rd acquisition module comprises:
The 4th acquisition module, the record of accessing the described network address for obtaining pre-stored user;
The 4th judge module, for judging whether described user again accesses the described network address in described Preset Time;
Wherein, if described user again accesses the described network address in Preset Time, refuse described user's request; If described user does not again access the described network address in Preset Time, receive described user's request.
CN201410459597.6A 2014-09-10 2014-09-10 Data submission method and device in network application Active CN104184832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410459597.6A CN104184832B (en) 2014-09-10 2014-09-10 Data submission method and device in network application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410459597.6A CN104184832B (en) 2014-09-10 2014-09-10 Data submission method and device in network application

Publications (2)

Publication Number Publication Date
CN104184832A true CN104184832A (en) 2014-12-03
CN104184832B CN104184832B (en) 2017-10-03

Family

ID=51965561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410459597.6A Active CN104184832B (en) 2014-09-10 2014-09-10 Data submission method and device in network application

Country Status (1)

Country Link
CN (1) CN104184832B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071839A (en) * 2015-08-17 2015-11-18 贵阳朗玛信息技术股份有限公司 Communication method and communication device of Bluetooth equipment
CN105843680A (en) * 2016-03-18 2016-08-10 武汉斗鱼网络科技有限公司 Method and apparatus for preventing same page from being started for multiple times due to misoperation
CN106156133A (en) * 2015-04-09 2016-11-23 阿里巴巴集团控股有限公司 Method that control table substance is submitted to again, Apparatus and system
CN107172121A (en) * 2017-03-29 2017-09-15 努比亚技术有限公司 A kind of devices and methods therefor for preventing Data duplication from submitting
CN107291769A (en) * 2016-04-11 2017-10-24 北京京东尚科信息技术有限公司 The method and apparatus for handling concurrent order
CN107562555A (en) * 2017-08-02 2018-01-09 网宿科技股份有限公司 The cleaning method and server of duplicate data
CN108170772A (en) * 2017-12-26 2018-06-15 泰康保险集团股份有限公司 A kind of data processing method and device
CN108605048A (en) * 2016-02-11 2018-09-28 T移动美国公司 Selective calling with flight control connects system
CN109144625A (en) * 2017-06-28 2019-01-04 东软集团股份有限公司 It is anti-to repeat to submit methods, devices and systems
CN109815256A (en) * 2018-12-21 2019-05-28 聚好看科技股份有限公司 A kind of data processing method, device, electronic equipment and storage medium
CN110597573A (en) * 2019-08-23 2019-12-20 贝壳技术有限公司 Warehouse entry request data processing method and device
CN110704775A (en) * 2019-09-05 2020-01-17 贝壳技术有限公司 Method and system for page jump
CN111131074A (en) * 2018-10-31 2020-05-08 中移(杭州)信息技术有限公司 Data processing method, device, system, server and readable storage medium
CN111371852A (en) * 2020-02-24 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and related device
CN113660201A (en) * 2021-07-08 2021-11-16 上海二三四五网络科技有限公司 Control method and control device for high-concurrency main key conflict

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482820A (en) * 2009-02-13 2009-07-15 山东浪潮齐鲁软件产业股份有限公司 Method for preventing repeated submitting pages
US20120130794A1 (en) * 2010-06-13 2012-05-24 Bnc Ventures B.V. Method and System for Managing Customer Relationships
CN102929698A (en) * 2012-09-29 2013-02-13 北京百度网讯科技有限公司 Task re-judgment method and system
CN103841111A (en) * 2014-03-17 2014-06-04 北京京东尚科信息技术有限公司 Method for preventing data from being submitted repeatedly and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482820A (en) * 2009-02-13 2009-07-15 山东浪潮齐鲁软件产业股份有限公司 Method for preventing repeated submitting pages
US20120130794A1 (en) * 2010-06-13 2012-05-24 Bnc Ventures B.V. Method and System for Managing Customer Relationships
CN102929698A (en) * 2012-09-29 2013-02-13 北京百度网讯科技有限公司 Task re-judgment method and system
CN103841111A (en) * 2014-03-17 2014-06-04 北京京东尚科信息技术有限公司 Method for preventing data from being submitted repeatedly and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李希勇: ""Java Web 开发中请求重复提交的解决方案及实现"", 《萍乡高等专科学校学报》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156133A (en) * 2015-04-09 2016-11-23 阿里巴巴集团控股有限公司 Method that control table substance is submitted to again, Apparatus and system
CN106156133B (en) * 2015-04-09 2019-08-20 阿里巴巴集团控股有限公司 The method, apparatus and system that control table substance is submitted again
CN105071839B (en) * 2015-08-17 2018-02-23 贵阳朗玛信息技术股份有限公司 Bluetooth devices method and device
CN105071839A (en) * 2015-08-17 2015-11-18 贵阳朗玛信息技术股份有限公司 Communication method and communication device of Bluetooth equipment
CN108605048A (en) * 2016-02-11 2018-09-28 T移动美国公司 Selective calling with flight control connects system
CN105843680A (en) * 2016-03-18 2016-08-10 武汉斗鱼网络科技有限公司 Method and apparatus for preventing same page from being started for multiple times due to misoperation
CN107291769A (en) * 2016-04-11 2017-10-24 北京京东尚科信息技术有限公司 The method and apparatus for handling concurrent order
CN107172121A (en) * 2017-03-29 2017-09-15 努比亚技术有限公司 A kind of devices and methods therefor for preventing Data duplication from submitting
CN109144625A (en) * 2017-06-28 2019-01-04 东软集团股份有限公司 It is anti-to repeat to submit methods, devices and systems
CN109144625B (en) * 2017-06-28 2021-08-27 东软集团股份有限公司 Anti-duplicate submission method, device and system
CN107562555A (en) * 2017-08-02 2018-01-09 网宿科技股份有限公司 The cleaning method and server of duplicate data
CN108170772A (en) * 2017-12-26 2018-06-15 泰康保险集团股份有限公司 A kind of data processing method and device
CN111131074A (en) * 2018-10-31 2020-05-08 中移(杭州)信息技术有限公司 Data processing method, device, system, server and readable storage medium
CN109815256A (en) * 2018-12-21 2019-05-28 聚好看科技股份有限公司 A kind of data processing method, device, electronic equipment and storage medium
CN110597573A (en) * 2019-08-23 2019-12-20 贝壳技术有限公司 Warehouse entry request data processing method and device
CN110704775A (en) * 2019-09-05 2020-01-17 贝壳技术有限公司 Method and system for page jump
CN111371852A (en) * 2020-02-24 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and related device
CN111371852B (en) * 2020-02-24 2022-01-25 腾讯科技(深圳)有限公司 Data processing method and related device
CN113660201A (en) * 2021-07-08 2021-11-16 上海二三四五网络科技有限公司 Control method and control device for high-concurrency main key conflict

Also Published As

Publication number Publication date
CN104184832B (en) 2017-10-03

Similar Documents

Publication Publication Date Title
CN104184832A (en) Data submitting method and device in network application
US9544295B2 (en) Login method for client application and corresponding server
US9825943B2 (en) Location determination for user authentication
AU2016382908B2 (en) Short link processing method, device and server
KR102097881B1 (en) Method and apparatus for processing a short link, and a short link server
US20230370464A1 (en) Systems and methods for controlling sign-on to web applications
WO2017190641A1 (en) Crawler interception method and device, server terminal and computer readable medium
CN107341395B (en) Method for intercepting reptiles
CN106550056B (en) A kind of domain name analytic method and device
CN109672757A (en) File access method and file access processing unit
CN106060004A (en) Database access method and database agent node
US11416291B1 (en) Database server management for proxy scraping jobs
CN103338260A (en) Distributed analytical system and analytical method for URL logs in network auditing
CN106850572B (en) Target resource access method and device
CN106933817B (en) Content query method, device and system based on B/S structure
CN102932358B (en) Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device
CN110943876B (en) URL state detection method, device, equipment and system
US8909708B2 (en) System and method for confirming authorship of documents
EP4227829A1 (en) Web scraping through use of proxies, and applications thereof
CN113596105B (en) Content acquisition method, edge node and computer readable storage medium
US20230018983A1 (en) Traffic counting for proxy web scraping
US10331770B1 (en) System and method for confirming authorship of documents
CN110489694A (en) For handling the method and system of high concurrent request
Yin et al. Formalization and analysis of haystack architecture from process algebra perspective
CN110968753A (en) Webpage data crawling method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Data submitting method and device in network application

Effective date of registration: 20190531

Granted publication date: 20171003

Pledgee: Shenzhen Black Horse World Investment Consulting Co., Ltd.

Pledgor: Beijing Guoshuang Technology Co.,Ltd.

Registration number: 2019990000503

PE01 Entry into force of the registration of the contract for pledge of patent right
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: Beijing Guoshuang Technology Co.,Ltd.

CP02 Change in the address of a patent holder