CN116032875A - Method and device for linking instant messaging history message - Google Patents

Method and device for linking instant messaging history message Download PDF

Info

Publication number
CN116032875A
CN116032875A CN202310098199.5A CN202310098199A CN116032875A CN 116032875 A CN116032875 A CN 116032875A CN 202310098199 A CN202310098199 A CN 202310098199A CN 116032875 A CN116032875 A CN 116032875A
Authority
CN
China
Prior art keywords
uplink
instant messaging
chat
history message
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310098199.5A
Other languages
Chinese (zh)
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.)
Zhongqi Lianxin Beijing Technology Co ltd
Original Assignee
Zhongqi Lianxin Beijing 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 Zhongqi Lianxin Beijing Technology Co ltd filed Critical Zhongqi Lianxin Beijing Technology Co ltd
Priority to CN202310098199.5A priority Critical patent/CN116032875A/en
Publication of CN116032875A publication Critical patent/CN116032875A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a method and a device for uplink of instant messaging history messages, wherein the method comprises the following steps: extracting a target instant messaging history message corresponding to a history message uplink request sent by an instant messaging chat user from history uplink failure chat data corresponding to an instant messaging chat system; and judging whether the target instant messaging history message is authorized to be uplink currently, if so, uploading the target instant messaging history message to a blockchain for storage. The method and the device can realize the re-uplink of the instant messaging history information aiming at the uplink failure, further can ensure that the instant messaging history information needing to be safely stored can be uplink, can effectively improve the reliability and comprehensiveness of the uplink of the instant messaging information, can effectively improve the flexibility of the uplink of the instant messaging history information, and improve the user experience of instant chat users.

Description

Method and device for linking instant messaging history message
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a method and an apparatus for uplink of instant messaging history messages.
Background
Instant messaging (Instant Messaging) is a current popular communication mode of the Internet, and various instant messaging software is layered; in order to improve the security and reliability of instant messaging data storage, a manner of storing instant messaging data in a blockchain has been developed. For example, blockchain social software such as chain mail is currently available with instant messaging functionality, and instant messaging data may be stored in the blockchain. The block chain is a tool for improving the data credibility, and the development of the instant messaging function of the block chain aims at solving the problems of data tampering prevention, data privacy protection, data security, data credibility increase of distributed multi-center storage and the like.
However, in the existing instant messaging process, although the instant messaging message is automatically uploaded to the blockchain for storage in real time, the uplink storage cannot be realized in terms of the history chat record formed after the uplink failure due to network abnormality and other reasons or the history chat record generated in the version iteration process, so that the instant messaging history message which needs to be safely stored cannot be ensured to be uplink, and the reliability and the comprehensiveness of the uplink of the instant messaging message are affected.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and apparatus for instant messaging history messages to obviate or mitigate one or more disadvantages in the prior art.
One aspect of the present application provides a method for linking instant messaging history messages, including:
extracting a target instant messaging history message corresponding to a history message uplink request sent by an instant messaging chat user from history uplink failure chat data corresponding to an instant messaging chat system;
and judging whether the target instant messaging history message is authorized to be uplink currently, if so, uploading the target instant messaging history message to a blockchain for storage.
In some embodiments of the present application, the historical uplink failed chat data includes:
and the instant messaging history message is generated in the instant messaging chat process and fails in the uplink, and/or the instant messaging history message is generated in the version iteration process of the instant messaging chat system.
In some embodiments of the present application, before the determining whether the target instant messaging history message is currently authorized for uplink, the method further includes:
authenticating user authority of an instant chat user sending the history message uplink request;
and if the instant chat user who sends the history message uplink request passes the user authority authentication, determining the target instant communication history message corresponding to the history message uplink request as a message to be subjected to authorized uplink piece detection.
In some embodiments of the present application, if the instant chat user who issues the history message uplink request passes the user permission authentication, determining the target instant communication history message corresponding to the history message uplink request as a message to be authorized for uplink piece detection includes:
if the instant chat user who sends the history message uplink request passes the user authority authentication, the instant chat user is subjected to uplink authority verification;
And if the instant chat user who sends the history message uplink request passes the uplink authority verification, determining the target instant communication history message corresponding to the history message uplink request as a message to be subjected to authorized uplink member detection.
In some embodiments of the present application, the determining whether the target instant messaging history message is currently authorized for uplink, if yes, uploading the target instant messaging history message to a blockchain for storage includes:
transmitting the target instant messaging history message to a chat counterpart user except the instant chat user which transmits the target instant messaging history message, so that the chat counterpart user generates an authorized uplink feedback result aiming at the target instant messaging history message;
receiving the authorized uplink feedback result sent by the chat counterpart user;
and judging whether the authorized uplink feedback result shows that the chat counterpart user has authorized the target instant messaging history message to be uplink, if so, uploading the target instant messaging history message to a blockchain for storage.
In some embodiments of the present application, the sending the target instant messaging history message to a chat correspondent user other than the instant chat user sending the target instant messaging history message includes:
Generating a blockchain ticket for the target instant messaging history message;
and sending the blockchain ticket to chat counterpart users except the instant chat user sending the target instant messaging history message.
In some embodiments of the present application, before extracting the target instant messaging history message corresponding to the history message uplink request sent by the instant chat user from the history uplink failure chat data corresponding to the instant messaging chat system, the method further includes:
if the fact that the historical uplink failure chat data corresponding to the instant messaging chat system is locally stored is detected, manual uplink prompt information is sent to an instant chat user corresponding to the historical uplink failure chat data, so that the instant chat user selects the identification of the target instant messaging historical message from the historical uplink failure chat data, and a corresponding historical message uplink request is generated;
and receiving the history message uplink request sent by the instant chat user.
A second aspect of the present application provides an apparatus for uplink of instant messaging history messages, including:
the message extraction module is used for extracting a target instant messaging history message corresponding to a history message uplink request sent by an instant messaging chat user from the history uplink failure chat data corresponding to the instant messaging chat system;
And the message uplink module is used for judging whether the target instant messaging history message is authorized to be uplink currently, and if yes, uploading the target instant messaging history message to a blockchain for storage.
In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for linking instant messaging history messages when the processor executes the computer program.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method of instant messaging history message.
According to the method for uploading the instant messaging history message, the target instant messaging history message corresponding to the history message uplink request sent by the instant messaging chat user is extracted from the history uplink failure chat data corresponding to the instant messaging chat system; judging whether the target instant messaging history message is authorized to be uplink currently, if yes, uploading the target instant messaging history message to a blockchain for storage; by receiving the history information uplink request actively initiated by the instant chat user corresponding to the instant communication history information with the uplink failure, the instant communication history information with the uplink failure can be re-uplink, so that the instant communication history information which needs to be safely stored can be ensured to be uplink, the reliability and the comprehensiveness of the instant communication information uplink can be effectively improved, the flexibility of the instant communication history information uplink can be effectively improved, and the user experience of the instant chat user is improved.
Additional advantages, objects, and features of the application will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
It will be appreciated by those skilled in the art that the objects and advantages that can be achieved with the present application are not limited to the above-detailed description, and that the above and other objects that can be achieved with the present application will be more clearly understood from the following detailed description.
Drawings
The accompanying drawings are included to provide a further understanding of the application, and are incorporated in and constitute a part of this application. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the application. Corresponding parts in the drawings may be exaggerated, i.e. made larger relative to other parts in an exemplary device actually manufactured according to the present application, for convenience in showing and describing some parts of the present application. In the drawings:
fig. 1 is a schematic flow chart of a first method for uplink of instant messaging history messages according to an embodiment of the present application.
Fig. 2 is a second flowchart of a method for uplink of instant messaging history messages according to an embodiment of the present application.
Fig. 3 is a third flowchart of a method for uplink of instant messaging history messages according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a device for uplink of instant messaging history messages according to another embodiment of the present application.
Fig. 5 is a schematic diagram of a flow chart of a procedure based on a certification mechanism in a method for linking an instant messaging history message in an application example of the present application.
Fig. 6 is a schematic block chain certification flow chart in the method for uplink of instant messaging history messages in the application example of the present application.
Fig. 7 is a schematic diagram of an authentication flow in a method for linking an instant messaging history message in an application example of the present application.
Fig. 8 is a schematic diagram of a first logic processing flow of a blockchain IM in a method for uplink of instant messaging history messages in an application example of the present application in selecting group chat data uplink.
Fig. 9 is a schematic diagram of a second logic processing flow of a blockchain IM in a method for uplink of instant messaging history messages in an application example of the present application in selecting group chat data uplink.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the embodiments and the accompanying drawings. The exemplary embodiments of the present application and their descriptions are used herein to explain the present application, but are not intended to be limiting of the present application.
It should be noted here that, in order to avoid obscuring the present application due to unnecessary details, only structures and/or processing steps closely related to the solution according to the present application are shown in the drawings, while other details not greatly related to the present application are omitted.
It should be emphasized that the term "comprises/comprising" when used herein is taken to specify the presence of stated features, elements, steps or components, but does not preclude the presence or addition of one or more other features, elements, steps or components.
It is also noted herein that the term "coupled" may refer to not only a direct connection, but also an indirect connection in which an intermediate is present, unless otherwise specified.
Hereinafter, embodiments of the present application will be described with reference to the drawings. In the drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
In one or more embodiments of the present application, blockchain certification refers to: and the blockchain node storing chat data can find out the corresponding chat record through the certification. The blockchain ticket refers to: display form of blockchain certificates. Blockchain accounts refer to: and (3) specifically opening an account in a block chain chatting mode in the cloud chain platform. Blockchain IM refers to: short for blockchain chat systems. The uplink means: data is uploaded to the blockchain.
In order to enable the chatting data with failed uplink to be re-uplink, the embodiment of the application respectively provides an uplink method of an instant messaging history message, an uplink device of the instant messaging history message, electronic equipment and a computer readable storage medium, and the authenticity, stability and non-tamper property of the data are ensured by uplink the chatting data; the user who can realize instant messaging chat can select the chat information needing to be uplink independently, and the logical closed loop of the product is realized; the method and the device provide a solution for the failure of the data uplink in the block chain instant messaging chat process.
The following examples are provided to illustrate the invention in more detail.
Referring to fig. 1, the method for linking an instant messaging history message, which may be executed by a device for linking an instant messaging history message, specifically includes the following steps:
step 100: and extracting a target instant messaging history message corresponding to a history message uplink request sent by the instant messaging chat user from the history uplink failure chat data corresponding to the instant messaging chat system.
It can be understood that the instant messaging chat system may refer to corresponding instant messaging chat software for providing instant messaging chat services and functions, where the historical uplink failed chat data is distinguished from all the historical chat data, and refers to the historical chat data that has not been successfully uplink in advance; the instant chat user refers to a right user of the instant communication chat system, and the target instant communication history message corresponding to the history message uplink request sent by the instant chat user is limited to the instant communication history message generated by the instant chat user as a chat party; the instant messaging history message refers to history chat record data accumulated by chat messages generated in the instant messaging chat process.
Step 200: and judging whether the target instant messaging history message is authorized to be uplink currently, if so, uploading the target instant messaging history message to a blockchain for storage.
As can be seen from the above description, by receiving the history information uplink request actively initiated by the instant chat user corresponding to the instant communication history information with uplink failure, the method for uplink of the instant communication history information provided by the embodiment of the present application can implement uplink again of the instant communication history information with uplink failure, further ensure that the instant communication history information needing to be safely stored can be uplink, effectively improve reliability and comprehensiveness of the uplink of the instant communication information, and effectively improve flexibility of the uplink of the instant communication history information, and improve user experience of the instant chat user.
In the method for uplink of instant messaging history messages provided in the embodiment of the present application, the historical uplink failed chat data in the method for uplink of instant messaging history messages specifically includes the following contents:
and the instant messaging history message is generated in the instant messaging chat process and fails in the uplink, and/or the instant messaging history message is generated in the version iteration process of the instant messaging chat system.
As can be seen from the above description, the method for uploading instant messaging history messages provided in the embodiments of the present application can implement the re-uploading of the history chat record generated after the uplink failure due to the network anomaly and other reasons, and the history chat record generated in the version iteration process, so as to provide convenience for upgrading and compatibility of the history uplink failure chat data.
In order to further improve the security and reliability of the uplink of the instant messaging history message, in the method for uplink of the instant messaging history message provided in the embodiment of the present application, referring to fig. 2, the following are specifically included between step 100 and step 200 in the method for uplink of the instant messaging history message:
step 010: authenticating user authority of an instant chat user sending the history message uplink request;
step 020: and if the instant chat user who sends the history message uplink request passes the user authority authentication, determining the target instant communication history message corresponding to the history message uplink request as a message to be subjected to authorized uplink piece detection.
Specifically, a successful user must be authorized to perform chat data chaining operations. Before the user prepares to be linked, a flow of authority verification exists, if the authority verification fails, the flow of acquiring the authority is carried away, the flow is carried away, and the user needs to initiate a blockchain credential request again; if the verification is successful, the blockchain credential request is directly initiated. In addition, it is necessary to check whether the enterprise logged in by the user has completed the enterprise real name authentication, if yes, the next step is performed, and if not, the enterprise real name authentication is performed first.
In one or more embodiments of the present application, the user rights authentication includes: and checking the identity of the instant messaging user and authenticating the real name of the enterprise in which the instant chat user logs in currently.
As can be seen from the above description, the method for linking the instant messaging history message provided in the embodiment of the present application can effectively ensure that the received history message linking request is sent by a authorized user of the instant messaging chat system, so as to effectively improve the security and reliability of the instant messaging history message linking.
In order to further improve the security and reliability of the uplink of the instant messaging history message, in the method for uplink of the instant messaging history message provided in the embodiment of the present application, referring to fig. 3, step 020 in the method for uplink of the instant messaging history message further specifically includes the following contents:
step 021: and if the instant chat user who sends the historical message uplink request passes the user authority authentication, carrying out uplink authority verification on the instant chat user.
Step 022: and if the instant chat user who sends the history message uplink request passes the uplink authority verification, determining the target instant communication history message corresponding to the history message uplink request as a message to be subjected to authorized uplink member detection.
In one or more embodiments of the present application, the uplink grant verification includes: blockchain account registration verification, asymmetric encryption private key storage verification, and symmetric encryption private key storage verification.
Specifically, checking whether the user is a blockchain account, if so, carrying out the next step, if not, prompting the user whether to establish the blockchain account by the system, and after the user completes the establishment of the blockchain account, reapplying the blockchain certificate for carrying out the next step; the system checks whether the asymmetric private key exists locally or not, if so, the system proceeds to the next step, if not, the asymmetric private key of the user is obtained and stored locally, the blockchain certificate is reapplied, and the next step is performed; the system checks whether the decrypted symmetric key exists locally or not, if yes, the authority check is successful, if not, the encrypted symmetric key is obtained from the server, the encrypted symmetric key is decrypted by the asymmetric private key, the symmetric key is stored locally, the blockchain memory card is reapplied, and the check is passed.
As can be seen from the above description, the method for linking the instant messaging history message provided in the embodiment of the present application can effectively ensure the reliability and effectiveness of the subsequent linking process of the target instant messaging history message to be linked.
For the existing method for uplink instant messaging messages, if the instant messaging history message is simply and secondarily uplink, it cannot be guaranteed that the secondarily uplink instant messaging history message is agreed by the chat object, so that the fairness and transparency of the uplink message cannot be guaranteed, based on this, in order to improve the validity and reliability of judging whether the target instant messaging history message is currently authorized to be uplink, in the method for uplink instant messaging history message provided in the embodiment of the present application, referring to fig. 2, step 200 in the method for uplink instant messaging history message specifically includes the following contents:
step 210: and sending the target instant messaging history message to a chat counterpart user except the instant chat user sending the target instant messaging history message, so that the chat counterpart user generates an authorized uplink feedback result aiming at the target instant messaging history message.
Step 220: and receiving the authorized uplink feedback result sent by the chat counterpart user.
Step 230: and judging whether the authorized uplink feedback result shows that the chat counterpart user has authorized the target instant messaging history message to be uplink, if so, uploading the target instant messaging history message to a blockchain for storage.
As can be seen from the above description, the method for linking instant messaging history messages according to the embodiments of the present application can effectively improve the validity and reliability of determining whether the target instant messaging history message is currently authorized to be linked by using the authorized feedback result provided by the chat counterpart user other than the instant chat user who sent the target instant messaging history message.
In order to enable users of chat parties of a target instant messaging history message to determine whether to uplink the message on an equal and transparent basis, in an instant messaging history message uplink method provided in the embodiment of the present application, referring to fig. 3, step 210 in the instant messaging history message uplink method specifically includes the following contents:
step 211: and generating a blockchain ticket for the target instant messaging history message.
Step 212: and sending the blockchain ticket to chat counterpart users except the instant chat user sending the target instant messaging history message.
Specifically, when user A selects some data to be uplink, the system generates a blockchain certificate preview interface for the chat record selected by the user, after the user confirms the blockchain certificate, clicking the confirmation to generate a blockchain certificate and send the blockchain certificate to a chat object (for example, user B), after receiving the blockchain certificate, opening the content of the previewed user A to be uplink, if no objection exists, clicking the B to confirm the uplink, uploading the selected data to the blockchain, and returning the blockchain node, wherein the node can trace the data as a unique certificate.
The group chat process is similar to the single chat process, except that the user A clicks to confirm, and the generated blockchain ticket is sent to all chat objects related to the chat record, namely, user B and user C shown in FIG. 5, if someone in the chat object does not agree to the uplink, the blockchain ticket will have corresponding prompt information, and finally the success or failure of the uplink is displayed (all people refuse to calculate the uplink failure).
As can be seen from the above description, in the method for linking instant messaging history messages provided in the embodiments of the present application, by introducing a document storage mechanism, a user may link up after the user wants to agree with a chat object, so that both parties operate on an equal and transparent basis.
In order to further improve the timeliness of the uplink of the instant messaging history message, in the method for uplink of the instant messaging history message provided in the embodiment of the present application, referring to fig. 3, before step 100 in the method for uplink of the instant messaging history message, the method specifically further includes the following contents:
step 001: if the historical uplink failure chat data corresponding to the instant messaging chat system is detected to be locally stored, manual uplink prompt information is sent to the instant chat user corresponding to the historical uplink failure chat data, so that the instant chat user selects the identification of the target instant messaging historical message from the historical uplink failure chat data, and a corresponding historical message uplink request is generated.
Step 002: and receiving the history message uplink request sent by the instant chat user.
From the software aspect, the present application further provides a device for executing the instant messaging history message in all or part of the method for linking the instant messaging history message, referring to fig. 4, where the device for linking the instant messaging history message specifically includes the following contents:
the message extraction module 10 is configured to extract, from the historical uplink failure chat data corresponding to the instant messaging chat system, a target instant messaging history message corresponding to a history message uplink request sent by the instant messaging chat user;
and the message uplink module 20 is configured to determine whether the target instant messaging history message is currently authorized to be uplink, and if yes, upload the target instant messaging history message to a blockchain for storage.
The embodiment of the instant messaging history message uplink device provided in the present application may be specifically used to execute the processing flow of the embodiment of the instant messaging history message uplink method in the above embodiment, and the functions thereof are not described herein again, and reference may be made to the detailed description of the embodiment of the instant messaging history message uplink method.
The part of the instant messaging history message uplink by the instant messaging history message uplink device can be executed in a server, and in another practical application situation, all operations can be completed in the client device. Specifically, the selection may be made according to the processing capability of the client device, and restrictions of the use scenario of the user. The present application is not limited in this regard. If all operations are completed in the client device, the client device may further include a processor, and the specific processing of the uplink of the instant messaging history message.
The client device may have a communication module (i.e. a communication unit) and may be connected to a remote server in a communication manner, so as to implement data transmission with the server. The server may include a server on the side of the task scheduling center, and in other implementations may include a server of an intermediate platform, such as a server of a third party server platform having a communication link with the task scheduling center server. The server may include a single computer device, a server cluster formed by a plurality of servers, or a server structure of a distributed device.
Any suitable network protocol may be used for communication between the server and the client device, including those not yet developed at the filing date of this application. The network protocols may include, for example, TCP/IP protocol, UDP/IP protocol, HTTP protocol, HTTPS protocol, etc. Of course, the network protocol may also include, for example, RPC protocol (Remote Procedure Call Protocol ), REST protocol (Representational State Transfer, representational state transfer protocol), etc. used above the above-described protocol.
As can be seen from the above description, by receiving the history information uplink request actively initiated by the instant chat user corresponding to the instant communication history information with uplink failure, the instant communication history information uplink device provided by the embodiment of the application can realize the uplink of the instant communication history information with uplink failure again, further ensure that the instant communication history information needing to be safely stored can be uplink, effectively improve the reliability and the comprehensiveness of the instant communication information uplink, and effectively improve the flexibility of the instant communication history information uplink, and improve the user experience of the instant chat user.
In order to further explain the scheme, the application also provides a specific application example of the method for the uplink of the instant messaging history message.
Since most IM systems on the market only encrypt and store data, on the one hand, there is a risk of tampering the data, and on the other hand, there is a risk of losing the data, and as long as a technician knows the decryption scheme, the set of IM systems always has a risk of being attacked. In practical applications, the blockchain IM may have a problem of uplink failure, which may cause some chat records to fail to generate blockchain nodes. In a one-to-one or one-to-many chat process, users often do not need to perform a data uplink operation on all data, but rather consciously perform data uplink on some important data. The user wants to make an unmodified encryption save for some historical data, but has no way. That is, most of the IM solutions in the world today adopt conventional database storage schemes, and the service provider has absolute control over the data, possibly resulting in tampering of the data by the service provider; the data flow of the IM system theoretically belongs to private data, and the data provider has an encryption scheme of the data, but at the same time, the data provider also has a corresponding decryption scheme, which may cause chat data to be snooped by the data provider; some of the existing IM solutions provide blockchain IM solutions, but there is no logical closed loop, which may lead to anomalies in which some data cannot be uplinked.
Aiming at the problems, the application example can prevent the data from being tampered, prevent the data from being snooped and perfect business logic, and promote logic closed loop; the chat data is mainly uplink, the authenticity, the stability and the non-tamper property of the data are ensured; the user can autonomously select chat information needing to be linked, so that a logical closed loop of the product is realized; a complete solution for data uplink failure in a blockchain IM chat process is provided.
Based on the above, the application example of the application example provides a method for linking the instant messaging history message, 1, compared with the traditional IM system, the history chat message linking can ensure that the chat data is real, effective and not tampered, can be used as a communication certificate of both parties, and can even provide data support on solving legal disputes; the abnormal occurrence in the block chain chatting process leads to failure in uploading some chatting records, and the chatting data can be ensured to be totally uplink through a manual uploading mode; in the communication chat process, the user can carry out message uplink on chat data which is considered important by the user, so that the authenticity and stability of the data are ensured.
The concrete explanation is as follows:
(1) Referring to fig. 5, the uplink flow based on the authentication mechanism in the uplink method of the instant messaging history message is as follows:
In the single chat process, when a user A selects some data to be uplink, a system generates a blockchain certificate preview interface for chat records selected by the user, after the user confirms the list, clicking the list to generate a blockchain certificate and send the blockchain certificate to a chat object (user B), after the user B receives the blockchain certificate, opening the content of the previewed user A, if the user B does not have objection, clicking the list to confirm the uplink, the selected data can be uploaded to a blockchain, and the node returns to the blockchain node, and can be used as a unique certificate to trace the data. The group chat process is similar to the single chat process, except that the user a clicks the confirmation, and the generated blockchain ticket will be sent to all chat objects related to the chat record, that is, corresponding user B, user C, etc. in fig. 5, where user N represents the last user in the group chat, N may be an integer greater than 3, and if someone in the chat object does not agree to the uplink, the blockchain ticket will have corresponding prompt information, and finally the success or failure of the uplink is displayed (all people refuse to uplink to calculate the uplink failure).
(2) The blockchain certification flow in the uplink method of the instant messaging history message is as follows:
Referring to fig. 6, a successful user must be authorized to perform a chat data uplink operation. Before the user prepares to be linked, a flow of authority verification exists, if the authority verification fails, the flow of acquiring the authority is carried away, the flow is carried away, and the user needs to initiate a blockchain credential request again; if the verification is successful, the blockchain credential request is directly initiated.
(3) The authentication flow in the method for linking the instant messaging history message is as follows:
referring to fig. 7, the system firstly checks whether the enterprise logged in by the user completes the enterprise real name authentication, if yes, the system proceeds to the next step, if not, the enterprise real name authentication needs to be performed firstly, and after the authentication is completed, the blockchain storage certificate is applied again to proceed to the next step; the system checks whether the user is a blockchain account, if so, the system prompts the user whether to establish the blockchain account, and if not, the system applies for the blockchain certificate again after the user completes the establishment of the blockchain account, and the next step is carried out; the system checks whether the asymmetric private key exists locally or not, if so, the system proceeds to the next step, if not, the asymmetric private key of the user is obtained and stored locally, the blockchain certificate is reapplied, and the next step is performed; the system checks whether the decrypted symmetric key exists locally or not, if yes, the authority check is successful, if not, the encrypted symmetric key is obtained from the server, the encrypted symmetric key is decrypted by the asymmetric private key, the symmetric key is stored locally, the blockchain memory card is reapplied, and the check is passed.
(4) The logic processing flow of the blockchain IM in the uplink method of the instant messaging history message in the group chat data uplink selection is as follows:
the blockchain IM is somewhat different from single chat in the logic process of selecting the uplink of group chat data, and specific logic is shown in fig. 8, when the chat object related to the chat data selected by the user is more than 10 people, the asynchronous thread of the mobile terminal carries out subpackaging operation, 10 people are one packet, after one packet is successfully sent, the IM server sends a callback, the mobile terminal receives the callback, continues to send a second packet, whether the second packet meets 10 people or not, and the like, until all data are sent.
In addition, the number >10 of chat objects mentioned in fig. 8 can be set only by the existing business of the enterprise, if the scheme is actually used, many factors such as bandwidth of the current environment, server performance and the like need to be considered, and the 10 need not be set to be a fixed value for use. In the group chat data packetizing process, the method of fig. 9 may be used, and the mobile terminal may directly send a message without waiting for the return data of the IM server and then continue to process the next data packet, regardless of the server pressure.
(5) The content of the historical message uplink can ensure uniqueness, accuracy and non-tamper property, because we do more protection in terms of data processing: each certificate is attached with a signature after being sent, the signature contains all information to be checked of the certificate, the IM server performs signature checking on the data before the data is forwarded, and the certificate is forwarded to a receiver only after the problem is solved in the certificate.
In summary, the conventional blockchain IM is limited to performing data uplink operation in the chat process, and is not considered in abnormal situations, such as uplink failure caused by network abnormality, incapability of uplink caused by authorization, and the like, and is not considered in terms of how to uplink the history chat record generated in the version iteration process. Based on the above, the scheme provided by the application example of the application has the following beneficial effects:
1) On one hand, the scheme aims to perfect the service deficiency of the block chain IM and provides a technical spam scheme so that chatting data with failed uplink can be re-uplink; on the other hand, the method provides convenience for upgrading and compatibility of the historical data, and a user can select any historical chat data which is wanted to be uplinked for the uplink operation.
2) In the process of the group chat history data uplink, the processing scheme with high concurrency is combined with the technical requirements of enterprises, so that the uplink operation can be performed by selecting at most 1000 pieces of data at one time, and smooth user experience is provided in sense.
3) By introducing a certification authority, the user can get on the chain only after agreeing with the chat object, so that the two parties operate on an equal and transparent basis.
The embodiment of the application further provides an electronic device, which may include a processor, a memory, a receiver, and a transmitter, where the processor is configured to perform the method for linking instant messaging history messages mentioned in the foregoing embodiment, and the processor and the memory may be connected by a bus or other manners, for example, by a bus connection. The receiver may be connected to the processor, memory, by wire or wirelessly. The electronic device may receive real-time motion data from a sensor in the wireless multimedia sensor network and receive an original video sequence from the video acquisition device.
The processor may be a central processing unit (Central Processing Unit, CPU). The processor may also be any other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof.
The memory, as a non-transitory computer readable storage medium, may be used to store a non-transitory software program, a non-transitory computer executable program, and a module, such as program instructions/modules corresponding to the method for linking instant messaging history messages in the embodiments of the present application. The processor executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory, that is, the method for linking instant messaging history messages in the method embodiment is implemented.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory may optionally include memory located remotely from the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory that, when executed by the processor, perform the method of instant messaging history messages in an embodiment.
In some embodiments of the present application, the user equipment may include a processor, a memory, and a transceiver unit, where the transceiver unit may include a receiver and a transmitter, and the processor, the memory, the receiver, and the transmitter may be connected by a bus system, the memory storing computer instructions, and the processor executing the computer instructions stored in the memory to control the transceiver unit to transmit and receive signals.
As an implementation manner, the functions of the receiver and the transmitter in the present application may be considered to be implemented by a transceiver circuit or a dedicated chip for transceiver, and the processor may be considered to be implemented by a dedicated processing chip, a processing circuit or a general-purpose chip.
As another implementation manner, a manner of using a general-purpose computer may be considered to implement the server provided in the embodiments of the present application. I.e. program code for implementing the functions of the processor, the receiver and the transmitter are stored in the memory, and the general purpose processor implements the functions of the processor, the receiver and the transmitter by executing the code in the memory.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for linking instant messaging history messages. The computer readable storage medium may be a tangible storage medium such as Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, floppy disks, hard disk, a removable memory disk, a CD-ROM, or any other form of storage medium known in the art.
Those of ordinary skill in the art will appreciate that the various illustrative components, systems, and methods described in connection with the embodiments disclosed herein can be implemented as hardware, software, or a combination of both. The particular implementation is hardware or software dependent on the specific application of the solution and the design constraints. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave.
It should be clear that the present application is not limited to the particular arrangements and processes described above and illustrated in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions, or change the order between steps, after appreciating the spirit of the present application.
The features described and/or illustrated in this application for one embodiment may be used in the same way or in a similar way in one or more other embodiments and/or in combination with or instead of the features of the other embodiments.
The foregoing description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and variations may be made to the embodiment of the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for linking instant messaging history messages, comprising:
extracting a target instant messaging history message corresponding to a history message uplink request sent by an instant messaging chat user from history uplink failure chat data corresponding to an instant messaging chat system;
and judging whether the target instant messaging history message is authorized to be uplink currently, if so, uploading the target instant messaging history message to a blockchain for storage.
2. The method of instant messaging history message of claim 1 wherein the historical uplink failed chat data comprises:
and the instant messaging history message is generated in the instant messaging chat process and fails in the uplink, and/or the instant messaging history message is generated in the version iteration process of the instant messaging chat system.
3. The method of instant messaging history message of claim 1, further comprising, prior to said determining whether the target instant messaging history message is currently authorized for being uplink:
authenticating user authority of an instant chat user sending the history message uplink request;
and if the instant chat user who sends the history message uplink request passes the user authority authentication, determining the target instant communication history message corresponding to the history message uplink request as a message to be subjected to authorized uplink piece detection.
4. The method for uplink instant messaging history messages according to claim 3, wherein if the instant chat user who issues the history message uplink request passes the user permission authentication, determining the target instant messaging history message corresponding to the history message uplink request as the message to be subjected to authorized uplink piece detection, comprises:
if the instant chat user who sends the history message uplink request passes the user authority authentication, the instant chat user is subjected to uplink authority verification;
and if the instant chat user who sends the history message uplink request passes the uplink authority verification, determining the target instant communication history message corresponding to the history message uplink request as a message to be subjected to authorized uplink member detection.
5. The method for uplink of instant messaging history messages according to claim 1, wherein the determining whether the target instant messaging history message is currently authorized for uplink, if so, uploading the target instant messaging history message to a blockchain for storage, comprises:
transmitting the target instant messaging history message to a chat counterpart user except the instant chat user which transmits the target instant messaging history message, so that the chat counterpart user generates an authorized uplink feedback result aiming at the target instant messaging history message;
Receiving the authorized uplink feedback result sent by the chat counterpart user;
and judging whether the authorized uplink feedback result shows that the chat counterpart user has authorized the target instant messaging history message to be uplink, if so, uploading the target instant messaging history message to a blockchain for storage.
6. The method of claim 5, wherein the sending the target instant messaging history message to a chat correspondent user other than the instant chat user who sent the target instant messaging history message comprises:
generating a blockchain ticket for the target instant messaging history message;
and sending the blockchain ticket to chat counterpart users except the instant chat user sending the target instant messaging history message.
7. The method for uplink instant messaging history messages according to any one of claims 1 to 6, wherein before extracting a target instant messaging history message corresponding to a history message uplink request sent by an instant chat user from the history uplink failed chat data corresponding to the instant messaging chat system, further comprising:
If the fact that the historical uplink failure chat data corresponding to the instant messaging chat system is locally stored is detected, manual uplink prompt information is sent to an instant chat user corresponding to the historical uplink failure chat data, so that the instant chat user selects the identification of the target instant messaging historical message from the historical uplink failure chat data, and a corresponding historical message uplink request is generated;
and receiving the history message uplink request sent by the instant chat user.
8. An instant messaging history message chaining apparatus, comprising:
the message extraction module is used for extracting a target instant messaging history message corresponding to a history message uplink request sent by an instant messaging chat user from the history uplink failure chat data corresponding to the instant messaging chat system;
and the message uplink module is used for judging whether the target instant messaging history message is authorized to be uplink currently, and if yes, uploading the target instant messaging history message to a blockchain for storage.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of instant messaging history messages as claimed in any one of claims 1 to 7 when the computer program is executed by the processor.
10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the method of instant messaging history message according to any of claims 1 to 7.
CN202310098199.5A 2023-01-20 2023-01-20 Method and device for linking instant messaging history message Pending CN116032875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310098199.5A CN116032875A (en) 2023-01-20 2023-01-20 Method and device for linking instant messaging history message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310098199.5A CN116032875A (en) 2023-01-20 2023-01-20 Method and device for linking instant messaging history message

Publications (1)

Publication Number Publication Date
CN116032875A true CN116032875A (en) 2023-04-28

Family

ID=86081114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310098199.5A Pending CN116032875A (en) 2023-01-20 2023-01-20 Method and device for linking instant messaging history message

Country Status (1)

Country Link
CN (1) CN116032875A (en)

Similar Documents

Publication Publication Date Title
US11070564B2 (en) Electronic interaction authentication and verification, and related systems, devices, and methods
CN109191144B (en) Laboratory information service management system based on block chain and working method
Garg et al. Securing iot devices and securelyconnecting the dots using rest api and middleware
CA2893709C (en) Method and system for authenticating a user using a mobile device and by means of certificates
US8321678B2 (en) System and method to send a message using multiple authentication mechanisms
US9264420B2 (en) Single sign-on for network applications
CN107241339B (en) Identity authentication method, identity authentication device and storage medium
JP2022522788A (en) Blockchain-based secure email system
US20170317823A1 (en) Zero Knowledge Encrypted File Transfer
CN101247407A (en) Network authentication service system and method
GB2568966A (en) An encryption process
US20130311783A1 (en) Mobile radio device-operated authentication system using asymmetric encryption
US11870636B2 (en) Systems and methods for subscribing topics and registering computer server event notifications
EP3461074A1 (en) Platform and method of certification of an electronic contract for electronic identification and trust services (eidas)
KR101974062B1 (en) Electronic Signature Method Based on Cloud HSM
CN108768928A (en) A kind of information acquisition method, terminal and server
CN107104888B (en) Safe instant messaging method
US11095460B2 (en) Certificate application operations
EP3282664B1 (en) Email verification
CN110336773B (en) Credibility guaranteeing system, verification method and storage medium of IoT (Internet of things) equipment data
US10938802B2 (en) Platform and method of certification of an electronic notice for electronic identification and trust services (EIDAS)
EP2587743A1 (en) Hypertext link verification in encrypted e-mail for mobile devices
CN111125655A (en) Method for secure communication of OSS-API interface
CN116032875A (en) Method and device for linking instant messaging history message
CN103986724A (en) Real-name authentication method and system for e-mail

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