[go: up one dir, main page]

CN109634602B - Electronic device, man-machine voting recognition method, and storage medium - Google Patents

Electronic device, man-machine voting recognition method, and storage medium Download PDF

Info

Publication number
CN109634602B
CN109634602B CN201811256591.3A CN201811256591A CN109634602B CN 109634602 B CN109634602 B CN 109634602B CN 201811256591 A CN201811256591 A CN 201811256591A CN 109634602 B CN109634602 B CN 109634602B
Authority
CN
China
Prior art keywords
voting
page
configuration information
frame
control configuration
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
CN201811256591.3A
Other languages
Chinese (zh)
Other versions
CN109634602A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811256591.3A priority Critical patent/CN109634602B/en
Publication of CN109634602A publication Critical patent/CN109634602A/en
Application granted granted Critical
Publication of CN109634602B publication Critical patent/CN109634602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a man-machine voting identification method, which comprises the following steps: receiving a voting page generation request carrying voting configuration information sent by a client, and selecting a plurality of voting page frames based on an AJAX technology; predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information; randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to a client for display; receiving second page control configuration information submitted by a user based on a target voting page frame, and comparing the second page control configuration information with the first page control configuration information; if the configuration information of the second page control is consistent with the configuration information of the first page control, determining that the voting operation is the operation of the user, and verifying the voting operation. The machine ticket brushing can be identified rapidly and accurately. The invention also provides an electronic device and a storage medium.

Description

Electronic device, man-machine voting recognition method, and storage medium
Technical Field
The present invention relates to the field of network identification, and in particular, to an electronic device, a method for identifying a human-machine vote, and a storage medium.
Background
With the widespread use of communication clients, such as WeChat, QQ, etc., users can not only conduct social activities through the communication clients, but also participate in a wide range of social activities, such as voting activities on various websites, through the communication clients. At present, when a user performs voting activities through a communication client, a request for acquiring a voting page needs to be sent to a background, and after the background receives the voting page acquisition request sent by the user, a predetermined unified voting page is directly loaded to a corresponding client, so that once the situation of machine voting brushing occurs, the situation is difficult to discover in time. Therefore, how to quickly and accurately identify whether the communication client is a machine-swipe ticket, and improving the fairness of network voting is a problem to be solved.
Disclosure of Invention
In view of the above, the invention provides an electronic device, a man-machine voting recognition method and a storage medium, which can rapidly and accurately recognize machine votes and improve the fairness of network votes.
First, in order to achieve the above object, the present invention provides an electronic device, which includes a memory, and a processor connected to the memory, wherein the processor is configured to execute a man-machine vote identifying program stored on the memory, and the man-machine vote identifying program when executed by the processor implements the following steps:
A1, after receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames based on an AJAX technology;
A2, predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information;
a3, randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the terminal for display;
a4, receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information;
And A5, if the configuration information of the second page control is completely consistent with the configuration information of the first page control, determining that the voting operation is the operation of the user, and verifying the voting operation.
Preferably, in the step A1, the at least two voting page frames contain the same page control, and the layouts of the page controls contained in the at least two voting page frames are different; the voting configuration information comprises a voting theme, option settings and a selection mode, wherein the number of the option settings at least comprises two, and the selection mode is single-item selection or multi-item selection.
Preferably, in the step A1, the step of selecting at least two voting page frames based on the AJAX technique includes:
Traversing a predetermined page frame set based on an AJAX technology, wherein a common page frame packaged by adopting HTML, CSS and JavaScript technology is stored in the page frame set;
And selecting at least two voting page frames from the page frame set according to the voting configuration information, wherein the voting page frames are a set of a predefined whole set of page layouts.
Preferably, before the step A3, the method further comprises the following steps;
And carrying out encryption processing on the first page control configuration information to obtain encrypted data of the first control configuration information.
Preferably, the step A4 may be replaced by:
After receiving second page control configuration information submitted by a user based on the target voting page frame, decrypting the encrypted data to obtain the first page frame configuration information;
comparing the second page control configuration information with the first page control configuration information, and if the second page control configuration information is completely consistent with the first page control configuration information, determining that the voting operation is the operation of the user, and verifying the voting operation.
In addition, in order to achieve the above purpose, the present invention also provides a man-machine vote identification method, which includes the following steps:
s1, after receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames based on an AJAX technology;
s2, predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information;
s3, randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the terminal for display;
S4, receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information;
And S5, if the configuration information of the second page control is completely consistent with the configuration information of the first page control, determining that the voting operation is the operation of the user, and verifying the voting operation.
Preferably, in the step S1, the at least two voting page frames contain the same page control, and the layouts of the page controls contained in the at least two voting page frames are different; the voting configuration information comprises a voting theme, option settings and a selection mode, wherein the number of the option settings at least comprises two, and the selection mode is single-item selection or multi-item selection.
Preferably, in the step S1, the step of selecting at least two voting page frames based on the AJAX technique includes:
Traversing a predetermined page frame set based on an AJAX technology, wherein a common page frame packaged by adopting HTML, CSS and JavaScript technology is stored in the page frame set;
And selecting at least two voting page frames from the page frame set according to the voting configuration information, wherein the voting page frames are a set of a predefined whole set of page layouts.
Preferably, before the step S3, the method further includes the following steps;
Encrypting the first page control configuration information to obtain encrypted data of the first control configuration information; the step S4 may be replaced by:
After receiving second page control configuration information submitted by a user based on the target voting page frame, decrypting the encrypted data to obtain the first page frame configuration information;
and comparing the second page control configuration information with the first page control configuration information.
Furthermore, to achieve the above object, the present invention also proposes a computer-readable storage medium storing a man-machine vote identifying program executable by at least one processor to cause the at least one processor to perform the steps of the man-machine vote identifying method as described above.
According to the electronic device, the man-machine voting identification method and the storage medium, after receiving a voting page generation request carrying voting configuration information sent by a client, at least two voting page frames are selected based on an AJAX technology; predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information; randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the terminal for display; receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information; and if the configuration information of the second page control is completely consistent with the configuration information of the first page control, determining the voting operation as the operation of the user, and passing the verification. The machine brush ticket can be rapidly and accurately identified, and the fairness of network voting is improved.
Drawings
FIG. 1 is a schematic diagram of an alternative hardware architecture of an electronic device according to the present invention;
FIG. 2 is a schematic diagram of a program module for human-machine voting recognition in an embodiment of the electronic device according to the present invention;
FIG. 3 is a flow chart of a preferred embodiment of the human-machine vote identification method of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
Referring to fig. 1, an alternative hardware architecture of the electronic device according to the present invention is shown. In this embodiment, the electronic device 10 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13 that may be communicatively connected to each other via a communication bus 14. It should be noted that fig. 1 only shows an electronic device 10 having components 11-14, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may alternatively be implemented.
The memory 11 includes at least one type of computer-readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 10, such as a hard disk or a memory of the electronic device 10. In other embodiments, the memory 11 may also be an external storage device of the electronic apparatus 10, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic apparatus 10. Of course, the memory 11 may also include both internal memory units of the electronic apparatus 10 and external memory devices thereof. In this embodiment, the memory 11 is typically used for storing an operating system and various application software installed in the electronic device 10, such as a man-machine vote recognition program. Further, the memory 11 may be used to temporarily store various types of data that have been output or are to be output.
Processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is generally used to control the overall operation of the electronic device 10. In this embodiment, the processor 12 is configured to execute program codes stored in the memory 11 or process data, such as a man-machine voting recognition program or the like.
The network interface 13 may comprise a wireless network interface or a wired network interface, the network interface 13 typically being used to establish a communication connection between the electronic apparatus 10 and other electronic devices.
The communication bus 14 is used to enable communication connections between the components 11-13.
Fig. 1 shows only an electronic device 10 with components 11-14 and human voting identification, but it should be understood that not all of the illustrated components need be implemented, and that more or fewer components may alternatively be implemented.
Optionally, the electronic device 10 may also comprise a user interface (not shown in fig. 1), which may comprise a display, an input unit such as a keyboard, wherein the user interface may also comprise a standard wired interface, a wireless interface, etc.
Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED touch, or the like. Further, the display may also be referred to as a display screen or display unit for displaying information processed in the electronic device 10 and for displaying a visual user interface.
Optionally, in some embodiments, the electronic device 10 may further include an audio unit (not shown in fig. 1) that may convert received or stored audio data into an audio signal when the electronic device 10 is in a call signal receiving mode, a talk mode, a recording mode, a speech recognition mode, a broadcast receiving mode, etc.; further, the electronic device 10 may also include an audio output unit that outputs audio signals converted by the audio unit, and may also provide audio outputs (e.g., call signal receiving sounds, message receiving sounds, etc.) related to particular functions performed by the electronic device 10, which may include speakers, buzzers, etc.
Optionally, in some embodiments, the electronic device 10 may further comprise an alarm unit (not shown in the figures), which may provide an output to inform the electronic device 10 about the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and so forth. In addition to audio or video output, the alarm unit may provide output in different ways to notify of the occurrence of an event. For example, the alert unit may provide an output in the form of a vibration, and when a call, message, or some other message is received that may cause the electronic device 10 to enter a communication mode, the alert unit may provide a tactile output (i.e., vibration) to notify the user thereof.
In one embodiment, the human vote identification program stored in memory 11, when executed by processor 12, performs the following operations:
A1, after receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames by adopting an AJAX technology;
It should be noted that, in the embodiment of the present invention, the at least two voting page frames include the same page control, and the layouts of the page controls included in the at least two voting page frames are different;
Specifically, in this embodiment, the voting configuration information includes a voting theme, an option setting, and a selection mode, where the number of options should include at least two, and the selection mode may be a single selection or a multiple selection.
The step of selecting at least two voting page frames based on the AJAX technique comprises:
Traversing a predetermined page frame set based on an AJAX technology, wherein a common page frame packaged by adopting HTML, CSS and JavaScript technology is stored in the page frame set; and selecting at least two voting page frames from the page frame set according to the voting configuration information. In particular, the voting page frame is a collection of a predefined complete set of page layouts.
A2, predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information;
specifically, in practical applications, the page control includes, but is not limited to: a text entry box, a drop down selection box, and a time control. It can be understood that the configuration information of the first page control is configuration information corresponding to the page control predefined according to actual requirements (voting configuration information), and the configuration information of the first page control includes at least one of a control name, a control ID, hashCode, a position, a size, visibility, a parent-child relationship, and clickable property.
A3, randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display;
Further, before the step A3, the method further includes the following steps: encrypting the first page control configuration information to obtain encrypted data of the first control configuration information; specifically, in this embodiment, encryption processing is performed on the first page control configuration information by using an AES encryption method, so as to obtain encrypted data of the first page control configuration information; specifically, the step of encrypting the first page control configuration information to obtain the encrypted data of the first control configuration information includes: generating an AES initial key through an SAES encryption algorithm; performing key expansion on the AES initial key to obtain an AES encryption key; and encrypting the first page control configuration information by using an AES encryption key through an AES encryption algorithm to generate the encrypted data.
A4, receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information;
a5, if the configuration information of the second page control is consistent with the configuration information of the first page control, determining that the voting operation is the operation of the user, and verifying the voting operation.
Further, if inconsistent information exists in the second page control configuration information compared with the first page control configuration information, the voting operation is determined to be the machine operation, and verification is not passed.
Further, the step A4 may be replaced by: after receiving second page control configuration information submitted by a user based on the target voting page frame, decrypting the encrypted data to obtain the first page frame configuration information;
and comparing the second page control configuration information with the first page control configuration information.
As can be seen from the above-mentioned facts, the electronic device provided by the present invention selects at least two voting page frames based on AJAX technology after receiving a voting page generation request carrying voting configuration information sent by a client; predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information; randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display; receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information; and if the configuration information of the second page control is consistent with the configuration information of the first page control, determining the voting operation as the operation of the user, and passing the verification. The machine brush ticket can be rapidly and accurately identified, and the fairness of network voting is improved.
In addition, the man-machine voting recognition of the present invention may be described with program modules having the same functions depending on the functions implemented in the respective parts thereof. Fig. 2 is a schematic diagram of a program module for identifying a man-machine vote according to an embodiment of the invention. In this embodiment, the man-machine vote recognition may be divided into a selection module 201, a generation module 202, a loading module 203, a comparison module 204 and a determination module 205 according to the functions implemented by the parts thereof. As will be appreciated from the above description, program modules in accordance with the present invention are intended to refer to a series of computer program instruction segments capable of performing particular functions, and are more suited to describing the execution of a human vote recognition program in electronic device 10 than the program. The functions or operational steps performed by the modules 201-205 are similar to those described above and are not described in detail herein, for example, wherein:
the selection module 201 is configured to obtain interface performance test requirement information, and match a test script from a pre-stored test script set according to the performance test requirement information;
The generating module 202 is configured to select at least two voting page frames based on an AJAX technology after receiving a voting page generating request carrying voting configuration information sent by a client;
The loading module 203 is configured to randomly load a voting page frame from each voting page frame as a target voting page frame, and send the target voting page frame to the client for display;
The comparison module 204 is configured to receive second page control configuration information submitted by the user based on the target voting page frame, and compare the second page control configuration information with the first page control configuration information;
The determining module 205 is configured to determine that the voting operation is an operation of the user if the second page control configuration information is consistent with the first page control configuration information, and the verification is passed.
In addition, the invention also provides a man-machine voting recognition method, referring to fig. 3, the man-machine voting recognition method comprises the following steps:
S301, after receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames by adopting an AJAX technology;
It should be noted that, in the embodiment of the present invention, the at least two voting page frames include the same page control, and the layouts of the page controls included in the at least two voting page frames are different;
Specifically, in this embodiment, the voting configuration information includes a voting theme, an option setting, and a selection mode, where the number of options should include at least two, and the selection mode may be a single selection or a multiple selection.
The step of selecting at least two voting page frames based on the AJAX technique comprises:
Traversing a predetermined page frame set based on an AJAX technology, wherein a common page frame packaged by adopting HTML, CSS and JavaScript technology is stored in the page frame set; and selecting at least two voting page frames from the page frame set according to the voting configuration information. In particular, the voting page frame is a collection of a predefined complete set of page layouts.
S302, predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information;
specifically, in practical applications, the page control includes, but is not limited to: a text entry box, a drop down selection box, and a time control. It can be understood that the configuration information of the first page control is configuration information corresponding to the page control predefined according to actual requirements (voting configuration information), and the configuration information of the first page control includes at least one of a control name, a control ID, hashCode, a position, a size, visibility, a parent-child relationship, and clickable property.
S303, randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display;
further, before the step S303, the method further includes the following steps: encrypting the first page control configuration information to obtain encrypted data of the first control configuration information; specifically, in this embodiment, encryption processing is performed on the first page control configuration information by using an AES encryption method, so as to obtain encrypted data of the first page control configuration information; specifically, the step of encrypting the first page control configuration information to obtain the encrypted data of the first control configuration information includes: generating an AES initial key through an SAES encryption algorithm; performing key expansion on the AES initial key to obtain an AES encryption key; and encrypting the first page control configuration information by using an AES encryption key through an AES encryption algorithm to generate the encrypted data.
S304, receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information;
And S305, if the configuration information of the second page control is consistent with the configuration information of the first page control, determining the voting operation as the operation of the user, and verifying the voting operation.
Further, if inconsistent information exists in the second page control configuration information compared with the first page control configuration information, the voting operation is determined to be the machine operation, and verification is not passed.
Further, the step S304 may be replaced by: after receiving second page control configuration information submitted by a user based on the target voting page frame, decrypting the encrypted data to obtain the first page frame configuration information;
and comparing the second page control configuration information with the first page control configuration information.
As can be seen from the above-mentioned facts, the electronic device provided by the present invention selects at least two voting page frames based on AJAX technology after receiving a voting page generation request carrying voting configuration information sent by a client; predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information; randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display; receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information; and if the configuration information of the second page control is consistent with the configuration information of the first page control, determining the voting operation as the operation of the user, and passing the verification. The machine brush ticket can be rapidly and accurately identified, and the fairness of network voting is improved.
In addition, the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a man-machine voting recognition program, and the man-machine voting recognition program realizes the following operations when being executed by a processor:
After receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames based on an AJAX technology;
predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information;
Randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display;
Receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information;
And if the configuration information of the second page control is consistent with the configuration information of the first page control, determining the voting operation as the operation of the user, and passing the verification.
The implementation process of the computer readable storage medium of the present invention is similar to the implementation process of the electronic device and the man-machine voting recognition method, and will not be described herein.
According to the storage medium provided by the invention, after receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames based on an AJAX technology; predefining page control configuration information of each voting page frame according to the voting configuration information to generate first page control configuration information; randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display; receiving second page control configuration information submitted by a user based on the target voting page frame, and comparing the second page control configuration information with the first page control configuration information; and if the configuration information of the second page control is consistent with the configuration information of the first page control, determining the voting operation as the operation of the user, and passing the verification. The machine brush ticket can be rapidly and accurately identified, and the fairness of network voting is improved.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention. The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (3)

1. An electronic device comprising a memory, a processor coupled to the memory, the processor configured to execute a man-machine vote identification program stored on the memory, the man-machine vote identification program when executed by the processor performing the steps of:
a1, after receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames based on an AJAX technology;
A2, predefining page control configuration information of each voting page frame according to the voting configuration information, generating first page control configuration information, and carrying out encryption processing on the first page control configuration information to obtain encrypted data of the first page control configuration information;
A3, randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display;
a4, receiving second page control configuration information submitted by a user based on the target voting page frame, decrypting the encrypted data to obtain the first page frame configuration information, and comparing the second page control configuration information with the first page control configuration information;
a5, if the configuration information of the second page control is consistent with the configuration information of the first page control, determining that the voting operation is the operation of the user, and verifying the voting operation;
In the step A1, the at least two voting page frames contain the same page control, and the layouts of the page controls contained in the at least two voting page frames are different; the voting configuration information comprises a voting theme, option settings and a selection mode, wherein the number of the option settings at least comprises two, and the selection mode is single-item selection or multi-item selection;
In the step A1, the step of selecting at least two voting page frames based on the AJAX technique includes: traversing a predetermined page frame set based on an AJAX technology, wherein a common page frame packaged by adopting HTML, CSS and JavaScript technology is stored in the page frame set; and selecting at least two voting page frames from the page frame set according to the voting configuration information, wherein the voting page frames are a set of a predefined whole set of page layouts.
2. A method for human-machine voting identification, the method comprising the steps of:
S1, after receiving a voting page generation request carrying voting configuration information sent by a client, selecting at least two voting page frames based on an AJAX technology;
s2, predefining page control configuration information of each voting page frame according to the voting configuration information, generating first page control configuration information, and carrying out encryption processing on the first page control configuration information to obtain encrypted data of the first page control configuration information;
s3, randomly loading a voting page frame from each voting page frame as a target voting page frame, and sending the target voting page frame to the client for display;
s4, receiving second page control configuration information submitted by a user based on the target voting page frame, decrypting the encrypted data to obtain the first page frame configuration information, and comparing the second page control configuration information with the first page control configuration information;
S5, if the configuration information of the second page control is consistent with the configuration information of the first page control, determining that the voting operation is the operation of the user, and verifying the voting operation;
In the step S1, the at least two voting page frames include the same page control, and the layouts of the page controls included in the at least two voting page frames are different; the voting configuration information comprises a voting theme, option settings and a selection mode, wherein the number of the option settings at least comprises two, and the selection mode is single-item selection or multi-item selection;
In the step S1, the step of selecting at least two voting page frames based on the AJAX technique includes: traversing a predetermined page frame set based on an AJAX technology, wherein a common page frame packaged by adopting HTML, CSS and JavaScript technology is stored in the page frame set; and selecting at least two voting page frames from the page frame set according to the voting configuration information, wherein the voting page frames are a set of a predefined whole set of page layouts.
3. A computer-readable storage medium storing a man-machine vote identification program executable by at least one processor to cause the at least one processor to perform the steps of the man-machine vote identification method of claim 2.
CN201811256591.3A 2018-10-26 2018-10-26 Electronic device, man-machine voting recognition method, and storage medium Active CN109634602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811256591.3A CN109634602B (en) 2018-10-26 2018-10-26 Electronic device, man-machine voting recognition method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811256591.3A CN109634602B (en) 2018-10-26 2018-10-26 Electronic device, man-machine voting recognition method, and storage medium

Publications (2)

Publication Number Publication Date
CN109634602A CN109634602A (en) 2019-04-16
CN109634602B true CN109634602B (en) 2024-06-25

Family

ID=66066715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811256591.3A Active CN109634602B (en) 2018-10-26 2018-10-26 Electronic device, man-machine voting recognition method, and storage medium

Country Status (1)

Country Link
CN (1) CN109634602B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024210372A1 (en) * 2023-04-04 2024-10-10 주식회사 씨제이이엔엠 System for providing voting service and method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012256231A (en) * 2011-06-09 2012-12-27 Panasonic Corp Communication terminal, voting information management server and voting information management system
CN106354725B (en) * 2015-07-15 2020-08-28 腾讯科技(深圳)有限公司 Event anti-brushing method, device, server and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device

Also Published As

Publication number Publication date
CN109634602A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN111782492B (en) Page first screen loading duration testing method and device, computer equipment and medium
CN110659569B (en) Electronic signature method, device, storage medium and electronic equipment
US10878212B2 (en) Two-dimensional code scanning interaction methods and apparatuses
CN111131221B (en) Interface checking device, method and storage medium
CN105282088A (en) Method and system for controlling verification server and method and system for controlling verification
JP2014092831A (en) Two-dimensional bar code display terminal, two-dimensional bar code display method, and program, and visitor certification system
CN105630551A (en) Method and device for installing application software and electronic equipment
CN109542385B (en) Multi-data-stream on-screen display method, system and device and readable storage medium
CN113660100A (en) Method, system and electronic equipment for generating soft token seed
CN106789973B (en) Page security detection method and terminal equipment
CN115242608B (en) Alarm information generation method, device, equipment and storage medium
CN109683856B (en) Electronic device, faas platform function creation method and storage medium
CN109634602B (en) Electronic device, man-machine voting recognition method, and storage medium
WO2014181479A1 (en) Management device
CN112732676A (en) Data migration method, device, equipment and storage medium based on block chain
CN107483534B (en) Service processing method and device
CN112104513B (en) Visual software load method, device, equipment and storage medium
CN110837629B (en) Software starting method, terminal and readable storage medium
KR102325169B1 (en) Security marking method, device and security terminal
CN112508138A (en) Single board server management method, device, equipment and computer readable storage medium
CN110928754A (en) Operation and maintenance audit methods, devices, equipment and media
CN113761501A (en) Activation method, electronic device, and computer storage medium
CN112632192A (en) Node maintenance method and device, computer equipment and medium
CN110489253A (en) Data processing method, device, equipment and computer readable storage medium
CN112632565B (en) Trusted startup method, device, computer equipment and medium for blockchain all-in-one machine

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
GR01 Patent grant
GR01 Patent grant