Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Internet voting method and device

A network voting and voter technology, applied in the field of network applications, can solve the problem that the database writing operation speed is difficult to meet the real-time needs of online voting activities, and achieves the goal of relieving the pressure of real-time writing operations, meeting read and write requirements, and meeting real-time needs. Effect

Active Publication Date: 2014-11-19
广州方硅信息技术有限公司
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem that the writing operation speed of the database in the network voting technology in the prior art is difficult to meet the real-time requirements of large-scale network voting activities for multiple sessions at the same time, the embodiment of the present invention provides a network voting method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Internet voting method and device
  • Internet voting method and device
  • Internet voting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] The embodiment of the present invention provides a network voting method, which is suitable for network voting servers, see figure 2 , The method process includes:

[0060] Step S11: Determine the currently ongoing voting activity according to the voting configuration summary table, which includes the voting activity ID and the starting time corresponding to the voting activity ID.

[0061] Specifically, each voting activity corresponds to a unique voting activity ID, and the voting configuration summary table is stored in the server.

[0062] Step S12: Search for the record corresponding to the voting activity ID of the currently ongoing voting activity in the voting activity and option mapping table and load it into the memory. The record corresponding to the voting activity ID includes the voting option ID and the voting option.

[0063] Specifically, the voting activity ID and the voting option ID uniquely determine a voting option. For different voting activities, the vot...

Embodiment 2

[0084] The embodiment of the present invention provides a network voting method, which is suitable for network voting servers, see image 3 , The method process includes:

[0085] Step S21: Determine the voting activity currently in progress according to the voting configuration summary table, which includes the voting activity ID and the starting time corresponding to the voting activity ID.

[0086] Specifically, each voting activity corresponds to a unique voting activity ID, and the voting configuration summary table is stored in the server.

[0087] Preferably, the server used by the network voting device adopts epoll, an enhanced version of the multiplexed I / O interface select / poll under Linux, and C++ high-performance server programming technology, and the hardware is configured with a multi-core CPU, which can increase the server access layer Improve the server’s ability to handle large-scale voting.

[0088] Specifically, step S21 can be implemented in the following manner:

...

Embodiment 3

[0123] The embodiment of the present invention provides a network voting device, which can be connected to a voting server or set on the voting server, see Figure 4 , The device includes:

[0124] The determining module 301 is configured to determine the currently ongoing voting activity according to the voting configuration summary table, which includes the voting activity ID and the starting time corresponding to the voting activity ID.

[0125] Specifically, each voting activity corresponds to a unique voting activity ID, and the voting configuration summary table is stored in the server.

[0126] Preferably, the server used by the network voting device adopts epoll, an enhanced version of the multiplexed I / O interface select / poll under Linux, and C++ high-performance server programming technology, and the hardware is configured with a multi-core CPU, which can increase the server access layer Improve the server’s ability to handle large-scale voting.

[0127] The first processing...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an internet voting method and device, and belongs to the field of internet voting. The method comprises the following steps: determining an ongoing voting activity at present according to a summary voting configuration statement; searching records corresponding to voting activity IDs of the ongoing voting activity in a voting activity and option mapping table, and loading the records into a memory; receiving voting information transmitted by a voter, and analyzing tetrad records or a set of tetrad records from the voting information; judging whether the voting activity IDs and voting option IDs in the tetrad records or the set of tetrad records exist in the memory or not; and regularly writing a voting option vote table in the memory into a database. The records corresponding to the voting activity IDs are loaded to the memory, so that the real-time writing operation stress of the database can be effectively alleviated by virtue of a memory caching method, the system bottle neck caused by the database also can be avoided, and the real-time requirement on simultaneously carrying out large-scale internet voting activities with multiple sessions and multiple types can be met.

Description

Technical field [0001] The present invention relates to the technical field of network applications, in particular to a method and device for network voting. Background technique [0002] Voting, as a method of soliciting the opinions of the masses, has always been widely used by people. And online voting with the help of Internet technology also provides a brand-new operation mode for the common social behavior of voting. Online voting solves the problem that people can vote without leaving home. In terms of ticket statistics, computers have also replaced people's original manual counting of votes, bringing convenience to voting. [0003] In the prior art, a voting activity system is set on the server side, and the voting activity data in the voting activity system is stored in a database. The voting activity data includes the name of the voting activity, the options of the voting activity, the voters participating in the voting, the number of votes cast by the voters, etc. The ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G07C13/00H04L29/12H04L29/08
Inventor 黄伟李佳林
Owner 广州方硅信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products