CN115334026B - Instant messaging processing method, device and equipment based on block chain and storage medium - Google Patents

Instant messaging processing method, device and equipment based on block chain and storage medium Download PDF

Info

Publication number
CN115334026B
CN115334026B CN202211244599.4A CN202211244599A CN115334026B CN 115334026 B CN115334026 B CN 115334026B CN 202211244599 A CN202211244599 A CN 202211244599A CN 115334026 B CN115334026 B CN 115334026B
Authority
CN
China
Prior art keywords
group
local
management
target
target group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211244599.4A
Other languages
Chinese (zh)
Other versions
CN115334026A (en
Inventor
荆博
肖伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202211244599.4A priority Critical patent/CN115334026B/en
Publication of CN115334026A publication Critical patent/CN115334026A/en
Application granted granted Critical
Publication of CN115334026B publication Critical patent/CN115334026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/46Secure multiparty computation, e.g. millionaire problem
    • H04L2209/463Electronic voting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/60Digital content management, e.g. content distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/76Proxy, i.e. using intermediary entity to perform cryptographic operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides an instant messaging processing method, an instant messaging processing device, instant messaging processing equipment and a storage medium based on a block chain, relates to the field of computers, particularly relates to a block chain technology, and can be applied to a cloud platform. The method comprises the following steps: responding to a treatment proposal transaction initiated by a first group member in the target group, and calling a treatment intelligent contract of the target group to determine a local treatment group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants; controlling local management group members to vote for management proposal affairs to obtain a local voting result; acquiring other voting results of other governance group members on the governance proposal affairs from other communication service terminals; and if the proposal voting is determined to pass according to the local voting result and other voting results, writing the management authority information to be updated into the block chain. By the technical scheme, the reliability of instant messaging can be improved.

Description

Instant messaging processing method, device and equipment based on block chain and storage medium
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method, an apparatus, a device, and a storage medium for processing instant messaging based on a block chain.
Background
Instant Messaging (IM) refers to a communication method capable of sending and receiving internet messages instantly, allowing real-time delivery of text messages, files, voice and video communications using a network. Various instant messaging software is also developed, and service providers also provide more and more abundant messaging service functions. With the continuous development of network technology, new requirements are put forward on the instant messaging system.
Disclosure of Invention
The disclosure provides an instant messaging processing method, an instant messaging processing device, instant messaging processing equipment and a storage medium based on a block chain.
According to an aspect of the present disclosure, there is provided a block chain-based instant messaging processing method, including:
responding to a treatment proposal transaction initiated by a first group member in the target group, and calling a treatment intelligent contract of the target group to determine a local treatment group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants;
controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
acquiring other voting results of other governance group members on the governance proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group;
and if the proposal voting is determined to pass according to the local voting result and the other voting results, writing the management authority information to be updated into the block chain.
According to an aspect of the present disclosure, there is provided an instant messaging processing apparatus based on a blockchain, the apparatus including:
the local governance module is used for responding to a governance proposal affair initiated by a first group member in the target group and calling a governance intelligent contract of the target group to determine a local governance group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants;
the local voting module is used for controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
the other voting module is used for acquiring other voting results of other governing group members on the governing proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group;
and the management authority module is used for writing the management authority information to be updated into the block chain if the proposal voting is determined to pass according to the local voting result and the other voting results.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a blockchain-based instant messaging processing method according to any embodiment of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the instant communication processing method based on a blockchain according to any embodiment of the present disclosure.
According to the technology disclosed by the invention, the stability and the safety of instant messaging can be improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1a is a flowchart of an instant messaging processing method based on a blockchain according to an embodiment of the present disclosure;
fig. 1b is an interaction diagram of an instant messaging processing system based on a blockchain according to an embodiment of the present disclosure;
FIG. 1c is an interaction diagram of another decentralized instant messaging system, provided in accordance with an embodiment of the present disclosure;
fig. 2a is a flowchart of another instant messaging processing method based on a blockchain according to an embodiment of the present disclosure;
FIG. 2b is a schematic diagram illustrating a distribution of governance rights for a target group according to an embodiment of the present disclosure;
FIG. 2c is a schematic diagram of a user's abatement authority provided in accordance with an embodiment of the present disclosure;
FIG. 2d is a schematic diagram of a role of a user provided according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another instant messaging processing method based on a blockchain according to an embodiment of the present disclosure;
fig. 4a is a flowchart of another instant messaging processing method based on a blockchain according to an embodiment of the present disclosure;
FIG. 4b is a schematic diagram of a directed acyclic graph provided in accordance with an embodiment of the present disclosure;
FIG. 4c is a schematic illustration of a fusion result provided in accordance with an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an instant messaging processing apparatus based on a block chain according to an embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device for implementing an instant messaging processing method based on a blockchain according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1a is a flowchart of an instant messaging processing method based on a blockchain according to an embodiment of the present disclosure. The method is suitable for the condition of carrying out authority management on the decentralized instant messaging group. The method can be executed by an instant messaging processing device based on a block chain, the device can be realized in a software and/or hardware mode, and the device can be configured in a communication server serving as a block generation node. As shown in fig. 1a, the instant messaging processing method based on a block chain according to this embodiment may include:
s101, responding to a treatment proposal affair initiated by a first group member in a target group, and calling a treatment intelligent contract of the target group to determine a local treatment group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants;
s102, controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
s103, acquiring other voting results of other treatment group members on the treatment proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group;
and S104, if the proposal voting is determined to pass according to the local voting result and the other voting results, writing the management authority information to be updated into the block chain.
The embodiment of the disclosure provides an instant messaging processing system based on a block chain, which is used for realizing an instant messaging processing method based on the block chain. Referring to fig. 1b, the instant system includes at least two parties, each party having its own communication client (IM client), reverse proxy server, private gateway, communication server (IM server), database. The communication client of each participant is used by the user of the participant, the communication server of the participant can be accessed through the private gateway of the participant, and the communication server of other participants is not accessed, and the communication server can also store the communication data into the database of the participant. Data synchronization can be carried out between the communication service terminals of different participants. Specifically, the private gateway may be configured to perform identity authentication on the local user, and issue an authorization token for the local user if the identity authentication passes, so as to allow the local user to log in.
In the instant communication processing system based on the block chain, a group can be participated by at least two participants, namely a decentralized group can be realized. The participants in different groups may be the same or different. Referring to FIG. 1c, group A may be commonly participated by party X and party Y, group A including user 1 and user 2 in party X, and user 3 in party Y, available for communicating the first item; group B may be commonly engaged by party X and party Z, including user 4 in party X, and user 5 in party Z, available for communicating the second item. Therefore, the data of the group A is synchronized between the IM server X and the IM server Y, and the data of the group B is synchronized between the IM server X and the IM server Z.
In the embodiment of the disclosure, the target group is any group in the decentralized instant messaging system, and the administration authority control of the target group and the authority control of the administrator are transferred to the blockchain network instead of being stored and configured by the traditional centralized mechanism. And the communication clients access the block chain network through the corresponding communication service terminals. And configuring a self governing intelligent contract and a proposal voting intelligent contract for the target group on the block chain network. The intelligent governance contract is used for governing authority management on group members in a target group, for example, which group members have governing authority, and governing proposals can be initiated only by how many governing authorities; the proposal voting intelligent contract is used for configuring parameters of the governance intelligent contract, such as how long the governance proposal is started to count tickets, how much more than one percent of proposal ticket rate is effective, and the like.
The first group member is any one group member in the target group, and can belong to a local participant or other participants participating in the target group. Specifically, under the condition that the management authority of the target group needs to be changed by the first group member, a proposal voting intelligence contract of the target group can be called to initiate a governance proposal transaction. The abatement proposal transaction may include administrative authority information to be updated, such as a first group member requesting an election administrator, a replacement administrator, etc.; the abatement proposal transaction may also include blockchain account information for the first group member. It should be noted that, under the condition that the first group member belongs to the local participant, the local communication server obtains a treatment proposal transaction from the communication client corresponding to the first group member; and under the condition that the first group member belongs to other participants, the communication client corresponding to the first group member forwards the treatment proposal transaction to the local communication server through other communication servers.
And the local communication server responds to the administration proposal affairs, invokes an administration intelligent contract of the target group in the block chain network to determine that the target group has administration authority and belongs to local administration group members of local participants, and sends the administration proposal affairs to the communication client of the local administration group members to indicate the local administration group members to vote and feed back local voting results. Similarly, the other communication service terminals also respond to the administration proposal affairs, call the administration intelligent contract of the target group to determine that the other administration group members have administration authority to the target group and belong to other participants, and obtain other voting results. The local communication service end is used as a block generation node, other voting results are synchronized from other communication service ends, whether the proposal voting passes or not is determined according to the local voting results and the other voting results, the management proposal transaction is determined to be effective under the condition that the proposal voting passes, and the management authority information to be updated is written into a block chain, so that the management authority in the target group is updated. The management authority of the target group is updated in a decentralized mode by calling the governing intelligent contract of the target group, and compared with centralized group authority management, reliability and safety of group authority management can be improved.
According to the technical scheme of the embodiment of the disclosure, the decentralized instant messaging group has the own governance intelligent contract, and the governance intelligent contract of the target group is called to perform decentralized updating on the management authority of the target group, so that the reliability and the safety of group authority management can be improved.
Fig. 2a is a flowchart of another instant messaging processing method based on a blockchain according to an embodiment of the present disclosure. This embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 2a, the instant messaging processing method based on the block chain in this embodiment may include:
s201, responding to a management proposal transaction initiated by a first group member in a target group, calling a management intelligent contract of the target group, and authenticating the management authority of the first group member;
the administration proposal transaction comprises management authority information to be updated; under the condition that the administration authority authentication is passed, continuing to execute S202; otherwise, refusing to treat the proposal affair.
S202, calling an intelligent governance contract of a target group to determine local governance group members; the local administration group members have administration authority to the target group and belong to local participants;
s203, controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
s204, acquiring other voting results of other governing group members on the governing proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group;
and S205, if the proposal voting is determined to pass according to the local voting result and the other voting results, writing the management authority information to be updated into the block chain.
Specifically, in response to an administration proposal transaction initiated by a first group member, the block generation node may invoke an administration intelligent contract of the target group to authenticate the administration authority of the first group member, that is, invoke the administration intelligent contract of the target group to determine whether the first group member has the authority to initiate an administration proposal to the target group. For example, it may be determined whether the administration right proportion of the first group member to the target group reaches a certain percentage, and only if so, may an administration proposal be initiated. By carrying out administration authority authentication on the first group member, the group member can be prevented from abusing the administration proposal, and the reliability of group authority management is further improved.
In an optional implementation, the invoking an governance intelligence contract for a target group to authenticate governance authority for the first group member includes: calling a governance intelligent contract of the target group, and inquiring a first governance token amount of a first group member and a total governance token amount of the target group; determining a first abatement authority for the target group for the first group member based on the first abatement token amount and the total abatement token amount; determining that the first group member has permission to initiate a remediation proposal for the target group if the first remediation duty is greater than a remediation duty threshold. The governing right duty ratio threshold is a contract parameter of a governing intelligent contract, can be preset and can be updated through voting proposal.
In the embodiment of the present disclosure, the governance right of each group in the decentralized instant messaging system can be distributed to the group users in the group, referring to fig. 2b, the governance right of the target group can be distributed to user 1, user 2, and user 3, and the governance right proportion of the three is 15%, 40%, and 45% in sequence. For each user, which may belong to different groups, or simultaneously have different proportions of governance rights for multiple groups, referring to fig. 2C, user 1 has 15% of governance rights for group a, 25% of governance rights for group B, and 35% of governance rights for group C, respectively. For each user, who may assume different roles in the participating groups, such as a common member or administrator, with reference to fig. 2d, user 1 is a common member in group a and group C, and assumes an administrator in group B.
Specifically, the block generation node calls a governance intelligent contract of the target group, inquires a first governance token amount of the first group member and a total governance token amount of the target group, and takes a ratio value between the first governance token amount and the total governance token amount as a first governance right ratio of the first group member; if the first administration right ratio is larger than the administration right ratio threshold value, the first group member has the authority of initiating the administration proposal, otherwise, the first group member does not have the authority of initiating the administration proposal. It should be noted that the group members may have an updatable amount of abatement tokens, such as abatement token payout shifts. The safety and flexibility of group management can be further improved by carrying out management authority authentication on the first group member according to the first management authority ratio of the first group member to the target group.
According to the technical scheme of the embodiment of the disclosure, the administration authority authentication is carried out on the first group member by calling the administration intelligent contract of the target group, and the proposal voting result of the administration proposal affair is determined only when the administration authority authentication is passed, so that the abuse of the administration proposal authority of the target group can be avoided, and the safety and flexibility of group administration in a decentralized group are further improved.
In an optional implementation manner, before writing the management authority information to be updated into the block chain, the method further includes: determining the amount of local abatement tokens held by local abatement group members and the amount of other abatement tokens held by other abatement group members; determining a voting passing proportion according to the local voting result, the other voting results, the local abatement token amount and the other abatement token amount; determining a proposal vote pass if the vote pass ratio is greater than a vote ratio threshold.
The proportion of the governance of each group member in the target group may be positively correlated with the amount of governance tokens held by it. The local voting result, other voting result may be voting approval or voting rejection. Specifically, the local abatement authority proportion and the other abatement authority proportion can be respectively determined according to the local abatement token amount and the other abatement token amount; and adopting the local control right ratio and other control right ratios to count the local voting results and other voting results to obtain the vote passing ratio. Referring to fig. 2c, still taking the administration right proportions of the user 1, the user 2 and the user 3 in the target group as 15%, 40% and 45% in sequence as an example, if the voting results of the user 1 and the user 2 are voting approval and the voting result of the user 3 is voting rejection, the voting proportion is 55%. The voting result is counted by combining the control right proportion of the control group members in the target group to obtain the voting passing proportion, so that the control rights of the control group members to the target group are different, and the flexibility of group control can be further improved.
Fig. 3 is a flowchart of another instant messaging processing method based on a blockchain according to an embodiment of the present disclosure. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 3, the instant messaging processing method based on the blockchain according to the embodiment may include:
s301, responding to a treatment proposal affair initiated by a first group member in the target group, and calling a treatment intelligent contract of the target group to determine a local treatment group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants;
s302, controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
s303, acquiring other voting results of other treatment group members on the treatment proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group;
s304, if the proposal voting is determined to pass according to the local voting result and the other voting results, writing the management authority information to be updated into a block chain;
s305, acquiring a management request initiated by a second group member in the target group and signature information of the management request; the second group member belongs to the local participant;
s306, controlling the local communication server and the other communication servers to respectively carry out management authority authentication on the second group members according to the signature information, and carrying out group management on the target group according to an authentication result.
Wherein, S301-S304 are used for treating the target group, such as changing the administrator of the target group; S305-S306 are configured to manage the target group, for example, initiate or block a topic, block or release the block of group members, and the two belong to different processing stages of the target group.
The second group member is any group member of the local participants, and may be the same as or different from the first group member. And under the condition that the second group member needs to perform group management on the target group, initiating a management request, and signing the management request by adopting the block chain account key of the second group member to obtain the signature information of the management request.
Specifically, the local communication server obtains the management request and the signature information of the management request from the communication client corresponding to the second group member. The local communication server side authenticates the management authority of the second group members according to the signature information; if the management authority passes the authentication, performing group management on the target group, for example, allowing a second group member to initiate or block a topic, block or remove the block of the group member; and if the management authority authentication fails, rejecting the management request. And the local communication service end also synchronizes the management request and the signature information to other communication service ends, is used for controlling other communication service ends to authenticate the signature information, executes the management request and performs group management on the target group under the condition that the authentication is passed. The local communication server and other communication servers are controlled to respectively carry out management authority authentication on the second group members, and group management is carried out on the target group according to the authentication result, so that decentralized group management is realized, and the reliability of group management can be improved.
In an optional implementation manner, the controlling the local communication server and the other communication servers perform management authority authentication on the second group member according to the signature information, and perform group management on the target group according to an authentication result, including: inquiring management authority information of a target group from a block chain, authenticating the signature information by adopting the management authority information of the target group, and performing group management on the target group under the condition that the authentication is passed; sending the management request and the signature information to other communication service terminals, and instructing the other communication service terminals to execute the following steps: and inquiring management authority information of a target group from the block chain, authenticating the signature information by adopting the management authority information of the target group, and performing group management on the target group under the condition that the authentication is passed.
Specifically, after the local communication server and other communication servers obtain the management request and the signature information, the management authority information of the target group can be queried from the block chain, and the queried management authority information is used for authenticating the second group member. By uniformly inquiring the management authority information of the target group from the block chain, the management authority information inquired by each communication server is consistent, and the consistency of decentralized group management authority is realized.
In an alternative embodiment, the management request includes at least one of: a group topic management request, a group file management request, and a group member management request.
The management request refers to a group management request issued by a group administrator in a target group, and may include initiating or blocking a topic, adding or removing a group member, blocking or unblocking a speech right of the group member, blocking or unblocking a shared group file, and the like. Through the treatment, the flexibility of group management is improved, the group management is isolated from the group management, and the safety of the group is further improved.
According to the technical scheme of the embodiment of the disclosure, decentralized group management is realized according to the management authority information of the target group in the block chain, decentralized configuration of the management authority information is realized through the administration intelligent contract, the isolation of the administration authority and the management authority of the target group is realized, and the reliability and the safety of the target group are further improved.
In an alternative embodiment, the method further comprises: acquiring a request to be audited, which is initiated by a third group member to the target group; inquiring management authority information of a target group from a block chain, and determining whether an administrator in the target group belongs to the local participant or not according to the management authority information; and controlling the administrator to audit the request to be audited under the condition that the administrator belongs to a local communication server.
Wherein the third group member is any group member in the target group. Specifically, the local communication server may obtain the request to be audited from the communication client of the local group member, and may also synchronize the request to be audited initiated by the other group member from the other communication server. The request to be audited refers to a request which needs to be audited by an administrator, such as a member joining request, a topic initiating request, and the like.
The local communication server side can inquire the management authority information of the target group from the block chain and determine whether the administrator belongs to the local participant or not; if so, sending a request to be checked to a communication client corresponding to the administrator, and obtaining a checking result; otherwise, the request to be audited is shielded, and the communication server side where the administrator is located executes the corresponding auditing operation.
Fig. 4a is a flowchart of another instant messaging processing method based on a blockchain according to an embodiment of the disclosure. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 4a, the instant messaging processing method based on the blockchain according to the embodiment may include:
s401, responding to a treatment proposal affair initiated by a first group member in a target group, and calling a treatment intelligent contract of the target group to determine a local treatment group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants;
s402, controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
s403, acquiring other voting results of other governance group members on the governance proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group;
s404, if the proposal voting is determined to pass according to the local voting result and the other voting results, writing the management authority information to be updated into a block chain;
s405, determining a local group change event of the target group according to the operation of the local group members on the target group, and determining a local group state corresponding to the local group change event;
s406, acquiring other group change events of the target group and other group states corresponding to the other group change events from the other communication service terminals;
s407, according to the local group state and the other group states, the local group change event and the other group change events are fused, and an instant communication message is sent to the local group members in the target group according to the fusion result.
S401-S404 are used for treating the target group, such as changing the administrator of the target group; S405-S407 are configured to determine an audience and a sending order of the instant messaging messages in the target group, where the audience and the sending order belong to different processing stages of the target group, and the execution order of the audience and the sending order of the instant messaging messages is not specifically limited in the embodiment of the present disclosure, and the authority may be managed first and then the instant messaging messages, or the authority may be managed first and then the instant messaging messages may be executed concurrently.
Specifically, the local communication server obtains a previous event relative to the local group change event according to the corresponding local group state, that is, obtains an adjacent group change event on which the local group change event depends; and obtaining the relative previous events of other group change events according to the corresponding other group states, namely obtaining the adjacent group change events which are depended by the other group change events.
Responding to the event of changing the local group members, the local group members in the target group are changed such as joining, exiting, role adjustment and the like, and the composition of the local group members is relatively fixed after the change. Under the condition that the target group comprises the user 1 and the user 2 of the local participant, responding to the change event of the local group members, and the user 3 of the local participant joins, the target group after the change comprises the user 1, the user 2 and the user 3 of the local participant. The target group message change event corresponding to the local group member change event refers to a target group message change event which takes the changed local group member as a target audience, and the target group message change event can be a local group message change event initiated by the local group member and/or other group message change events synchronized from other communication service terminals. Fusing the local group change event and other group change events according to the local group state and other group states to obtain a target group message change event corresponding to the local group change event; and determining the composition of the local group members according to the local group member change event to obtain a local audience of the target group message change event, and sending a group message corresponding to the target group message change event to the local audience. The target group message change event corresponding to the local group member change event is obtained by fusing the local group change event and other group change events, the composition of the local group member is obtained according to the local group member change event and is used as a local audience, the corresponding target group message change event is sent to the local audience, the group message is forwarded, the unknown problems of member composition in the target group, the target audience of the message and the like are solved, and the accuracy of message forwarding in the instant communication processing system based on the block chain is improved.
In an optional implementation manner, the merging the local group change event and the other group change event according to the local group state and the other group state includes: constructing a vertex in the directed acyclic graph according to the local group change event and the other group change events; determining edges in the directed acyclic graph according to the local group state and the other group states; and fusing the vertexes and the edges in the directed acyclic graph.
Specifically, the local communication server may construct a Directed Acyclic Graph (DAG), and perform fusion classification based on the DAG to obtain a fusion result. Specifically, the local group change event and the other group change events may be used as vertices, directed edges pointing to the local group change event from the adjacent group change event of the local group change event are constructed according to the corresponding local group state, directed edges pointing to the other group change event from the adjacent group change event of the other group change event are constructed according to the corresponding other group state, and a directed acyclic graph is obtained. And fusing the directed acyclic graph to obtain a target group message change event corresponding to the local group member change event. Referring to fig. 4b, an IM server X constructs a directed acyclic graph according to a group message change event X-1, a group member change event X-2, and a group message change event X-3 generated by the IM server X, a group message change event Y-1 and a group member change event Y-2 synchronized with the IM server Y, a group message change event Z-1 synchronized with the IM server Z, and corresponding group states. Referring to fig. 4c, the target group message change event corresponding to the group member change event X-2 includes a group message change event X-3, a group message change event Y-1, and a group message change event Z-1. The local communication server side can obtain the target group message change event corresponding to the local group member change event by constructing the directed acyclic graph and classifying and fusing the directed acyclic graph, so that the accuracy and efficiency of fusion can be improved, and a foundation is laid for accurately and efficiently sending messages.
According to the technical scheme of the embodiment of the disclosure, the local group change event and the other group change events are fused according to the local group state and the other group states, so that the target group message change event corresponding to the local group change event is obtained, the local audience of the target group message change event is obtained, and the message forwarding accuracy in instant messaging can be improved. The fusion is carried out based on the directed acyclic graph, so that the accuracy and the efficiency of the fusion are further improved.
In an optional implementation manner, the sending, according to the local group member change event, a group message corresponding to the target group message change event to a local group member in the target group includes: if the dependency relationship exists between at least two target group message change events, sequencing the at least two target group message change events according to the dependency relationship; otherwise, sequencing the at least two target group message change events according to the time stamps of the at least two target group message change events; and according to the local group member change events, sending the group message corresponding to the target group message change event to the local group members in the target group according to the sequence between the target group message change events.
Specifically, if there is a dependency relationship between at least two target group message change events, for example, a node of a first target group message change event refers to a node of a second target group message change event, the first target group message change event depends on the second target group message change event, and the second target group message change event may be sorted in front. The target group message change event can comprise a local group message change event and/or other group message change events, namely the group message to be forwarded can come from a local participant and/or other participants, and the forwarding sequence of each target group message change event is obtained by sequencing each target group message change event, so that the accuracy of forwarding the group message in the target group can be further improved.
According to the technical scheme, decentralized cloud communication service is achieved based on the block chain network, decentralized management is conducted on data such as communication relation information of users, and the communication architecture has the decentralized characteristic and is high in availability and usability.
Fig. 5 is a schematic structural diagram of an instant messaging processing apparatus based on a block chain according to an embodiment of the present disclosure. The embodiment is suitable for the situation that all the participants participate together through the communication service terminals of the participants. The apparatus can be implemented in software and/or hardware. As shown in fig. 5, the instant communication processing apparatus 500 based on block chain according to the embodiment may include:
a local governance module 510, configured to respond to a governance proposal transaction initiated by a first group member in the target group, and invoke a governance intelligence contract of the target group to determine a local governance group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants;
a local voting module 520, configured to control the local governance group members to vote for the governance proposal transaction, so as to obtain a local voting result;
the other voting module 530 is configured to obtain other voting results of other governance group members on the governance proposal transaction from other communication servers; the other communication service terminals belong to other participants participating in the target group;
and the management authority module 540 is configured to, if it is determined that the proposal vote passes according to the local voting result and the other voting result, write the management authority information to be updated into the block chain.
In an optional implementation manner, the instant communication processing apparatus 500 based on block chain further includes:
and the administration authentication module is used for calling the administration intelligent contract of the target group and authenticating the administration authority of the first group member.
In an optional implementation, the administration authentication module includes:
the first governance token unit is used for calling a governance intelligent contract of the target group and inquiring a first governance token amount of a first group member and a total governance token amount of the target group;
an abatement proportion unit for determining a first abatement proportion of the first group member to the target group in dependence on the first abatement token amount and the total abatement token amount;
and the management authentication unit is used for determining that the first group member has the authority to initiate a management proposal to the target group under the condition that the first management right ratio is greater than a management right ratio threshold value.
In an optional implementation manner, the instant communication processing apparatus 500 based on block chain further includes:
a proposal voting module, comprising:
a governance token inquiry unit for determining the amount of local governance tokens possessed by local governance group members and the amounts of other governance tokens possessed by other governance group members;
the vote passing proportion unit is used for determining the vote passing proportion according to the local voting result, the other voting results, the local governance token amount and the other governance token amount;
and the proposal ballot passing unit is used for determining the proposal ballot passing if the ballot passing ratio is larger than the threshold value of the voting ratio.
In an optional implementation, the instant communication processing apparatus 500 based on block chain further includes a group management module, the group management module includes:
the management request unit is used for acquiring a management request initiated by a second group member in the target group and signature information of the management request; the second group member belongs to the local participant;
and the group management unit is used for controlling the local communication server and the other communication servers to carry out management authority authentication on the second group members according to the signature information and carry out group management on the target group according to an authentication result.
In an alternative embodiment, the group management unit comprises:
the local group management subunit is used for inquiring the management authority information of a target group from the block chain, authenticating the signature information by adopting the management authority information of the target group, and performing group management on the target group under the condition that the authentication is passed;
the other group management subunit is configured to send the management request and the signature information to other communication servers, and instruct the other communication servers to perform the following: and inquiring management authority information of a target group from the block chain, authenticating the signature information by adopting the management authority information of the target group, and performing group management on the target group under the condition that the authentication is passed.
In an alternative embodiment, the management request includes at least one of: a group topic management request, a group file management request, and a group member management request.
In an optional implementation manner, the instant communication processing apparatus 500 based on block chain further includes a request auditing module, where the request auditing module includes:
the auditing request unit is used for acquiring a request to be audited, which is initiated by a third group member to the target group;
the management inquiry unit is used for inquiring the management authority information of the target group from the block chain and determining whether an administrator in the target group belongs to the local participant or not according to the management authority information;
and the request auditing unit is used for controlling the administrator to audit the request to be audited under the condition that the administrator belongs to a local communication server.
In an optional implementation manner, the instant communication processing device 500 based on block chain further includes a group synchronization module, which includes:
the local event state unit is used for determining a local group change event of the target group according to the operation of local group members on the target group and determining a local group state corresponding to the local group change event;
the other event state unit is used for acquiring other group change events of the target group and other group states corresponding to the other group change events from the other communication service terminals;
and the message sending unit is used for fusing the local group change event and the other group change events according to the local group state and the other group states and sending the instant messaging message to local group members in the target group according to a fusion result.
In an alternative embodiment, the local group change event comprises a local group member change event and/or a local group message change event; the other group change events comprise other group member change events and/or other group message change events;
the local group status is an adjacent group change event that precedes the local group change event; the other group status is an adjacent group change event that precedes the other group change event.
The technical scheme of the embodiment of the disclosure provides a way for realizing rights management of decentralized cloud communication services based on a blockchain network, and by means of decentralized configuration of management rights, a communication and management architecture has decentralized characteristics and has high availability and usability.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
Fig. 6 is a block diagram of an electronic device for implementing an instant messaging processing method based on a blockchain according to an embodiment of the present disclosure. FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the electronic device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 601 performs the various methods and processes described above, such as a blockchain-based instant messaging processing method. For example, in some embodiments, the blockchain-based instant messaging processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the blockchain based instant messaging processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured by any other suitable means (e.g., by means of firmware) to perform the block chain based instant messaging processing method.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
Artificial intelligence is the subject of research that makes computers simulate some human mental processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), both at the hardware level and at the software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, a machine learning/deep learning technology, a big data processing technology, a knowledge map technology and the like.
Cloud computing (cloud computing) refers to a technology system that accesses a flexibly extensible shared physical or virtual resource pool through a network, where resources may include servers, operating systems, networks, software, applications, storage devices, and the like, and may be deployed and managed in a self-service manner as needed. Through the cloud computing technology, high-efficiency and strong data processing capacity can be provided for technical application and model training of artificial intelligence, block chains and the like.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (22)

1. The instant messaging processing method based on the block chain comprises the following steps:
responding to a treatment proposal transaction initiated by a first group member in the target group, and calling a treatment intelligent contract of the target group to determine a local treatment group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants; the target group is any group in a decentralized instant messaging system; the intelligent governance contract is used for governing authority management on group members in the target group; the management authority information to be updated includes at least one of: group topic management, group file management and group member management;
controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
acquiring other voting results of other governance group members on the governance proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group; the other voting results are obtained by the following method: calling a governance intelligent contract of the target group to determine other governance group members; controlling other treatment group members to vote on the treatment proposal affairs;
and if the proposal voting is determined to pass according to the local voting result and the other voting results, writing the management authority information to be updated into the block chain.
2. The method of claim 1, before said invoking an abatement intelligence contract for the target group to determine local abatement group members, further comprising:
and calling a governance intelligent contract of the target group to authenticate the governance authority of the first group member.
3. The method of claim 2, wherein said invoking an governance intelligence contract for a target group to authenticate governance authority for the first group member comprises:
calling a governance intelligent contract of the target group, and inquiring a first governance token amount of a first group member and a total governance token amount of the target group;
determining a first abatement authority for the target group for the first group member based on the first abatement token amount and the total abatement token amount;
determining that the first group member has permission to initiate a remediation proposal for the target group if the first remediation duty is greater than a remediation duty threshold.
4. The method of claim 1, before writing the management authority information to be updated into a block chain, further comprising:
determining the amount of local abatement tokens held by local abatement group members and the amount of other abatement tokens held by other abatement group members;
determining a voting pass proportion according to the local voting result, the other voting results, the local abatement token amount and the other abatement token amount;
determining a proposal vote pass if the vote pass ratio is greater than a vote ratio threshold.
5. The method of any of claims 1-4, further comprising:
acquiring a management request initiated by a second group member in a target group and signature information of the management request; the second group member belongs to the local participant;
and controlling a local communication server and the other communication servers to respectively perform management authority authentication on the second group members according to the signature information, and performing group management on the target group according to an authentication result.
6. The method as claimed in claim 5, wherein the controlling local communication server and the other communication servers respectively authenticate the management authority of the second group member according to the signature information, and perform group management on the target group according to an authentication result, comprising:
inquiring management authority information of a target group from a block chain, authenticating the signature information by adopting the management authority information of the target group, and performing group management on the target group under the condition that the authentication is passed;
sending the management request and the signature information to other communication service terminals, and instructing the other communication service terminals to execute the following steps: and inquiring management authority information of a target group from the block chain, authenticating the signature information by adopting the management authority information of the target group, and carrying out group management on the target group under the condition that the authentication is passed.
7. The method of claim 5, wherein the management request comprises at least one of: a group topic management request, a group file management request, and a group member management request.
8. The method of any of claims 1-4, further comprising:
acquiring a request to be audited, which is initiated by a third group member to the target group;
inquiring management authority information of a target group from a block chain, and determining whether an administrator in the target group belongs to the local participant or not according to the management authority information;
and controlling the administrator to audit the request to be audited under the condition that the administrator belongs to a local communication server.
9. The method of any of claims 1-4, further comprising:
determining a local group change event of a target group according to the operation of local group members on the target group, and determining a local group state corresponding to the local group change event;
acquiring other group change events of a target group and other group states corresponding to the other group change events from the other communication service terminals;
and according to the local group state and the other group states, fusing the local group change event and the other group change event, and sending an instant communication message to local group members in a target group according to a fusion result.
10. The method of claim 9, wherein the local group change event comprises a local group member change event and/or a local group message change event; the other group change events comprise other group member change events and/or other group message change events;
the local group status is an adjacent group change event that precedes the local group change event; the other group status is an adjacent group change event that precedes the other group change event.
11. Instant messaging processing apparatus based on blockchain, comprising:
the local governance module is used for responding to a governance proposal transaction initiated by a first group member in the target group and calling a governance intelligent contract of the target group to determine a local governance group member; the administration proposal transaction comprises management authority information to be updated; the local administration group members have administration authority to the target group and belong to local participants; the target group is any group in a decentralized instant messaging system; the intelligent governance contract is used for governing authority management on group members in the target group; the management authority information to be updated includes at least one of: group topic management, group file management and group member management;
the local voting module is used for controlling the local administration group members to vote on the administration proposal affairs to obtain a local voting result;
the other voting module is used for acquiring other voting results of other governing group members on the governing proposal affairs from other communication service terminals; the other communication service terminals belong to other participants participating in the target group; the other voting results are determined as follows: calling an intelligent governance contract of the target group to determine other governance group members; controlling other treatment group members to vote on the treatment proposal affairs to obtain other voting results;
and the management authority module is used for writing the management authority information to be updated into the block chain if the proposal voting is determined to pass according to the local voting result and the other voting results.
12. The apparatus of claim 11, the apparatus further comprising:
and the administration authentication module is used for calling the administration intelligent contract of the target group and authenticating the administration authority of the first group member.
13. The apparatus of claim 12, wherein the admin authentication module comprises:
the first governance token unit is used for calling a governance intelligent contract of the target group and inquiring a first governance token amount of a first group member and a total governance token amount of the target group;
an abatement proportion unit for determining a first abatement proportion of the first group member to the target group in dependence on the first abatement token amount and the total abatement token amount;
and the administration authentication unit is used for determining that the first group member has the authority to initiate an administration proposal to the target group under the condition that the first administration ratio is greater than an administration ratio threshold value.
14. The apparatus of claim 11, further comprising a proposal voting module comprising:
a governance token inquiry unit for determining the amount of local governance tokens possessed by local governance group members and the amounts of other governance tokens possessed by other governance group members;
the vote passing proportion unit is used for determining the vote passing proportion according to the local voting result, the other voting results, the local governance token amount and the other governance token amount;
and the proposal ballot passing unit is used for determining the proposal ballot passing if the ballot passing ratio is larger than the threshold value of the voting ratio.
15. The apparatus of any of claims 11-14, the apparatus further comprising a group management module, the group management module comprising:
the management request unit is used for acquiring a management request initiated by a second group member in the target group and signature information of the management request; the second group member belongs to the local participant;
and the group management unit is used for controlling the local communication server and the other communication servers to carry out management authority authentication on the second group members according to the signature information and carry out group management on the target group according to an authentication result.
16. The apparatus of claim 15, wherein the group management unit comprises:
the local group management subunit is used for inquiring the management authority information of a target group from the block chain, authenticating the signature information by adopting the management authority information of the target group, and performing group management on the target group under the condition that the authentication is passed;
the other group management subunit is configured to send the management request and the signature information to another communication server, and instruct the other communication server to perform the following: and inquiring management authority information of a target group from the block chain, authenticating the signature information by adopting the management authority information of the target group, and performing group management on the target group under the condition that the authentication is passed.
17. The apparatus of claim 15, wherein the management request comprises at least one of: a group topic management request, a group file management request, and a group member management request.
18. The apparatus according to any one of claims 11-14, the apparatus further comprising a request review module, the request review module comprising:
the auditing request unit is used for acquiring a request to be audited, which is initiated by a third group member to the target group;
the management inquiry unit is used for inquiring the management authority information of the target group from the block chain and determining whether an administrator in the target group belongs to the local participant or not according to the management authority information;
and the request auditing unit is used for controlling the administrator to audit the request to be audited under the condition that the administrator belongs to a local communication server.
19. The apparatus of any of claims 11-14, the apparatus further comprising a group synchronization module, the group synchronization module comprising:
the local event state unit is used for determining a local group change event of the target group according to the operation of local group members on the target group and determining a local group state corresponding to the local group change event;
the other event state unit is used for acquiring other group change events of the target group and other group states corresponding to the other group change events from the other communication service terminals;
and the message sending unit is used for fusing the local group change event and the other group change events according to the local group state and the other group states and sending the instant messaging message to local group members in the target group according to a fusion result.
20. The apparatus of claim 19, wherein the local group change event comprises a local group member change event and/or a local group message change event; the other group change events comprise other group member change events and/or other group message change events;
the local group status is an adjacent group change event that precedes the local group change event; the other group status is an adjacent group change event that precedes the other group change event.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the blockchain-based instant messaging processing method of any one of claims 1 to 10.
22. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the blockchain-based instant messaging processing method according to any one of claims 1 to 10.
CN202211244599.4A 2022-10-12 2022-10-12 Instant messaging processing method, device and equipment based on block chain and storage medium Active CN115334026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211244599.4A CN115334026B (en) 2022-10-12 2022-10-12 Instant messaging processing method, device and equipment based on block chain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211244599.4A CN115334026B (en) 2022-10-12 2022-10-12 Instant messaging processing method, device and equipment based on block chain and storage medium

Publications (2)

Publication Number Publication Date
CN115334026A CN115334026A (en) 2022-11-11
CN115334026B true CN115334026B (en) 2023-03-24

Family

ID=83913603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211244599.4A Active CN115334026B (en) 2022-10-12 2022-10-12 Instant messaging processing method, device and equipment based on block chain and storage medium

Country Status (1)

Country Link
CN (1) CN115334026B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589391B (en) * 2022-12-09 2023-03-21 北京百度网讯科技有限公司 Instant messaging processing method, device and equipment based on block chain and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862136A (en) * 2019-03-19 2019-06-07 全链通有限公司 Group communication method, block chain node and medium based on domain name block chain
CN110008739A (en) * 2019-03-05 2019-07-12 深圳前海微众银行股份有限公司 A kind of block catenary system, group management and device based on group
CN111385103A (en) * 2020-05-29 2020-07-07 腾讯科技(深圳)有限公司 Authority processing method, system and device and electronic equipment
CN111669434A (en) * 2020-05-18 2020-09-15 支付宝实验室(新加坡)有限公司 Method, system, device and equipment for establishing communication group
CN112053155A (en) * 2020-09-07 2020-12-08 杭州复杂美科技有限公司 Community decision method, device and storage medium
CN112202581A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Group joining method and device and electronic equipment
CN112350920A (en) * 2019-08-09 2021-02-09 北京威宁特科技有限公司 Instant communication system based on block chain
CN113343271A (en) * 2021-06-29 2021-09-03 上海万向区块链股份公司 Extensible alliance chain management system implemented through block chain
US11398916B1 (en) * 2019-12-18 2022-07-26 Wells Fargo Bank, N.A. Systems and methods of group signature management with consensus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008739A (en) * 2019-03-05 2019-07-12 深圳前海微众银行股份有限公司 A kind of block catenary system, group management and device based on group
CN109862136A (en) * 2019-03-19 2019-06-07 全链通有限公司 Group communication method, block chain node and medium based on domain name block chain
CN112350920A (en) * 2019-08-09 2021-02-09 北京威宁特科技有限公司 Instant communication system based on block chain
US11398916B1 (en) * 2019-12-18 2022-07-26 Wells Fargo Bank, N.A. Systems and methods of group signature management with consensus
CN111669434A (en) * 2020-05-18 2020-09-15 支付宝实验室(新加坡)有限公司 Method, system, device and equipment for establishing communication group
CN111385103A (en) * 2020-05-29 2020-07-07 腾讯科技(深圳)有限公司 Authority processing method, system and device and electronic equipment
CN112053155A (en) * 2020-09-07 2020-12-08 杭州复杂美科技有限公司 Community decision method, device and storage medium
CN112202581A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Group joining method and device and electronic equipment
CN113343271A (en) * 2021-06-29 2021-09-03 上海万向区块链股份公司 Extensible alliance chain management system implemented through block chain

Also Published As

Publication number Publication date
CN115334026A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
US11233656B2 (en) Method for mining a block in a decentralized blockchain consensus network
US10255626B2 (en) Methods, devices, and systems for sending and receiving virtual goods
US11551216B2 (en) Transaction security on distributed-ledger based MaaS platform
KR20210049721A (en) Blockchain-based data processing method and apparatus, device, storage medium and program
CN112541758A (en) Multi-round voting type fault-tolerant sequencing consensus mechanism and method based on block chain
CN108776929A (en) Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN115334025B (en) Decentralized instant messaging method, decentralized instant messaging device, decentralized instant messaging equipment and storage medium
CN112650764A (en) Cross-chain data processing method, device, equipment and storage medium
KR102262093B1 (en) Gateway apparatus, and control method thereof
CN115334026B (en) Instant messaging processing method, device and equipment based on block chain and storage medium
CN110400217A (en) The regular changing process method and device of intelligent contract
CN109559164A (en) Favor information processing method, device, electronic equipment and computer-readable medium
KR20220066823A (en) Blockchain - based phishing prevention system, apparatus, and method thereof
CN107453872A (en) A kind of unified safety authentication method and system based on Mesos container cloud platforms
AU2019302938A1 (en) Decentralized automatic phone fraud risk management
US11461772B2 (en) Digital wallet conversion engine
CN111352706A (en) Data access method, device, equipment and storage medium
CN115865537A (en) Privacy calculation method based on centralized system management, electronic equipment and storage medium
CN113032817B (en) Data alignment method, device, equipment and medium based on block chain
CN106657054B (en) A kind of network security defence method based on virtual machine service jump
CN113110899B (en) Operation method, device, equipment and storage medium of block chain system
CN115564933A (en) Conference management method, device, equipment and readable storage medium
US11227266B2 (en) Digital holding account
CN111866171B (en) Message processing method, device, electronic equipment and medium
CN111541619A (en) Self-adaptive active load adjusting method and device of enterprise information networking checking system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant