CN105490925B - A kind of verification method and device of effectiveness of information - Google Patents

A kind of verification method and device of effectiveness of information Download PDF

Info

Publication number
CN105490925B
CN105490925B CN201510970142.5A CN201510970142A CN105490925B CN 105490925 B CN105490925 B CN 105490925B CN 201510970142 A CN201510970142 A CN 201510970142A CN 105490925 B CN105490925 B CN 105490925B
Authority
CN
China
Prior art keywords
value
information
entry value
vote
vote entry
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.)
Active
Application number
CN201510970142.5A
Other languages
Chinese (zh)
Other versions
CN105490925A (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510970142.5A priority Critical patent/CN105490925B/en
Publication of CN105490925A publication Critical patent/CN105490925A/en
Application granted granted Critical
Publication of CN105490925B publication Critical patent/CN105490925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C13/00Voting apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The present invention relates to a kind of verification method of effectiveness of information and devices, wherein includes: effective check information and corresponding vote entry value in the ballot request this method comprises: receiving the ballot request that client is sent;The validity of the vote entry value is verified according to effective check information.The device includes: receiving unit, the ballot request sent suitable for receiving client, includes: effective check information and corresponding vote entry value in the ballot request;Authentication unit, suitable for verifying the validity of the vote entry value according to effective check information in the received ballot request of the receiving unit.According to the technical solution of the present invention, it is effectively guaranteed the authentic and valid of vote information, promotes user's ballot experience.

Description

A kind of verification method and device of effectiveness of information
Technical field
The present invention relates to technical field of the computer network, a kind of verification method in particular to effectiveness of information and Device.
Background technique
With the rapid development of mobile Internet, higher and higher by promoting the cost of acquisition user information.Ballot conduct Best mode is runed in activity, is all had throwing by the welcome of many social platforms, such as forum, microblogging, immediate communication tool Ticket function.
In order to avoid illegal brush ticket, existing network voting function, usually by requiring user's registration to log in, limitation is thrown Ticket threshold, and voting results limitation is carried out to same ballot IP address, to ensure the validity of vote information, but this ballot side Virtually IP same to corporate intranet user is intercepted formula, is unable to ensure the true participation of corporate intranet user, into And ensure that the authentic and valid of vote information, influence user's ballot experience.
Summary of the invention
In view of the above problems, propose the present invention in order to provide one kind overcome the above problem or at least be partially solved or Person slows down the verification method and device of the effectiveness of information of the above problem, to ensure the authentic and valid of vote information.
According to an aspect of the invention, there is provided a kind of verification method of effectiveness of information, the method includes following Step:
The ballot request that client is sent is received, includes: effective check information and corresponding ballot in the ballot request Option value;
The validity of the vote entry value is verified according to effective check information.
Optionally, effective check information is hardware environment information;
The validity that the vote entry value is verified according to effective check information further comprises:
According to the validity of vote entry value described in the hardware environment Information Authentication.
Optionally, the validity of the vote entry value according to the hardware environment Information Authentication further comprises:
Judge the hardware environment information and corresponding vote entry value with the presence or absence of record;
It records if it exists, the vote entry value is determined as in vain;
It records if it does not exist, the vote entry value is determined as effectively, and by the hardware environment information and corresponding Vote entry value is recorded.
Optionally, the hardware environment information address of equipment and ballot environmental information where the client generates.
Optionally, the ballot environmental information include: client identification, operation system information, in browser information extremely One item missing.
Optionally, effective check information includes the address of equipment where client and Authority Verification mark;
The validity that the vote entry value is verified according to effective check information further comprises:
According to the validity of vote entry value described in the address of equipment where the client and Authority Verification identity verification.
Optionally, the polling option according to the address of equipment where the client and Authority Verification identity verification The validity of value further comprises:
According to the mark corresponding with the address of equipment where the client of the address search of equipment where the client Set;
Judge that the Authority Verification identifies whether to belong to the logo collection;
If being not belonging to the logo collection, the vote entry value is determined as in vain;
If belonging to the logo collection, the vote entry value is determined as effectively, and by the logo collection with institute It states Authority Verification and identifies corresponding mark deletion.
Optionally, the validity that the vote entry value is verified according to effective check information further comprises:
Search the corresponding nose count value of effective check information;
If the nose count value is greater than the first preset value, the vote entry value is determined as effectively, and to the throwing Ticket count value carries out subtracting one the operation of fixed value;
If the nose count value is less than or equal to first preset value, the vote entry value is determined as in vain.
Optionally, the validity that the vote entry value is verified according to effective check information further comprises:
Search the corresponding nose count value of effective check information;
If the vote entry value is determined as effectively by the nose count value less than the second preset value, and to the throwing Ticket count value carries out plus the operation of a fixed value;
If the nose count value is greater than or equal to second preset value, the vote entry value is determined as in vain.
Optionally, in the ballot request further include: the polling hours;
Correspondingly, the validity for verifying the vote entry value according to effective check information, further comprises:
According to the corresponding effective throwing of effective check information same in the polling hours and preset polling hours length Ticket amount threshold verifies the validity of the vote entry value.
According to another aspect of the present invention, a kind of verifying device of effectiveness of information is provided, described device includes:
Receiving unit is requested suitable for receiving the ballot that client is sent, and includes: effective check information in the ballot request With corresponding vote entry value;
Authentication unit, suitable for verifying the throwing according to effective check information in the received ballot request of the receiving unit Vote for the validity of entry value.
Optionally, effective check information is hardware environment information;
The authentication unit is further adapted for the effective of the vote entry value according to the hardware environment Information Authentication Property.
Optionally, the authentication unit is further adapted for judging the hardware environment information and corresponding vote entry value It with the presence or absence of record, records if it exists, is then determined as in vain, recording if it does not exist by the vote entry value, then by the throwing It votes for entry value to be determined as effectively, and the hardware environment information and corresponding vote entry value is recorded.
Optionally, the hardware environment information address of equipment and ballot environmental information where the client generates.
Optionally, the ballot environmental information include: client identification, operation system information, in browser information extremely One item missing.
Optionally, effective check information includes the address of equipment where client and Authority Verification mark;
The authentication unit is further adapted for according to the address of equipment and Authority Verification identity verification where the client The validity of the vote entry value.
Optionally, the authentication unit, be further adapted for according to the address search of equipment where the client with it is described The corresponding logo collection in address of equipment where client, and judge that the Authority Verification identifies whether to belong to the identification sets It closes, if being not belonging to the logo collection, the vote entry value is determined as in vain, it, will if belonging to the logo collection The vote entry value is determined as effectively, and mark corresponding with Authority Verification mark in the logo collection is deleted.
Optionally, the authentication unit is further adapted for searching the corresponding nose count value of effective check information, if The nose count value is greater than the first preset value, then is determined as the vote entry value effectively, and to the nose count value Carry out subtracting one the operation of fixed value, if the nose count value is less than or equal to first preset value, by the vote Entry value is determined as in vain.
Optionally, the authentication unit is further adapted for searching the corresponding nose count value of effective check information, if The vote entry value is then determined as effectively by the nose count value less than the second preset value, and to the nose count value The operation for adding a fixed value is carried out, if the nose count value is greater than or equal to second preset value, by the vote Entry value is determined as in vain.
Optionally, in the ballot request further include: the polling hours;
The authentication unit is further adapted for being had according to same in the polling hours and preset polling hours length The corresponding effective ballot amount threshold of check information is imitated, the validity of the vote entry value is verified.
The verification method and device of effectiveness of information provided by the invention are requested by receiving the ballot that client is sent, It include: effective check information and corresponding vote entry value in ballot request, and according to effective check information in ballot request The validity of vote entry value is verified, the authentic and valid of vote information is effectively guaranteed, promotes user's ballot experience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 diagrammatically illustrates the flow diagram of the verification method of the effectiveness of information of one embodiment of the invention;
Fig. 2 diagrammatically illustrates the flow diagram of the verification method of the effectiveness of information of another embodiment of the present invention;
Fig. 3 diagrammatically illustrates the flow diagram of the verification method of the effectiveness of information of another embodiment of the present invention;
Fig. 4 diagrammatically illustrates the flow diagram of the verification method of the effectiveness of information of another embodiment of the present invention;
Fig. 5 diagrammatically illustrates the structural schematic diagram of the verifying device of the effectiveness of information of one embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless otherwise will not be explained in an idealized or overly formal meaning by specific definitions.
Verifying below with reference to attached drawing to the verification method and effectiveness of information of the effectiveness of information of the embodiment of the present invention Device is described in detail.
In order to guarantee the authentic and valid of vote information, user's ballot experience is promoted, the present invention proposes a kind of effectiveness of information Verification method, comprising: receive the ballot request that client is sent, include: effective check information and corresponding in ballot request Vote entry value, and the validity of vote entry value is verified according to effective check information in ballot request.
Fig. 1 diagrammatically illustrates the flow diagram of the verification method of the effectiveness of information of one embodiment of the invention.
Referring to Fig.1, the verification method of the effectiveness of information of the embodiment of the present invention, specifically includes the following steps:
S11, receive the ballot request that client is sent, the ballot request in include: effective check information and corresponding Vote entry value.
It will be appreciated that the ballot request can be regarded as asking for the polling option generation shown in triggering vote interface It asks, correspondingly, the vote entry value is the corresponding option value of polling option of triggering, and effective check information is to throw for verifying Vote for the information of the validity of entry value.
In the concrete realization, the ballot request that the polling option shown in the triggering vote interface generates, can be by more Kind of mode realizes, such as: request of the polling option being showed in vote interface to generate is clicked by mouse, or, showing The request that the polling option is clicked on the touch screen for having the vote interface to generate.
It should be noted that the polling option shown in triggering vote interface above-mentioned is to generate the side that ballot is requested Formula is only citing, can also include the case where other in addition to the above, e.g., pass through the ballot being showed in vote interface Option is to generate ballot request or based on the polling option in gesture trigger vote interface to generate ballot request etc..The present invention is not It needs to realize that triggering product is searched interface and is defined in a manner of the search request generated to specific reference to what kind of mode, this Field technical staff needs to be configured according to practical application.
S12, the validity that the vote entry value is verified according to effective check information.
The verification method of effectiveness of information provided in an embodiment of the present invention includes effective school by receive client transmission The ballot request of information and corresponding vote entry value is tested, and according to effective check information in ballot request to vote entry value Validity verified.It is effectively guaranteed the authentic and valid of vote information, promotes user's ballot experience.
According to a preferred embodiment of the present invention, effective check information is hardware environment information.Fig. 2 schematically shows The flow diagram of the verification method of the effectiveness of information of the embodiment of the present invention is gone out.
Reference Fig. 2, the verification method of the effectiveness of information of the embodiment of the present invention, specifically includes the following steps:
S21, receive the ballot request that client is sent, the ballot request in include: hardware environment information and corresponding Vote entry value.
Wherein, the hardware environment information address of equipment and ballot environmental information where the client generates.
It should be noted that the address of equipment where the client can for equipment where client IP address or In MAC Address any one or both combination.
Wherein, the ballot environmental information include: client identification, operation system information, in browser information at least One.
It will be appreciated that the client identification can be the client identification user Agent of user browser, operation System information can be operating system platform platform, and browser information can be browser title app Name.
The validity of S22, the vote entry value according to the hardware environment Information Authentication.
The verification method of effectiveness of information provided in an embodiment of the present invention includes hardware loop by receive client transmission The ballot of border information and corresponding vote entry value is requested, and according to the hardware environment information in ballot request to vote entry value Validity verified, wherein the hardware environment information address of equipment and ballot environmental information where the client is raw At realizing under the premise of not requiring user's registration to log in, effectively ensure that the validity of vote information, and will not be to enterprise The same IP of network users is intercepted in the industry, it can be ensured that the true participation of corporate intranet user promotes user's ballot experience.
Specifically, step S22, further comprises following the step of being not shown in the figure:
A11, the hardware environment information and corresponding vote entry value are judged with the presence or absence of record, if the hardware environment There is record in information and corresponding vote entry value, A12 is thened follow the steps, if the hardware environment information and corresponding vote Entry value thens follow the steps A13 there is no record;
A12, the vote entry value is determined as in vain;
A13, the vote entry value is determined as effectively, and by the hardware environment information and corresponding vote entry value It is recorded.
In the embodiment of the present invention, server-side reads ballot configuration information, and provides ballot interface.It will be appreciated that ballot Configuration information includes configuration ballot item, such as A, B, C and D.
It when server-side receives the ballot request of client transmission, and include: hardware environment information and right in request of voting When the vote entry value answered, client hardware environmental information is first judged, wherein address and ballot of the hardware environment information by equipment Environmental information generates, and in the present embodiment, ballot environmental information includes: client identification, operation system information, browser information At least one of in.Again by judging the hardware environment information and corresponding vote entry value with the presence or absence of record, if described There is record in hardware environment information and corresponding vote entry value, then be determined as the vote entry value in vain, if described hard The vote entry value is then determined as effectively by part environmental information and corresponding vote entry value there is no record, and will be described Hardware environment information and corresponding vote entry value are recorded.
In a specific example, judge that the hardware environment information and corresponding vote entry value whether there is record, Especially by by the IP address of equipment and client identification, operation system information, browser information and user's vote entry value Identification strings information is generated, and the character string information is calculated, obtains corresponding KEY value;Search polled data library In whether there is the KEY value;When the KEY value is not present in polled data library, determine that current ballot is effectively ballot.
Wherein, the calculation method of KEY value, specifically can be by believing the IP address of equipment and client identification, operating system Breath, browser information and user's vote entry value sort according to lexicographic order, splice each character string information with fixed format, And carry out being worth for md5 calculating.Using obtained value as key, search whether the key has existed in redis database, If it does not exist, then the vote entry value is determined as effectively, and is stored in redis for the information of string-concatenation as value, And be arranged validity period be 1 hour.If there is the key, then illustrates to repeat to submit brush ticket, be then determined as the vote entry value In vain.Optionally, successful result can also be returned to, without counting to confuse brush ticket person.And then user's registration is not being required to log in Under the premise of, effectively ensure that the validity of vote information, and will not IP same to corporate intranet user intercepted, can Ensure the true participation of corporate intranet user, promotes user's ballot experience.
According to a preferred embodiment of the present invention, effective check information include equipment where client address and Authority Verification mark.Fig. 3 diagrammatically illustrates the flow diagram of the verification method of the effectiveness of information of the embodiment of the present invention.
Reference Fig. 3, the verification method of the effectiveness of information of the embodiment of the present invention, specifically includes the following steps:
S31, receive the ballot request that client is sent, include: in the ballot request equipment where client address, Authority Verification mark and corresponding vote entry value.
It should be noted that the address of equipment where the client can for equipment where client IP address or In MAC Address any one or both combination.It is that each client place is set that the Authority Verification, which is identified as server-side in advance, The verifying logo collection of standby address setting, whether the client for verifying currently transmitted ballot request, which has permission, is thrown Ticket.
Wherein, server-side is the verifying logo collection of the address setting of equipment where each client in advance, can be according to reality Border ballot needs the random number by generating preset quantity at random, and using obtained random number as the mode of verifying logo collection It realizes.
Vote entry value described in S32, the address of equipment and Authority Verification identity verification according to where the client has Effect property.
The verification method of effectiveness of information provided in an embodiment of the present invention includes client by receive client transmission The ballot request of the address, Authority Verification mark and corresponding vote entry value of place equipment, and according to the visitor in ballot request The address of equipment where the end of family and Authority Verification mark verify the validity of vote entry value.Do not requiring user's registration Under the premise of logging in, effectively ensure that the validity of vote information, and will not IP same to corporate intranet user blocked It cuts, it can be ensured that the true participation of corporate intranet user promotes user's ballot experience.
Specifically, step S32, further comprises following the step of being not shown in the figure:
It is B11, corresponding with the client place address of equipment according to the address search of equipment where the client Logo collection;
B12, judge that the Authority Verification identifies whether to belong to the logo collection, if Authority Verification mark is not belonging to The logo collection, thens follow the steps B13, if Authority Verification mark belongs to the logo collection, thens follow the steps B14;
B13, the vote entry value is determined as in vain;
B14, the vote entry value is determined as effectively, and will in the logo collection with the Authority Verification mark pair The mark answered is deleted.
In the embodiment of the present invention, requested when server-side receives the ballot that client is sent, and include: visitor in request of voting Where the end of family when the address of equipment, Authority Verification mark and corresponding vote entry value, firstly, being set according to where the client Standby address search logo collection corresponding with the address of equipment where the client, and confirm that the permission in ballot request is tested Card identifies whether to belong to the preset logo collection corresponding with the address of equipment where client of server-side, if Authority Verification identifies It is not belonging to the logo collection, then is determined as the vote entry value in vain, if Authority Verification mark belongs to the mark Know set, is then determined as the vote entry value effectively, and will be corresponding with Authority Verification mark in the logo collection Mark delete.And then realize under the premise of not requiring user's registration to log in there is the validity for ensuring vote information, and not Meeting IP same to corporate intranet user is intercepted, it is ensured that the true participation of corporate intranet user promotes user's ballot body It tests.
According to a preferred embodiment of the present invention, the throwing is verified according to effective check information in step S12 The validity for voting for entry value further comprises following the step of being not shown in the figure:
S121, the corresponding nose count value of effective check information is searched, if the nose count value is greater than first in advance If value, thens follow the steps S122, if the nose count value is less than or equal to the first preset value S123.
It should be noted that nose count value is to carry the count value of the ballot request of identical effective check information.Institute Stating the first preset value is limiting the effective quantity for the ballot request for carrying identical effective check information for default setting Count value, specific limit can not be done to this by counter or other software or hardware realization with technical functionality, the present invention It is fixed.
In practical applications, due to the own characteristic for corresponding type of service of voting, different ballot types of service is to throwing The verification mode of ticket information is different, the ballots business such as votes, such as select favorite star or product for some entertainments, Can't be very high to ballot accuracy requirement, only the ballot quantity of each enterprises distribution may be limited, and unlimited Make the actual participation person of ballot.
S122, the vote entry value is determined as effectively, and carries out subtracting one the behaviour of fixed value to the nose count value Make;
S123, the vote entry value is determined as in vain.
In a specific example, first preset value is 0, and fixed value is set as 2, when the packet for receiving client transmission When including effective check information and the ballot request of corresponding vote entry value, the corresponding nose count of effective check information is searched Value, if the nose count value is 2, it is clear that 2 are greater than 0, then are determined as the vote entry value effectively, and count to the ballot Numerical value carries out subtracting one the operation of fixed value, i.e., 2 subtract 2, by obtained value 0 as current nose count value.At this point, if connecing again The vote entry value, then be determined as in vain by the ballot request for receiving client transmission.
In the embodiment of the present invention, by the effective quantity of the default effective check information of setting, testing for ballot validity is realized Card promotes user's ballot experience.
According to a preferred embodiment of the present invention, the throwing is verified according to effective check information in step S12 The validity for voting for entry value further comprises following the step of being not shown in the figure:
S121 ', the corresponding nose count value of effective check information is searched, if the nose count value is pre- less than second If value, thens follow the steps S122 ', if the nose count value is greater than or equal to the second preset value S123 ';
It should be noted that nose count value is to carry the count value of the ballot request of identical effective check information.Institute Stating the second preset value is limiting the effective quantity for the ballot request for carrying identical effective check information for default setting Count value, specific limit can not be done to this by counter or other software or hardware realization with technical functionality, the present invention It is fixed.
In practical applications, due to the own characteristic for corresponding type of service of voting, different ballot types of service is to throwing The verification mode of ticket information is different, the ballots business such as votes, such as select favorite star or product for some entertainments, Can't be very high to ballot accuracy requirement, only the ballot quantity of each enterprises distribution may be limited, and unlimited Make the actual participation person of ballot.
S122 ', the vote entry value is determined as effectively, and carries out the behaviour for adding a fixed value to the nose count value Make;
S123 ', the vote entry value is determined as in vain.
In a specific example, second preset value be 100, fixed value is set as 2, when receive client transmission When requesting including effective check information and the ballot of corresponding vote entry value, the corresponding ballot meter of effective check information is searched Numerical value, if the nose count value is 98, it is clear that 98 less than 100, then are determined as the vote entry value effectively, and to described Nose count value carries out plus the operation of a fixed value, i.e., and 98 plus 2, by obtained value 100 as current nose count value.This When, if receiving the ballot request of client transmission again, the vote entry value is determined as in vain.
In the embodiment of the present invention, by the effective quantity of the default effective check information of setting, testing for ballot validity is realized Card promotes user's ballot experience.
According to a preferred embodiment of the present invention, in the ballot request further include: the polling hours.Fig. 4 schematically shows The flow diagram of the verification method of the effectiveness of information of the embodiment of the present invention is gone out.
Reference Fig. 4, the verification method of the effectiveness of information of the embodiment of the present invention, specifically includes the following steps:
S41, the ballot request that client is sent is received, includes: effective check information, polling hours in the ballot request With corresponding vote entry value.
Wherein, the polling hours can send the sending time when ballot is requested for client, or clothes Business termination receives the receiving time when ballot request that the client is sent, in this regard, the present invention is not specifically limited.
S42, have according to same effective check information is corresponding in the polling hours and preset polling hours length Effect ballot amount threshold, verifies the validity of the vote entry value.
In practical applications, in order to ensure the true participation of corporate intranet user, user's ballot experience is promoted.The present invention Embodiment, by presetting the corresponding effective ballot amount threshold of same effective check information in polling hours length, to test Demonstrate,prove the validity of the vote entry value.
In a specific example, effective check information can be the IP address of equipment where client, by The polling hours section and same effective verification in each polling hours section that multiple time spans are 10 minutes are set in one day Effective ballot amount threshold can be set as 20 in the present embodiment, to verify each throwing by the corresponding effective ballot amount threshold of information The validity of vote entry value in ticket request, when the ballot with same effective check information is asked in a polling hours section When quantity being asked to reach 20, if receive the ballot request with identical effective check information again, by the polling option Value is determined as in vain, and then ensures the true participation of corporate intranet user, promotes user's ballot experience.
For embodiment of the method, for simple description, therefore, it is stated as a series of action combinations, but this field Technical staff should be aware of, and embodiment of that present invention are not limited by the describe sequence of actions, because implementing according to the present invention Example, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, specification Described in embodiment belong to preferred embodiment, the actions involved are not necessarily necessary for embodiments of the present invention.
Fig. 5 diagrammatically illustrates the structural schematic diagram of the verifying device of the effectiveness of information of one embodiment of the invention.
Referring to Fig. 5, the verifying device of the effectiveness of information of the embodiment of the present invention specifically includes receiving unit 501 and verifying is single Member 502, in which:
The receiving unit 501 is requested suitable for receiving the ballot that client is sent, and includes: to have in the ballot request Imitate check information and corresponding vote entry value;
The authentication unit 502, suitable for being believed according to effective verification in the received ballot request of the receiving unit 501 Breath verifies the validity of the vote entry value.
The verifying device of effectiveness of information provided in an embodiment of the present invention receives client by receiving unit 501 and sends Include effective check information and corresponding vote entry value ballot request, authentication unit 502 is according to having in ballot request Effect check information verifies the validity of vote entry value.It is effectively guaranteed the authentic and valid of vote information, is promoted and is used Family ballot experience.
According to a preferred embodiment of the present invention, effective check information is hardware environment information;
The authentication unit 502 is further adapted for having for the vote entry value according to the hardware environment Information Authentication Effect property.
Wherein, the hardware environment information address of equipment and ballot environmental information where the client generates.
Wherein, the ballot environmental information include: client identification, operation system information, in browser information at least One.
Specifically, the authentication unit 502, is further adapted for judging the hardware environment information and corresponding polling option Value records if it exists with the presence or absence of record, is then determined as in vain, recording if it does not exist by the vote entry value, then will be described Vote entry value is determined as effectively, and the hardware environment information and corresponding vote entry value are recorded.
According to a preferred embodiment of the present invention, effective check information include equipment where client address and Authority Verification mark;
The authentication unit 502 is further adapted for according to the address of equipment where the client and Authority Verification mark Verify the validity of the vote entry value.
Specifically, the authentication unit 502, is further adapted for according to the address search of equipment and institute where the client The corresponding logo collection in address of equipment where stating client, and judge that the Authority Verification identifies whether to belong to the identification sets It closes, if being not belonging to the logo collection, the vote entry value is determined as in vain, it, will if belonging to the logo collection The vote entry value is determined as effectively, and mark corresponding with Authority Verification mark in the logo collection is deleted.
According to a preferred embodiment of the present invention, the authentication unit 502 is further adapted for searching effective verification The vote entry value is determined as by the corresponding nose count value of information if the nose count value is greater than the first preset value Effectively, and to the nose count value carry out subtracting one the operation of fixed value, if the nose count value is less than or equal to described the The vote entry value is then determined as in vain by one preset value.
According to a preferred embodiment of the present invention, the authentication unit 502 is further adapted for searching effective verification The corresponding nose count value of information, if the vote entry value is determined as by the nose count value less than the second preset value Effectively, and to the nose count value it carries out plus the operation of a fixed value, if the nose count value is greater than or equal to described the The vote entry value is then determined as in vain by two preset values.
According to a preferred embodiment of the present invention, in the ballot request further include: the polling hours;
The authentication unit 502 is further adapted for according to same in the polling hours and preset polling hours length The corresponding effective ballot amount threshold of one effective check information, verifies the validity of the vote entry value.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
In conclusion the verification method and device of effectiveness of information provided in an embodiment of the present invention, by receiving client The ballot of transmission is requested, and includes: effective check information and corresponding vote entry value in ballot request, and according in ballot request Effective check information verifies the validity of vote entry value, is effectively guaranteed the authentic and valid of vote information, is promoted User, which votes, to be experienced.
It should be noted that provided herein algorithm and formula not with any certain computer, virtual system or other equipment It is intrinsic related.Various general-purpose systems can also be used together with example based on this.As described above, this kind of system is constructed The required structure of system is obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can be with Using various programming languages realize summary of the invention described herein, and the description that language-specific is done above be in order to Disclose preferred forms of the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of various aspects of the present invention, In the above description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method and apparatus of the disclosure should not be construed to reflect an intention that i.e. institute Claimed invention requires features more more than feature expressly recited in each claim.More precisely, If claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize one in web portal security detection device according to an embodiment of the present invention The some or all functions of a little or whole components.The present invention is also implemented as executing method as described herein Some or all device or device programs (for example, computer program and computer program product).Such realization Program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.This The signal of sample can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or mentions in any other forms For.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (18)

1. a kind of verification method of effectiveness of information, comprising:
The ballot request that client is sent is received, includes: effective check information and corresponding polling option in the ballot request Value, effective check information includes hardware environment information, the ground of hardware environment information equipment where the client Location and ballot environmental information generate;
The validity of the vote entry value is verified according to effective check information.
2. the method as described in claim 1, effective check information is hardware environment information;
The validity that the vote entry value is verified according to effective check information further comprises:
According to the validity of vote entry value described in the hardware environment Information Authentication.
3. method according to claim 2, the vote entry value according to the hardware environment Information Authentication it is effective Property, further comprise:
Judge the hardware environment information and corresponding vote entry value with the presence or absence of record;
It records if it exists, the vote entry value is determined as in vain;
It records if it does not exist, the vote entry value is determined as effectively, and by the hardware environment information and corresponding ballot Option value is recorded.
4. method as claimed in claim 3, the ballot environmental information includes: client identification, operation system information, browsing At least one of in device information.
5. method according to any of claims 1-4, effective check information includes the address of equipment where client And Authority Verification mark;
The validity that the vote entry value is verified according to effective check information further comprises:
According to the validity of vote entry value described in the address of equipment where the client and Authority Verification identity verification.
6. method as claimed in claim 5, described to be tested according to the address of equipment where the client and Authority Verification mark The validity for demonstrate,proving the vote entry value further comprises:
According to the logo collection corresponding with the address of equipment where the client of the address search of equipment where the client;
Judge that the Authority Verification identifies whether to belong to the logo collection;
If being not belonging to the logo collection, the vote entry value is determined as in vain;
If belonging to the logo collection, the vote entry value is determined as effectively, and by the logo collection with the power Limit verifying identifies corresponding mark and deletes.
7. method as claimed in claim 6, described verify the effective of the vote entry value according to effective check information Property, further comprise:
Search the corresponding nose count value of effective check information;
If the nose count value is greater than the first preset value, the vote entry value is determined as effectively, and the ballot is counted Numerical value carries out subtracting one the operation of fixed value;
If the nose count value is less than or equal to first preset value, the vote entry value is determined as in vain.
8. the method for claim 7, described to verify the effective of the vote entry value according to effective check information Property, further comprise:
Search the corresponding nose count value of effective check information;
If the vote entry value is determined as effectively by the nose count value less than the second preset value, and counts to the ballot Numerical value carries out plus the operation of a fixed value;
If the nose count value is greater than or equal to second preset value, the vote entry value is determined as in vain.
9. method according to claim 8, in the ballot request further include: the polling hours;
The validity that the vote entry value is verified according to effective check information further comprises:
According to the corresponding effective votes of effective check information same in the polling hours and preset polling hours length Threshold value is measured, the validity of the vote entry value is verified.
10. a kind of verifying device of effectiveness of information, comprising:
Receiving unit, the ballot request sent suitable for receiving client, the ballot request in include: effective check information and right The vote entry value answered, effective check information include hardware environment information, and the hardware environment information is by the client The address of place equipment and ballot environmental information generate;
Authentication unit, suitable for verifying the vote according to effective check information in the received ballot request of the receiving unit The validity of entry value.
11. device according to claim 10, effective check information is hardware environment information;
The authentication unit is further adapted for the validity of the vote entry value according to the hardware environment Information Authentication.
12. device according to claim 11, the authentication unit, be further adapted for judging the hardware environment information and Corresponding vote entry value records if it exists with the presence or absence of record, is then determined as the vote entry value in vain, if it does not exist The vote entry value, then be determined as effectively by record, and the hardware environment information and corresponding vote entry value are carried out Record.
13. device according to claim 12, the ballot environmental information include: client identification, operation system information, At least one of in browser information.
14. the described in any item devices of 0-13 according to claim 1, effective check information includes equipment where client Address and Authority Verification mark;
The authentication unit is further adapted for according to the address of equipment where the client and Authority Verification identity verification The validity of vote entry value.
15. device according to claim 14, the authentication unit are further adapted for according to equipment where the client Address search logo collection corresponding with the address of equipment where the client, and judge that the Authority Verification identifies whether Belong to the logo collection, if being not belonging to the logo collection, the vote entry value is determined as in vain, if belonging to described The vote entry value is then determined as effectively by logo collection, and will in the logo collection with the Authority Verification mark pair The mark answered is deleted.
16. device according to claim 15, the authentication unit are further adapted for searching effective check information pair The vote entry value is determined as effectively by the nose count value answered if the nose count value is greater than the first preset value, and Carry out subtracting one the operation of fixed value to the nose count value, if to be less than or equal to described first default for the nose count value The vote entry value, then be determined as in vain by value.
17. device according to claim 16, the authentication unit are further adapted for searching effective check information pair The nose count value answered, if the vote entry value is determined as effectively by the nose count value less than the second preset value, and The operation for adding a fixed value is carried out to the nose count value, is preset if the nose count value is greater than or equal to described second The vote entry value, then be determined as in vain by value.
18. device according to claim 17, in the ballot request further include: the polling hours;
The authentication unit is further adapted for according to same effective school in the polling hours and preset polling hours length The corresponding effective ballot amount threshold of information is tested, the validity of the vote entry value is verified.
CN201510970142.5A 2015-12-22 2015-12-22 A kind of verification method and device of effectiveness of information Active CN105490925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510970142.5A CN105490925B (en) 2015-12-22 2015-12-22 A kind of verification method and device of effectiveness of information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510970142.5A CN105490925B (en) 2015-12-22 2015-12-22 A kind of verification method and device of effectiveness of information

Publications (2)

Publication Number Publication Date
CN105490925A CN105490925A (en) 2016-04-13
CN105490925B true CN105490925B (en) 2019-07-23

Family

ID=55677657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510970142.5A Active CN105490925B (en) 2015-12-22 2015-12-22 A kind of verification method and device of effectiveness of information

Country Status (1)

Country Link
CN (1) CN105490925B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204870B (en) * 2016-07-01 2018-04-10 王本宗 A kind of internet voting method and its ballot platform
CN106227813A (en) * 2016-07-22 2016-12-14 百度在线网络技术(北京)有限公司 For the method and apparatus preventing voice ballot cheating
CN106408734A (en) * 2016-10-25 2017-02-15 西华大学 Network-based secret ballot method and device
CN107493326B (en) * 2017-08-08 2021-02-12 广州酷狗计算机科技有限公司 Network voting processing method, device, server and computer readable storage medium
CN108711212B (en) * 2018-05-21 2021-03-09 中国联合网络通信集团有限公司 Voting certificate storage method, device and system
CN108806055A (en) * 2018-05-21 2018-11-13 广西九星互联网络有限公司 Network voting detection method and equipment based on polling hours section
CN109243045B (en) * 2018-06-28 2022-04-12 平安科技(深圳)有限公司 Voting method, voting device, computer equipment and computer readable storage medium
CN110417634A (en) * 2019-06-20 2019-11-05 平安普惠企业管理有限公司 Anti- brush ticket cheat method and relevant device based on information security
CN112953980A (en) * 2019-11-26 2021-06-11 北京京东尚科信息技术有限公司 Method, device and system for realizing network voting
CN111750493B (en) * 2020-06-24 2021-08-13 珠海格力电器股份有限公司 Control method, control device and cloud control system
CN115035648A (en) * 2022-05-31 2022-09-09 清远市志远软件技术服务有限公司 Anonymous electronic voting system and working method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568074A (en) * 2012-01-16 2012-07-11 浙江工业大学 Localized anti-repudiation electronic voting control method
CN103186936A (en) * 2011-12-27 2013-07-03 上海博泰悦臻电子设备制造有限公司 Management method for network voting and network voting system
WO2014066956A1 (en) * 2012-11-05 2014-05-08 Butler Kyle A system, computing device and application server for voting
CN104077082A (en) * 2014-06-30 2014-10-01 广州华多网络科技有限公司 Network voting data storage method and device
CN104392534A (en) * 2014-11-21 2015-03-04 西南交通大学 Electronic voting system based on finger vein feature recognition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7270269B2 (en) * 2005-09-06 2007-09-18 International Business Machines Corporation Secure electronic voting device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186936A (en) * 2011-12-27 2013-07-03 上海博泰悦臻电子设备制造有限公司 Management method for network voting and network voting system
CN102568074A (en) * 2012-01-16 2012-07-11 浙江工业大学 Localized anti-repudiation electronic voting control method
WO2014066956A1 (en) * 2012-11-05 2014-05-08 Butler Kyle A system, computing device and application server for voting
CN104077082A (en) * 2014-06-30 2014-10-01 广州华多网络科技有限公司 Network voting data storage method and device
CN104392534A (en) * 2014-11-21 2015-03-04 西南交通大学 Electronic voting system based on finger vein feature recognition

Also Published As

Publication number Publication date
CN105490925A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN105490925B (en) A kind of verification method and device of effectiveness of information
US9154516B1 (en) Detecting risky network communications based on evaluation using normal and abnormal behavior profiles
CN103685307B (en) The method and system of feature based storehouse detection fishing fraud webpage, client, server
CN103685308B (en) Detection method and system of phishing web pages, client and server
CN108989355B (en) Vulnerability detection method and device
CN108712413B (en) Identity verification method and equipment
CN109039987A (en) A kind of user account login method, device, electronic equipment and storage medium
CN105100034B (en) The method and apparatus of access function in a kind of network application
US9225728B2 (en) Method and device for anonymous entity identification
CN102739653B (en) Detection method and device aiming at webpage address
CN106127872A (en) Work attendance method based on mobile terminal, client and equipment
CN104765682B (en) Detection method and system under the line of cross site scripting leak
CN102821137A (en) Website safety detection method and website safety detection system
CN105516133A (en) User identity verification method, server and client
CN102664876A (en) Method and system for detecting network security
CN104580075A (en) User login validation method, device and system
CN109698809A (en) A kind of recognition methods of account abnormal login and device
US9059987B1 (en) Methods and systems of using single sign-on for identification for a web server not integrated with an enterprise network
CN102710770A (en) Identification method for network access equipment and implementation system for identification method
CN104935601B (en) Web log file safety analytical method based on cloud, apparatus and system
CN104967594B (en) Stolen account identification method and apparatus
CN105677866A (en) Content conversion tracing method, device and system and conversion server
CN105897670A (en) Website user login authentication method and system
CN108769063A (en) A kind of method and device of automatic detection WebLogic known bugs
CN102833247A (en) Method for anti-sweeping ciphers in user login system and device thereof

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220729

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.