Voting-based signature service method, device, electronic device and storage medium

By constructing voting rules, verifying accounts and signatures, the reliability of voting services is improved, the problem of insufficient identity verification in voting services is solved, and the validity and privacy protection of voting results are achieved.

CN115001785BActive Publication Date: 2024-09-13郑伟佳
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202210588735.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-09-13
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

Existing voting services lack reliability in formal and rigorous voting situations. Users fail to provide credentials to prove the authenticity and validity of their identities, resulting in unreliable voting conclusions.

Method used

By obtaining voting topics, constructing voting rules, identifying and verifying voting accounts, configuring online signature boards, monitoring and verifying signatures, performing one-way encryption, and performing topic voting on voting topics to improve the reliability and privacy protection of voting services.

Benefits of technology

It improves the authenticity and reliability of voting, prevents vote manipulation, protects voters' identity information, and ensures the validity and privacy of voting results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115001785B
    Figure CN115001785B
Patent Text Reader

Abstract

The present invention relates to the field of security mechanisms, and discloses a signature service method, device, electronic device, and storage medium based on voting, wherein the method comprises: obtaining a voting subject, constructing voting rules for the voting subject; querying a voting service program corresponding to the voting subject, identifying a voting account of the voting service program, verifying whether the voting account complies with the voting rules, and when the voting account complies with the voting rules, configuring an online signature board of the voting account, and monitoring the voting signature of the voting account on the online signature board; verifying whether the voting signature is legal, and when the voting signature is legal, performing one-way encryption on the voting account to obtain an encrypted voting account; performing a subject vote on the voting subject according to the encrypted voting account and the voting rules to obtain a voting result of the voting subject. The present invention can improve the reliability of voting services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of security mechanisms, and in particular to a voting-based signature service method, device, electronic device and computer-readable storage medium. Background Art

[0002] The voting-based signature service refers to a service in which users need to sign after voting to prove their identity in WeChat voting on some important occasions.

[0003] At present, most voting services are convenient and fast. Users only need to vote to easily calculate the voting results in the group. However, for some relatively formal and rigorous voting results, simple voting is not enough. Voters need to provide credentials to prove the authenticity and validity of their identities. For example, a community initiated a community service vote on whether to agree to seal balcony windows. After voting, the owners of the community did not upload some credentials to prove their identities, resulting in insufficient reliability of the voting results. Therefore, the reliability of voting services is low. Summary of the invention

[0004] The present invention provides a voting-based signature service method, device, electronic device and computer-readable storage medium, the main purpose of which is to improve the reliability of voting services.

[0005] To achieve the above object, the present invention provides a voting-based signature service method, comprising:

[0006] Obtain a voting topic and construct voting rules for the voting topic;

[0007] Querying the voting service program corresponding to the voting subject, identifying the voting account of the voting service program, verifying whether the voting account complies with the voting rules, and configuring an online signature board of the voting account when the voting account complies with the voting rules, and monitoring the voting signature of the voting account on the online signature board;

[0008] Verify whether the voting signature is legal. If the voting signature is legal, perform one-way encryption on the voting account to obtain a one-way encrypted voting account;

[0009] According to the one-way encrypted voting account and the voting rules, a subject vote on the voting subject is performed to obtain a voting result of the voting subject.

[0010] Optionally, the constructing of voting rules for the voting topic includes:

[0011] Identify the voting intention of the voting subject, extract features of the voting intention, and obtain voting features of the voting intention;

[0012] According to the voting characteristics, query the subject content of the voting topic through a web crawler algorithm;

[0013] According to the subject content, the construction of the voting rules for the voting subject is executed to obtain the voting rules for the voting subject.

[0014] Optionally, extracting features of the voting intention to obtain voting features of the voting intention includes:

[0015] Separating the voting intention and obtaining voting intention words in the separated voting intention;

[0016] Calculating the weight of the voting intention vocabulary by TFIDF algorithm according to the voting intention vocabulary and the voting intention;

[0017] A target weight greater than a preset threshold value is extracted from the weights, and the voting intention vocabulary corresponding to the target weight is used as a voting feature of the voting intention.

[0018] Optionally, the querying of the voting service program corresponding to the voting subject includes:

[0019] Obtaining the encrypted voting service corresponding to the voting subject, and decrypting the encrypted voting service through the gateway to obtain the decrypted voting service;

[0020] Verify whether the decryption voting service is abnormal;

[0021] When there is no abnormality in the decrypted voting service, the decrypted voting service is used as the voting service program.

[0022] Optionally, configuring the online signature board of the voting account includes:

[0023] Constructing a signature board style for the voting account;

[0024] According to the signature pad style, configuring a coded signature pad of the signature pad style through a programming tool;

[0025] The coded signature board is published to the online webpage corresponding to the voting account to obtain the online signature board.

[0026] Optionally, monitoring the voting signature of the voting account on the online signature board includes:

[0027] Obtaining a signature path tool of the online signature board, and when the voting account has a touch action on the online signature board, calling a start signature monitoring function of the signature path tool to monitor the start signature touch point of the voting account;

[0028] When the voting account has a moving operation on the online signature board, the signature path monitoring function of the signature path tool is called to monitor the signature path between the current signature touch point of the voting account and the starting signature touch point;

[0029] When the voting account completes the moving operation on the online signature board, the signature drawing function of the online signature board is called to draw the signature path of the voting account on the online signature board to obtain the voting signature.

[0030] Optionally, verifying whether the voting signature is legal includes:

[0031] Obtaining the input name of the voter of the voting account, and extracting features of the voting signature and the input name through a convolutional layer of a convolutional neural network to obtain voting signature features and input name features;

[0032] Performing consistency check between the voting signature feature and the input name feature;

[0033] When the consistency check between the voting signature feature and the input name feature is successful, the voting signature is legal;

[0034] When the consistency check between the voting signature feature and the input name feature fails, the voting signature is illegal.

[0035] In order to solve the above problem, the present invention further provides a voting-based signature service device, the device comprising:

[0036] A voting rule building module, used to obtain a voting topic and build voting rules for the voting topic;

[0037] A voting signature monitoring module is used to query the voting service program corresponding to the voting subject, identify the voting account of the voting service program, verify whether the voting account complies with the voting rules, and when the voting account complies with the voting rules, configure the online signature board of the voting account and monitor the voting signature of the voting account on the online signature board;

[0038] An account one-way encryption module verifies whether the voting signature is legal. If the voting signature is legal, the voting account is one-way encrypted to obtain a one-way encrypted voting account.

[0039] The subject voting execution module executes subject voting on the voting subject according to the one-way encrypted voting account and the voting rules to obtain the voting result of the voting subject.

[0040] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0041] at least one processor; and,

[0042] a memory communicatively connected to the at least one processor; wherein,

[0043] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to implement the above-mentioned voting-based signature service method.

[0044] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned voting-based signature service method.

[0045] It can be seen that the embodiment of the present invention obtains the voting subject to obtain the subject that the user needs to vote on, and designs a suitable voting activity plan according to different voting subjects. Further, the embodiment of the present invention constructs the voting rules of the voting subject to vote according to certain specific rules to effectively and fairly express the true will or preference of the voter. Further, the embodiment of the present invention queries the voting service program corresponding to the voting subject to obtain the voter's voting request, obtains the voting activity data according to the voting request, and votes on the voting. Further, the embodiment of the present invention identifies the voting account of the voting service program to determine whether the voting account is impersonated, forged, etc., and whether the voting account is a fraudulent vote. Further, the embodiment of the present invention verifies whether the voting account meets the voting rules to identify the accounts that do not meet the voting requirements in the voting accounts according to the requirements of different voting rules. Further, the embodiment of the present invention configures the online signature board of the voting account so that the voter can sign before voting after the voting identity authentication is qualified, and determines whether the voting operation is performed by the voter himself according to the signature. Among them, the online signature board refers to an electronic board used for signing. Further, the embodiment of the present invention monitors the voting signature of the voting account on the online signature board to monitor the signature of the voter and verify the signature, so as to judge whether the voter is the person himself or the vote is spoofed by verifying the consistency between the signature and the identity information of the voting account. The embodiment of the present invention verifies whether the voting signature is legal, so as to judge whether the voter is the person himself or the vote is spoofed by verifying the consistency between the signature and the identity information of the voting account, thereby improving the authenticity and reliability of online voting. Further, the embodiment of the present invention performs one-way encryption on the voting account to obtain a one-way encrypted voting account, which is used to encrypt the identity information of the voter attached to the voting account, so as to prevent the leakage of the identity information of the voter after the vote, which causes disadvantages to the voter, etc. Further, the embodiment of the present invention performs the theme voting on the voting theme according to the one-way encrypted voting account and the voting rules, and obtains the voting result of the voting theme, so as to use the encrypted voting account to perform anonymous voting on the voting theme under different rule constraints, thereby protecting the privacy of the voter and voting anonymously. Therefore, the voting-based signature service method, device, electronic device and computer-readable storage medium proposed in the embodiments of the present invention can improve the reliability of the voting signature service. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flowchart of a voting-based signature service method provided by an embodiment of the present invention;

[0047] Figure 2A schematic diagram of a module of a voting-based signature service device provided by an embodiment of the present invention;

[0048] Figure 3 A schematic diagram of the internal structure of an electronic device for implementing a voting-based signature service method provided by an embodiment of the present invention;

[0049] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0051] The embodiment of the present invention provides a voting-based signature service method. The execution subject of the voting-based signature service method includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present invention. In other words, the voting-based signature service method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0052] Reference Figure 1 FIG. 1 is a flow chart of a voting-based signature service method provided by an embodiment of the present invention. In the embodiment of the present invention, the voting-based signature service method includes the following steps S1-S4:

[0053] S1. Obtain a voting topic and construct voting rules for the voting topic.

[0054] The embodiment of the present invention obtains voting themes to obtain themes that users need to vote on, and designs appropriate voting activity plans according to different voting themes. The voting themes refer to multiple voting themes under the same voting activity, which are equivalent to the categories of classification. The voting themes can be the selection of "the most beautiful individual", "the most beautiful team", etc.

[0055] Furthermore, the embodiment of the present invention constructs voting rules for the voting subject so as to be used for voting according to certain specific rules, thereby effectively and fairly expressing the voters' true wishes or preferences.

[0056] Among them, the voting rules refer to a public selection procedure rule for making decisions through voting, which is divided into unanimous consent rule and majority vote rule. The voting rules may include the account level of the voter for voting, how many votes each voter can cast, the start time and end time of voting, etc.

[0057] Further, as an embodiment of the present invention, the construction of voting rules for the voting topic includes: identifying the voting intention of the voting topic, performing feature extraction on the voting intention, and obtaining voting features of the voting intention; based on the voting features, querying the subject content of the voting topic through a web crawler algorithm; and according to the subject content, executing the construction of voting rules for the voting topic to obtain the voting rules for the voting topic.

[0058] The web crawler algorithm is also called web spider, web ant, web robot, etc., and can automatically browse information on the web. Optionally, the voting intention can be to vote for the most beautiful model.

[0059] Furthermore, as another embodiment of the present invention, the feature extraction of the voting intention to obtain the voting feature of the voting intention includes: separating the voting intention and obtaining the voting intention vocabulary in the separated voting intention; calculating the weight of the voting intention vocabulary through the TFIDF algorithm according to the voting intention vocabulary and the voting intention; extracting the target weight greater than a preset threshold from the weight, and using the voting intention vocabulary corresponding to the target weight as the voting feature of the voting intention.

[0060] Exemplarily, the TFIDF algorithm includes TF and IDF, wherein TF is called word frequency, which is used to calculate the ability of the word to describe the content of the document; IDF is called inverse document frequency, which is used to calculate the ability of the word to distinguish documents. The preset threshold can be set to 0.5, or it can be set according to the implementation situation. The weight of the voting intention vocabulary calculated by the TFIDF algorithm is achieved by taking the ratio of the number of times the voting intention vocabulary appears in the voting intention to the number of times the voting intention vocabulary appears as the weight of the word.

[0061] S2. Query the voting service program corresponding to the voting subject, identify the voting account of the voting service program, verify whether the voting account complies with the voting rules, and if the voting account complies with the voting rules, configure the online signature board of the voting account, and monitor the voting signature of the voting account on the online signature board.

[0062] The embodiment of the present invention obtains the voter's voting request by querying the voting service program corresponding to the voting subject, obtains the voting activity data according to the voting request, and votes on the voting results.

[0063] Among them, the voting service program corresponding to the voting theme refers to the http-related network request, which can obtain the data of the server by sending a request through the user end. It is the main data acquisition method. The voting service program can be used to obtain the content of the voting activity, such as the voting theme, voting object, etc.

[0064] As an embodiment of the present invention, the querying of the voting service program corresponding to the voting subject includes: obtaining the encrypted voting service corresponding to the voting subject, decrypting the encrypted voting service through a gateway to obtain a decrypted voting service; verifying whether the decrypted voting service has any abnormality; when the decrypted voting service has no abnormality, using the decrypted voting service as the voting service program.

[0065] The gateway refers to a concept at the network layer, and refers to a "gateway" for interconnecting networks.

[0066] Furthermore, the embodiment of the present invention identifies the voting account of the voting service program to identify whether the voting account is impersonated, forged, etc., and to determine whether the voting account is used for fraudulent voting.

[0067] Among them, the voting account refers to the voter's account, which is a number that each person uses to represent himself in a specific project. The voting account can be the voter's WeChat account, membership account, mobile phone number, QQ number, etc.

[0068] Furthermore, as an embodiment of the present invention, the identifying of the voting account of the voting service program includes: extracting the program start in the voting service program; constructing an account query code of the program start by using a preset programming language, executing the account query code, and obtaining an encrypted voting account; decrypting the encrypted voting account to obtain a voting account.

[0069] Optionally, the preset programming language may be SecurityContext.

[0070] Furthermore, the embodiment of the present invention verifies whether the voting account complies with the voting rules, so as to identify the accounts that do not comply with the voting requirements among the voting accounts according to the requirements of different voting rules.

[0071] Further, as an embodiment of the present invention, the verification of whether the voting account complies with the voting rules includes: identifying target rules in the voting rules; verifying whether the voting account complies with the target rules; when the voting account complies with the target rules, the voting account complies with the voting rules; when the voting account does not comply with the target rules, the voting account does not comply with the voting rules.

[0072] Optionally, the target rule may be that voting requires that the voting account must be a member account before voting can be performed.

[0073] Furthermore, the embodiment of the present invention configures an online signature board for the voting account so that the voter can sign before voting after the voting identity authentication is qualified, and judges whether the voting operation is performed by the voter himself according to the signature of the voter. The online signature board refers to an electronic board used for signing.

[0074] Further, as an embodiment of the present invention, the configuration of the online signature board of the voting account includes: constructing a signature board style of the voting account; configuring a coded signature board of the signature board style through a programming tool according to the signature board style; and publishing the coded signature board to an online webpage corresponding to the voting account to obtain the online signature board.

[0075] Optionally, the programming tool may be a js programming tool.

[0076] Furthermore, the embodiment of the present invention monitors the voting signature of the voting account on the online signature board to monitor the voter's signature and verify the signature, so as to judge whether the voter is the real person or whether the vote is fake by verifying the consistency between the signature and the identity information of the voting account.

[0077] Among them, the voting signature refers to the signature of the voter when voting, and the signature refers to writing one's own name to express agreement, recognition, responsibility or obligation.

[0078] Further, as an embodiment of the present invention, the monitoring of the voting signature of the voting account on the online signature board includes: obtaining a signature path tool of the online signature board, and when the voting account has a touch action on the online signature board, calling the starting signature monitoring function of the signature path tool to monitor the starting signature touch point of the voting account; when the voting account has a moving operation on the online signature board, calling the signature path monitoring function of the signature path tool to monitor the signature path between the current signature touch point and the starting signature touch point of the voting account; when the moving operation of the voting account on the online signature board is completed, calling the signature drawing function of the online signature board to draw the signature path of the voting account on the online signature board to obtain the voting signature.

[0079] Among them, the signature path tool can be a Path tool; the starting signature monitoring method can be a moveTo function; the signature path monitoring method can be a quadTo function; and the signature path drawing method can be a drawPath function.

[0080] S3. Verify whether the voting signature is legal. If the voting signature is legal, perform one-way encryption on the voting account to obtain a one-way encrypted voting account.

[0081] The embodiment of the present invention verifies whether the voting signature is legitimate, so as to judge whether the voter is the real person or whether the vote is fake by verifying the consistency between the signature and the identity information of the voting account, thereby improving the authenticity and reliability of online voting.

[0082] As an embodiment of the present invention, verifying whether the voting signature is legal includes: obtaining the entered name of the voter of the voting account, performing feature extraction on the voting signature and the entered name through the convolutional layer of a convolutional neural network to obtain voting signature features and entered name features; performing consistency verification on the voting signature features and the entered name features; when the consistency verification between the voting signature features and the entered name features is successful, the voting signature is legal; when the consistency verification between the voting signature features and the entered name features is unsuccessful, the voting signature is illegal.

[0083] Among them, the convolutional neural network refers to a feedforward neural network that includes convolution calculations and has a deep structure. It can process images and all data that can be converted into image-like structures, can efficiently process the two-dimensional local information of images, extract image features, and perform image classification.

[0084] Furthermore, the embodiment of the present invention performs one-way encryption on the voting account to obtain a one-way encrypted voting account, which is used to encrypt the voter's identity information attached to the voting account, thereby preventing the voter's identity information from being leaked after voting, causing disadvantages to the voter, and other problems.

[0085] Furthermore, as an embodiment of the present invention, the one-way encryption of the voting account to obtain the one-way encrypted voting account is implemented by a one-way encryption algorithm.

[0086] The one-way encryption is also called an irreversible encryption algorithm. No key is used in the encryption process. The plain text is encrypted by the system into cipher text, which cannot be decrypted. The one-way encryption algorithm includes BASE64, MD5, SHA, HMAC and other algorithms.

[0087] S4. According to the one-way encrypted voting account and the voting rules, a subject vote on the voting subject is performed to obtain a voting result of the voting subject.

[0088] The embodiment of the present invention performs a theme vote on the voting theme according to the one-way encrypted voting account and the voting rules to obtain the voting result of the voting theme, so as to use the encrypted voting account to perform anonymous voting on the voting theme under different rule constraints, thereby protecting the voter's privacy and performing anonymous voting. The theme vote refers to the corresponding vote performed by the voting account on the voting theme.

[0089] As an embodiment of the present invention, the topic voting on the voting subject is performed according to the one-way encrypted voting account and the voting rules to obtain the voting result of the voting subject, which is achieved through the voter corresponding to the voting account.

[0090] It can be seen that the embodiment of the present invention obtains the voting subject to obtain the subject that the user needs to vote on, and designs a suitable voting activity plan according to different voting subjects. Further, the embodiment of the present invention constructs the voting rules of the voting subject to vote according to certain specific rules to effectively and fairly express the true will or preference of the voter. Further, the embodiment of the present invention queries the voting service program corresponding to the voting subject to obtain the voter's voting request, obtains the voting activity data according to the voting request, and votes on the voting. Further, the embodiment of the present invention identifies the voting account of the voting service program to determine whether the voting account is impersonated, forged, etc., and whether the voting account is a fraudulent vote. Further, the embodiment of the present invention verifies whether the voting account meets the voting rules to identify the accounts that do not meet the voting requirements in the voting accounts according to the requirements of different voting rules. Further, the embodiment of the present invention configures the online signature board of the voting account so that the voter can sign before voting after the voting identity authentication is qualified, and determines whether the voting operation is performed by the voter himself according to the signature. Among them, the online signature board refers to an electronic board used for signing. Further, the embodiment of the present invention monitors the voting signature of the voting account on the online signature board to monitor the signature of the voter and verify the signature, so as to judge whether the voter is the person himself or the vote is spoofed by verifying the consistency of the signature and the identity information of the voting account. The embodiment of the present invention verifies whether the voting signature is legal, so as to judge whether the voter is the person himself or the vote is spoofed by verifying the consistency of the signature and the identity information of the voting account, thereby improving the authenticity and reliability of online voting. Further, the embodiment of the present invention performs one-way encryption on the voting account to obtain a one-way encrypted voting account, so as to encrypt the identity information of the voter attached to the voting account, so as to prevent the leakage of the identity information of the voter after the vote, causing disadvantages to the voter, etc. Further, the embodiment of the present invention performs the theme voting on the voting theme according to the one-way encrypted voting account and the voting rules, so as to obtain the voting result of the voting theme, so as to use the encrypted voting account to perform anonymous voting on the voting theme under different rule constraints, so as to protect the privacy of the voter and vote anonymously. Therefore, the voting-based signature service method proposed in the embodiment of the present invention can improve the reliability of the voting signature service.

[0091] like Figure 2 , which is a functional module diagram of the voting-based signature service device of the present invention.

[0092] The voting-based signature service device 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the voting-based signature service device can include a voting rule construction module 101, a voting signature monitoring module 102, an account one-way encryption module 103, and a subject voting execution module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.

[0093] In this embodiment, the functions of each module / unit are as follows:

[0094] The voting rule construction module 101 is used to obtain a voting topic and construct a voting rule for the voting topic;

[0095] The voting signature monitoring module 102 is used to query the voting service program corresponding to the voting subject, identify the voting account of the voting service program, verify whether the voting account complies with the voting rules, and when the voting account complies with the voting rules, configure the online signature board of the voting account and monitor the voting signature of the voting account on the online signature board;

[0096] The account one-way encryption module 103 verifies whether the voting signature is legal. If the voting signature is legal, the voting account is one-way encrypted to obtain a one-way encrypted voting account.

[0097] The subject voting execution module 104 executes subject voting on the voting subject according to the one-way encrypted voting account and the voting rules to obtain the voting result of the voting subject.

[0098] In detail, each module in the voting-based signature service device 100 in the embodiment of the present invention is used in the same manner as described above. Figure 1 The same technical means as the voting-based signature service method described in the above are used and can produce the same technical effects, which will not be repeated here.

[0099] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device 1 for implementing a voting-based signature service method according to the present invention.

[0100] The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a voting-based signature service program.

[0101] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core (ControlUnit) of the electronic device 1, and uses various interfaces and lines to connect various components of the entire electronic device 1, and executes or executes programs or modules stored in the memory 11 (for example, executing a signature service program based on voting, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.

[0102] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the signature service program based on voting, but also be used to temporarily store data that has been output or is to be output.

[0103] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0104] The communication interface 13 is used for communication between the above-mentioned electronic device 1 and other devices, including a network interface and an employee interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices 1. The employee interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the employee interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual employee interface.

[0105] Figure 3 Only the electronic device 1 having components is shown, and those skilled in the art can understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0106] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0107] It should be understood that the embodiment is for illustrative purposes only and the scope of the patent invention is not limited to this structure.

[0108] The voting-based signature service program stored in the memory 11 of the electronic device 1 is a combination of multiple computer programs. When running in the processor 10, it can achieve:

[0109] Obtain a voting topic and construct voting rules for the voting topic;

[0110] Querying the voting service program corresponding to the voting subject, identifying the voting account of the voting service program, verifying whether the voting account complies with the voting rules, and configuring an online signature board of the voting account when the voting account complies with the voting rules, and monitoring the voting signature of the voting account on the online signature board;

[0111] Verify whether the voting signature is legal. If the voting signature is legal, perform one-way encryption on the voting account to obtain a one-way encrypted voting account;

[0112] According to the one-way encrypted voting account and the voting rules, a subject vote on the voting subject is performed to obtain a voting result of the voting subject.

[0113] Specifically, the specific implementation method of the processor 10 for the above computer program can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0114] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, monitoring medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM).

[0115] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of the electronic device 1, the computer program can implement:

[0116] Obtain a voting topic and construct voting rules for the voting topic;

[0117] Querying the voting service program corresponding to the voting subject, identifying the voting account of the voting service program, verifying whether the voting account complies with the voting rules, and configuring an online signature board of the voting account when the voting account complies with the voting rules, and monitoring the voting signature of the voting account on the online signature board;

[0118] Verify whether the voting signature is legal. If the voting signature is legal, perform one-way encryption on the voting account to obtain a one-way encrypted voting account;

[0119] According to the one-way encrypted voting account and the voting rules, a subject vote on the voting subject is performed to obtain a voting result of the voting subject.

[0120] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0121] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0122] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0123] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0124] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0125] The embodiments of the present invention can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The second term is used to indicate the name, and does not indicate any specific order.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A voting-based signature service method, characterized in that: The method comprises: Obtain a voting topic and construct voting rules for the voting topic; querying the voting service program corresponding to the voting subject, extracting the program start of the voting service program, constructing the account query code of the program start by using a preset programming language, executing the account query code, obtaining the encrypted voting account, decrypting the encrypted voting account, obtaining the voting account, verifying whether the voting account complies with the voting rules, and configuring the online signature board of the voting account when the voting account complies with the voting rules, and monitoring the voting signature of the voting account on the online signature board; Verify whether the voting signature is legal. If the voting signature is legal, perform one-way encryption on the voting account to obtain a one-way encrypted voting account; According to the one-way encrypted voting account and the voting rules, a subject vote on the voting subject is performed to obtain a voting result of the voting subject.

2. The voting-based signature service method according to claim 1, characterized in that: The voting rules for constructing the voting subject include: Identify the voting intention of the voting subject, extract features of the voting intention, and obtain voting features of the voting intention; According to the voting characteristics, query the subject content of the voting topic through a web crawler algorithm; According to the subject content, the construction of the voting rules for the voting subject is executed to obtain the voting rules for the voting subject.

3. The voting-based signature service method according to claim 2, characterized in that: The extracting features of the voting intention to obtain voting features of the voting intention includes: Separating the voting intention and obtaining voting intention words in the separated voting intention; Calculating the weight of the voting intention vocabulary by TFIDF algorithm according to the voting intention vocabulary and the voting intention; A target weight greater than a preset threshold value is extracted from the weights, and the voting intention vocabulary corresponding to the target weight is used as a voting feature of the voting intention.

4. The voting-based signature service method according to claim 1, characterized in that: The querying of the voting service program corresponding to the voting subject includes: Obtaining the encrypted voting service corresponding to the voting subject, and decrypting the encrypted voting service through the gateway to obtain the decrypted voting service; Verify whether the decryption voting service is abnormal; When there is no abnormality in the decrypted voting service, the decrypted voting service is used as the voting service program.

5. The voting-based signature service method according to claim 1, characterized in that: The configuring the online signature board of the voting account includes: Constructing a signature board style for the voting account; According to the signature pad style, configuring a coded signature pad of the signature pad style through a programming tool; The coded signature board is published to the online webpage corresponding to the voting account to obtain the online signature board.

6. The voting-based signature service method as claimed in claim 1, characterized in that: The monitoring of the voting signature of the voting account on the online signature board includes: Obtaining a signature path tool of the online signature board, and when the voting account has a touch action on the online signature board, calling a start signature monitoring function of the signature path tool to monitor the start signature touch point of the voting account; When the voting account has a moving operation on the online signature board, the signature path monitoring function of the signature path tool is called to monitor the signature path between the current signature touch point of the voting account and the starting signature touch point; When the voting account completes the moving operation on the online signature board, the signature drawing function of the online signature board is called to draw the signature path of the voting account on the online signature board to obtain the voting signature.

7. The voting-based signature service method according to claim 1, characterized in that: The verification of whether the voting signature is legal includes: Obtaining the input name of the voter of the voting account, and extracting features of the voting signature and the input name through a convolutional layer of a convolutional neural network to obtain voting signature features and input name features; Performing consistency check between the voting signature feature and the input name feature; When the consistency check between the voting signature feature and the input name feature is successful, the voting signature is legal; When the consistency check between the voting signature feature and the input name feature fails, the voting signature is illegal.

8. A voting-based signature service device, characterized in that: The device comprises: A voting rule building module, used to obtain a voting topic and build voting rules for the voting topic; A voting signature monitoring module is used to query the voting service program corresponding to the voting subject, extract the program start of the voting service program, construct an account query code of the program start by using a preset programming language, execute the account query code, obtain an encrypted voting account, decrypt the encrypted voting account to obtain a voting account, verify whether the voting account complies with the voting rules, and when the voting account complies with the voting rules, configure an online signature board of the voting account, and monitor the voting signature of the voting account on the online signature board; An account one-way encryption module verifies whether the voting signature is legal. If the voting signature is legal, the voting account is one-way encrypted to obtain a one-way encrypted voting account. The subject voting execution module executes subject voting on the voting subject according to the one-way encrypted voting account and the voting rules to obtain the voting result of the voting subject.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the voting-based signature service method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the voting-based signature service method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • System and method for encrypting user device resource transactions

    US12562905B2