Anonymous and real-name opinion submission processing method, system, equipment and medium
By generating temporary anonymous identifiers and traceable real-name identifiers associated with the user's login status, the privacy leakage and management challenges in the switching process between anonymous and real-name opinion submission modes in existing technologies are solved, achieving seamless switching and effective identification, and improving user experience and platform management efficiency.
Patent Information
- Application Number
- CN202511762942.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-27
- Publication Date
- 2026-02-27
AI Technical Summary
Existing technologies have problems such as user privacy leakage, difficulty in controlling malicious spamming, and poor user experience when switching between anonymous and real-name opinion submission modes, and cannot achieve flexible switching and effective management.
By generating temporary anonymous identifiers and traceable real-name identifiers associated with the user's login status, seamless switching between anonymous and real-name modes is achieved, and an effective identification and traceability mechanism is established to ensure user privacy and security as well as platform management efficiency.
It enables seamless switching between anonymous and real-name modes, prevents malicious spamming, reduces platform review costs, improves user experience and management efficiency, and balances user freedom of expression with platform management needs.
Smart Images

Figure CN121580436A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet information interaction technology, and in particular to a method, system, device and medium for processing anonymous and real-name opinion submissions. Background Technology
[0002] In internet information exchange scenarios, submitting questions or opinions through various platforms has become a common need. To balance user expression with platform management needs, many platforms offer both "anonymous submission" and "real-name submission" modes. However, existing technological solutions have significant limitations in flexibly switching between and managing these two modes.
[0003] Some platforms only support real-name submissions, causing users to hesitate to express their true opinions due to concerns about privacy leaks, thus limiting user participation and the authenticity of feedback. Other platforms that support anonymous submissions fail to effectively link anonymous identifiers to user login status, making it difficult to accurately identify multiple submissions from the same user. This leads to problems such as malicious spamming and repeated posting of inappropriate content, significantly increasing the platform's review costs and management risks. Furthermore, existing systems offer a poor user experience when switching between anonymous and real-name modes. Users often need to interrupt their current operation and reselect the submission method, a cumbersome process that can easily result in the loss of previously entered content during the switch. Summary of the Invention
[0004] To address the problems existing in the prior art, this invention provides a method, system, device, and medium for processing anonymous and real-name opinion submissions. It can achieve seamless switching between anonymous and real-name modes while ensuring user privacy and security, and establish an effective identification and traceability mechanism, thereby significantly improving user experience and platform management efficiency.
[0005] To achieve the above objectives, the present invention provides a method for processing anonymous and real-name opinion submissions, comprising: In response to a login request, verify the user's identity and maintain the user's logged-in state; Based on the submission mode selected by the user, the current valid identifier is determined; if the submission mode is anonymous submission mode, a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced is generated as a valid identifier; if the submission mode is real-name submission mode, a traceable real-name identifier bound to the user's login state is used as a valid identifier. The user's input comments are dynamically bound to the valid identifier and cached locally. In response to a user's mode switching action, update the currently valid identifier while maintaining the bound opinion content; In response to the submission instruction, the opinion content is combined with the currently valid identifier to form a data packet and submitted.
[0006] Optionally, generating a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced includes: The user identifier is obtained based on the user login status, and input data is formed by combining the time factor and the device factor. The input data is processed using an irreversible encryption algorithm to generate a temporary anonymous identifier.
[0007] Optionally, the dynamic binding includes: Establish a correlation between the content of the opinion and the currently valid identifier; The association is maintained in the local cache until the submission is complete or the session ends.
[0008] Optionally, update the currently valid identifier, including: If switching from anonymous submission mode to real-name submission mode, the current valid identifier will be updated to the traceable real-name identifier; If you switch from real-name submission mode to anonymous submission mode, a new temporary anonymous identifier will be generated, and the current valid identifier will be updated to the new temporary anonymous identifier.
[0009] Optionally, the data packet includes the opinion content and the submission timestamp, and in the anonymous submission mode, it also includes a temporary anonymous identifier, and in the real-name submission mode, it also includes a traceable real-name identifier.
[0010] Optionally, after generating a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced, the method further includes: The temporary anonymous identifier is associated with and stored with the corresponding user's encrypted identity information.
[0011] Optionally, the method further includes: In response to an authorized traceability request, the encrypted identity information is obtained by querying the temporary anonymous identifier; The encrypted identity information is decrypted to obtain the corresponding traceable real-name identifier.
[0012] This invention also provides a system for processing anonymous and real-name opinion submissions, including: The login state management unit is used to respond to login requests, verify user identity, and maintain user login state. The submission mode processing unit is used to determine the current valid identifier based on the submission mode selected by the user; if the submission mode is an anonymous submission mode, a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced is generated as a valid identifier; if the submission mode is a real-name submission mode, a traceable real-name identifier bound to the user's login state is used as a valid identifier. The content binding and caching unit is used to dynamically bind the user's input opinion content with the valid identifier and cache it locally; The mode switching control unit is used to respond to the user's mode switching operation, update the current valid identifier, and maintain the bound opinion content. The opinion submission execution unit is used to respond to the submission instruction by submitting the opinion content and the current valid identifier as a data packet.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the processing method described above.
[0014] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the processing method described above.
[0015] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects: The anonymous and real-name opinion submission processing method provided by this invention generates a temporary anonymous identifier that is associated with the user's login state and cannot be directly used to deduce the user's identity. This allows the platform to accurately associate multiple actions of the same user based on their login state in anonymous submission mode, providing a technical foundation for effectively identifying and preventing malicious spamming and repeated posting of inappropriate content, significantly reducing the platform's review costs and management risks. Simultaneously, by dynamically binding user-input opinions with valid identifiers and caching them locally, and updating the valid identifiers when the user switches submission modes while maintaining the bound opinion content, seamless switching between anonymous and real-name modes is achieved. This avoids interrupting the user's operation or losing input due to mode switching, greatly improving the continuity and smoothness of the user experience. Furthermore, while maintaining the user's login state, this invention flexibly determines and uses either anonymous or real-name identifiers based on the user's selected submission mode. This ensures the privacy and security of users when expressing themselves anonymously, while also meeting traceability requirements through real-name identifiers, thus achieving an effective balance between user freedom of expression and platform management efficiency at the technical level. Attached Figure Description
[0016] The above and other objects, features and advantages of the present invention will become more apparent from the more detailed description of exemplary embodiments of the invention in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same parts.
[0017] Figure 1 This is a schematic flowchart illustrating the method for processing anonymous and real-name opinion submissions according to an embodiment of the present invention; Figure 2This is a schematic diagram illustrating the implementation process of anonymous and real-name opinion submission in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the data security processing mechanism module composition according to an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the compliance traceability process in an embodiment of the present invention; Figure 5 This is a schematic diagram of the module structure of the anonymous and real-name opinion submission processing system shown in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] Please see Figure 1 and Figure 2 , Figure 1 This is a flowchart illustrating the process for handling anonymous and named comments. Figure 2 A schematic diagram illustrating the process of handling anonymous and named comments.
[0020] Methods for handling anonymous and named opinions include: S101: In response to a login request, verify the user's identity and maintain the user's logged-in state.
[0021] When a user initiates a login request, such as by entering a username and password or using biometric information, the backend service uniformly verifies the legitimacy of the user's identity. Upon successful verification, a user login state is generated and maintained, specifically by generating a unique login token. This token contains key information such as the user's identity identifier, login time, permission level, and validity period, and is tamper-proofed using signature algorithms such as HMAC-SHA512 to ensure its security and integrity. This login token is returned to the user's terminal and securely stored locally, thus continuously and reliably maintaining the user's login state in subsequent sessions. This process establishes a stable user session context, laying the foundation for subsequent submission mode processing.
[0022] By ensuring reliable authentication and maintaining login state, this invention avoids the management chaos caused by disconnection of login state in existing technologies. It not only improves the security and reliability of user authentication, but also provides a stable environment for subsequent anonymous identifier generation and mode switching, thereby improving user experience and management efficiency.
[0023] S102: Determine the current valid identifier based on the submission mode selected by the user.
[0024] If the submission mode is anonymous, a temporary anonymous identifier that is associated with the user's login state and whose user identity cannot be directly deduced is generated as a valid identifier; if the submission mode is real-name submission, a traceable real-name identifier that is bound to the user's login state is used as a valid identifier.
[0025] After a user successfully logs in and enters the information submission page, the system determines the valid identifier based on the user's selected submission mode. The system offers two submission modes: anonymous and real-name. If the user chooses anonymous submission, a temporary anonymous identifier is generated as the valid identifier. This temporary anonymous identifier is generated in a way that is closely linked to the user's login state, incorporating dynamic factors related to time and device. It is then processed using an irreversible encryption algorithm, such as the SM3 national cryptographic algorithm, to generate a unique and unbreakable temporary identifier, thus technically ensuring the anonymity of the user's true identity. If the user chooses real-name submission, a traceable real-name identifier bound to the user's login state is used directly as the valid identifier. This identifier typically originates from the verified user's real-name information carried in the login token. This design tightly links the anonymous identifier to the user's login state, solving the problem of anonymity being disconnected from the login state in existing technologies. Through this mechanism, the platform can accurately identify multiple anonymous operations by the same logged-in user while concealing the user's true identity, effectively preventing malicious submissions. This achieves an effective balance between anonymous expression and platform management needs at the technical level and lays the foundation for subsequent seamless transitions.
[0026] Specifically, generating temporary anonymous identifiers that are associated with the user's login state and whose user identity cannot be directly deduced includes: The user identifier is obtained based on the user's login status, and the input data is formed by combining the time factor and the device factor. The input data is processed using an irreversible encryption algorithm to generate a temporary anonymous identifier.
[0027] In this application, when generating a temporary anonymous identifier, the corresponding user identifier is first obtained based on the established user login state. To ensure privacy and security, this user identifier is anonymized, for example, by calculating its hash value using the SHA-256 algorithm. Then, the anonymized user identifier is concatenated with a time factor and a device factor to form the input data used for encryption. The time factor can be the current timestamp, and the device factor can be the hash value of the user's device signature, such as the hash value of a browser user agent string.
[0028] After the input data is generated, it is processed using an irreversible encryption algorithm. Specifically, the concatenated result is encrypted using the SM3 national cryptographic algorithm, ultimately generating a fixed-length (e.g., 32-bit) string as a temporary anonymous identifier. Because of the irreversible encryption algorithm, the generated temporary anonymous identifier cannot be used to deduce the original user identifier, timestamp, and device signature through reverse calculation, thus technically ensuring the anonymity of the user's true identity. Simultaneously, since the generation process of this temporary anonymous identifier is closely bound to the user's login state, a specific time, and the device environment, it maintains an intrinsic connection with the user's login state and possesses uniqueness. This provides a reliable technical foundation for accurately identifying multiple anonymous operations by the same logged-in user, effectively solving the problem of anonymity being disconnected from the login state in existing technologies. This "multi-factor concatenation + irreversible encryption" mechanism effectively prevents the possibility of inferring user identity through forged or collision-based identifiers, significantly enhancing the security and control capabilities of anonymous submissions.
[0029] S103: Dynamically bind the user's input comments to valid identifiers and cache them locally.
[0030] Dynamic binding includes: establishing an association between the opinion content and the currently valid identifier; maintaining the association in the local cache until the submission is completed or the session ends.
[0031] During the user's input of comments, the input is dynamically bound to a currently valid identifier, and this binding relationship, along with the comment itself, is cached locally on the user's device. This binding process is real-time, ensuring that at any given moment, the user's comment is closely associated with the valid identifier corresponding to the currently selected submission mode. Local caching can be implemented through the browser's local storage mechanism, such as caching data to LocalStorage and processing the stored content using Base64 encoding to avoid the risk of plaintext leakage of sensitive information and enhance data security when stored locally. This dynamic binding and caching mechanism persists throughout the user session until submission is complete or the session ends normally. During this period, mechanisms such as hash value verification ensure the integrity and accuracy of the cached content.
[0032] This dynamic binding and local caching mechanism not only enables real-time association between user input and submission markers but also ensures reliable preservation of feedback in unexpected situations such as page refreshes or operation interruptions, providing a complete data foundation for subsequent mode switching operations. This design effectively solves the problem of content loss caused by switching submission modes in existing technologies, allowing users to flexibly switch between anonymous and real-name modes without re-entering information, significantly improving the continuity of the operation process and the smoothness of the user experience.
[0033] S104: In response to the user's mode switching operation, update the currently valid identifier while maintaining the bound opinion content.
[0034] Specifically, the above updates to the currently valid identifiers include: If you switch from anonymous submission mode to real-name submission mode, the current valid identifier will be updated to a traceable real-name identifier. If you switch from real-name submission mode to anonymous submission mode, a new temporary anonymous identifier will be generated, and the current valid identifier will be updated to the new temporary anonymous identifier.
[0035] When a user triggers a mode switch while entering comments, the valid identifier is updated according to the target mode, ensuring that previously entered and cached comments remain associated with the new identifier. Specifically, if a user switches from anonymous submission mode to real-name submission mode, the current valid identifier is updated to a traceable real-name identifier. This process involves retrieving locally cached comments, clearing the original temporary anonymous identifier in the form, and replacing it with the real-name information from the user's login token. When a user switches from real-name submission mode to anonymous submission mode, a completely new temporary anonymous identifier is generated as the valid identifier. This new identifier is generated based on the user's login status, combined with the current time factor and device factor, using an irreversible encryption algorithm.
[0036] Throughout the switching process, by calling locally cached binding data, the system ensures that the entered comments remain intact and are re-associated with the updated valid identifier. This mechanism, which maintains the bound comments while updating the identifier, enables seamless switching between anonymous and verified submission modes. It effectively solves the problems of content loss and cumbersome operations caused by mode switching in existing technologies, significantly improving the continuity and smoothness of user experience.
[0037] S105: In response to the submission instruction, submit a data packet consisting of the comment content and the currently valid identifier.
[0038] For example, the data packet includes the opinion content and the submission timestamp, and in anonymous submission mode, it also includes a temporary anonymous identifier, and in real-name submission mode, it also includes a traceable real-name identifier.
[0039] In the application, after a user confirms submission, the corresponding data assembly operation is performed according to the current submission mode. If it is an anonymous submission mode, the temporary anonymity identifier, the content of the comment, and the submission timestamp are packaged together; if it is a real-name submission mode, the traceable real-name identifier, the content of the comment, and the submission timestamp are combined.
[0040] The assembled data packets are transmitted encrypted via HTTPS, ensuring data security and integrity during transmission. Upon reaching the backend, anonymous and verified data submissions are stored in separate tables. The anonymous data table does not store any information directly linked to user identity, while the verified data table maintains a complete association between user identity and content. This differentiated packet assembly mechanism based on submission mode ensures both the anonymity of user identity in anonymous scenarios and the traceability requirements in verified scenarios. Through standardized data structures and secure transmission protocols, it effectively addresses the balance between privacy protection and compliance traceability, providing a standardized and reliable data management foundation for the platform.
[0041] Furthermore, to ensure the secure transmission and storage of the aforementioned data packets, and to facilitate any subsequent compliance checks, a unified data security processing mechanism can be used as a foundation. See also... Figure 3 This demonstrates a modular structure for secure data processing, including a user terminal module, an encryption module, an integrity verification module, an access control module, and a server storage module. This mechanism provides unified technical support for the encrypted transmission and secure disk storage of the aforementioned data packets, as well as the encrypted storage and controlled traceability of related information, which will be described later. Specifically, the encryption module ensures the confidentiality of data during transmission and storage; the integrity verification module prevents data tampering; the access control module ensures secure and controllable access to and traceability of related information; and the server storage module achieves the final secure persistence of data.
[0042] Existing solutions struggle to balance privacy protection and compliance traceability. Some store user identity information in the background for ease of traceability, posing a risk of privacy breaches. Others overemphasize anonymity, resulting in a lack of effective identity verification in necessary compliance reviews or violation tracing scenarios.
[0043] In one embodiment, after generating a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced, the above method further includes: The temporary anonymous identifier is associated with and stored with the corresponding user's encrypted identity information.
[0044] Existing technical solutions struggle to balance privacy protection and compliance traceability. Some store user identity information in the background for ease of traceability, posing a risk of privacy breaches; others overemphasize anonymity, resulting in a lack of effective identity verification in necessary compliance reviews or violation tracing scenarios. To address this issue, this invention, after generating a temporary anonymous identifier, stores it along with the corresponding user's encrypted identity information in an "anonymous identifier-login state" association table for linked storage.
[0045] In practice, the user's identity is first encrypted to generate an encrypted user ID value as encrypted identity information. Then, a mapping relationship is established between the temporary anonymous identifier and the encrypted identity information, and this relationship is stored in a structured manner in a specially designed encrypted storage area. This association storage is specifically manifested in the creation of records in the "Anonymous Identifier-Login Status" association table. Each record contains key fields such as the temporary anonymous identifier, the encrypted value of the user ID, the generation time, and the association's validity period. This association table is located in a protected encrypted partition and does not provide data query functionality to the front end, ensuring the secure isolation of the associated data.
[0046] This associated storage mechanism effectively hides the user's real identity in typical anonymous submission scenarios, while also establishing a secure and controllable basis for necessary identity tracing under legal and compliant requirements, thus achieving an effective balance between privacy protection and compliant tracing.
[0047] In one embodiment, the above method further includes: In response to an authorized traceability request, encrypted identity information is retrieved based on a temporary anonymous identifier; Decrypt the encrypted identity information to obtain the corresponding traceable real-name identifier.
[0048] See Figure 4 When anonymous submissions violate regulations and require tracing the user's identity, a compliance tracing process is initiated. First, a tracing request, subject to strict authorization, is received. This request can be initiated by the platform administrator, who must provide the violation content ID, the reason for tracing, and the administrator's authorization password for authorization verification. Upon successful verification, the system queries the "Anonymous Identifier-Login Status" association table in the encrypted storage area based on the temporary anonymous identifier in the content to be traced, retrieving the corresponding encrypted user identity value. The decryption process then begins, which can employ a multi-administrator collaborative mechanism. For example, two or more administrators can each input their respective key fragments to jointly decrypt the encrypted user identity value, ultimately obtaining the corresponding traceable real-name identifier. The entire tracing process is fully auditable, automatically recording key information such as the tracing participant's identity, operation timestamp, and reason for tracing, and generating an immutable audit log for subsequent monitoring and review.
[0049] This controlled traceability mechanism, through strict authorization authentication, segmented decryption, and complete auditing, ensures effective identity traceability in necessary compliant scenarios while preventing the abuse of traceability power. It provides necessary technical support for platform management while protecting user anonymity and privacy, achieving an organic unity between privacy protection and compliance supervision.
[0050] Corresponding to the aforementioned application function implementation method embodiments, the present invention also provides an anonymous and real-name opinion submission processing system and corresponding embodiments.
[0051] Please see Figure 5 , Figure 5 A schematic diagram of the module structure of the system for processing anonymous and real-name opinion submissions.
[0052] The system for processing anonymous and named opinions includes: The login state management unit 51 is used to respond to login requests, verify user identity, and maintain user login state; The submission mode processing unit 52 is used to determine the current valid identifier based on the submission mode selected by the user. If the submission mode is anonymous submission mode, a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced is generated as the valid identifier. If the submission mode is real-name submission mode, a traceable real-name identifier bound to the user's login state is used as the valid identifier. The content binding and caching unit 53 is used to dynamically bind the user's input opinion content with a valid identifier and cache it locally; The mode switching control unit 54 is used to update the current valid identifier in response to the user's mode switching operation, while maintaining the bound opinion content; The opinion submission execution unit 55 is used to respond to the submission instruction by submitting a data packet consisting of the opinion content and the current valid identifier.
[0053] In one embodiment, the submission mode processing unit 52 is specifically used to generate a temporary anonymous identifier that is associated with the user's login state and whose user identity cannot be directly deduced: The user identifier is obtained based on the user's login status, and the input data is formed by combining the time factor and the device factor. The input data is processed using an irreversible encryption algorithm to generate a temporary anonymous identifier.
[0054] In one embodiment, regarding dynamic binding, the content binding and caching unit 53 is specifically used for: Establish a correlation between the content of the opinions and currently valid identifiers; Maintain the association in the local cache until the commit is complete or the session ends.
[0055] In one embodiment, the mode switching control unit 54 is specifically configured to: update the current valid identifier. If you switch from anonymous submission mode to real-name submission mode, the current valid identifier will be updated to a traceable real-name identifier. If you switch from real-name submission mode to anonymous submission mode, a new temporary anonymous identifier will be generated, and the current valid identifier will be updated to the new temporary anonymous identifier.
[0056] In one embodiment, after generating a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced, the submission mode processing unit 52 is further configured to: The temporary anonymous identifier is associated with and stored with the corresponding user's encrypted identity information.
[0057] In one embodiment, the submission mode processing unit 52 is further configured to: In response to an authorized traceability request, encrypted identity information is retrieved based on a temporary anonymous identifier; Decrypt the encrypted identity information to obtain the corresponding traceable real-name identifier.
[0058] Regarding the system in the above embodiments, the specific manner in which each unit module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated further here.
[0059] Please see Figure 6 The electronic device 6000 includes a memory 6010 and a processor 6020.
[0060] The processor 6020 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0061] Memory 6010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by processor 6020 or other modules of the computer. Permanent storage devices may be read-write storage devices. Permanent storage devices may be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use mass storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices may be removable storage devices (e.g., floppy disks, optical drives). System memory may be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory may store some or all of the instructions and data required by the processor during operation. Furthermore, memory 6010 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 6010 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, a high-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.
[0062] The memory 6010 stores executable code, which, when processed by the processor 6020, can cause the processor 6020 to execute part or all of the methods described above.
[0063] Furthermore, the method according to the present invention can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the above-described method of the present invention.
[0064] Alternatively, the present invention may also be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium) storing executable code (or computer program or computer instruction code) thereon, which, when executed by a processor of an electronic device (or server, etc.), causes the processor to perform part or all of the steps of the methods described above according to the present application.
[0065] The various embodiments of the present invention have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for processing anonymous and real-name opinion submissions, characterized in that, include: In response to a login request, verify the user's identity and maintain the user's logged-in state; Determine the current valid identifier based on the submission mode selected by the user; If the submission mode is anonymous submission mode, a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced is generated as a valid identifier; if the submission mode is real-name submission mode, a traceable real-name identifier bound to the user's login state is used as a valid identifier. The user's input comments are dynamically bound to the valid identifier and cached locally. In response to a user's mode switching action, update the currently valid identifier while maintaining the bound opinion content; In response to the submission instruction, the opinion content is combined with the currently valid identifier to form a data packet and submitted.
2. The method for processing anonymous and real-name opinion submissions according to claim 1, characterized in that, Generate a temporary anonymous identifier that is associated with the user's login state and whose user identity cannot be directly deduced, including: The user identifier is obtained based on the user login status, and input data is formed by combining the time factor and the device factor. The input data is processed using an irreversible encryption algorithm to generate a temporary anonymous identifier.
3. The method for processing anonymous and real-name opinion submissions according to claim 1, characterized in that, The dynamic binding includes: Establish a correlation between the content of the opinion and the currently valid identifier; The association is maintained in the local cache until the submission is complete or the session ends.
4. The method for processing anonymous and real-name opinion submissions according to claim 1, characterized in that, Update the currently valid identifiers, including: If switching from anonymous submission mode to real-name submission mode, the current valid identifier will be updated to the traceable real-name identifier; If you switch from real-name submission mode to anonymous submission mode, a new temporary anonymous identifier will be generated, and the current valid identifier will be updated to the new temporary anonymous identifier.
5. The method for processing anonymous and real-name opinion submissions according to claim 1, characterized in that, The data packet includes the content of the opinion and the submission timestamp, and in the anonymous submission mode, it also includes a temporary anonymous identifier, and in the real-name submission mode, it also includes a traceable real-name identifier.
6. The method for processing anonymous and real-name opinion submissions according to claim 1, characterized in that, After generating a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced, the method further includes: The temporary anonymous identifier is associated with and stored with the corresponding user's encrypted identity information.
7. The method for processing anonymous and real-name opinion submissions according to claim 6, characterized in that, The method further includes: In response to an authorized traceability request, the encrypted identity information is obtained by querying the temporary anonymous identifier; The encrypted identity information is decrypted to obtain the corresponding traceable real-name identifier.
8. A system for processing anonymous and real-name opinion submissions, characterized in that, include: The login state management unit is used to respond to login requests, verify user identity, and maintain user login state. The submission mode processing unit is used to determine the current valid identifier based on the submission mode selected by the user; if the submission mode is an anonymous submission mode, a temporary anonymous identifier associated with the user's login state and whose user identity cannot be directly deduced is generated as a valid identifier; if the submission mode is a real-name submission mode, a traceable real-name identifier bound to the user's login state is used as a valid identifier. The content binding and caching unit is used to dynamically bind the user's input opinion content with the valid identifier and cache it locally; The mode switching control unit is used to respond to the user's mode switching operation, update the current valid identifier, and maintain the bound opinion content. The opinion submission execution unit is used to respond to the submission instruction by submitting the opinion content and the current valid identifier as a data packet.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the processing method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When a computer program is executed by a processor, it implements the processing method as described in any one of claims 1-7.
Citation Information
Patent Citations
Method and system for realizing voting function
CN101588383A
Method and device for voting in group
CN104392535A
Group chat communication system and method thereof
CN104639556A
Instant communication system and method based on autonym / anonymity switching
CN104734941A
Information exchange system for job offering and seeking
JP2000057213A