CN108616532A - Ballot processing method, apparatus and terminal device - Google Patents
Ballot processing method, apparatus and terminal device Download PDFInfo
- Publication number
- CN108616532A CN108616532A CN201810388024.7A CN201810388024A CN108616532A CN 108616532 A CN108616532 A CN 108616532A CN 201810388024 A CN201810388024 A CN 201810388024A CN 108616532 A CN108616532 A CN 108616532A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- information
- private key
- carrier server
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Voting apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A kind of ballot processing method, apparatus of offer of the embodiment of the present invention and terminal device.This method includes:Terminal device obtains the vote information of user;The terminal device is encrypted the vote information to obtain the first encryption information using the private key of the terminal device;The terminal device sends the identification information of first encryption information and the terminal device to carrier server, so that the carrier server determines the private key of the terminal device according to the identification information of the terminal device, and the vote information of the user is obtained to first encryption information decryption according to the private key of the terminal device.The embodiment of the present invention counts voting results by carrier server, avoids the unfair problem of cheating caused by manual operation.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of ballot processing method, apparatus and terminal devices.
Background technology
In the prior art, user may need competition of taking part in a vote, and during voting competition, may exist
It practises fraud inequitable problem.
Invention content
A kind of ballot processing method, apparatus of offer of the embodiment of the present invention and terminal device, to avoid in ballot competition process
The middle inequitable problem of cheating.
In a first aspect, the embodiment of the present invention provides a kind of ballot processing method, including:
Terminal device obtains the vote information of user;
The terminal device is encrypted the vote information to obtain the first encryption using the private key of the terminal device
Information;
The terminal device sends the mark letter of first encryption information and the terminal device to carrier server
Breath, so that the carrier server determines the private key of the terminal device, and root according to the identification information of the terminal device
The vote information of the user is obtained to first encryption information decryption according to the private key of the terminal device.
Optionally, before the vote information of the terminal device acquisition user, further include:
The terminal device receives verification information and the second encryption information, second encryption from the carrier server
Information is obtained after the carrier server is encrypted the private key of the terminal device using the verification information;
The terminal device is decrypted to obtain the terminal and set using the verification information to second encryption information
Standby private key.
Optionally, before the terminal device receives verification information and the second encryption information from the carrier server,
Further include:
The terminal device sends ballot service log-on request to the carrier server, and the ballot service log-on is asked
The identification information for including the terminal device is sought, so that the carrier server is given birth to according to the identification information of the terminal device
At the private key of the terminal device.
Optionally, the method further includes:
The terminal device is encrypted the identification information of the terminal device using the private key of the terminal device
To third encryption information;
The identification information of the third encryption information and the terminal device is sent to the operation by the terminal device
Quotient's server, so that the carrier server determines whether the private key that the terminal device decrypts is correct.
Optionally, the carrier server is the node in block chain network;
The terminal device sends the mark letter of first encryption information and the terminal device to carrier server
Breath, including:
The terminal device is by the identification information broadcast of first encryption information and the terminal device to block link network
In network, so that node in the block chain network is by the identification information storage of first encryption information and the terminal device
Within a block, and voting results are counted.
Second aspect, the embodiment of the present invention provide a kind of terminal device, including:
Acquisition module, the vote information for obtaining user;
Encrypting module, for the vote information to be encrypted to obtain the first encryption using the private key of the terminal device
Information;
Sending module, the mark letter for sending first encryption information and the terminal device to carrier server
Breath, so that the carrier server determines the private key of the terminal device, and root according to the identification information of the terminal device
The vote information of the user is obtained to first encryption information decryption according to the private key of the terminal device.
Optionally, which further includes:
Receiving module, for receiving verification information and the second encryption information from the carrier server, described second adds
Confidential information is obtained after the carrier server is encrypted the private key of the terminal device using the verification information;
Deciphering module is set for being decrypted to obtain the terminal to second encryption information using the verification information
Standby private key.
Optionally, the sending module is additionally operable to:Ballot service log-on request is sent to the carrier server, it is described
Ballot service log-on request includes the identification information of the terminal device, so that the carrier server is set according to the terminal
Standby identification information generates the private key of the terminal device.
Optionally, the encrypting module is additionally operable to:Using the private key of the terminal device to the mark of the terminal device
Information is encrypted to obtain third encryption information;
The sending module is additionally operable to:The identification information of the third encryption information and the terminal device is sent to institute
Carrier server is stated, so that the carrier server determines whether the private key that the terminal device decrypts is correct.
Optionally, the carrier server is the node in block chain network;
The sending module is specifically used for:The identification information broadcast of first encryption information and the terminal device is arrived
In block chain network, so that node in the block chain network is by the mark of first encryption information and the terminal device
Information storage within a block, and counts voting results.
The third aspect, the embodiment of the present invention provide a kind of terminal device, including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed with reality by the processor
Method described in existing first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize the method described in first aspect.
Ballot processing method, apparatus provided in an embodiment of the present invention and terminal device, obtain user's by terminal device
Vote information, and the vote information is encrypted to obtain the first encryption information using the private key of terminal device, by this first plus
The identification information of confidential information and the terminal device is sent to carrier server, and carrier server can be according to the terminal device
Identification information determines the private key of the terminal device, and is somebody's turn to do to first encryption information decryption according to the private key of the terminal device
The vote information of user ensure that the safety of user's vote information, avoids user's vote information from being changed, is taken by operator
Business device counts voting results, avoids the unfair problem of cheating caused by manual operation.
Description of the drawings
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is that ballot provided in an embodiment of the present invention handles method flow diagram;
Fig. 3 is that the ballot that another embodiment of the present invention provides handles method flow diagram;
Fig. 4 is the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of terminal device provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Ballot processing method provided by the invention, can be adapted for communication system shown in FIG. 1.As shown in Figure 1, the communication
System includes:Access network equipment 11, terminal device 12 and server 13.It should be noted that communication system shown in FIG. 1 can
With suitable for different network formats, for example, can be adapted for global system for mobile telecommunications (Global System of Mobile
Communication, abbreviation GSM), CDMA (Code Division Multiple Access, abbreviation CDMA), broadband
CDMA (Wideband Code Division Multiple Access, abbreviation WCDMA), TD SDMA
(Time Division-Synchronous Code Division Multiple Access, abbreviation TD-SCDMA), it drills for a long time
Into network formats such as the 5G in (Long Term Evolution, abbreviation LTE) system and future.Optionally, above-mentioned communication system can
Think highly reliable low time delay communication (Ultra-Reliable and Low Latency in 5G communication systems
Communications, abbreviation URLLC) transmission scene in system.
So optionally, above-mentioned access network equipment 11 can be base station (the Base Transceiver in GSM or CDMA
Station, abbreviation BTS) and/or base station controller can also be base station (NodeB, abbreviation NB) in WCDMA and/or wireless
Network controller (Radio Network Controller, abbreviation RNC), can also be the evolved base station in LTE
(Evolutional Node B, abbreviation eNB or eNodeB) either base in relay station or access point or future 5G networks
Stand (gNB) etc., and the present invention does not limit herein.
Above-mentioned terminal device 12 can be that wireless terminal can also be catv terminal.Wireless terminal can be directed to user and carry
For voice and/or the equipment of other business datum connectivity, there is the portable equipment of wireless connecting function or be connected to wireless
Other processing equipments of modem.Wireless terminal can be through wireless access network (Radio Access Network, abbreviation
RAN it) is communicated with one or more equipments of the core network, wireless terminal can be mobile terminal, as mobile phone (or is
" honeycomb " phone) and computer with mobile terminal, for example, it may be portable, pocket, hand-held, built-in computer
Or vehicle-mounted mobile device, they exchange language and/or data with wireless access network.For another example wireless terminal can be with
It is personal communication service (Personal Communication Service, abbreviation PCS) phone, wireless phone, session setup
Agreement (Session Initiation Protocol, abbreviation SIP) phone, wireless local loop (Wireless Local
Loop, abbreviation WLL) it stands, the equipment such as personal digital assistant (Personal Digital Assistant, abbreviation PDA).It is wireless whole
End is referred to as system, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), movement station
(Mobile Station), mobile station (Mobile), distant station (Remote Station), remote terminal (Remote
Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User
Agent), user equipment (User Device or User Equipment), is not limited thereto.Optionally, above-mentioned terminal is set
Standby 12 can also be the equipment such as smartwatch, tablet computer.Server 13 can be specifically carrier server.
Ballot processing method provided by the invention, it is intended to solve the technical problem as above of the prior art.
How the technical solution of technical scheme of the present invention and the application is solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for same or analogous concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is that ballot provided in an embodiment of the present invention handles method flow diagram.The embodiment of the present invention is for the prior art
Technical problem as above, provides ballot processing method, and this method is as follows:
Step 201, terminal device obtain the vote information of user.
In the present embodiment, terminal device can be specifically terminal device 12 as described in Figure 1, and terminal device 12 is equipped with
Application program, the application program can be specifically the application programs for ballot, which is provided with user interface,
Carrier server can push ballot task to terminal device 12, which can include in user by the ballot task
Interactive interface, user check candidate and situation of having voted by browsing the content in the user interface.User can be from
The candidate that selection is supported oneself is clicked in the several candidates that the user interface is shown, terminal device 12 will be according to the use
Clicking operation of the family on the user interface generates vote information, which can specifically include user selection
Identification information, user's polling hours of candidate etc..
Step 202, the terminal device are encrypted to obtain using the private key of the terminal device to the vote information
First encryption information.
After terminal device 12 gets the vote information of user, the vote information is carried out using the private key of terminal device 12
Encryption obtains the first encryption information.
Step 203, the terminal device send first encryption information and the terminal device to carrier server
Identification information so that the carrier server determines the private of the terminal device according to the identification information of the terminal device
Key, and according to the private key of the terminal device to the vote information of first encryption information decryption acquisition user.
Terminal device 12 is by the identification information such as terminal device 12 of first encryption information and the terminal device 12
Phone number is sent to carrier server, and carrier server can determine the end according to the phone number of the terminal device 12
The private key of end equipment 12, and first encryption information is decrypted to obtain the vote information of the user according to the private key.
The embodiment of the present invention obtains the vote information of user by terminal device, and using the private key of terminal device to the throwing
Ticket information is encrypted to obtain the first encryption information, and the identification information of first encryption information and the terminal device is sent to fortune
Quotient's server is sought, carrier server can determine the private key of the terminal device according to the identification information of the terminal device, and according to
The private key of the terminal device decrypts first encryption information vote information for obtaining the user, ensure that user's vote information
Safety avoids user's vote information from being changed, and counts voting results by carrier server, avoiding manual operation causes
Cheating unfairness problem.
Fig. 3 is that the ballot that another embodiment of the present invention provides handles method flow diagram.On the basis of the above embodiments, originally
The ballot processing method that embodiment provides specifically comprises the following steps:
Step 301, the terminal device send ballot service log-on request, the ballot industry to the carrier server
Business registration request includes the identification information of the terminal device, so that mark of the carrier server according to the terminal device
Know the private key that information generates the terminal device.
Specifically, terminal device 12 sends ballot service log-on request to carrier server, which asks
The phone number for the identification information such as terminal device 12 for including terminal device 12 is sought, which can be according to terminal
The phone number of equipment 12 generates the private key of terminal device 12.
Step 302, the terminal device receive verification information and the second encryption information from the carrier server, described
Second encryption information is after the carrier server is encrypted the private key of the terminal device using the verification information
It obtains.
The carrier server sends verification information to terminal device 12, which can be specifically short message verification
Code, meanwhile, private key of the carrier server using the algorithm made an appointment according to the short message identifying code to terminal device 12
It is encrypted to obtain the second encryption information, and second encryption information is sent to terminal device 12, specifically, the operator takes
The short message identifying code and second encryption information can be sent to terminal device 12 by business device simultaneously, can also be sent at times
To terminal device 12.
Step 303, the terminal device are decrypted to obtain institute using the verification information to second encryption information
State the private key of terminal device.
When terminal device 12 receives short message identifying code and second encryption information of carrier server transmission,
Using the algorithm made an appointment identical with the carrier server according to the short message identifying code to second encryption information into
Row decryption obtains the private key of terminal device 12.
Step 304, the terminal device using the terminal device private key to the identification information of the terminal device into
Row encryption obtains third encryption information.
Terminal device 12 is encrypted the phone number of terminal device 12 using the private key decrypted to obtain third encryption
Information.
The identification information of the third encryption information and the terminal device is sent to by step 305, the terminal device
The carrier server, so that the carrier server determines whether the private key that the terminal device decrypts is correct.
The phone number of the third encryption information and terminal device 12 is sent to operator clothes by terminal device 12 simultaneously
Business device, the carrier server can determine the private key of terminal device 12 according to the phone number of terminal device 12, and using eventually
The private key of end equipment 12 is decrypted to obtain the phone number of terminal device 12 to the third encryption information.
If step 306, the carrier server determine that the private key that the terminal device decrypts is correct, the operation
Quotient's server sends ballot task to the terminal device.
Further, which judges phone number that terminal device 12 is sent and the carrier server from the
Whether the phone number decrypted in three encryption information is identical, if identical, which determines terminal device 12
The private key for the terminal device 12 decrypted from the second encryption information is correct, then the carrier server is set to the terminal
Standby 12 send ballot tasks, the application program in the terminal device 12 by the ballot task include in user interface, with
Just user votes.
Step 307, terminal device obtain the vote information of user.
The realization method and detailed process of step 307 are consistent with the step 201 described in above-described embodiment, no longer superfluous herein
It states.
Step 308, the terminal device are encrypted to obtain using the private key of the terminal device to the vote information
First encryption information.
The realization method and detailed process of step 308 are consistent with the step 202 described in above-described embodiment, no longer superfluous herein
It states.
Step 309, the terminal device arrive the identification information broadcast of first encryption information and the terminal device
In block chain network, so that node in the block chain network is by the mark of first encryption information and the terminal device
Information storage within a block, and counts voting results.
In the present embodiment, terminal device 12 and carrier server belong to the node in block chain network, in addition, should
Block chain network can also include the node in addition to terminal device 12 and carrier server, optionally, the block chain network
It can be the network of decentralization.After terminal device 12 generates the first encryption information, first encryption information and terminal are set
Standby 12 phone number is broadcast in block chain network, then each node in the block chain network will all receive terminal device
The phone number of the first encryption information and terminal device 12 of 12 broadcast, wherein carrier server can receive terminal and set
The phone number of the first encryption information and terminal device 12 of standby 12 broadcast, other nodes in addition to carrier server also may be used
To receive the phone number of the first encryption information and terminal device 12 of the broadcast of terminal device 12.In the present embodiment, the area
Other nodes in block chain network in addition to carrier server can also be by the mobile phone of the first encryption information and terminal device 12
Number is stored in the block of block chain, and the other-end that other nodes can also receive in addition to terminal device 12 is set
The phone number of vote information corresponding encryption information and other-end equipment that preparation is sent, other nodes can be according to each terminals
The corresponding encryption information of vote information and phone number that equipment is sent, count voting results, and verify the voting results and fortune
Whether the voting results for seeking quotient's server statistics are consistent, to realize testing for the voting results counted to carrier server
Card.
The embodiment of the present invention obtains the vote information of user by terminal device, and using the private key of terminal device to the throwing
Ticket information is encrypted to obtain the first encryption information, and the identification information of first encryption information and the terminal device is sent to fortune
Quotient's server is sought, carrier server can determine the private key of the terminal device according to the identification information of the terminal device, and according to
The private key of the terminal device decrypts first encryption information vote information for obtaining the user, ensure that user's vote information
Safety avoids user's vote information from being changed, and counts voting results by carrier server, avoiding manual operation causes
Cheating unfairness problem.
Fig. 4 is the structural schematic diagram of terminal device provided in an embodiment of the present invention.Terminal provided in an embodiment of the present invention is set
The standby process flow that can be executed ballot processing embodiment of the method and provide, as shown in figure 4, terminal device 40 includes:Acquisition module
41, encrypting module 42 and sending module 43;Wherein, acquisition module 41 is used to obtain the vote information of user;Encrypting module 42 is used
The vote information is encrypted to obtain the first encryption information in using the private key of the terminal device;Sending module 43 is used for
The identification information of first encryption information and the terminal device is sent to carrier server, so that the carrier service
Device determines the private key of the terminal device according to the identification information of the terminal device, and according to the private key pair of the terminal device
The first encryption information decryption obtains the vote information of the user.
Optionally, terminal device 40 further includes:Receiving module 44 and deciphering module 45;Wherein, receiving module 44 be used for from
It is the carrier server that the carrier server, which receives verification information and the second encryption information, second encryption information,
It is obtained after the private key of the terminal device is encrypted using the verification information;Deciphering module 45 described in use for testing
Card information is decrypted to obtain the private key of the terminal device to second encryption information.
Optionally, sending module 43 is additionally operable to:Ballot service log-on request, the throwing are sent to the carrier server
The request of ticket service log-on includes the identification information of the terminal device, so that the carrier server is according to the terminal device
Identification information generate the private key of the terminal device.
Optionally, encrypting module 42 is additionally operable to:The mark of the terminal device is believed using the private key of the terminal device
Breath is encrypted to obtain third encryption information;Sending module 43 is additionally operable to:By the third encryption information and the terminal device
Identification information be sent to the carrier server so that the carrier server determines what the terminal device decrypted
Whether private key is correct.
Optionally, the carrier server is the node in block chain network;Sending module 43 is specifically used for:It will be described
In the identification information broadcast of first encryption information and the terminal device to block chain network, so that in the block chain network
First encryption information and the identification information storage of the terminal device within a block, and are counted voting results by node.
The terminal device of embodiment illustrated in fig. 4 can be used for executing the technical solution of above method embodiment, realization principle
Similar with technique effect, details are not described herein again.
Fig. 5 is the structural schematic diagram of terminal device provided in an embodiment of the present invention.Terminal provided in an embodiment of the present invention is set
The standby process flow that can be executed ballot processing embodiment of the method and provide, as shown in figure 5, terminal device 50 include memory 51,
Processor 52, computer program and communication interface 53;Wherein, computer program is stored in memory 51, and be configured as by
Processor 52 executes the ballot processing method described in above-described embodiment.
The terminal device of embodiment illustrated in fig. 5 can be used for executing the technical solution of above method embodiment, realization principle
Similar with technique effect, details are not described herein again.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter
Calculation machine program is executed by processor to realize the ballot processing method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or unit
Letter connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
The medium of program code can be stored.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each function module
Division progress for example, in practical application, can be complete by different function modules by above-mentioned function distribution as needed
At the internal structure of device being divided into different function modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (12)
1. a kind of ballot processing method, which is characterized in that including:
Terminal device obtains the vote information of user;
The terminal device is encrypted the vote information to obtain the first encryption information using the private key of the terminal device;
The terminal device sends the identification information of first encryption information and the terminal device to carrier server, with
The carrier server is set to determine the private key of the terminal device according to the identification information of the terminal device, and according to described
The private key of terminal device obtains first encryption information decryption vote information of the user.
2. according to the method described in claim 1, it is characterized in that, the terminal device obtain user vote information before,
Further include:
The terminal device receives verification information and the second encryption information, second encryption information from the carrier server
It is to be obtained after the carrier server is encrypted the private key of the terminal device using the verification information;
The terminal device is decrypted to obtain the terminal device using the verification information to second encryption information
Private key.
3. according to the method described in claim 2, it is characterized in that, the terminal device is tested from carrier server reception
Before demonstrate,proving information and the second encryption information, further include:
The terminal device sends ballot service log-on request, the ballot service log-on request bag to the carrier server
The identification information of the terminal device is included, so that the carrier server generates institute according to the identification information of the terminal device
State the private key of terminal device.
4. according to claim 1-3 any one of them methods, which is characterized in that the method further includes:
The terminal device is encrypted to obtain the using the private key of the terminal device to the identification information of the terminal device
Three encryption information;
The identification information of the third encryption information and the terminal device is sent to the operator and taken by the terminal device
Business device, so that the carrier server determines whether the private key that the terminal device decrypts is correct.
5. according to the method described in claim 1, it is characterized in that, the carrier server is the section in block chain network
Point;
The terminal device sends the identification information of first encryption information and the terminal device to carrier server, packet
It includes:
The terminal device by the identification information broadcast to block chain network of first encryption information and the terminal device,
So that the node in the block chain network by first encryption information and the identification information storage of the terminal device in area
In block, and count voting results.
6. a kind of terminal device, which is characterized in that including:
Acquisition module, the vote information for obtaining user;
Encrypting module is encrypted the vote information for the private key using the terminal device to obtain the first encryption letter
Breath;
Sending module, the identification information for sending first encryption information and the terminal device to carrier server,
So that the carrier server determines the private key of the terminal device according to the identification information of the terminal device, and according to institute
The private key for stating terminal device obtains first encryption information decryption vote information of the user.
7. terminal device according to claim 6, which is characterized in that further include:
Receiving module, for receiving verification information and the second encryption information, the second encryption letter from the carrier server
Breath is obtained after the carrier server is encrypted the private key of the terminal device using the verification information;
Deciphering module, for being decrypted to obtain the terminal device to second encryption information using the verification information
Private key.
8. terminal device according to claim 7, which is characterized in that the sending module is additionally operable to:
Ballot service log-on request is sent to the carrier server, the ballot service log-on request includes that the terminal is set
Standby identification information, so that the carrier server generates the terminal device according to the identification information of the terminal device
Private key.
9. according to claim 6-8 any one of them terminal devices, which is characterized in that the encrypting module is additionally operable to:Using
The private key of the terminal device is encrypted the identification information of the terminal device to obtain third encryption information;
The sending module is additionally operable to:The identification information of the third encryption information and the terminal device is sent to the fortune
Quotient's server is sought, so that the carrier server determines whether the private key that the terminal device decrypts is correct.
10. terminal device according to claim 6, which is characterized in that the carrier server is in block chain network
Node;
The sending module is specifically used for:By the identification information broadcast of first encryption information and the terminal device to block
In chain network, so that node in the block chain network is by the identification information of first encryption information and the terminal device
Storage within a block, and counts voting results.
11. a kind of terminal device, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed to realize such as by the processor
Claim 1-5 any one of them methods.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
It is executed by processor to realize method as described in any one in claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810388024.7A CN108616532A (en) | 2018-04-26 | 2018-04-26 | Ballot processing method, apparatus and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810388024.7A CN108616532A (en) | 2018-04-26 | 2018-04-26 | Ballot processing method, apparatus and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108616532A true CN108616532A (en) | 2018-10-02 |
Family
ID=63660771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810388024.7A Pending CN108616532A (en) | 2018-04-26 | 2018-04-26 | Ballot processing method, apparatus and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108616532A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109472915A (en) * | 2018-10-18 | 2019-03-15 | 福建兑信科技有限公司 | A kind of ballot system based on block chain applied to social intercourse system |
CN109636997A (en) * | 2018-12-10 | 2019-04-16 | 顾文菲 | A kind of means of voting that votes anonymously using mobile intelligent terminal |
CN110413698A (en) * | 2019-08-07 | 2019-11-05 | 北京艾摩瑞策科技有限公司 | The cochain method and device thereof of Internet advertising associated data |
CN110634220A (en) * | 2019-09-29 | 2019-12-31 | 上海连尚网络科技有限公司 | Information processing method and device |
CN111065092A (en) * | 2019-12-30 | 2020-04-24 | 江苏全链通信息科技有限公司 | 5G communication information encryption and decryption method, equipment and storage medium |
CN111065101A (en) * | 2019-12-30 | 2020-04-24 | 全链通有限公司 | 5G communication information encryption and decryption method and device based on block chain and storage medium |
CN111132149A (en) * | 2019-12-30 | 2020-05-08 | 全链通有限公司 | Registration method of 5G user terminal, user terminal equipment and medium |
CN111148094A (en) * | 2019-12-30 | 2020-05-12 | 全链通有限公司 | Registration method of 5G user terminal, user terminal equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815066A (en) * | 2010-02-21 | 2010-08-25 | 范畴 | Vote detection and statistics method applied to heterogeneous wireless sensor network |
US20160086408A1 (en) * | 2014-09-22 | 2016-03-24 | Makor Issues And Rights Ltd. | System and method for fully encrypted remote web-based voting |
CN106375327A (en) * | 2016-09-13 | 2017-02-01 | 湖北工业大学 | Anti-malicious attack proxy secret key mixing-based electronic voting system and method |
CN107294727A (en) * | 2017-05-22 | 2017-10-24 | 联动优势科技有限公司 | A kind of electronic voting method, terminal device and block chain network |
-
2018
- 2018-04-26 CN CN201810388024.7A patent/CN108616532A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815066A (en) * | 2010-02-21 | 2010-08-25 | 范畴 | Vote detection and statistics method applied to heterogeneous wireless sensor network |
US20160086408A1 (en) * | 2014-09-22 | 2016-03-24 | Makor Issues And Rights Ltd. | System and method for fully encrypted remote web-based voting |
CN106375327A (en) * | 2016-09-13 | 2017-02-01 | 湖北工业大学 | Anti-malicious attack proxy secret key mixing-based electronic voting system and method |
CN107294727A (en) * | 2017-05-22 | 2017-10-24 | 联动优势科技有限公司 | A kind of electronic voting method, terminal device and block chain network |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109472915A (en) * | 2018-10-18 | 2019-03-15 | 福建兑信科技有限公司 | A kind of ballot system based on block chain applied to social intercourse system |
CN109636997A (en) * | 2018-12-10 | 2019-04-16 | 顾文菲 | A kind of means of voting that votes anonymously using mobile intelligent terminal |
CN110413698A (en) * | 2019-08-07 | 2019-11-05 | 北京艾摩瑞策科技有限公司 | The cochain method and device thereof of Internet advertising associated data |
CN110634220A (en) * | 2019-09-29 | 2019-12-31 | 上海连尚网络科技有限公司 | Information processing method and device |
CN111065092A (en) * | 2019-12-30 | 2020-04-24 | 江苏全链通信息科技有限公司 | 5G communication information encryption and decryption method, equipment and storage medium |
CN111065101A (en) * | 2019-12-30 | 2020-04-24 | 全链通有限公司 | 5G communication information encryption and decryption method and device based on block chain and storage medium |
CN111132149A (en) * | 2019-12-30 | 2020-05-08 | 全链通有限公司 | Registration method of 5G user terminal, user terminal equipment and medium |
CN111148094A (en) * | 2019-12-30 | 2020-05-12 | 全链通有限公司 | Registration method of 5G user terminal, user terminal equipment and medium |
CN111132149B (en) * | 2019-12-30 | 2023-11-21 | 全链通有限公司 | Registration method of 5G user terminal, user terminal equipment and medium |
CN111148094B (en) * | 2019-12-30 | 2023-11-21 | 全链通有限公司 | Registration method of 5G user terminal, user terminal equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108616532A (en) | Ballot processing method, apparatus and terminal device | |
CN109067724A (en) | Block chain data trade method, apparatus, equipment and storage medium | |
CN108810119A (en) | block chain processing method, device and block chain node | |
CN108989048A (en) | Cryptographic key distribution method, device, equipment and storage medium | |
CN108900528A (en) | Block chain real name identification method, device, equipment and storage medium | |
CN108566275A (en) | Identity identifying method, device and block chain node | |
CN109087100A (en) | Cryptographic key distribution method, device, equipment and storage medium | |
Van Den Broek et al. | Security testing of GSM implementations | |
CN109118360A (en) | Block chain account checking method, device, equipment and storage medium | |
CN109104726A (en) | The authentication method and related device, system and medium of network slice | |
CN108173915A (en) | Call chain processing method and processing device | |
CN108881296A (en) | Block chain real name identification method, device, equipment and storage medium | |
CN108200568A (en) | Mobile communication electronics SIM card data processing method and device | |
CN109246696A (en) | Cipher key processing method and relevant apparatus | |
CN110392998A (en) | A kind of data packet method of calibration and equipment | |
CN108596636A (en) | Method for anti-counterfeit, device and terminal device | |
CN104301106B (en) | Wireless communication system and its authentication method | |
CN105517020B (en) | A kind of method and device of update configuration parameter | |
CN108985765A (en) | Enterprise user information processing method, equipment and storage medium | |
EP3493570B1 (en) | Data transmission method, first device, and second device | |
CN107426251A (en) | Terminal security detection method and device | |
CN109379199A (en) | User credit processing method, device, equipment and storage medium | |
CN108768961A (en) | storage processing method and home gateway | |
CN109067721A (en) | Block chain real name identification method, device, equipment and storage medium | |
CN105027495B (en) | A kind of method of check key, base station, user equipment and core network element |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181002 |