CN107172121A - A kind of devices and methods therefor for preventing Data duplication from submitting - Google Patents
A kind of devices and methods therefor for preventing Data duplication from submitting Download PDFInfo
- Publication number
- CN107172121A CN107172121A CN201710198958.XA CN201710198958A CN107172121A CN 107172121 A CN107172121 A CN 107172121A CN 201710198958 A CN201710198958 A CN 201710198958A CN 107172121 A CN107172121 A CN 107172121A
- Authority
- CN
- China
- Prior art keywords
- data
- signature value
- signature
- user data
- client
- 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
Classifications
-
- 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/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of devices and methods therefor for preventing Data duplication from submitting, by receiving the data submission request that client is issued, user data to be committed in the client is obtained according to the data submission request, signature processing is carried out to the user data to be committed, generate the first signature value, judge to whether there is and the first signature value identical signature value in data buffer storage list, if exist in the data buffer storage list with the first signature value identical signature value, refuse the user data that the client request is submitted;By while data are submitted, being signed to the data that the needs are submitted, judge whether the data have been submitted according to signature, if having been filed on, refusal request, it is achieved thereby that preventing the problem of Data duplication is submitted, improves the efficiency of data submission.
Description
Technical field
The present invention relates to communication technical field, more specifically to a kind of device for preventing Data duplication from submitting and its
Method.
Background technology
At present, in the Internet, applications, data interaction of the client (APP) between server is all sudden and violent using server
Dew interface is called to realize to client, when APP is to server submission form, clicks on and carries typically by user
The button of intersection number evidence submits operation to trigger the data in client, but the triggering mode would generally be clicked on due to user
Hurry up, the interim card of network delay or client and cause user's erroneous judgement submits successfully and selection is submitted again, this is resulted in
The repetition of data is submitted.
And existing settling mode is that when user clicks on and submits data button, client automatically disables button,
Or all disable at the whole operation interface of the client, button is changed into upstate again after submission is finished.The party
Formula reduces the phenomenon of repetition submission to a certain extent, but can not avoid completely, when more fast in user's operating frequency
When fast, still occur that Data duplication is submitted, and the mode at the direct disabling interface result in the development difficulty of developer.
The content of the invention
The invention provides a kind of devices and methods therefor for preventing Data duplication from submitting, carried with solving user end to server
Intersection number can have the technical problem for repeating to submit during.
In order to solve the above technical problems, the present invention provides a kind of device for preventing Data duplication from submitting, including:Receive mould
Block, the first acquisition module, signature blocks, the first judge module and submission module;
The receiving module is used to receive the data submission request that client is issued;
First acquisition module is used to obtain user to be committed in the client according to the data submission request
Data;
The signature blocks are used to carry out signature processing to the user data to be committed, generate the first signature value;
First judge module is used to judge in data buffer storage list with the presence or absence of identical with the first signature value
Signature value;
The submission module is used to exist and the first signature value identical signature value in the data buffer storage list
When, refuse the user data that the client request is submitted.
Further, the signature blocks are used to submit form to the user data to be committed according to default data
Enter row format conversion;Signature processing is carried out to the user data after the conversion according to signature mathematical algorithm, generation first is signed
Value.
Further, described device also includes:Second acquisition module, the identity for obtaining the client is believed
Breath;
First judge module is used to be inquired about according to the first signature value whether there is in the data buffer storage list
Identical signature value;There is identical signature value in the data buffer storage list if inquiring about, judge the identification information
Whether identity identification information corresponding with the signature value is consistent;If judging, the identification information is corresponding with the signature value
Identity identification information it is consistent, then it is described to submit module to refuse the user data that the client request is submitted.
Further, described device also includes:Second judge module, for judge the signature value that inquires whether
In the term of validity, if the term of validity of signature value mistake, the first signature value is updated to the number by the submission module
According in cache list, and perform the submission operation for submitting user data;It is described to submit if the non-mistake of the term of validity of the signature value
Module refuses the user data that the client request is submitted.
Further, the signature blocks are used to carry out Hash fortune to the user data after conversion according to Hash operation algorithm
Calculate, obtain the first cryptographic Hash.
Further, present invention also offers a kind of method for preventing Data duplication from submitting, including:
Receive the data submission request that client is issued;
User data to be committed in the client is obtained according to the data submission request;
Signature processing is carried out to the user data to be committed, the first signature value is generated;
Judge to whether there is and the first signature value identical signature value in data buffer storage list;
If in the data buffer storage list exist with the first signature value identical signature value, refuse the client
The user data that end request is submitted.
Further, described that signature processing is carried out to the user data to be committed, the first signature value of generation includes:
Form is submitted to enter row format conversion to the user data to be committed according to default data;
Signature processing is carried out to the user data after the conversion according to signature mathematical algorithm, the first signature value is generated.
Further, it is described signature processing is carried out to the user data to be committed before, in addition to:Obtain described
The identification information of client;
The judgement whether there is in data buffer storage list to be included in the first signature value identical signature value:
Inquired about according to the first signature value and whether there is identical signature value in the data buffer storage list;
There is identical signature value in the data buffer storage list if inquiring about, judge the identification information with it is described
Whether the corresponding identity identification information of signature value is consistent;
If identification information identity identification information corresponding with the signature value is consistent, refuse the client
Ask the user data submitted.
Further, after there is identical signature value in the inquiry data buffer storage list, in addition to:Judge
The signature value inquired whether before the deadline, if the term of validity of signature value mistake, by the first signature value
It is updated in the data buffer storage list, and performs the submission operation for submitting user data;If the term of validity of the signature value is not
Cross, then refuse the user data that the client request is submitted.
Further, it is described that signature processing is carried out to the user data after conversion according to signature mathematical algorithm, obtain first
Signature value includes:Hash operation is carried out to the user data after the conversion according to Hash operation algorithm, the first cryptographic Hash is obtained.
The beneficial effects of the invention are as follows:
What the present invention was provided prevents the devices and methods therefor that Data duplication is submitted, after data submission request is received, root
According to the corresponding user data to be committed of acquisition request, and the user data is signed, obtain the first signature value, then sentence
Break in data buffer storage list whether there is with the first signature value identical signature value, if in the presence of, refuse client number
Asked according to submitting;By while data are submitted, being signed to the data that the needs are submitted, the data are judged according to signature
Whether it has been submitted, if having been filed on, refusal request, it is achieved thereby that preventing the problem of Data duplication is submitted, improves number
According to the efficiency of submission.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Fig. 2 is the structural representation for realizing the optional server of each embodiment one of the invention.
Fig. 3 is the structured flowchart for the device for preventing Data duplication from submitting that the embodiment of the present invention one is provided.
Fig. 4 is another structured flowchart for the device for preventing Data duplication from submitting that the embodiment of the present invention two is provided.
Fig. 5 is the flow chart for the method for preventing Data duplication from submitting that the embodiment of the present invention three is provided.
Fig. 6 is another flow chart for the method for preventing Data duplication from submitting that the embodiment of the present invention four is provided.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet personal computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that the client in the application is mobile terminal, however, it will be understood by those skilled in the art that, except
Outside the element for being used in particular for moving purpose, construction according to the embodiment of the present invention can also apply to the end of fixed type
End.
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
It is single that mobile terminal 1 00 can include wireless communication unit 110, input block 120, user input unit 130, sensing
Member 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 is shown
Mobile terminal with various assemblies, it should be understood that be not required for implementing all components shown, can be alternatively real
More or less components are applied, the element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and server or network
Between radio communication.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112, nothing
At least one in line the Internet module 113.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with DMB (DMB) electronics
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point etc.), exterior terminal and clothes
Business device at least one and/or receive from it radio signal.Such radio signal can include voice call signal,
Video calling signal or the various types of network datas for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
In the present invention, when client needs to carry out data submission, sent by wireless communication unit 110 to server
Data submission request, and the number of users for needing to submit is sent to server, then data signature processing is carried out by server, judge
Whether the data are the data for repeating to submit.
Input block 120 is used to receive audio or video signal.Input block 120 can include camera 121 and microphone
1220, static images or regard that 121 pairs of camera is obtained in video acquisition mode or image capture mode by image capture apparatus
The view data of frequency is handled.Picture frame after processing may be displayed on display module 151.After being handled through camera 121
Picture frame can be stored in memory 160 (or other storage mediums) or is transmitted via wireless communication unit 110, can
To provide two or more cameras 121 according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, record mould
Sound (voice data) is received via microphone in formula, speech recognition mode etc. operational mode, and can be by such sound
Sound is processed as voice data.Audio (voice) data after processing can be converted in the case of telephone calling model can be via
Mobile communication module 112 is sent to the form output of mobile communication base station.Microphone 122 can implement various types of noises and disappear
Except (or suppress) algorithm to eliminate noise or the interference that (or suppression) produces during receiving and sending audio signal.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display module 151 in the form of layer, touch-screen can be formed.
In the present invention, the user data to be committed can specifically be obtained by input block 120, then pass through nothing
Line communication unit 110 is sent to the interconnection netting index that server process or mobile terminal 1 00 are got from internet
According to.It is preferred that, the data that user is voluntarily inputted by user input unit 130 are can also be, such as word, short breath message
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape
State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input) of mobile terminal 1 00, mobile terminal
The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00
The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed
The sliding-type phone is opening or closing.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include proximity transducer 141.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage is used to verify that user uses each of mobile terminal 1 00
Plant information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from
The input (for example, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 1 00
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 may be used as allowing by it by electricity
Power provides to the path of mobile terminal 1 00 from base or may be used as allowing passing through it from the various command signals that base is inputted
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from base may be used as being used to recognize that mobile terminal is
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).
Output unit 150 can include display module 151, dio Output Modules 152, alarm modules 153 etc..
Display module 151 may be displayed on the information handled in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
When talking about call mode, display module 151 can be shown with conversing or other communicating (for example, text messaging, multimedia file
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern
Or during image capture mode, display module 151 can show the image of capture and/or the image of reception, show video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display module 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display module
151 may be used as input unit and output device.Display module 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 1 00 can include two or more display modules (or other display devices), for example, moving
Dynamic terminal can include outside display module (not shown) and internal display module (not shown).Touch-screen can be used for detection to touch
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and it is output as sound.Moreover, dio Output Modules 152 can be provided and movement
The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that terminal 100 is performed.
Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm modules 153 can provide output to notify event to mobile terminal 1 00.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm modules
153 can provide output in a different manner with the generation of notification event.For example, alarm modules 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm mould
Block 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even in
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm modules 153
The output of the generation of notification event can be provided via display module 151 or dio Output Modules 152.
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 1 00 can be with performing memory by network connection
The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data
Communication, video calling etc. related control and processing.In addition, controller 180 can include being used to reproduce (or playback) many matchmakers
The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control
Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input performed on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each member
Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation
Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai
Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
As shown in Fig. 2 the structural representation to realize the optional server of each embodiment one of the invention, the server
At least include:Input and output (IO) bus 21, processor 22, memory 23, internal memory 24 and communicator 25.Wherein,
Input and output (IO) bus 21 respectively with other parts of the server belonging to itself (processor 22, memory 23,
Internal memory 24 and communicator 25) connection, and provide transmission lines for other parts.
Processor 22 generally controls the overall operation of the server belonging to itself.Calculated and true for example, processor 22 is performed
The operation such as recognize.Wherein, processor 22 can be central processing unit (CPU).
The storage processor of memory 23 is readable, the software code that processor is executable, and it, which is included, is used for control processor 22
Perform the instruction (i.e. software perform function) of functions described herein.
Internal memory 24, typically using semiconductor memory cell, including random access memory (RAM), read-only storage (ROM), with
And cache (CACHE), RAM is most important of which memory.Internal memory 24 is one of important part in computer, and it is
The operation of all programs is all carried out in internal memory in the bridge linked up with CPU 22, computer, and its effect is to be used for
The temporarily operational data in storage CPU 22, and the data exchanged with the external memory storage such as hard disk, as long as computer is being run
In, CPU 22 will carry out computing needing the data of computing to be transferred in internal memory, and CPU 22 again passes result after the completion of computing
Send out, the operation of internal memory also determines the stable operation of computer.
Communicator 25, generally includes one or more assemblies, and it allows the server and radio communication system belonging to itself
Radio communication between system or network.
Wherein, each module in the device for preventing Data duplication submission that the present invention is provided can be by above-mentioned server
To realize, its processing procedure is to receive the data submission request and to be committed that mobile terminal 1 00 is sent by communication module 25
User data, processor 22 to user data carry out signature processing, obtain the first signature value, according to the first signature value inquire about
It whether there is identical signature value in internal memory 24, if in the presence of the data submission that processor 22 directly refuses mobile terminal 1 00 please
Ask.
Further, the function that each module is realized in the device of the invention that prevent Data duplication from submitting provided, may be used also
To be realized by software code, it realizes to be specifically by receiving module, the first acquisition module, the second acquisition module, signature mould
Block, the first judge module, the second judge module and submit module function realize software code be storable in memory 23,
And by processor 22 perform or compile after perform.
It is described in detail below by way of specific embodiment.
Embodiment one:
Reference picture 3, Fig. 3 is the structured flowchart for the device for preventing Data duplication from submitting that the embodiment of the present invention one is provided, should
Device is that a kind of can realize proposed based on above-mentioned existing server hardware structure prevents the scheme of Data duplication submission, is had
Body, what the present embodiment was provided prevents the device that Data duplication is submitted from including:Receiving module 31, the first acquisition module 32, signature
Module 33, the first judge module 34 and submission module 35, wherein:
Receiving module 31 is used to receive the data submission request that client is issued, and the data submission request is used for from client
It is middle to obtain corresponding user data to be committed.
First acquisition module 32 is used for obtaining user to be committed in the client according to the data submission request
Data.
Signature blocks 33 are used to carry out signature processing to the user data to be committed, generate the first signature value.
First judge module 34 is used to judge to whether there is and the first signature value phase in the data buffer storage list
Same signature value.
If in the presence of submission module 35 refuses the user data that the client request is submitted.
In the present embodiment, in addition to:When the judged result of the first judge module 34 is not deposited in data buffer storage list
In identical signature value, then submit module 35 to receive the data submission request of client, and perform corresponding data and submit behaviour
Make, while also by the identification information storage of signed by signature blocks 33 the first obtained signature value and corresponding client
Into data buffer storage list.
In the present embodiment, the signature blocks 33 are when carrying out signature processing to user data to be committed, specific bag
Include:The user data got from client is entered to the conversion of row format first, it is preferred that submit lattice according to default data
Formula is changed, for example, the form that data are submitted is the character string sorted in chronological order for a string, and signature blocks 33 are being carried out
Before signature, all customer data received is ranked up according to the time sequencing of reception, then according to the suitable of sequence
Sequence is together in series, and obtains a character string, the form of the character string is " data name 1+ data content 1+ data name 2+ data
The form of content 2 ... ", last signature blocks 33 are carried out at signature according to the user data (being to obtain character string) after conversion
Reason, obtains the first signature value, the first signature value can be a numeral or a string of character strings.First judge module
34 judge whether the user data that client request is submitted has been submitted according to the first signature value, if so, then refusal submission please
Ask, if it is not, then performing data submits operation, and the first signature value is cached into data buffer storage list.
In order to further improve the accuracy rate for judging whether to repeat to submit, in the present embodiment, described device also includes
The identification information of client to needing to submit data is compared, if judge to have identical signature value, its
Identification information also in the case of identical, judges that the user data that the client is submitted had been filed on before this, if label
Name value with have that one is different in identification information, then the user data for judging the submission is not the data of repetition.
In actual applications, what the present embodiment was provided prevents the device that Data duplication is submitted from being carried particular by according to data
The identification information of user data to be committed and the client, the user got to this in friendship acquisition request client
Data carry out signature processing, obtain the first signature value, then according to the first signature value inquired about in data buffer storage list whether
There is identical signature value, if in the presence of obtaining the corresponding identity identification information of signature value, and identification letter will be compared
Whether breath is consistent with the identification information of client, if unanimously, notifying to submit module 35 to refuse the number that the client is sent
According to request is submitted, if inconsistent, module 35 is submitted to receive the user data that client request is submitted, and perform corresponding data
Submit operation.
In the present embodiment, after it there is identical signature value in inquiring about the data buffer storage list, in addition to:Judge
The signature value inquired whether also before the deadline, because the user data of client can be increased over time constantly
And increase, such as the refresh time of its data is 15 seconds, then the user data in this 15 seconds in client is to increase,
And be possible to change after 15 seconds, so when client carries out multiple data submission within the time of 15 seconds, just
Can be considered as to repeat to submit, therefore, in order to avoid this kind of maloperation, the present embodiment is also the signature value in data buffer storage list
One effective time is set, and such as 15 seconds, the identical signature value inquired in this 15 seconds was effective.
When judging the term of validity of signature value mistake, then the first signature value is updated to the data buffer storage list
In, and perform the submission operation for submitting user data.
When the non-mistake of the term of validity for judging the signature value, then refuse the user data that the client request is submitted.
In actual applications, when storing signature value in the data buffer storage list, storage client is specifically also included
Identification information, and signature value and identification information are packed storage together, it is preferred that can be according to " signature value+identity
The form of identification information " is stored.
In the embodiment that the present invention is provided, described device is when carrying out signature processing to user data to be committed, tool
Body can be signed by mathematical algorithm of specifically signing, for example, Hash operation algorithm, according to Hash operation algorithm to described
User data after conversion carries out Hash operation, obtains the first cryptographic Hash, according to cryptographic Hash inquiry in data buffer storage list
With the presence or absence of identical cryptographic Hash, the data submission request is handled finally according to Query Result.
In actual applications, for the signature mathematical algorithm of signature processing, as long as so that the value calculated is unique
It is irreversible can be with.
What the present embodiment was provided prevents the device that Data duplication is submitted, and passes through the use for setting signature blocks to submit client
User data carries out signature processing, obtains a signature value, and judge whether the user data is submitted according to the signature value
Cross, it is achieved thereby that preventing the problem of Data duplication is submitted, improve the efficiency of data submission.
Further, the present embodiment also sets the term of validity of signature value, the label only inquired in preset time period
Name value could be made requests on the judgement of repetition submission using the time, not only solved as the basis for estimation for repeating to submit, the present invention
The problem of repeating to submit data, also solves the problem of submission data processing equipment expansion is poor, and then reached can either
Prevent request from repeating to submit, the treatment effeciency of device expansion and data can be improved again.
Embodiment two:
Reference picture 4, Fig. 4 is the structured flowchart for the device for preventing Data duplication from submitting that the embodiment of the present invention two is provided, this
The device that embodiment is provided includes:Receiving module 31, the first acquisition module 32, signature blocks 33, the first judge module 34 and carry
Module 35 is handed over, wherein:
Receiving module 31 is used to receive the data submission request that client is issued, and the data submission request is used for from client
It is middle to obtain corresponding user data to be committed.
First acquisition module 32 is used for obtaining user to be committed in the client according to the data submission request
Data.
Signature blocks 33 are used to carry out signature processing to the user data to be committed, generate the first signature value.
First judge module 34 is used to judge to whether there is and the first signature value phase in the data buffer storage list
Same signature value.
If in the presence of submission module 35 refuses the user data that the client request is submitted.
In the present embodiment, in addition to:When the judged result of the first judge module 34 is not deposited in data buffer storage list
In identical signature value, then submit module 35 to receive the data submission request of client, and perform corresponding data and submit behaviour
Make, while also by the identification information storage of signed by signature blocks 33 the first obtained signature value and corresponding client
Into data buffer storage list.
In actual applications, when storing signature value in the data buffer storage list, storage client is specifically also included
Identification information, and signature value and identification information are packed storage together, it is preferred that can be according to " signature value+identity
The form of identification information " is stored.
In the present embodiment, 33 pairs of the signature blocks user data to be committed carries out signature processing, generation the
One signature value is realized particular by the following manner:
Form is submitted to enter row format conversion to the user data to be committed according to default data;
Signature processing is carried out to the user data after the conversion according to signature mathematical algorithm, the first signature value is generated.
In actual applications, the form that data are submitted can be understood as a string of character strings sorted in chronological order, and
It is to receive that signature blocks 33 submit form to enter row format conversion to the user data to be committed according to default data
To all customer data be ranked up according to the time sequencing of reception, then get up according to the sequential series of sequence, obtain one
Individual character string, the form of the character string for example obtained is " data name 1+ data content 1+ data name 2+ data contents
2 ... " form, last signature blocks 33 carry out signature processing according to the user data (being to obtain character string) after conversion,
The first signature value is obtained, the first signature value can be a numeral or a string of character strings.
Further, the signature blocks 33, specifically can be by specific when carrying out signature processing to the character string
Signature mathematical algorithm is signed, for example:Hash operation algorithm, Hash fortune is carried out according to Hash operation algorithm to the character string
Calculate, obtain the first cryptographic Hash, identical cryptographic Hash whether there is in data buffer storage list according to first cryptographic Hash inquiry, most
The data submission request is handled according to Query Result afterwards.
In actual applications, for the signature mathematical algorithm of signature processing, as long as so that the value calculated is unique
It is irreversible can be with.
In the present embodiment, described device is in addition to judging signature value, in addition to:To needing to submit data
The identification information of client is compared, if judging there is identical signature value, its identification information also phase
With in the case of, judge that the user data that the client is submitted had been filed on before this, if signature value and identity letter
There is one difference in breath, then the user data for judging the submission is not the data repeated.
Specific described device also includes:Second acquisition module 36, the identification information for obtaining the client;
Whether first judge module 34 is used to be inquired about according to the first signature value deposits in the data buffer storage list
In identical signature value;There is identical signature value in the data buffer storage list if inquiring about, judge the identity letter
Whether breath identity identification information corresponding with the signature value is consistent;If the identification information is corresponding with the signature value
Identity identification information is consistent, then described to submit module 35 to refuse the user data that the client request is submitted.If inconsistent,
Perform the submission operation for submitting user data.
In actual applications, what the present embodiment was provided prevents the device that Data duplication is submitted from being carried particular by according to data
The identification information of user data to be committed and the client, the user got to this in friendship acquisition request client
Data carry out signature processing, obtain the first signature value, then the first judge module 34 according to the first signature value in data buffer storage
Inquiry whether there is identical signature value in list, if in the presence of obtaining the corresponding identity identification information of signature value, and will compare
Whether the identification information compared with the identity identification information and client is consistent, if unanimously, notifying to submit the refusal of module 35 should
The data submission request that client is sent, if inconsistent, submits module 35 to receive the user data that client request is submitted, and
Perform corresponding data and submit operation.
In actual applications, because the user data of client can be increased over time constantly and be increased, such as its
The refresh time of data is 15 seconds, then the user data in this 15 seconds in client is to increase, and is had after 15 seconds
It may change, so will be considered as weight when client carries out multiple data submission within the time of 15 seconds
Multiple to submit, therefore, in order to avoid this kind of maloperation, the present embodiment is also that the signature value in data buffer storage list sets one effectively
Time, such as 15 seconds, the identical signature value inquired in this 15 seconds was effective.
In this regard, the device that the present embodiment is provided also includes:Second judge module 37, for the signature for judging to inquire
Value whether before the deadline, if the term of validity of signature value mistake, the submission module 35 by the first signature value more
In the new extremely data buffer storage list, and perform the submission operation for submitting user data;If the non-mistake of the term of validity of the signature value,
It is then described to submit module 35 to refuse the user data that the client request is submitted.
In actual applications, each module in the device for preventing Data duplication from submitting can be by the service in Fig. 2
Device realizes, wherein, the receiving module 31, the first acquisition module 32 and the second acquisition module 36 are using communicator 25 come real
Existing, the signature blocks 33, the first judge module 34, submission module 35 and second judge module 37 are realized using processor 22,
Concretely comprise the following steps:The communicator 25 is used to receive the data submission request that client is issued, and being submitted according to the data please
Ask and obtain user data to be committed in the client;The processor 22 is used to carry out the user data to be committed
Signature processing, generates the first signature value, and judges to whether there is and the first signature value identical in data buffer storage list
Signature value, if in the data buffer storage list exist with the first signature value identical signature value, refuse the client
The user data that end request is submitted.
In the present embodiment, the processor 25 to the user data to be committed when carrying out signature processing, specifically
It is to submit form to enter row format conversion to the user data to be committed according to default data, according to signature mathematical algorithm pair
User data after the conversion carries out signature processing, generates the first signature value, it is preferred that the signature mathematical algorithm is Hash
Mathematical algorithm.
The communicator 25 is additionally operable to obtain the identification information of the client;The processor 22 is according to described
First signature value, which is inquired about, whether there is identical signature value in the data buffer storage list;If inquiring about in the data buffer storage list
There is identical signature value, then judge identification information identity identification information corresponding with the signature value whether one
Cause;If identification information identity identification information corresponding with the signature value is consistent, refuse the client request
The user data of submission.
The processor 22 is additionally operable to whether before the deadline to judge the signature value inquired, if the signature value
The first signature value, then be updated in the data buffer storage list by term of validity mistake, and perform and submit carrying for user data
Hand over operation;If the non-mistake of the term of validity of the signature value, refuse the user data that the client request is submitted.
What the present embodiment was provided prevents the device that Data duplication is submitted, and passes through the use for setting signature blocks to submit client
User data carries out signature processing, obtains a signature value, and judge whether the user data is submitted according to the signature value
Cross, it is achieved thereby that preventing the problem of Data duplication is submitted, improve the efficiency of data submission.In addition, the device is also set
The term of validity of signature value, the signature value that is only inquired in preset time period could as the basis for estimation for repeating to submit,
The present invention makes requests on the judgement of repetition submission using the time, not only solves the problem of data are submitted in repetition, also solves and carry
The problem of data processing equipment expansion is poor is handed over, and then having reached can either prevent request from repeating to submit, and device can be improved again
The treatment effeciency of expansion and data.
3rd embodiment:
Reference picture 5, Fig. 5 is the flow chart for the method for preventing Data duplication from submitting that the embodiment of the present invention three is provided, the party
Method is that a kind of can realize proposed based on above-mentioned existing server hardware structure prevents the scheme of Data duplication submission, specifically
, what this implementation was provided prevents the method that Data duplication is submitted from specifically including following steps:
S501, receives the data submission request that client is issued, and the data submission request is used for the acquisition pair from client
The user data to be committed answered.
S502, user data to be committed in the client is obtained according to the data submission request.
In actual applications, server is after the data submission request come of client transmission is received, from request
The address information of client is obtained, and according to address Information locating to corresponding client, and client is downloaded from client
In user data to be committed, the user data includes user and passes through text information that the input block of client inputs, shoots
Photo, the video recorded or audio, or even can also be network information downloaded in client in internet etc..
S503, carries out signature processing to the user data to be committed, generates the first signature value.
In the present embodiment, server is carried out when signature handles specific according to pre- to the user data to be committed got
If data submit form to enter the conversion of row format to user data to be committed, nanofarad is revived to the conversion according to signature computing
User data afterwards carries out signature processing, generates the first signature value.
In actual applications, the form that the data are submitted can be understood as a string of character strings sorted in chronological order,
And it is all by what is received to submit form to enter row format conversion to the user data to be committed according to default data
User data is ranked up according to the time sequencing of reception, is then got up according to the sequential series of sequence, obtains a character string,
The form of the character string for example obtained is the form of " data name 1+ data content 1+ data name 2+ data contents 2 ... ",
Signature processing is carried out finally according to the user data (being to obtain character string) after conversion, the first signature value is obtained, first label
Name value can be a numeral or a string of character strings.
The specific signature mathematical algorithm is Hash operation algorithm, and the character string is carried out according to Hash operation algorithm
Hash operation, obtains the first cryptographic Hash, is breathed out according to first cryptographic Hash inquiry in data buffer storage list with the presence or absence of identical
Uncommon value, is handled the data submission request finally according to Query Result.
In actual applications, for the signature mathematical algorithm of signature processing, as long as so that the value calculated is unique
It is irreversible can be with.
S504, judges to whether there is and the first signature value identical signature value in data buffer storage list.
In actual applications, the first cryptographic Hash obtained according to Hash operation is inquired about in the data buffer storage list in server
With the presence or absence of identical cryptographic Hash, if in the presence of, illustrate that the data of this request of client are submitted and have submitted before, and
Refuse this data submission request.
S505, if in the data buffer storage list exist with the first signature value identical signature value, refuse institute
State the user data of client request submission.
In the present embodiment, the method for preventing Data duplication from submitting also is wrapped in addition to judging signature value
Include:The identification information of client to needing to submit data is compared, if judge to have identical signature value,
Its identification information also in the case of identical, judges that the user data that the client is submitted had been filed on before this, if
Signature value with have that one is different in identification information, then the user data for judging the submission is not the data repeated.
Methods described also includes:Obtain the identification information of the client;
Inquired about according to the first signature value and whether there is identical signature value in the data buffer storage list;
There is identical signature value in the data buffer storage list if inquiring about, judge the identification information with it is described
Whether the corresponding identity identification information of signature value is consistent;
If identification information identity identification information corresponding with the signature value is consistent, refuse the client
Ask the user data submitted.
In actual applications, it submits the specific steps of data to include:Obtained and treated in client according to data submission request
The identification information of the user data of submission and the client, carries out signature processing to the user data that this gets, obtains
To the first signature value, then inquired about according to the first signature value in data buffer storage list with the presence or absence of identical signature value, if
In the presence of then obtaining the corresponding identity identification information of signature value, and the identity mark that the identity identification information and client will be compared
Whether consistent information is known, if unanimously, refusing the data submission request of client transmission, if inconsistent, receiving client
The user data submitted is asked, and performs corresponding data submission operation.
In actual applications, because the user data of client can be increased over time constantly and be increased, such as its
The refresh time of data is 15 seconds, then the user data in this 15 seconds in client is to increase, and is had after 15 seconds
It may change, so will be considered as weight when client carries out multiple data submission within the time of 15 seconds
Multiple to submit, therefore, in order to avoid this kind of maloperation, the present embodiment is also that the signature value in data buffer storage list sets one effectively
Time, such as 15 seconds, the identical signature value inquired in this 15 seconds was effective.
Therefore, in the present embodiment, exist in the inquiry data buffer storage list after identical signature value, go back
Including:Whether before the deadline the signature value that inquires is judged, if the term of validity of signature value mistake, by described the
One signature value is updated in the data buffer storage list, and performs the submission operation for submitting user data;If the signature value
The non-mistake of the term of validity, then refuse the user data that the client request is submitted.
What the present embodiment was provided prevents the method that Data duplication is submitted, and the data issued by receiving client are submitted please
Ask, user data to be committed in the client is obtained according to the data submission request, to the number of users to be committed
According to signature processing is carried out, the first signature value is generated, judges to whether there is and the first signature value phase in data buffer storage list
With signature value, if exist in the data buffer storage list with the first signature value identical signature value, refusal is described
The user data that client request is submitted;By while data are submitted, being signed to the data that the needs are submitted, according to
Signature judges whether the data have been submitted, if having been filed on, refusal request, it is achieved thereby that preventing what Data duplication from submitting
Problem, improves the efficiency of data submission.
In addition, the present embodiment provide prevent the method that Data duplication is submitted from also setting the term of validity of signature value, only
The signature value inquired in preset time period could be made requests on as the basis for estimation for repeating to submit, the present invention using the time
The judgement submitted is repeated, the problem of data are submitted in repetition is not only solved, submission data processing equipment expansion is also solved poor
The problem of, and then having reached can either prevent request from repeating to submit, and the processing effect of device expansion and data can be improved again
Rate.
Embodiment three:
Reference picture 6, Fig. 6 is the flow chart for the method for preventing Data duplication from submitting that the embodiment of the present invention three is provided, the party
The scheme that the mobile terminal and the structure of server provided in method combination Fig. 1 and 2 is proposed, its specific handling process is as follows:
S601, mobile terminal initiates to ask for the first time to server.
Server is signed after the submission for receiving mobile terminal is asked to the user data that mobile terminal is submitted.
The algorithm used is the user data for submitting mobile terminal with (data content 2 ... of 1 data content of data name, 1 data name 2)
Form be spliced into a character string, then with signature mathematical algorithm, be specifically spliced character string is carried out with SHA1
Hash computings draw a value.
S602, by the storage of signature value into the data buffer storage list of server.
The signature value that server is calculated according to step S601 is stored into data buffer storage list, and the signature value is in data
Data structure in cache list is key-value forms, wherein, key represents signature value, and value represents the identity mark of user
Know information, it is 15 seconds to preset effective time of the signature value in data buffer storage list, after the value storage time was more than 15 seconds,
Will being serviced device remove automatically, and new signature value is updated into corresponding position.
S603, mobile terminal sends data submission request to server again.
Whether S604, judge the request time of the data submission request within the effective time of signature value.
S605, if within effective time, inquiry whether there is identical signature value.
In the present embodiment, if the result judged is within effective time, after the request that server is received, it repeats to hold
Row step S601 operation, obtains the signature value of this request, according to the signature value in data buffer storage list by carrying out key
Lookup, if finding key corresponding with the signature value, further verify value values whether with request data submission
User identification information it is consistent, if unanimously, it is repetitive requests to illustrate this time request, server notifies mobile terminal to refuse
The exhausted data submission request;If inconsistent, normal business operation is carried out, and by the signature value and corresponding mobile terminal
Identification information is updated into data buffer storage list.
S606, if not before the deadline, performing and carrying out normal business operation.
In the present embodiment, if the result judged is not within effective time, after the request that server is received, it repeats
Step S601 operation is performed, the signature value of this request is obtained, progress is passed through in data buffer storage list according to the signature value
Key lookup, can not find key corresponding with the signature value in data buffer storage list, and server, which is performed, carries out normal business
Operation, and the signature value and the identification information of corresponding mobile terminal are updated into data buffer storage list.
What the present invention was provided prevents the devices and methods therefor that Data duplication is submitted, by setting signature blocks to put forward client
Whether the user data of friendship carries out signature processing, obtain a signature value, and judge the user data according to the signature value
It is submitted to cross, it is achieved thereby that preventing the problem of Data duplication is submitted, improve the efficiency of data submission.
Further, the present embodiment also sets the term of validity of signature value, the label only inquired in preset time period
Name value could be made requests on the judgement of repetition submission using the time, not only solved as the basis for estimation for repeating to submit, the present invention
The problem of repeating to submit data, also solves the problem of submission data processing equipment expansion is poor, and then reached can either
Prevent request from repeating to submit, the treatment effeciency of device expansion and data can be improved again.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of device for preventing Data duplication from submitting, it is characterised in that including:Receiving module, the first acquisition module, signature mould
Block, the first judge module and submission module;
The receiving module is used to receive the data submission request that client is issued;
First acquisition module is used to obtain user data to be committed in the client according to the data submission request;
The signature blocks are used to carry out signature processing to the user data to be committed, generate the first signature value;
First judge module is used to judge to whether there is and the first signature value identical label in data buffer storage list
Name value;
When the submission module is used to exist with the first signature value identical signature value in the data buffer storage list, refuse
The user data that client request described absolutely is submitted.
2. the device according to claim 1 for preventing Data duplication from submitting, it is characterised in that the signature blocks are used for root
Form is submitted to enter row format conversion to the user data to be committed according to default data;According to signature mathematical algorithm to described
User data after conversion carries out signature processing, generates the first signature value.
3. the device according to claim 1 or 2 for preventing Data duplication from submitting, it is characterised in that also obtained including second
Module, the identification information for obtaining the client;
First judge module is used to be inquired about in the data buffer storage list with the presence or absence of identical according to the first signature value
Signature value;There is identical signature value in the data buffer storage list if inquiring about, judge the identification information and institute
Whether consistent state the corresponding identity identification information of signature value;If identification information identity corresponding with the signature value is known
Other information is consistent, then described to submit module to refuse the user data that the client request is submitted.
4. the device according to claim 3 for preventing Data duplication from submitting, it is characterised in that also include:Second judges mould
Block, for whether before the deadline to judge the signature value that inquires, if the term of validity of signature value mistake, described to carry
Hand over module that the first signature value is updated in the data buffer storage list, and perform the submission operation for submitting user data;
It is described to submit module to refuse the user data that the client request is submitted if the non-mistake of the term of validity of the signature value.
5. the device according to claim 4 for preventing Data duplication from submitting, it is characterised in that the signature blocks are used for root
Hash operation is carried out to the user data after conversion according to Hash operation algorithm, the first cryptographic Hash is obtained.
6. a kind of method for preventing Data duplication from submitting, it is characterised in that including:
Receive the data submission request that client is issued;
User data to be committed in the client is obtained according to the data submission request;
Signature processing is carried out to the user data to be committed, the first signature value is generated;
Judge to whether there is and the first signature value identical signature value in data buffer storage list;
If in the data buffer storage list exist with the first signature value identical signature value, refuse the client please
Seek the user data of submission.
7. the method according to claim 6 for preventing Data duplication from submitting, it is characterised in that described to described to be committed
User data carries out signature processing, and the first signature value of generation includes:
Form is submitted to enter row format conversion to the user data to be committed according to default data;
Signature processing is carried out to the user data after the conversion according to signature mathematical algorithm, the first signature value is generated.
8. the method that Data duplication is submitted of preventing according to claim 6 or 7, it is characterised in that treated described to described
The user data of submission is carried out before signature processing, in addition to:Obtain the identification information of the client;
The judgement whether there is in data buffer storage list to be included in the first signature value identical signature value:
Inquired about according to the first signature value and whether there is identical signature value in the data buffer storage list;
There is identical signature value in the data buffer storage list if inquiring about, judge the identification information and the signature
Whether consistent it is worth corresponding identity identification information;
If identification information identity identification information corresponding with the signature value is consistent, refuse the client request
The user data of submission.
9. the method according to claim 8 for preventing Data duplication from submitting, it is characterised in that in the inquiry data
After there is identical signature value in cache list, in addition to:Whether before the deadline to judge the signature value inquired, if
The first signature value, then be updated in the data buffer storage list, and perform submission by the term of validity of signature value mistake
The submission operation of user data;If the non-mistake of the term of validity of the signature value, refuse the number of users that the client request is submitted
According to.
10. the method according to claim 9 for preventing Data duplication from submitting, it is characterised in that described according to signature computing
Algorithm carries out signature processing to the user data after conversion, and obtaining the first signature value includes:According to Hash operation algorithm to described
User data after conversion carries out Hash operation, obtains the first cryptographic Hash.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710198958.XA CN107172121A (en) | 2017-03-29 | 2017-03-29 | A kind of devices and methods therefor for preventing Data duplication from submitting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710198958.XA CN107172121A (en) | 2017-03-29 | 2017-03-29 | A kind of devices and methods therefor for preventing Data duplication from submitting |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107172121A true CN107172121A (en) | 2017-09-15 |
Family
ID=59849830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710198958.XA Pending CN107172121A (en) | 2017-03-29 | 2017-03-29 | A kind of devices and methods therefor for preventing Data duplication from submitting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172121A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107623746A (en) * | 2017-10-12 | 2018-01-23 | 上海联影医疗科技有限公司 | A kind of data processing method and system |
CN107705384A (en) * | 2017-11-24 | 2018-02-16 | 北京洪泰同创信息技术有限公司 | Work attendance method, system, electronic equipment and storage medium |
CN108089849A (en) * | 2017-12-19 | 2018-05-29 | 国云科技股份有限公司 | A kind of method for preventing cheating program from quickly submitting |
CN109408761A (en) * | 2018-10-16 | 2019-03-01 | 翟红鹰 | A kind of filter method of repetitive requests, system, equipment and storage medium |
CN109525554A (en) * | 2018-10-12 | 2019-03-26 | 平安科技(深圳)有限公司 | Finance data communication means, device, medium and electronic equipment |
CN110297898A (en) * | 2019-06-28 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Asynchronous Compilation Method and device |
CN111935515A (en) * | 2020-08-14 | 2020-11-13 | 北京永新视博数字电视技术有限公司 | Method, device, equipment and medium for generating electronic program guide data table |
CN112287644A (en) * | 2020-09-30 | 2021-01-29 | 成都新潮传媒集团有限公司 | Data submission method and device, computer equipment and readable storage medium |
CN112754549A (en) * | 2021-01-20 | 2021-05-07 | 山东威高手术机器人有限公司 | Automatic identification and calibration method for surgical instruments |
CN112804222A (en) * | 2020-12-31 | 2021-05-14 | 中国平安人寿保险股份有限公司 | Data transmission method, device, equipment and storage medium based on cloud deployment |
CN112902418A (en) * | 2021-02-07 | 2021-06-04 | 海尔(深圳)研发有限责任公司 | Method and device for monitoring air conditioner and monitoring equipment |
CN113126970A (en) * | 2021-03-12 | 2021-07-16 | 广州八爪鱼科技有限公司 | Method and device for designing open interface of arbitration case service system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130073691A1 (en) * | 2011-06-17 | 2013-03-21 | Alibaba Group Holding Limited | File Processing Method, System and Server-clustered System for Cloud Storage |
CN104184832A (en) * | 2014-09-10 | 2014-12-03 | 北京国双科技有限公司 | Data submitting method and device in network application |
CN105095462A (en) * | 2015-07-30 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Method and system for processing webpage repeated requests |
CN105491395A (en) * | 2015-12-09 | 2016-04-13 | 福建天晴数码有限公司 | Server video management method and system |
CN105592444A (en) * | 2014-10-24 | 2016-05-18 | 阿里巴巴集团控股有限公司 | Method and apparatus for uploading terminal information, and client device |
-
2017
- 2017-03-29 CN CN201710198958.XA patent/CN107172121A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130073691A1 (en) * | 2011-06-17 | 2013-03-21 | Alibaba Group Holding Limited | File Processing Method, System and Server-clustered System for Cloud Storage |
CN104184832A (en) * | 2014-09-10 | 2014-12-03 | 北京国双科技有限公司 | Data submitting method and device in network application |
CN105592444A (en) * | 2014-10-24 | 2016-05-18 | 阿里巴巴集团控股有限公司 | Method and apparatus for uploading terminal information, and client device |
CN105095462A (en) * | 2015-07-30 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Method and system for processing webpage repeated requests |
CN105491395A (en) * | 2015-12-09 | 2016-04-13 | 福建天晴数码有限公司 | Server video management method and system |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107623746A (en) * | 2017-10-12 | 2018-01-23 | 上海联影医疗科技有限公司 | A kind of data processing method and system |
CN107623746B (en) * | 2017-10-12 | 2020-12-04 | 上海联影医疗科技股份有限公司 | Data processing method and system |
CN107705384A (en) * | 2017-11-24 | 2018-02-16 | 北京洪泰同创信息技术有限公司 | Work attendance method, system, electronic equipment and storage medium |
CN108089849B (en) * | 2017-12-19 | 2021-04-27 | 国云科技股份有限公司 | Method for preventing cheating program from being rapidly submitted |
CN108089849A (en) * | 2017-12-19 | 2018-05-29 | 国云科技股份有限公司 | A kind of method for preventing cheating program from quickly submitting |
CN109525554A (en) * | 2018-10-12 | 2019-03-26 | 平安科技(深圳)有限公司 | Finance data communication means, device, medium and electronic equipment |
CN109525554B (en) * | 2018-10-12 | 2022-07-08 | 平安科技(深圳)有限公司 | Financial data communication method, device, medium and electronic equipment |
CN109408761A (en) * | 2018-10-16 | 2019-03-01 | 翟红鹰 | A kind of filter method of repetitive requests, system, equipment and storage medium |
CN110297898A (en) * | 2019-06-28 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Asynchronous Compilation Method and device |
CN111935515A (en) * | 2020-08-14 | 2020-11-13 | 北京永新视博数字电视技术有限公司 | Method, device, equipment and medium for generating electronic program guide data table |
CN111935515B (en) * | 2020-08-14 | 2023-02-10 | 北京永新视博数字电视技术有限公司 | Method, device, equipment and medium for generating electronic program guide data table |
CN112287644A (en) * | 2020-09-30 | 2021-01-29 | 成都新潮传媒集团有限公司 | Data submission method and device, computer equipment and readable storage medium |
CN112287644B (en) * | 2020-09-30 | 2024-01-30 | 成都新潮传媒集团有限公司 | Data submitting method, device, computer equipment and readable storage medium |
CN112804222A (en) * | 2020-12-31 | 2021-05-14 | 中国平安人寿保险股份有限公司 | Data transmission method, device, equipment and storage medium based on cloud deployment |
CN112804222B (en) * | 2020-12-31 | 2022-11-15 | 中国平安人寿保险股份有限公司 | Data transmission method, device, equipment and storage medium based on cloud deployment |
CN112754549A (en) * | 2021-01-20 | 2021-05-07 | 山东威高手术机器人有限公司 | Automatic identification and calibration method for surgical instruments |
CN112902418A (en) * | 2021-02-07 | 2021-06-04 | 海尔(深圳)研发有限责任公司 | Method and device for monitoring air conditioner and monitoring equipment |
CN112902418B (en) * | 2021-02-07 | 2022-07-19 | 海尔(深圳)研发有限责任公司 | Method and device for monitoring air conditioner and monitoring equipment |
CN113126970A (en) * | 2021-03-12 | 2021-07-16 | 广州八爪鱼科技有限公司 | Method and device for designing open interface of arbitration case service system |
CN113126970B (en) * | 2021-03-12 | 2022-03-25 | 广州广电仲达数字科技有限公司 | Method and device for designing open interface of arbitration case service system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107172121A (en) | A kind of devices and methods therefor for preventing Data duplication from submitting | |
CN104898959B (en) | A kind of method and apparatus for adjusting virtual push button position | |
CN105159533A (en) | Mobile terminal and automatic verification code input method thereof | |
CN104618605B (en) | Mobile terminal locating method and device | |
CN106941443A (en) | One population historical record checks terminal and method | |
CN106909851A (en) | A kind of secure storage method of data and device | |
CN107133111A (en) | A kind of message processing apparatus and method | |
CN106504050A (en) | A kind of information comparison device and method | |
CN106598538A (en) | Method and system for updating instruction set | |
CN106547434A (en) | A kind of implementation method and terminal of terminal calculator | |
CN106850080A (en) | The sending method and mobile terminal of a kind of associated person information | |
CN106791195A (en) | A kind of operation processing method and device | |
CN107135069A (en) | Remote assistance control method and system | |
CN106778158A (en) | A kind of information protection device and method | |
CN106445148A (en) | Method and device for triggering terminal application | |
CN106775673A (en) | Many account entering devices and method of a kind of application program | |
CN106790126A (en) | A kind of method of the account mandate of application program, device and terminal | |
CN106534596A (en) | Anti-harassment call filtering method and filtering system thereof | |
CN106528138A (en) | Message prompting method and apparatus | |
CN109063623A (en) | A kind of fingerprint identification method, equipment and computer can storage mediums | |
CN107145551A (en) | A kind of server and data export method | |
CN106911795A (en) | A kind of data request processing device and method | |
CN106789600A (en) | The sharing method and terminal of a kind of picture | |
CN107220294A (en) | A kind of method and terminal for asking to handle | |
CN104992330A (en) | Payment method and corresponding terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170915 |
|
RJ01 | Rejection of invention patent application after publication |