CN116614464A - Method, device, equipment and computer program product for processing session message - Google Patents
Method, device, equipment and computer program product for processing session message Download PDFInfo
- Publication number
- CN116614464A CN116614464A CN202210122873.4A CN202210122873A CN116614464A CN 116614464 A CN116614464 A CN 116614464A CN 202210122873 A CN202210122873 A CN 202210122873A CN 116614464 A CN116614464 A CN 116614464A
- Authority
- CN
- China
- Prior art keywords
- sharing
- message
- target
- session
- target session
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
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)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请提供了一种会话消息的处理方法、装置、设备、存储介质及计算机程序产品;方法包括:接收到针对目标会话包括的至少一条目标会话消息的分享指令并获得用户许可或授权后,生成所述至少一条目标会话消息对应的分享标识,并呈现所述分享标识;当接收到针对所述分享标识的发送指令时,发送所述分享标识至所述发送指令所指示的目标对象的终端;其中,所述分享标识,用于当所述终端呈现所述分享标识时,响应于针对所述分享标识的识别操作,呈现所述至少一条目标会话消息;通过本申请能够实现多类型会话消息的分享,并提高实现会话消息分享的人机交互效率。
The present application provides a conversation message processing method, device, device, storage medium, and computer program product; the method includes: after receiving a sharing instruction for at least one target conversation message included in the target conversation and obtaining user permission or authorization, generating The sharing identifier corresponding to the at least one target conversation message, and presenting the sharing identifier; when receiving the sending instruction for the sharing identifier, sending the sharing identifier to the terminal of the target object indicated by the sending instruction; Wherein, the sharing identifier is used for presenting the at least one target conversation message in response to an identification operation for the sharing identifier when the terminal presents the sharing identifier; through this application, the multi-type conversation message can be realized Share, and improve the efficiency of human-computer interaction to achieve session message sharing.
Description
技术领域technical field
本申请涉及互联网和人机交互技术领域,尤其涉及一种会话消息的处理方法、装置、设备、存储介质及计算机程序产品。The present application relates to the technical fields of the Internet and human-computer interaction, and in particular to a conversation message processing method, device, equipment, storage medium and computer program product.
背景技术Background technique
相关技术中,通常采用对历史会话消息进行截图,进而通过分享截图的方式实现会话消息的分享。但是截图分享的方式,使得会话消息中例如视频、图片、语音、文档等类型的会话消息无法被正常查看;且,当待分享的会话消息的数量较多时,频繁截图再分享将导致用户操作繁琐,人机交互效率低。In related technologies, it is common to take screenshots of historical conversation messages, and then realize the sharing of conversation messages by sharing the screenshots. However, the method of screenshot sharing makes it impossible to view conversation messages such as videos, pictures, voice, documents, etc. in conversation messages; and, when there are a large number of conversation messages to be shared, frequent screenshot sharing will lead to cumbersome user operations , the efficiency of human-computer interaction is low.
发明内容Contents of the invention
本申请实施例提供一种会话消息的处理方法、装置、设备、存储介质及计算机程序产品,能够实现多类型会话消息的分享,并提高实现会话消息分享的人机交互效率。Embodiments of the present application provide a conversation message processing method, device, device, storage medium, and computer program product, which can realize the sharing of multi-type conversation messages and improve the efficiency of man-machine interaction for realizing conversation message sharing.
本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:
本申请实施例提供一种会话消息的处理方法,包括:An embodiment of the present application provides a method for processing conversation messages, including:
接收到针对目标会话包括的至少一条目标会话消息的分享指令;receiving a sharing instruction for at least one target session message included in the target session;
响应于所述分享指令,生成所述至少一条目标会话消息对应的分享标识,并呈现所述分享标识;In response to the sharing instruction, generate a sharing identifier corresponding to the at least one target conversation message, and present the sharing identifier;
当接收到针对所述分享标识的发送指令时,发送所述分享标识至所述发送指令所指示的目标对象的终端;When receiving the sending instruction for the sharing identifier, sending the sharing identifier to the terminal of the target object indicated by the sending instruction;
其中,所述分享标识,用于当所述终端呈现所述分享标识时,响应于针对所述分享标识的识别操作,呈现所述至少一条目标会话消息。Wherein, the sharing identifier is used for presenting the at least one target conversation message in response to an identification operation on the sharing identifier when the terminal presents the sharing identifier.
本申请实施例还提供一种会话消息的处理装置,包括:The embodiment of the present application also provides a conversation message processing device, including:
接收模块,用于接收到针对目标会话包括的至少一条目标会话消息的分享指令;A receiving module, configured to receive a sharing instruction for at least one target session message included in the target session;
生成模块,用于响应于所述分享指令,生成所述至少一条目标会话消息对应的分享标识,并呈现所述分享标识;A generating module, configured to generate a sharing identifier corresponding to the at least one target conversation message in response to the sharing instruction, and present the sharing identifier;
发送模块,用于当接收到针对所述分享标识的发送指令时,发送所述分享标识至所述发送指令所指示的目标对象的终端;A sending module, configured to, when receiving a sending instruction for the sharing identifier, send the sharing identifier to the terminal of the target object indicated by the sending instruction;
其中,所述分享标识,用于当所述终端呈现所述分享标识时,响应于针对所述分享标识的识别操作,呈现所述至少一条目标会话消息。Wherein, the sharing identifier is used for presenting the at least one target conversation message in response to an identification operation on the sharing identifier when the terminal presents the sharing identifier.
上述方案中,所述接收模块,还用于呈现目标会话对应的分享功能项;基于所述分享功能项,接收到针对所述目标会话包括的至少一条目标会话消息的分享指令。In the above solution, the receiving module is further configured to present a sharing function item corresponding to the target session; based on the sharing function item, a sharing instruction for at least one target session message included in the target session is received.
上述方案中,所述目标会话消息为所述目标会话包括的历史会话消息,所述接收模块,还用于在所述目标会话的会话界面中,呈现所述目标会话包括的至少一条历史会话消息;响应于针对所述至少一条历史会话消息中目标历史会话消息的选择操作,呈现所述目标会话对应的分享功能项;所述接收模块,还用于响应于针对所述分享功能项的触发操作,接收到针对所述目标会话包括的所述目标历史会话消息的分享指令。In the above solution, the target session message is a historical session message included in the target session, and the receiving module is further configured to present at least one historical session message included in the target session in the session interface of the target session ; In response to a selection operation on a target historical session message in the at least one historical session message, present a sharing function item corresponding to the target session; the receiving module is also configured to respond to a trigger operation on the sharing function item , receiving a sharing instruction for the target historical session message included in the target session.
上述方案中,所述目标会话消息为所述目标会话包括的历史会话消息,所述接收模块,还用于在所述目标会话的会话界面或会话设置界面中,呈现所述目标会话对应的分享功能项;所述接收模块,还用于响应于针对所述分享功能项的触发操作,呈现所述目标会话包括的至少一条历史会话消息;响应于针对所述至少一条历史会话消息中目标历史会话消息的选择操作,接收到针对所述目标会话包括的所述目标历史会话消息的分享指令。In the above scheme, the target session message is the historical session message included in the target session, and the receiving module is further configured to present the shared information corresponding to the target session in the session interface or session setting interface of the target session. function item; the receiving module is further configured to present at least one historical session message included in the target session in response to the trigger operation for the sharing function item; in response to the target historical session message in the at least one historical session message In the message selection operation, a sharing instruction for the target historical session message included in the target session is received.
上述方案中,所述生成模块,还用于当所述分享标识包括分享图形码时,响应于所述分享指令,生成所述至少一条目标会话消息对应的分享图片,所述分享图片中至少包括:所述至少一条目标会话消息对应的分享图形码;其中,所述分享图形码,用于当所述终端触发针对所述分享图形码的扫描操作时,呈现所述至少一条目标会话消息;所述生成模块,还用于呈现包括所述分享图形码的所述分享图片。In the above solution, the generating module is further configured to generate a shared picture corresponding to the at least one target conversation message in response to the sharing instruction when the sharing identifier includes a shared graphic code, and the shared picture includes at least : the shared graphic code corresponding to the at least one target session message; wherein, the shared graphic code is used to present the at least one target session message when the terminal triggers a scanning operation for the shared graphic code; The generating module is further configured to present the shared picture including the shared graphic code.
上述方案中,所述分享图片中还包括所述分享图形码的关联信息,所述生成模块,还用于呈现包括所述分享图形码以及所述关联信息的所述分享图片;其中,所述关联信息包括以下至少之一:所述目标会话的会话标识、所述至少一条目标会话消息、所述目标会话消息的数量、以及所述目标会话消息的发布对象的对象标识。In the above solution, the shared picture further includes associated information of the shared graphic code, and the generating module is further configured to present the shared picture including the shared graphic code and the associated information; wherein, the The association information includes at least one of the following: a session ID of the target session, the at least one target session message, the number of the target session messages, and an object ID of a publishing object of the target session message.
上述方案中,所述生成模块,还用于呈现对应所述分享图片的存储功能项;当接收到针对所述存储功能项的触发操作时,存储所述分享图片。In the above solution, the generating module is further configured to present a storage function item corresponding to the shared picture; when a trigger operation for the storage function item is received, store the shared picture.
上述方案中,所述生成模块,还用于呈现对应所述分享标识的加密功能项;基于所述加密功能项,接收到用于对所述至少一条目标会话消息进行加密的加密信息;响应于针对所述加密信息的确认操作,基于所述加密信息对所述目标会话消息进行加密,并呈现加密后的所述至少一条目标会话消息对应的所述分享标识。In the above solution, the generating module is further configured to present an encryption function item corresponding to the shared identifier; based on the encryption function item, receiving encryption information for encrypting the at least one target session message; in response to For the confirmation operation of the encrypted information, the target session message is encrypted based on the encrypted information, and the sharing identifier corresponding to the encrypted at least one target session message is presented.
上述方案中,所述生成模块,还用于呈现对应所述分享标识的解密功能项;基于所述解密功能项,接收到针对所述至少一条目标会话消息的解密信息;响应于针对所述解密信息的确认操作,当基于所述加密信息对所述解密信息验证通过后,基于所述解密信息对所述至少一条目标会话消息进行解密,并呈现解密后的所述至少一条目标会话消息对应的所述分享标识。In the above solution, the generating module is further configured to present a decryption function item corresponding to the shared identifier; based on the decryption function item, decryption information for the at least one target conversation message is received; in response to the decryption function item An information confirmation operation, after the decrypted information is verified based on the encrypted information, decrypt the at least one target session message based on the decrypted information, and present the decrypted message corresponding to the at least one target session message The share ID.
上述方案中,所述分享标识承载于分享图片中,且所述分享图片还包括所述至少一条目标会话消息;所述生成模块,还用于呈现包括所述分享标识及所述至少一条目标会话消息的所述分享图片;其中,所述分享图片中的所述目标会话消息至少部分被遮挡。In the above solution, the sharing identification is carried in the sharing picture, and the sharing picture also includes the at least one target session message; The shared picture of the message; wherein, the target conversation message in the shared picture is at least partially blocked.
上述方案中,所述生成模块,还用于响应于所述分享指令,呈现用于对所述至少一条目标会话消息进行加密的加密界面;基于所述加密界面,接收到针对所述至少一条目标会话消息的加密信息;响应于针对所述加密信息的确认操作,基于所述加密信息对所述至少一条目标会话消息进行加密,生成加密后的所述至少一条目标会话消息对应的分享标识。In the above solution, the generating module is further configured to present an encryption interface for encrypting the at least one target session message in response to the sharing instruction; Encrypted information of the session message; in response to the confirmation operation for the encrypted information, encrypt the at least one target session message based on the encrypted information, and generate a sharing identifier corresponding to the encrypted at least one target session message.
上述方案中,所述装置还包括:会话查看模块,用于当所述至少一条目标会话消息处于加密状态时,响应于针对所述分享标识的识别操作,呈现消息解密界面;接收到基于所述消息解密界面输入的解密信息;响应于针对所述解密信息的确认操作,当所述解密信息满足解密条件时,呈现处于解密状态的所述至少一条目标会话消息。In the above solution, the device further includes: a session viewing module, configured to present a message decryption interface in response to an identification operation on the shared ID when the at least one target session message is in an encrypted state; The decryption information input in the message decryption interface; in response to a confirmation operation on the decryption information, when the decryption information satisfies a decryption condition, presenting the at least one target conversation message in a decrypted state.
上述方案中,所述会话查看模块,还用于当针对所述分享标识的识别操作的触发对象为所述目标会话消息的分享者时,呈现所述解密信息对应的修改功能项;基于所述修改功能项,接收输入的目标解密信息;响应于针对所述目标解密信息的确认操作,将所述解密信息调整为所述目标解密信息。In the above solution, the session viewing module is further configured to present the modification function item corresponding to the decrypted information when the trigger object of the identification operation for the sharing identifier is the sharer of the target session message; based on the The function item is modified to receive input target decryption information; in response to a confirmation operation on the target decryption information, adjust the decryption information to the target decryption information.
上述方案中,所述生成模块,还用于呈现对应所述分享标识的消息直播功能项;响应于针对所述消息直播功能项的触发操作,呈现消息直播设置界面,所述消息直播设置界面用于供设置所述目标会话的消息直播时长;响应于基于所述消息直播界面设置的目标消息直播时长,呈现包括提示信息的所述分享标识,所述提示信息用于指示所述目标会话处于消息直播状态;其中,所述至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,所述目标会话中所发布的会话消息,所述直播开始时间点为所述分享标识的呈现时间点,所述直播结束时间点处于所述直播开始时间点之后,与所述直播开始时间点间隔所述目标消息直播时长。In the above solution, the generating module is also used to present the message live broadcast function item corresponding to the sharing identifier; in response to the trigger operation for the message live broadcast function item, present a message live broadcast setting interface, and the message live broadcast setting interface uses For setting the message live broadcast duration of the target session; in response to the target message live broadcast duration set based on the message live broadcast interface, present the sharing identification including prompt information, the prompt information is used to indicate that the target session is in the message Live state; wherein, the at least one target session message includes: the session message issued in the target session during the period from the start time point of the live broadcast to the end time point of the live broadcast, and the start time point of the live broadcast is the sharing identifier The presentation time point of the live broadcast, the end time point of the live broadcast is after the start time point of the live broadcast, and the live broadcast duration of the target message is separated from the start time point of the live broadcast.
上述方案中,所述接收模块,还用于呈现消息直播设置界面,所述消息直播设置界面用于供设置所述目标会话的消息直播时长;接收到基于所述消息直播界面设置的目标消息直播时长;响应于针对所述目标消息直播时长的确认操作,接收到针对所述目标会话包括的至少一条目标会话消息的分享指令;其中,所述至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,所述目标会话中所发布的会话消息,所述直播开始时间点为所述分享指令的触发时间点,所述直播结束时间点处于所述直播开始时间点之后,与所述直播开始时间点间隔所述目标消息直播时长。In the above solution, the receiving module is also used to present a message live broadcast setting interface, and the message live broadcast setting interface is used to set the message live broadcast duration of the target session; the target message live broadcast based on the message live broadcast interface is received. Duration; in response to the confirmation operation for the duration of the live broadcast of the target message, a sharing instruction for at least one target session message included in the target session is received; wherein, the at least one target session message includes: from the start time of the live broadcast to In the session message published in the target session within the period of the live broadcast end time point, the live broadcast start time point is the trigger time point of the sharing instruction, and the live broadcast end time point is after the live broadcast start time point, The target message live broadcast duration is separated from the live broadcast start time point.
上述方案中,所述至少一条目标会话消息包括:从所述目标会话的历史会话消息中选取的目标历史会话消息,所述生成模块,还用于呈现对应所述分享标识的消息直播功能项;接收到基于所述消息直播功能项触发的消息直播指令;响应于所述消息直播指令,呈现包括提示信息的所述分享标识,所述提示信息用于指示所述目标会话处于消息直播状态;其中,所述至少一条目标会话消息还包括:从所述目标历史会话消息的发布时间点至所述消息直播状态的结束时间点的时段内,所述目标会话中所发布的会话消息。In the above solution, the at least one target session message includes: a target historical session message selected from historical session messages of the target session, and the generating module is further configured to present a message live broadcast function item corresponding to the sharing identifier; Receiving a message live broadcast instruction triggered based on the message live broadcast function item; in response to the message live broadcast instruction, presenting the sharing identifier including prompt information, the prompt information being used to indicate that the target session is in a message live broadcast state; wherein , the at least one target conversation message further includes: conversation messages published in the target conversation during the period from the release time point of the target historical conversation message to the end time point of the message live broadcast state.
上述方案中,所述生成模块,还用于呈现对应所述分享标识的直播取消功能项;响应于针对所述直播取消功能项的触发操作,呈现不包括所述提示信息的所述分享标识,所述至少一条目标会话消息,为从所述目标会话的历史会话消息中选取的目标历史会话消息。In the above solution, the generating module is further configured to present a live broadcast cancellation function item corresponding to the sharing identifier; in response to a trigger operation on the live broadcast cancellation function item, presenting the sharing identifier that does not include the prompt information, The at least one target session message is a target historical session message selected from historical session messages of the target session.
上述方案中,所述装置还包括:呈现模块,用于当所述目标会话处于消息直播状态时,在所述目标会话的会话界面中,呈现用于结束所述消息直播状态的结束功能项;当接收到针对所述结束功能项的触发操作时,控制所述目标会话退出所述消息直播状态。In the above solution, the device further includes: a presenting module, configured to present an end function item for ending the live message state on the session interface of the target session when the target session is in the live message state; When a trigger operation for the end function item is received, the target session is controlled to exit the message live broadcast state.
上述方案中,所述呈现模块,还用于当接收到针对所述结束功能项的触发操作时,呈现用于确认是否退出所述消息直播状态的提示控件;当基于所述提示控件接收到确认退出指令时,控制所述目标会话退出所述消息直播状态。In the above solution, the presenting module is further configured to present a prompt control for confirming whether to exit the message live broadcast state when receiving a trigger operation for the end function item; when a confirmation is received based on the prompt control When the exit instruction is used, the target session is controlled to exit the message live broadcast state.
上述方案中,当所述目标会话处于消息直播状态时,所述会话查看模块,还用于响应于针对所述分享标识的识别操作,通过对所述目标会话进行直播,呈现所述目标会话中的至少一条目标会话消息、以及用于表征所述目标会话处于消息直播状态的提示信息。In the above solution, when the target session is in the live message state, the session viewing module is further configured to present the information in the target session by live broadcasting the target session in response to the identification operation for the sharing identifier. At least one target session message, and prompt information for indicating that the target session is in a live message state.
上述方案中,所述发送模块,还用于呈现所述分享标识对应的至少一个信息分享功能项,不同的所述信息分享功能项对应不同的信息分享方式;基于目标信息分享功能项,接收到针对所述目标对象的所述发送指令;所述发送模块,还用于通过所述目标信息分享功能项对应的信息分享方式,发送所述分享标识至所述发送指令所指示的目标对象的终端。In the above scheme, the sending module is further configured to present at least one information sharing function item corresponding to the sharing identifier, and different information sharing function items correspond to different information sharing methods; based on the target information sharing function item, the received The sending instruction for the target object; the sending module is further configured to send the sharing identifier to the terminal of the target object indicated by the sending instruction through the information sharing method corresponding to the target information sharing function item .
上述方案中,所述会话查看模块,还用于响应于针对所述分享标识的识别操作,当所述至少一条目标会话消息中包含隐私信息时,对所述隐私信息进行模糊处理,使得所述隐私信息处于模糊状态;展示包括处于模糊状态的所述隐私信息的所述至少一条目标会话消息。In the above solution, the session viewing module is further configured to, in response to the identification operation for the shared identifier, when the at least one target session message contains private information, perform obfuscation processing on the private information, so that the The private information is in a fuzzy state; displaying the at least one target conversation message including the private information in a fuzzy state.
本申请实施例还提供一种电子设备,包括:The embodiment of the present application also provides an electronic device, including:
存储器,用于存储可执行指令;memory for storing executable instructions;
处理器,用于执行所述存储器中存储的可执行指令时,实现本申请实施例提供的会话消息的处理方法。The processor is configured to implement the conversation message processing method provided in the embodiment of the present application when executing the executable instruction stored in the memory.
本申请实施例还提供一种计算机可读存储介质,存储有可执行指令,所述可执行指令被处理器执行时,实现本申请实施例提供的会话消息的处理方法。The embodiment of the present application further provides a computer-readable storage medium, storing executable instructions, and when the executable instructions are executed by a processor, implement the conversation message processing method provided in the embodiment of the present application.
本申请实施例还提供一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现本申请实施例提供的会话消息的处理方法。An embodiment of the present application further provides a computer program product, including a computer program or an instruction. When the computer program or instruction is executed by a processor, the method for processing a conversation message provided in the embodiment of the present application is implemented.
本申请实施例具有以下有益效果:The embodiment of the present application has the following beneficial effects:
当接收到针对目标会话包括的至少一条目标会话消息的分享指令时,响应于分享指令,生成至少一条目标会话消息对应的分享标识,并呈现分享标识,从而可在接收到针对分享标识的发送指令时,发送分享标识至发送指令所指示的目标对象的终端,而当目标对象的终端呈现该分享标识时,响应于针对分享标识的识别操作,呈现分享指令所指示分享的至少一条目标会话消息。如此,目标对象即可基于分享标识查看所分享的目标会话消息,能够使所查看到的会话消息的类型不被限制,实现多类型会话消息的分享;且仅需触发分享指令即可生成待分享的会话消息对应的分享标识,操作简单,提高实现会话消息分享的人机交互效率。When receiving a sharing instruction for at least one target session message included in the target session, in response to the sharing instruction, generate a sharing identifier corresponding to at least one target session message, and present the sharing identifier, so that the sending instruction for the sharing identifier can be received When the sharing identifier is sent to the terminal of the target object indicated by the sending instruction, and when the terminal of the target object presents the sharing identifier, in response to the identification operation for the sharing identifier, at least one target conversation message shared by the sharing instruction is presented. In this way, the target object can view the shared target session message based on the sharing identifier, so that the type of the viewed session message is not limited, and the sharing of multiple types of session messages is realized; and only need to trigger the sharing command to generate the message to be shared The sharing identifier corresponding to the session message is easy to operate and improves the efficiency of human-computer interaction for session message sharing.
附图说明Description of drawings
图1是本申请实施例提供的会话消息的处理系统100的架构示意图;FIG. 1 is a schematic structural diagram of a conversation message processing system 100 provided by an embodiment of the present application;
图2是本申请实施例提供的实施会话消息的处理方法的电子设备500的结构示意图;FIG. 2 is a schematic structural diagram of an electronic device 500 implementing a conversation message processing method provided by an embodiment of the present application;
图3是本申请实施例提供的会话消息的处理方法的流程示意图;FIG. 3 is a schematic flowchart of a method for processing conversation messages provided by an embodiment of the present application;
图4是本申请实施例提供的分享功能项的显示示意图;Fig. 4 is a schematic display diagram of sharing function items provided by the embodiment of the present application;
图5是本申请实施例提供的分享图片的显示示意图;FIG. 5 is a schematic diagram showing a shared picture provided by the embodiment of the present application;
图6是本申请实施例提供的基于分享图片查看目标会话消息的示意图;FIG. 6 is a schematic diagram of viewing a target conversation message based on a shared picture provided by an embodiment of the present application;
图7是本申请实施例提供的目标会话消息的加密流程示意图;FIG. 7 is a schematic diagram of an encryption process of a target session message provided by an embodiment of the present application;
图8是本申请实施例提供的目标会话消息的解密流程示意图;Fig. 8 is a schematic diagram of the decryption process of the target session message provided by the embodiment of the present application;
图9是本申请实施例提供的查看处于加密状态的目标会话消息的示意图;FIG. 9 is a schematic diagram of viewing a target session message in an encrypted state provided by an embodiment of the present application;
图10是本申请实施例提供的解密信息的修改流程示意图;Fig. 10 is a schematic diagram of the modification flow of the decryption information provided by the embodiment of the present application;
图11是本申请实施例提供的目标会话消息的直播分享示意图;Fig. 11 is a schematic diagram of the live sharing of the target conversation message provided by the embodiment of the present application;
图12是本申请实施例提供的取消目标会话消息的直播分享的流程示意图;Fig. 12 is a schematic flow chart of canceling the live sharing of the target session message provided by the embodiment of the present application;
图13是本申请实施例提供的处于消息直播状态的目标会话的显示示意图;Fig. 13 is a schematic display of a target conversation in a live message state provided by an embodiment of the present application;
图14是本申请实施例提供的结束消息直播状态的显示示意图;Fig. 14 is a schematic diagram showing the status of the end message live broadcast provided by the embodiment of the present application;
图15是本申请实施例提供的基于分享标识查看目标会话消息的示意图;Fig. 15 is a schematic diagram of viewing a target conversation message based on a sharing identifier provided by an embodiment of the present application;
图16是本申请实施例提供的信息分享功能项的示意图;Fig. 16 is a schematic diagram of information sharing function items provided by the embodiment of the present application;
图17是本申请实施例提供的基于分享标识查看目标会话消息的示意图;Fig. 17 is a schematic diagram of viewing target conversation messages based on shared identifiers provided by the embodiment of the present application;
图18是相关技术中提供的会话消息的分享示意图;Fig. 18 is a schematic diagram of sharing session messages provided in the related art;
图19是本申请实施例提供的会话消息的处理方法的流程示意图;FIG. 19 is a schematic flowchart of a method for processing conversation messages provided by an embodiment of the present application;
图20是本申请实施例提供的会话消息的处理方法的流程示意图;FIG. 20 is a schematic flowchart of a method for processing conversation messages provided by an embodiment of the present application;
图21是本申请实施例提供的会话消息的处理方法的流程示意图。Fig. 21 is a schematic flowchart of a method for processing conversation messages provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. All other embodiments obtained under the premise of creative labor belong to the scope of protection of this application.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.
在以下的描述中,所涉及的术语“第一\第二\第三”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\third" Where permitted, the specific order or sequencing may be interchanged such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
对本申请实施例进行进一步详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释。Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are described, and the nouns and terms involved in the embodiments of the present application are applicable to the following explanations.
1)客户端,终端中运行的用于提供各种服务的应用程序,例如即时通讯客户端、视频播放客户端。1) Client, an application running on a terminal for providing various services, such as an instant messaging client and a video playback client.
2)响应于,用于表示所执行的操作所依赖的条件或者状态,当满足所依赖的条件或状态时,所执行的一个或多个操作可以是实时的,也可以具有设定的延迟;在没有特别说明的情况下,所执行的多个操作不存在执行先后顺序的限制。2) Response is used to represent the condition or state on which the executed operation depends. When the dependent condition or state is satisfied, one or more operations to be executed may be real-time or have a set delay; Unless otherwise specified, there is no restriction on the order in which the operations are performed.
本申请实施例提供一种会话消息的处理方法、装置、设备、存储介质及计算机程序产品,能够实现多类型会话消息的分享,并提高实现会话消息分享的人机交互效率。Embodiments of the present application provide a conversation message processing method, device, device, storage medium, and computer program product, which can realize the sharing of multi-type conversation messages and improve the efficiency of man-machine interaction for realizing conversation message sharing.
下面说明本申请实施例提供的会话消息的处理方法的实施场景。参见图1,图1是本申请实施例提供的会话消息的处理系统100的架构示意图,为实现支撑一个示例性应用,终端400-1为目标会话消息的分享端,终端400-2为目标会话消息的查看端,终端400-1和终端400-2通过网络300连接服务器200,网络300可以是广域网或者局域网,又或者是二者的组合,使用无线或有线链路实现数据传输。The implementation scenario of the method for processing a session message provided by the embodiment of the present application is described below. Referring to FIG. 1, FIG. 1 is a schematic diagram of the architecture of a conversation message processing system 100 provided by an embodiment of the present application. In order to support an exemplary application, the terminal 400-1 is the sharing terminal of the target conversation message, and the terminal 400-2 is the target conversation message The message viewer, terminal 400-1 and terminal 400-2 are connected to server 200 through network 300. Network 300 may be a wide area network or a local area network, or a combination of the two, using wireless or wired links to realize data transmission.
终端400-1(可以设置有客户端,比如即时通信客户端),用于接收到针对目标会话包括的至少一条目标会话消息的分享指令并获得用户许可或授权后,生成至少一条目标会话消息对应的分享标识,并呈现分享标识;当接收到针对分享标识的发送指令时,发送分享标识至服务器200;Terminal 400-1 (can be provided with a client, such as an instant messaging client), configured to generate at least one target session message corresponding to and present the sharing logo; when receiving a sending instruction for the sharing logo, send the sharing logo to the server 200;
服务器200,用于接收到分享标识,并转发分享标识至发送指令所指示的目标对象的终端400-2;The server 200 is configured to receive the sharing identifier, and forward the sharing identifier to the terminal 400-2 of the target object indicated by the sending instruction;
终端400-2(可以设置有客户端,比如即时通信客户端),用于接收到分享标识,并呈现分享标识;响应于针对分享标识的识别操作,呈现至少一条目标会话消息。The terminal 400-2 (which may be provided with a client, such as an instant messaging client), is configured to receive the sharing identifier and present the sharing identifier; in response to an identification operation on the sharing identifier, present at least one target conversation message.
在一些实施例中,本申请实施例提供的会话消息的处理方法可以由各种电子设备实施,例如,可以由终端单独实施,也可以由服务器单独实施,也可以由终端和服务器协同实施。本申请实施例可应用于各种场景,包括但不限于云技术、人工智能、智慧交通、辅助驾驶等。In some embodiments, the conversation message processing method provided by the embodiment of the present application can be implemented by various electronic devices, for example, it can be implemented by the terminal alone, or it can be implemented by the server alone, or it can be implemented jointly by the terminal and the server. The embodiments of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, intelligent transportation, assisted driving, and the like.
在一些实施例中,本申请实施例提供的实施会话消息的处理的电子设备可以是各种类型的终端设备或服务器,其中,服务器(例如服务器200)可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(CDN,Content Delivery Network)、以及大数据和人工智能平台等基础云计算服务的云服务器。终端(例如终端400-1)可以是智能手机、平板电脑、笔记本电脑、台式计算机、智能语音交互设备(例如智能音箱)、智能家电(例如智能电视)、智能手表、车载终端等,但并不局限于此。终端以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请实施例对此不做限制。In some embodiments, the electronic device implementing conversation message processing provided by the embodiment of the present application may be various types of terminal devices or servers, where the server (such as server 200) may be an independent physical server, or multiple A server cluster or distributed system composed of several physical servers can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content Delivery Network), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms. A terminal (such as terminal 400-1) may be a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent voice interaction device (such as a smart speaker), a smart home appliance (such as a smart TV), a smart watch, a vehicle-mounted terminal, etc., but does not limited to this. The terminal and the server may be connected directly or indirectly through wired or wireless communication, which is not limited in this embodiment of the present application.
在一些实施例中,终端或服务器可以通过运行计算机程序来实现本申请实施例提供的会话消息的处理方法,举例来说,计算机程序可以是操作系统中的原生程序或软件模块;可以是本地(Native)应用程序(APP,Application),即需要在操作系统中安装才能运行的程序;也可以是小程序,即只需要下载到浏览器环境中就可以运行的程序;还可以是能够嵌入至任意APP中的小程序。总而言之,上述计算机程序可以是任意形式的应用程序、模块或插件。In some embodiments, the terminal or the server can implement the conversation message processing method provided by the embodiment of the present application by running a computer program. For example, the computer program can be a native program or a software module in the operating system; it can be a local ( Native) application program (APP, Application), that is, a program that needs to be installed in the operating system to run; it can also be a small program, that is, a program that only needs to be downloaded to the browser environment to run; it can also be embedded in any A small program in an APP. In a word, the above-mentioned computer program can be any form of application program, module or plug-in.
在一些实施例中,多个服务器可组成为一区块链,而服务器为区块链上的节点,区块链中的每个节点之间可以存在信息连接,节点之间可以通过上述信息连接进行信息传输。其中,本申请实施例提供的会话消息的处理方法所相关的数据(例如目标会话的会话消息、分享标识等)可保存于区块链上。In some embodiments, multiple servers can form a block chain, and the server is a node on the block chain. There can be information connection between each node in the block chain, and the nodes can be connected through the above information. carry out information transmission. Wherein, the data related to the processing method of the conversation message provided by the embodiment of the present application (such as the conversation message of the target conversation, the sharing identifier, etc.) can be saved on the block chain.
下面说明本申请实施例提供的实施会话消息的处理方法的电子设备。参见图2,图2是本申请实施例提供的实施会话消息的处理方法的电子设备500的结构示意图。以电子设备500为图1所示的终端为例,本申请实施例提供的实施会话消息的处理方法的电子设备500包括:至少一个处理器510、存储器550、至少一个网络接口520和用户接口530。电子设备500中的各个组件通过总线系统540耦合在一起。可理解,总线系统540用于实现这些组件之间的连接通信。总线系统540除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图2中将各种总线都标为总线系统540。The electronic device implementing the method for processing conversation messages provided by the embodiments of the present application is described below. Referring to FIG. 2 , FIG. 2 is a schematic structural diagram of an electronic device 500 implementing a method for processing conversation messages provided by an embodiment of the present application. Taking the electronic device 500 as the terminal shown in FIG. 1 as an example, the electronic device 500 implementing the conversation message processing method provided by the embodiment of the present application includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530 . Various components in the electronic device 500 are coupled together through the bus system 540 . It can be understood that the bus system 540 is used to realize connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 540 in FIG. 2 .
处理器510可以是一种集成电路芯片,具有信号的处理能力,例如通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其中,通用处理器可以是微处理器或者任何常规的处理器等。The processor 510 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware Components, etc., wherein the general-purpose processor can be a microprocessor or any conventional processor, etc.
存储器550可以是可移除的,不可移除的或其组合。示例性的硬件设备包括固态存储器,硬盘驱动器,光盘驱动器等。存储器550可选地包括在物理位置上远离处理器510的一个或多个存储设备。Memory 550 may be removable, non-removable or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 550 optionally includes one or more storage devices located physically remote from processor 510 .
存储器550包括易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(ROM,Read Only Me mory),易失性存储器可以是随机存取存储器(RAM,Random Access Memor y)。本申请实施例描述的存储器550旨在包括任意适合类型的存储器。Memory 550 includes volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The non-volatile memory may be a read only memory (ROM, Read Only Memory), and the volatile memory may be a random access memory (RAM, Random Access Memory). The memory 550 described in the embodiment of the present application is intended to include any suitable type of memory.
在一些实施例中,存储器550能够存储数据以支持各种操作,这些数据的示例包括程序、模块和数据结构或者其子集或超集,下面示例性说明。In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
操作系统551,包括用于处理各种基本系统服务和执行硬件相关任务的系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务;Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
网络通信模块552,用于经由一个或多个(有线或无线)网络接口520到达其他计算设备,示例性的网络接口520包括:蓝牙、无线相容性认证(WiFi)、和通用串行总线(USB,Universal Serial Bus)等;A network communication module 552 for reaching other computing devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus ( USB, Universal Serial Bus), etc.;
在一些实施例中,本申请实施例提供的会话消息的处理装置可以采用软件方式实现,图2示出了存储在存储器550中的会话消息的处理装置553,其可以是程序和插件等形式的软件,包括以下软件模块:接收模块5531、生成模块5532和发送模块5533,这些模块是逻辑上的,因此根据所实现的功能可以进行任意的组合或进一步拆分,将在下文中说明各个模块的功能。In some embodiments, the device for processing conversational messages provided in the embodiment of the present application may be implemented in software. FIG. 2 shows a device for processing conversational messages 553 stored in memory 550, which may be in the form of programs, plug-ins, etc. Software, including the following software modules: receiving module 5531, generating module 5532 and sending module 5533. These modules are logical, so they can be combined or further divided according to the functions realized. The functions of each module will be described below .
在另一些实施例中,本申请实施例提供的会话消息的处理装置可以采用软硬件结合的方式实现,作为示例,本申请实施例提供的会话消息的处理装置可以是采用硬件译码处理器形式的处理器,其被编程以执行本申请实施例提供的会话消息的处理方法,例如,硬件译码处理器形式的处理器可以采用一个或多个应用专用集成电路(ASIC,ApplicationSpecific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable LogicDevice)、复杂可编程逻辑器件(C PLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Fi eld-Programmable Gate Array)或其他电子元件。In other embodiments, the device for processing conversational messages provided in the embodiments of the present application may be implemented in a combination of software and hardware. As an example, the device for processing conversational messages provided in the embodiments of the present application may be in the form of a hardware decoding processor A processor programmed to execute the conversation message processing method provided by the embodiment of the present application, for example, a processor in the form of a hardware decoding processor may adopt one or more Application Specific Integrated Circuits (ASICs, Application Specific Integrated Circuits), DSP, Programmable Logic Device (PLD, Programmable Logic Device), Complex Programmable Logic Device (C PLD, Complex Programmable Logic Device), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array) or other electronic components.
下面说明本申请实施例提供的会话消息的处理方法。在一些实施例中,本申请实施例提供的会话消息的处理方法可以由各种电子设备实施,例如,可以由终端单独实施,也可以由服务器单独实施,也可以由终端和服务器协同实施。以终端实施为例,参见图3,图3是本申请实施例提供的会话消息的处理方法的流程示意图,本申请实施例提供的会话消息的处理方法包括:The following describes the processing method of the session message provided by the embodiment of the present application. In some embodiments, the conversation message processing method provided by the embodiment of the present application can be implemented by various electronic devices, for example, it can be implemented by the terminal alone, or it can be implemented by the server alone, or it can be implemented jointly by the terminal and the server. Taking terminal implementation as an example, refer to FIG. 3. FIG. 3 is a schematic flowchart of a method for processing conversational messages provided in the embodiment of the present application. The method for processing conversational messages provided in the embodiment of the present application includes:
步骤101:终端接收到针对目标会话包括的至少一条目标会话消息的分享指令。Step 101: The terminal receives a sharing instruction for at least one target session message included in the target session.
这里,终端可以设置有客户端,比如即时通信客户端,终端可通过运行客户端供用户实现基于目标会话进行会话沟通。该目标会话可以是单人会话,也可以是群组会话,用户通过目标会话发送的消息即为会话消息。在实际应用中,终端可通过目标会话的会话界面显示会话消息以供用户查看。在一些实施例中,用户可能存在对目标会话的会话消息进行分享的需求,即将目标会话的会话消息分享至其他用户,比如产品宣传类的会话消息,用户需要将此类会话消息也分享至其他用户,以使其他用户快速了解该产品,避免用户针对同一产品进行多次描述和介绍。基于此,在本申请实施例中,可以实现对目标会话的会话消息的分享。Here, the terminal may be provided with a client, such as an instant messaging client, and the terminal may run the client for the user to implement conversational communication based on the target conversation. The target session may be a single-person session or a group session, and the message sent by the user through the target session is a session message. In practical applications, the terminal may display session messages through the session interface of the target session for the user to view. In some embodiments, the user may have the need to share the conversation messages of the target conversation, that is, to share the conversation messages of the target conversation with other users, such as conversation messages of product promotion, and the user needs to share such conversation messages with other users. Users, so that other users can quickly understand the product, and avoid users from describing and introducing the same product multiple times. Based on this, in the embodiment of the present application, the sharing of the conversation message of the target conversation can be realized.
在实际应用中,用户可通过触发针对目标会话包括的至少一条目标会话消息的分享指令,终端在接收到该分享指令时,执行至少一条会话消息的分享操作。该至少一条目标会话消息包括历史会话消息、和在未来时段内所发布会话消息中至少之一。In practical applications, the user may trigger a sharing instruction for at least one target conversation message included in the target conversation, and the terminal performs a sharing operation of at least one conversation message when receiving the sharing instruction. The at least one target session message includes at least one of a historical session message and a session message published in a future period.
在一些实施例中,终端可通过如下方式接收到针对目标会话包括的至少一条目标会话消息的分享指令:呈现目标会话对应的分享功能项;基于分享功能项,接收到针对目标会话包括的至少一条目标会话消息的分享指令。In some embodiments, the terminal may receive a sharing instruction for at least one target session message included in the target session in the following manner: present a sharing function item corresponding to the target session; based on the sharing function item, receive at least one message included in the target session The sharing instruction of the target conversation message.
在实际应用中,上述目标会话包括的至少一条目标会话消息的分享指令,可以通过分享功能项触发,作为示例,终端可呈现目标会话对应的分享功能项,从而基于分享功能项,接收到针对目标会话包括的至少一条目标会话消息的分享指令。在另一实施例中,上述目标会话包括的至少一条目标会话消息的分享指令,还可以通过语音指令的方式触发,比如该语音指令可以是“将会话消息XX进行分享”。In practical applications, the sharing instruction of at least one target session message included in the target session can be triggered by a sharing function item. As an example, the terminal can present the sharing function item corresponding to the target session, so that based on the sharing function item, the target A sharing instruction of at least one target session message included in the session. In another embodiment, the sharing instruction of at least one target conversation message included in the above-mentioned target conversation can also be triggered by a voice command, for example, the voice command can be "share the conversation message XX".
在一些实施例中,目标会话消息为目标会话包括的历史会话消息,终端可通过如下方式呈现目标会话对应的分享功能项:在目标会话的会话界面中,呈现目标会话包括的至少一条历史会话消息;响应于针对至少一条历史会话消息中目标历史会话消息的选择操作,呈现目标会话对应的分享功能项;In some embodiments, the target session message is a historical session message included in the target session, and the terminal may present the sharing function item corresponding to the target session in the following manner: In the session interface of the target session, present at least one historical session message included in the target session ; In response to a selection operation on a target historical session message in at least one historical session message, present a sharing function item corresponding to the target session;
相应的,终端可通过如下方式基于分享功能项,接收到针对目标会话包括的至少一条目标会话消息的分享指令:响应于针对分享功能项的触发操作,接收到针对目标会话包括的目标历史会话消息的分享指令。Correspondingly, the terminal may receive a sharing instruction for at least one target session message included in the target session based on the sharing function item in the following manner: in response to a trigger operation for the sharing function item, receiving the target history session message included in the target session share command.
在实际应用中,当目标会话消息为目标会话包括的历史会话消息时,可通过触发针对历史会话消息的选择以呈现目标会话对应的分享功能项。在实际实施时,终端在在目标会话的会话界面中,呈现目标会话包括的至少一条历史会话消息,当接收到针对至少一条历史会话消息中目标历史会话消息的选择操作时,则呈现目标会话对应的分享功能项。如此,用户可通过触发针对分享功能项的触发操作,触发分享指令,即终端响应于针对分享功能项的触发操作,接收到针对目标会话包括的目标历史会话消息的分享指令。In practical applications, when the target session message is a historical session message included in the target session, the selection of the historical session message may be triggered to present the sharing function item corresponding to the target session. In actual implementation, the terminal presents at least one historical session message included in the target session in the session interface of the target session, and when receiving a selection operation for the target historical session message in the at least one historical session message, it presents the The share feature item. In this way, the user can trigger the sharing instruction by triggering the triggering operation on the sharing function item, that is, the terminal receives the sharing instruction on the target historical session message included in the target session in response to the triggering operation on the sharing function item.
作为示例,参见图4,图4是本申请实施例提供的分享功能项的显示示意图。这里,终端在目标会话的会话界面中,呈现目标会话包括的至少一条历史会话消息(包括会话消息1-4),如图4中(1)所示;响应于针对目标历史会话消息(即会话消息1-3)的选择操作,呈现目标会话对应的分享功能项,如图4中(2)所示。As an example, refer to FIG. 4 , which is a schematic display of sharing function items provided by the embodiment of the present application. Here, the terminal presents at least one historical session message (including session messages 1-4) included in the target session in the session interface of the target session, as shown in (1) in FIG. 4 ; The selection operation of message 1-3) presents the sharing function item corresponding to the target session, as shown in (2) in FIG. 4 .
在一些实施例中,目标会话消息为目标会话包括的历史会话消息,终端可通过如下方式呈现目标会话对应的分享功能项:在目标会话的会话界面或会话设置界面中,呈现目标会话对应的分享功能项;In some embodiments, the target session message is the historical session message included in the target session, and the terminal can present the sharing function item corresponding to the target session in the following manner: in the session interface or session setting interface of the target session, present the sharing function item corresponding to the target session function item;
相应的,终端可通过如下方式基于分享功能项,接收到针对目标会话包括的至少一条目标会话消息的分享指令:响应于针对分享功能项的触发操作,呈现目标会话包括的至少一条历史会话消息;响应于针对至少一条历史会话消息中目标历史会话消息的选择操作,接收到针对目标会话包括的目标历史会话消息的分享指令。Correspondingly, the terminal may receive a sharing instruction for at least one target session message included in the target session based on the sharing function item in the following manner: in response to a trigger operation for the sharing function item, present at least one historical session message included in the target session; In response to a selection operation for a target historical conversation message in at least one historical conversation message, a sharing instruction for a target historical conversation message included in the target conversation is received.
在实际应用中,当目标会话消息为目标会话包括的历史会话消息时,分享功能项还可以显示于目标会话的会话界面或者会话设置界面中。此时,用户可以通过该分享功能项对待分享的历史会话消息进行选择。当终端接收到针对分享功能项的触发操作时,呈现目标会话包括的至少一条历史会话消息,响应于针对至少一条历史会话消息中目标历史会话消息的选择操作,则接收到针对目标会话包括的目标历史会话消息的分享指令。In practical applications, when the target session message is a historical session message included in the target session, the sharing function item may also be displayed on the session interface or session setting interface of the target session. At this time, the user can select the historical conversation message to be shared through the sharing function item. When the terminal receives the trigger operation for the sharing function item, it presents at least one historical session message included in the target session, and in response to the selection operation for the target historical session message in the at least one historical session message, receives the target message included in the target session Share command for historical conversation messages.
步骤102:响应于分享指令,生成至少一条目标会话消息对应的分享标识,并呈现分享标识。Step 102: In response to the sharing instruction, generate a sharing identifier corresponding to at least one target conversation message, and present the sharing identifier.
在一些实施例中,终端在接收到分享指令后,确定该目标会话中的会话消息是否可分享;当目标会话中的会话消息可分享时,则响应于分享指令,生成并呈现至少一条目标会话消息对应的分享标识;当目标会话中的会话消息不可分享时,则可以呈现用于提示目标会话中的会话消息不可分享的提示信息。In some embodiments, after receiving the sharing instruction, the terminal determines whether the session message in the target session can be shared; when the session message in the target session can be shared, then generates and presents at least one target session A sharing identifier corresponding to the message; when the conversation message in the target conversation cannot be shared, prompt information for prompting that the conversation message in the target conversation cannot be shared may be presented.
在实际实施时,该目标会话的会话消息是否可分享,可基于用户(比如目标会话的群主、管理员、会话消息的发布者等)的设置实现。作为示例,可在目标会话(单聊会话或者群聊会话)的会话设置界面中呈现分享设置功能项,该分享设置功能项可以为用于设置目标会话的会话消息是否可分享的功能项,比如在群组会话的会话设置界面中,管理员或者群主可基于分享设置功能项设置目标会话的会话消息是否可分享;该分享设置功能项还可以是用于设置目标会话中会话成员的会话消息是否可分享,比如在群组会话中,会话成员可在群组会话的会话设置界面中,基于分享设置功能项设置会话成员个人的会话消息是否可分享。即,在本申请实施中,所分享的目标会话消息需为用户设置的可分享的会话消息,如此,能够保护用户隐私。In actual implementation, whether the conversation message of the target conversation can be shared can be realized based on the settings of the user (such as the group owner, administrator, publisher of the conversation message, etc. of the target conversation). As an example, a sharing setting function item may be presented in the session setting interface of the target session (single chat session or group chat session), and the sharing setting function item may be a function item for setting whether the session message of the target session can be shared, such as In the session setting interface of the group session, the administrator or group owner can set whether the session message of the target session can be shared based on the sharing setting function item; the sharing setting function item can also be used to set the session message of the session members in the target session Whether it can be shared, for example, in a group conversation, the conversation member can set whether the personal conversation message of the conversation member can be shared based on the sharing setting function item in the conversation setting interface of the group conversation. That is, in the implementation of the present application, the shared target conversation message needs to be a shareable conversation message set by the user, so that the privacy of the user can be protected.
在另外一些实施例中,终端在接收到分享指令后,还可向分享授权用户发送分享许可请求,当接收到该分享授权用户针对该分享许可请求的确认操作时,生成并呈现至少一条目标会话消息对应的分享标识。在实际实施时,该分享授权用户包括目标会话的会话群主(管理员)、目标会话消息的发布者中至少之一。即,在本申请实施中,目标会话消息的分享需获得用户许可和授权后,才生成相应的分享标识,如此,能够保护用户隐私。In some other embodiments, after receiving the sharing instruction, the terminal can also send a sharing permission request to the sharing authorized user, and when receiving the sharing authorization user's confirmation operation on the sharing permission request, generate and present at least one target session The sharing ID corresponding to the message. In actual implementation, the authorized user for sharing includes at least one of the group owner (administrator) of the target session and the publisher of the message of the target session. That is, in the implementation of the present application, the sharing of the target conversation message needs to obtain the permission and authorization of the user before generating the corresponding sharing identifier. In this way, the privacy of the user can be protected.
这里,终端在接收到针对目标会话包括的至少一条目标会话消息的分享指令后,响应于该分享指令,生成该至少一条目标会话消息对应的分享标识,并呈现分享标识。在实际应用中,该分享标识可以是分享图形码(比如二维码)、分享链接、分享口令、分享序列号中之一。Here, after receiving a sharing instruction for at least one target session message included in the target session, the terminal generates a sharing identifier corresponding to the at least one target session message in response to the sharing instruction, and presents the sharing identifier. In practical applications, the sharing identifier may be one of a sharing graphic code (such as a two-dimensional code), a sharing link, a sharing password, and a sharing serial number.
为了让分享更直观,本申请实施例可以在会话界面的特定区域显示会话消息已被分享这个事实。In order to make the sharing more intuitive, the embodiment of the present application may display the fact that the conversation message has been shared in a specific area of the conversation interface.
在一些实施例中,终端可通过如下方式响应于分享指令,生成至少一条目标会话消息对应的分享标识:当分享标识包括分享图形码时,响应于分享指令,生成至少一条目标会话消息对应的分享图片,分享图片中至少包括:至少一条目标会话消息对应的分享图形码;其中,分享图形码,用于当终端触发针对分享图形码的扫描操作时,呈现至少一条目标会话消息;相应的,终端可通过如下方式呈现分享标识:呈现包括分享图形码的分享图片。In some embodiments, the terminal may generate the sharing identifier corresponding to at least one target conversation message in the following manner in response to the sharing instruction: when the sharing identifier includes a sharing graphic code, in response to the sharing instruction, generate the sharing identifier corresponding to at least one target conversation message The picture, the shared picture at least includes: at least one shared graphic code corresponding to the target session message; wherein, the shared graphic code is used to present at least one target session message when the terminal triggers a scanning operation for the shared graphic code; correspondingly, the terminal The sharing logo may be presented in the following manner: presenting a sharing picture including a sharing graphic code.
这里,上述生成的分享标识包括分享图形码,终端在接收到分享指令后,响应于分享指令,生成至少一条目标会话消息对应的分享图片,将该分享图片作为分享标识,并呈现该分享图片。Here, the generated sharing identifier includes a sharing graphic code. After receiving the sharing instruction, the terminal generates a shared image corresponding to at least one target conversation message in response to the sharing instruction, uses the shared image as the sharing identifier, and presents the shared image.
在实际应用中,该分享图片中包括至少一条目标会话消息对应的分享图形码(比如二维码、条形码等)。终端在接收到针对该分享图形码的扫描操作时,则显示分享图形码对应的至少一条目标会话消息。在实际实施时,针对该分享图形码的扫描操作可以是用户面对面实现的,也可以是将包括分享图形码的分享图片通过即时通信客户端发送至其他用户,由其他用户在个人终端上实现的。In practical applications, the shared picture includes at least one shared graphic code (such as a QR code, a bar code, etc.) corresponding to the target conversation message. When the terminal receives a scanning operation for the shared graphic code, it displays at least one target conversation message corresponding to the shared graphic code. In actual implementation, the scanning operation for the shared graphic code can be realized by the user face to face, or the shared picture including the shared graphic code can be sent to other users through the instant messaging client, and the other users can realize it on the personal terminal .
在一些实施例中,分享图片中还包括分享图形码的关联信息,终端可通过如下方式呈现包括分享图形码的分享图片:呈现包括分享图形码以及关联信息的分享图片;其中,关联信息包括以下至少之一:目标会话的会话标识、至少一条目标会话消息、目标会话消息的数量、以及目标会话消息的发布对象的对象标识。这里,目标会话的会话标识用于指示所分享的目标会话消息的来源,该目标会话的会话标识可以是目标会话的账号(如群组账号)、目标会话的名称(如群组名称)等。In some embodiments, the shared picture also includes related information of the shared graphic code, and the terminal can present the shared picture including the shared graphic code in the following manner: presenting the shared picture including the shared graphic code and related information; wherein, the related information includes the following At least one of: a session ID of the target session, at least one target session message, the number of target session messages, and an object ID of an object to which the target session message is published. Here, the session ID of the target session is used to indicate the source of the shared target session message, and the session ID of the target session may be an account of the target session (such as a group account), a name of the target session (such as a group name), and the like.
在实际应用中,上述包括分享图形码的分享图片还包括分享图形码的关联信息。该关联信息可以包括以下至少之一:目标会话的会话标识(比如群组账号信息、群组名称、单聊会话的会话对象的账号信息等)、至少一条目标会话消息(如目标会话消息的消息内容)、目标会话消息的数量、以及目标会话消息的发布对象的对象标识(比如对象的头像、名称、账号等)。In practical applications, the above-mentioned shared picture including the shared graphic code also includes associated information of the shared graphic code. The association information may include at least one of the following: a session identifier of the target session (such as group account information, a group name, account information of a session object of a single-chat session, etc.), at least one target session message (such as a message of the target session message) content), the quantity of the target session message, and the object identifier of the target session message publishing object (such as the object's avatar, name, account number, etc.).
在实际实施时,分享图片中所显示的关联信息可以由用户自定义,用户可以根据需求选择待显示的目标关联信息,比如选择部分目标会话消息、目标会话的会话标识等作为关联信息。In actual implementation, the associated information displayed in the shared picture can be customized by the user, and the user can select the target associated information to be displayed according to requirements, such as selecting part of the target session message, the session identifier of the target session, etc. as the associated information.
在一些实施例中,终端可呈现对应分享图片的存储功能项;当接收到针对存储功能项的触发操作时,存储分享图片。In some embodiments, the terminal may present a storage function item corresponding to the shared picture; when a trigger operation for the storage function item is received, the shared picture is stored.
在实际应用中,终端可以提供分享图片对应的存储功能项,供用户基于该存储功能项存储分享图片,以根据个人需求通过符合需求的分享方式(该分享方式不限定即时通信客户端),将该分享图片分享至其他用户。In practical applications, the terminal can provide a storage function item corresponding to the shared picture, for the user to store the shared picture based on the storage function item, and use a sharing method that meets the demand according to personal needs (the sharing method is not limited to the instant messaging client), and the The shared picture is shared with other users.
作为示例,参见图5,图5是本申请实施例提供的分享图片的显示示意图。这里,终端在目标会话的会话界面中,呈现目标会话包括的至少一条历史会话消息(包括会话消息1-4),如图5中(1)所示;响应于针对目标会话消息(即会话消息1-3)的选择操作,呈现目标会话对应的分享功能项,如图5中(2)所示;响应于基于分享功能项触发的针对目标历史会话消息的分享指令,呈现分享图片,该分享图片包括分享图形码、以及分享图形码的关联信息,该关联信息为目标会话消息(包括会话消息1-3)、目标会话消息的数量“4”、目标会话消息的发布对象的对象标识“头像”、群组账号信息“123456”、群组名称“X X学习群”,如图5中(3)所示。As an example, refer to FIG. 5 , which is a schematic display diagram of a shared picture provided by an embodiment of the present application. Here, the terminal presents at least one historical session message (including session messages 1-4) included in the target session in the session interface of the target session, as shown in (1) in Figure 5; The selection operation of 1-3) presents the sharing function item corresponding to the target session, as shown in (2) in FIG. The picture includes the shared graphic code and the associated information of the shared graphic code. The associated information is the target session message (including session messages 1-3), the number of target session messages "4", and the target session message's object identifier "avatar ", group account information "123456", group name "XX learning group", as shown in (3) in Figure 5.
作为示例,参见图6,图6是本申请实施例提供的基于分享图片查看目标会话消息的显示示意图。这里,用户通过社交社区的方式,将分享图片分享至社交社区中的其他用户,终端在社交社区的内容界面中显示分享图片,该分享图片包括分享图形码(即二维码),如图6中(1)所示;当接收到分享图片的触发操作时,显示包括分享图形码的分享图片,如图6中(2)所示;当接收到针对分享图形码(即二维码)的扫描操作时,终端呈现分享图形码所指示的网页,通过网页显示分享图形码对应的至少一条目标会话消息(包括会话消息1-3),如图6中(3)所示。As an example, refer to FIG. 6 , which is a schematic view of displaying a target conversation message based on a shared picture provided by an embodiment of the present application. Here, the user shares the shared picture with other users in the social community through the social community, and the terminal displays the shared picture in the content interface of the social community. The shared picture includes a shared graphic code (ie, a two-dimensional code), as shown in Figure 6 Shown in (1); when receiving the trigger operation of sharing pictures, display the shared picture including the shared graphic code, as shown in (2) in Figure 6; when receiving the shared graphic code (ie two-dimensional code) During the scanning operation, the terminal presents the webpage indicated by the shared graphic code, and displays at least one target session message (including session messages 1-3) corresponding to the shared graphic code through the webpage, as shown in (3) in FIG. 6 .
在一些实施例中,终端可通过如下方式实现目标会话消息的加密分享:方法还包括:呈现对应分享标识的加密功能项;基于加密功能项,接收到用于对至少一条目标会话消息进行加密的加密信息;响应于针对加密信息的确认操作,基于加密信息对目标会话消息进行加密,并呈现加密后的至少一条目标会话消息对应的分享标识。In some embodiments, the terminal can realize encrypted sharing of the target conversation message in the following manner: the method further includes: presenting an encryption function item corresponding to the sharing identifier; Encrypted information: in response to the confirmation operation on the encrypted information, encrypt the target session message based on the encrypted information, and present a shared identifier corresponding to at least one encrypted target session message.
这里,终端可以实现对目标会话消息的加密分享。在本申请实施例中,可在生成至少一条目标会话消息对应的分享标识后,对目标会话消息进行加密。在实际实施时,终端呈现对应该分享标识的加密功能项,用户可以基于加密功能项对目标会话消息进行加密。Here, the terminal can implement encrypted sharing of the target session message. In this embodiment of the present application, the target session message may be encrypted after at least one sharing identifier corresponding to the target session message is generated. During actual implementation, the terminal presents an encryption function item corresponding to the shared identifier, and the user can encrypt the target conversation message based on the encryption function item.
当终端接收到针对加密功能项的触发操作时,呈现加密信息输入界面,该加密信息输入界面能够支持输入数字类、语音类、图形类等加密信息,当接收到基于加密信息输入界面输入的加密信息时,则表征基于加密功能项,接收到用于对至少一条目标会话消息进行加密的加密信息。此时,若接收到针对加密信息的确认操作,则基于加密信息对目标会话消息进行加密。同时,终端还呈现加密后的至少一条目标会话消息对应的分享标识,在实际实施时,由于目标会话消息处于加密状态,此时呈现的分享标识可以是不包含目标会话消息的,比如分享标识为分享图片时,那么该分享图片可以不显示目标会话消息,或者对分享图片中目标会话消息进行遮挡处理。When the terminal receives a trigger operation for an encrypted function item, it presents an encrypted information input interface. The encrypted information input interface can support the input of encrypted information such as numbers, voices, and graphics. When receiving encrypted information based on the encrypted information input interface information, it means that based on the encryption function item, encryption information for encrypting at least one target session message is received. At this time, if the confirmation operation for the encrypted information is received, the target session message is encrypted based on the encrypted information. At the same time, the terminal also presents the shared ID corresponding to at least one encrypted target session message. In actual implementation, since the target session message is in an encrypted state, the shared ID presented at this time may not contain the target session message. For example, the shared ID is When sharing a picture, the shared picture may not display the target conversation message, or block the target conversation message in the shared picture.
作为示例,参见图7,图7是本申请实施例提供的目标会话消息的加密流程示意图。这里,终端呈现至少一条目标会话消息对应的分享标识,该分享标识为包含分享图形码的分享图片,并呈现对应分享标识的加密功能项“加密”,如图7中(1)所示;响应于针对加密功能项的触发操作,呈现加密信息输入界面,并在加密信息输入界面中呈现供输入加密信息的输入功能项、以及确认功能项“完成”和取消功能项“取消”,接收到基于输入功能项输入的加密信息“1234”,如图7中(2)所示;响应于基于确认功能项“完成”触发的针对加密信息的确认操作,基于加密信息对目标会话消息进行加密,并呈现加密后的至少一条目标会话消息对应的分享标识,即目标会话消息被遮盖后的分享图片,如图7中(3)所示。As an example, refer to FIG. 7 , which is a schematic diagram of an encryption process of a target session message provided by an embodiment of the present application. Here, the terminal presents at least one sharing identifier corresponding to the target conversation message, the sharing identifier is a shared picture containing a sharing graphic code, and presents the encryption function item "encryption" corresponding to the sharing identifier, as shown in (1) in Figure 7; the response For the trigger operation of the encrypted function item, an encrypted information input interface is presented, and an input function item for inputting encrypted information, as well as a confirmation function item "Complete" and a cancellation function item "Cancel" are presented in the encrypted information input interface. The encrypted information "1234" input by the input function item, as shown in (2) in Figure 7; in response to the confirmation operation for the encrypted information triggered based on the confirmation function item "complete", the target session message is encrypted based on the encrypted information, and The shared identification corresponding to at least one encrypted target conversation message is presented, that is, the shared picture after the target conversation message is covered, as shown in (3) in FIG. 7 .
在一些实施例中,终端可呈现对应分享标识的解密功能项;基于解密功能项,接收到针对至少一条目标会话消息的解密信息;响应于针对解密信息的确认操作,当基于加密信息对解密信息验证通过后,基于解密信息对至少一条目标会话消息进行解密,并呈现解密后的至少一条目标会话消息对应的分享标识。In some embodiments, the terminal may present a decryption function item corresponding to the shared identifier; based on the decryption function item, decryption information for at least one target conversation message is received; in response to the confirmation operation for the decryption information, when decrypting the information based on the encryption information After the verification is passed, at least one target session message is decrypted based on the decryption information, and a sharing identifier corresponding to the decrypted at least one target session message is presented.
在实际应用中,当基于上述加密功能项对目标会话消息进行加密后,用户还可能会想要取消掉此次加密操作。在本申请实施例中,终端在生成加密后的至少一条目标会话消息对应的分享标识后,还提供对应分享标识的解密功能项。用户可基于该解密功能项实现对已加密的目标会话消息的解密。In practical applications, after the target session message is encrypted based on the above encryption function items, the user may also want to cancel the encryption operation. In the embodiment of the present application, after the terminal generates the sharing identifier corresponding to at least one encrypted target conversation message, it further provides a decryption function item corresponding to the sharing identifier. The user can realize the decryption of the encrypted target conversation message based on the decryption function item.
当终端接收到针对解密功能项的触发操作时,呈现解密信息输入界面,该解密信息输入界面能够支持输入数字类、语音类、图形类等解密信息,当接收到基于解密信息输入界面输入的解密信息时,则表征基于解密功能项,接收到用于对至少一条目标会话消息进行解密的解密信息。此时,若接收到针对解密信息的确认操作,则基于加密信息对解密信息进行验证,比如验证加密信息和解密信息是否一致,若一致则表征验证通过。当基于加密信息对解密信息验证通过后,基于解密信息对至少一条目标会话消息进行解密,并呈现解密后的至少一条目标会话消息对应的分享标识。在实际实施时,由于目标会话消息处于解密状态,此时呈现的分享标识可以是包含目标会话消息的,比如分享标识为分享图片时,那么该分享图片可以显示至少部分目标会话消息。When the terminal receives a trigger operation for the decryption function item, it presents a decryption information input interface, which can support the input of decryption information such as numbers, voices, graphics, etc. information, it means that based on the decryption function item, decryption information for decrypting at least one target session message is received. At this time, if a confirmation operation for the decrypted information is received, the decrypted information is verified based on the encrypted information, for example, whether the encrypted information is consistent with the decrypted information is verified, and if they are consistent, the verification is passed. After the decrypted information is verified based on the encrypted information, at least one target session message is decrypted based on the decrypted information, and a sharing identifier corresponding to the decrypted at least one target session message is presented. In actual implementation, since the target conversation message is in a decrypted state, the shared identification presented at this time may contain the target conversation message. For example, if the shared logo is a shared picture, then the shared picture may display at least part of the target conversation message.
作为示例,参见图8,图8是本申请实施例提供的目标会话消息的解密流程示意图。这里,终端呈现加密后的至少一条目标会话消息对应的分享标识,该分享标识为包含分享图形码的分享图片,该分享图片中的目标会话消息被遮盖,同时呈现对应分享标识的解密功能项“取消加密”,如图8中(1)所示;响应于针对解密功能项的触发操作,呈现解密信息输入界面,并在解密信息输入界面中呈现供输入解密信息的输入功能项、以及确认功能项“完成”和取消功能项“取消”,接收到基于输入功能项输入的解密信息“1234”,如图8中(2)所示;响应于基于确认功能项“完成”触发的针对解密信息的确认操作,基于加密信息对解密信息进行验证,当验证通过后,基于解密信息对至少一条目标会话消息进行解密对目标会话消息进行加密,并呈现解密后的至少一条目标会话消息对应的分享标识,即包括至少部分目标会话消息的分享图片,如图8中(3)所示。As an example, refer to FIG. 8 , which is a schematic diagram of a decryption process of a target session message provided by an embodiment of the present application. Here, the terminal presents the shared identification corresponding to at least one encrypted target conversation message, the shared identification is a shared picture containing a shared graphic code, the target conversation message in the shared picture is covered, and at the same time presents the decryption function item " Cancel encryption", as shown in (1) in Figure 8; in response to the trigger operation for the decryption function item, a decryption information input interface is presented, and an input function item for input decryption information and a confirmation function are presented in the decryption information input interface Item "complete" and cancel function item "cancel", receive the decryption information "1234" based on input function item input, as shown in (2) in Figure 8; respond to the decryption information triggered based on the confirmation function item "complete" The confirmation operation is to verify the decrypted information based on the encrypted information. When the verification is passed, decrypt at least one target session message based on the decrypted information, encrypt the target session message, and present the shared identity corresponding to the decrypted at least one target session message , that is, a shared picture including at least part of the target conversation message, as shown in (3) in FIG. 8 .
在一些实施例中,终端还可通过如下方式实现目标会话消息的加密分享:响应于分享指令,呈现用于对至少一条目标会话消息进行加密的加密界面;基于加密界面,接收到针对至少一条目标会话消息的加密信息;响应于针对加密信息的确认操作,基于加密信息对至少一条目标会话消息进行加密,生成加密后的至少一条目标会话消息对应的分享标识。In some embodiments, the terminal can also realize encrypted sharing of the target conversation message in the following manner: in response to the sharing instruction, an encryption interface for encrypting at least one target conversation message is presented; Encrypted information of the session message; in response to the confirmation operation for the encrypted information, encrypt at least one target session message based on the encrypted information, and generate a sharing identifier corresponding to the encrypted at least one target session message.
这里,终端可以实现对目标会话消息的加密分享。在本申请实施例中,可在生成至少一条目标会话消息对应的分享标识之前,对目标会话消息进行加密。在实际实施时,当终端接收到分享指令时,响应于分享指令,呈现用于对至少一条目标会话消息进行加密的加密界面,该加密界面用于供输入数字类、语音类、图形类等加密信息。当基于加密界面,接收到针对至少一条目标会话消息的加密信息时,响应于针对加密信息的确认操作,基于加密信息对至少一条目标会话消息进行加密,并生成加密后的至少一条目标会话消息对应的分享标识。在实际实施时,由于目标会话消息处于加密状态,此时生成的分享标识可以是不包含目标会话消息的,比如分享标识为分享图片时,那么该分享图片可以不显示目标会话消息,或者对分享图片中目标会话消息进行遮挡处理。Here, the terminal can implement encrypted sharing of the target session message. In the embodiment of the present application, the target session message may be encrypted before generating the sharing identifier corresponding to at least one target session message. In actual implementation, when the terminal receives the sharing instruction, in response to the sharing instruction, an encryption interface for encrypting at least one target conversation message is presented, and the encryption interface is used for encrypting input numbers, voice, graphics, etc. information. When receiving encrypted information for at least one target session message based on the encryption interface, in response to a confirmation operation for the encrypted information, encrypt at least one target session message based on the encrypted information, and generate at least one encrypted target session message corresponding to The share ID of the . In actual implementation, since the target session message is in an encrypted state, the generated sharing ID may not contain the target session message. The target conversation message in the picture is occluded.
在一些实施例中,当至少一条目标会话消息处于加密状态时,终端可响应于针对分享标识的识别操作,呈现消息解密界面;接收到基于消息解密界面输入的解密信息;响应于针对解密信息的确认操作,当解密信息满足解密条件时,呈现处于解密状态的至少一条目标会话消息。In some embodiments, when at least one target conversation message is in an encrypted state, the terminal may present a message decryption interface in response to the identification operation for the shared identifier; receive the decryption information input based on the message decryption interface; respond to the decryption information A confirmation operation, when the decrypted information satisfies the decryption condition, at least one target session message in a decrypted state is presented.
这里,当该至少一条目标会话消息处于加密状态时,比如基于上述加密功能项进行了加密,用户在查看处于加密状态的目标会话消息时,可通过如下方式实现:终端(比如目标会话消息的分享者终端、或者发送指令所指示的目标对象的终端)接收到针对分享标识的识别操作,比如当分享标识为分享图形码时,接收到针对分享图形码的扫描操作,当分享标识为分享链接时,接收到针对分享链接的访问操作。此时,终端响应于针对分享标识的识别操作,呈现消息解密界面,该消息解密界面用于供输入针对目标会话消息的解密信息。Here, when the at least one target session message is in an encrypted state, for example, it is encrypted based on the above-mentioned encryption function item, when the user checks the target session message in the encrypted state, it can be realized in the following manner: the terminal (such as the sharing of the target session message) The user terminal, or the terminal of the target object indicated by the instruction) receives the recognition operation for the sharing logo, for example, when the sharing logo is a sharing graphic code, the scanning operation for the sharing graphic code is received, and when the sharing logo is a sharing link , received an access action for the shared link. At this point, the terminal presents a message decryption interface in response to the identification operation for the shared identifier, and the message decryption interface is used for inputting decryption information for the target session message.
当基于消息解密界面接收到输入的解密信息时,响应于针对解密信息的确认操作,判断该解密信息是否满足解密条件,该解密条件可以是解密信息和加密信息一致,也可以是解密信息和加密信息不一致。当确定解密信息满足解密条件时,呈现处于解密状态的至少一条目标会话消息。具体地,终端呈现分享标识所指示的网页,通过网页显示分享标识对应的、处于解密状态的至少一条目标会话消息。When the input decryption information is received based on the message decryption interface, in response to the confirmation operation for the decryption information, it is judged whether the decryption information meets the decryption condition. The decryption condition can be that the decryption information is consistent with the encryption information, or that the decryption information and the encryption information Information is inconsistent. When it is determined that the decrypted information satisfies the decryption condition, at least one target session message in a decrypted state is presented. Specifically, the terminal presents a webpage indicated by the sharing identifier, and displays at least one target conversation message corresponding to the sharing identifier and in a decrypted state through the webpage.
作为示例,参见图9,图9是本申请实施例提供的查看处于加密状态的目标会话消息的示意图。这里,分享标识为包括分享图形码的分享图片,如图9中(1)所示;响应于针对分享图形码的扫描操作,呈现消息解密界面,该消息解密界面包括供输入解密信息的输入功能项、以及确认功能项“完成”和取消功能项“取消”,接收到基于输入功能项输入的解密信息“1234”,如图9中(2)所示;响应于基于确认功能项“完成”触发的针对解密信息的确认操作,当解密信息满足解密条件时,呈现处于解密状态的至少一条目标会话消息,如图9中(3)所示。As an example, refer to FIG. 9 , which is a schematic diagram of viewing a target session message in an encrypted state provided by an embodiment of the present application. Here, the sharing logo is a shared picture including a shared graphic code, as shown in (1) in Figure 9; in response to the scanning operation for the shared graphic code, a message decryption interface is presented, and the message decryption interface includes an input function for inputting decrypted information Item, and confirmation function item " finish " and cancellation function item " cancel ", receive the decryption information " 1234 " based on input function item input, as shown in (2) among Fig. 9; The triggered confirmation operation for the decrypted information, when the decrypted information satisfies the decryption condition, presents at least one target session message in the decrypted state, as shown in (3) in FIG. 9 .
在一些实施例中,当针对分享标识的识别操作的触发对象为目标会话消息的分享者时,终端可呈现解密信息对应的修改功能项;基于修改功能项,接收输入的目标解密信息;响应于针对目标解密信息的确认操作,将解密信息调整为目标解密信息。In some embodiments, when the trigger object of the identification operation for the sharing identifier is the sharer of the target conversation message, the terminal may present the modification function item corresponding to the decryption information; based on the modification function item, receive the input target decryption information; respond to For the confirmation operation of the target decrypted information, the decrypted information is adjusted to the target decrypted information.
这里,当该至少一条目标会话消息处于加密状态时,当基于分享标识查看目标会话消息时,当针对分享标识的识别操作的触发对象为目标会话消息的分享者时,即目标会话消息的分享者查看目标会话消息时,终端除了显示处于解密状态的至少一条目标会话消息,还可以呈现用于对加密的目标会话消息进行解密的解密信息。Here, when the at least one target session message is in an encrypted state, when viewing the target session message based on the sharing ID, when the trigger object of the identification operation for the sharing ID is the sharer of the target session message, that is, the sharer of the target session message When viewing the target session message, in addition to displaying at least one target session message in a decrypted state, the terminal may also present decryption information for decrypting the encrypted target session message.
在本申请实施例中,终端还呈现解密信息对应的修改功能项,分享者用户可基于该修改功能项对解密信息进行修改。当基于修改功能项,接收到输入的目标解密信息时,响应于针对目标解密信息的确认操作,将解密信息调整为目标解密信息。在实际应用中,该目标解密信息也是用户对目标会话消息进行加密的新加密信息。In the embodiment of the present application, the terminal also presents a modification function item corresponding to the decrypted information, and the sharer user can modify the decrypted information based on the modification function item. When the input target decryption information is received based on the modification function item, the decryption information is adjusted to the target decryption information in response to a confirmation operation for the target decryption information. In practical applications, the target decryption information is also new encrypted information for the user to encrypt the target session message.
在另外一些实施例中,上述用于对加密的目标会话消息进行解密的解密信息、解密信息对应的修改功能项还可以在分享者的目标会话的会话界面中呈现,分享者用户同样可以基于会话界面查看解密信息以及对解密信息进行修改。In some other embodiments, the above-mentioned decryption information for decrypting the encrypted target conversation message and the modification function items corresponding to the decryption information can also be presented in the conversation interface of the sharer's target conversation, and the sharer user can also View the decrypted information and modify the decrypted information on the interface.
作为示例,参见图10,图10是本申请实施例提供的解密信息的修改流程示意图。这里,终端在分享者的目标会话的会话界面中呈现用于对加密的目标会话消息进行解密的解密信息“1234”、以及解密信息对应的修改功能项“修改”,如图10中(1)所示;响应于针对修改功能项“修改”的触发操作,呈现解密信息修改界面,接收到基于解密信息修改界面输入的目标解密信息“4567”,如图10中(2)所示;响应于针对目标解密信息“4567”的确认操作,将解密信息调整为目标解密信息,并在分享者的目标会话的会话界面中呈现目标解密信息“4567”,如图10中(3)所示。As an example, refer to FIG. 10 , which is a schematic diagram of a modification flow of the decryption information provided by the embodiment of the present application. Here, the terminal presents the decryption information "1234" for decrypting the encrypted target session message in the session interface of the sharer's target session, and the modification function item "Modify" corresponding to the decryption information, as shown in (1) in Figure 10 As shown; in response to the trigger operation for modifying the function item "modify", the decryption information modification interface is presented, and the target decryption information "4567" input based on the decryption information modification interface is received, as shown in (2) in Figure 10; in response to For the confirmation operation of the target decryption information "4567", the decryption information is adjusted to the target decryption information, and the target decryption information "4567" is presented in the session interface of the sharer's target session, as shown in (3) in Figure 10.
在一些实施例中,终端可通过如下方式实现目标会话消息的直播分享:呈现对应分享标识的消息直播功能项;响应于针对消息直播功能项的触发操作,呈现消息直播设置界面,消息直播设置界面用于供设置目标会话的消息直播时长;响应于基于消息直播界面设置的目标消息直播时长,呈现包括提示信息的分享标识,提示信息用于指示目标会话处于消息直播状态;其中,至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,目标会话中所发布的会话消息,直播开始时间点为分享标识的呈现时间点,直播结束时间点处于直播开始时间点之后,与直播开始时间点间隔目标消息直播时长。In some embodiments, the terminal can realize the live sharing of the target conversation message in the following manner: presenting the message live broadcast function item corresponding to the sharing identifier; responding to the trigger operation for the message live broadcast function item, presenting the message live broadcast setting interface, the message live broadcast setting interface It is used to set the live message duration of the target session; in response to the target message live broadcast time set based on the message live broadcast interface, a sharing logo including prompt information is presented, and the prompt information is used to indicate that the target session is in the message live broadcast state; wherein, at least one target session The message includes: the session message published in the target session during the period from the start time of the live broadcast to the end time of the live broadcast. The duration of the live broadcast of the target message between the start time of the live broadcast.
这里,终端可以实现对目标会话消息的直播分享。在本申请实施例中,在生成目标会话消息对应的分享标识后,呈现对应分享标识的消息直播功能项,用户可基于该消息直播功能项实现对目标会话消息的直播分享。Here, the terminal can implement live sharing of the target conversation message. In the embodiment of the present application, after the sharing identifier corresponding to the target conversation message is generated, the message live broadcast function item corresponding to the sharing identifier is presented, and the user can realize live sharing of the target conversation message based on the message live broadcast function item.
当接收到针对消息直播功能项的触发操作时,呈现消息直播设置界面,该消息直播设置界面用于供设置目标会话的消息直播时长,该消息直播时长可以是有限的设定时长,比如1小时、2小时等,也可以是由用户主动结束消息直播的不定时长。响应于基于消息直播界面设置的目标消息直播时长,呈现包括提示信息的分享标识,以基于该提示信息指示目标会话处于消息直播状态。When a trigger operation for the message live broadcast function item is received, a message live broadcast setting interface is presented. The message live broadcast setting interface is used to set the message live broadcast duration of the target session. The message live broadcast duration can be a limited set duration, such as 1 hour , 2 hours, etc., may also be an indeterminate length of time for the user to actively end the live broadcast of the message. In response to the duration of the live broadcast of the target message set based on the live message interface, a sharing identifier including prompt information is presented to indicate that the target session is in the live message state based on the prompt information.
需要说明的是,该至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,目标会话中所发布的会话消息。该直播开始时间点为分享标识的呈现时间点,该直播结束时间点处于直播开始时间点之后,与直播开始时间点间隔目标消息直播时长。基于此,实现了目标会话的会话消息的直播分享。It should be noted that the at least one target session message includes: session messages published in the target session during the period from the start time point of the live broadcast to the end time point of the live broadcast. The live broadcast start time point is the presentation time point of the sharing identifier, the live broadcast end time point is after the live broadcast start time point, and is separated from the live broadcast start time point by the target message live broadcast duration. Based on this, the live sharing of the conversation message of the target conversation is realized.
在一些实施例中,终端可通过如下方式实现目标会话消息的直播分享:呈现消息直播设置界面,消息直播设置界面用于供设置目标会话的消息直播时长;接收到基于消息直播界面设置的目标消息直播时长;响应于针对目标消息直播时长的确认操作,接收到针对目标会话包括的至少一条目标会话消息的分享指令;其中,至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,目标会话中所发布的会话消息,直播开始时间点为分享指令的触发时间点,直播结束时间点处于直播开始时间点之后,与直播开始时间点间隔目标消息直播时长。In some embodiments, the terminal can realize the live sharing of the target session message in the following manner: presenting the message live broadcast setting interface, the message live broadcast setting interface is used for setting the duration of the message live broadcast of the target session; receiving the target message set based on the message live broadcast interface Live broadcast duration; in response to the confirmation operation for the live broadcast duration of the target message, a sharing instruction for at least one target session message included in the target session is received; wherein, at least one target session message includes: from the live broadcast start time point to the live broadcast end time point During the time period, for the session message published in the target session, the live broadcast start time point is the trigger time point of the sharing command, the live broadcast end time point is after the live broadcast start time point, and the live broadcast duration of the target message is separated from the live broadcast start time point.
这里,终端可以实现对目标会话消息的直播分享。在本申请实施例中,在生成目标会话消息对应的分享标识之前,可以通过触发针对目标会话消息进行直播分享的分享指令。在实际实施时,终端呈现目标会话对应的消息直播设置界面,该消息直播设置界面用于供设置目标会话的消息直播时长,该消息直播时长可以是有限的设定时长,比如1小时、2小时等,也可以是由用户主动结束消息直播的不定时长。接收到基于消息直播界面设置的目标消息直播时长,当接收到针对目标消息直播时长的确认操作时,接收到针对目标会话包括的至少一条目标会话消息的分享指令,该分享指令用于指示对目标会话消息进行直播分享。Here, the terminal can implement live sharing of the target conversation message. In the embodiment of the present application, before the sharing identifier corresponding to the target conversation message is generated, a sharing instruction for live sharing of the target conversation message may be triggered. In actual implementation, the terminal presents a message live broadcast setting interface corresponding to the target session. The message live broadcast setting interface is used to set the message live broadcast duration of the target session. The message live broadcast duration can be a limited set duration, such as 1 hour or 2 hours etc., or the user can actively end the indeterminate duration of the message live broadcast. Receive the target message live broadcast duration set based on the message live broadcast interface, when receiving the confirmation operation for the target message live broadcast duration, receive a sharing instruction for at least one target session message included in the target session, the sharing instruction is used to indicate the target message Chat messages for live sharing.
需要说明的是,该至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,目标会话中所发布的会话消息。该直播开始时间点为分享指令的触发时间点,该直播结束时间点处于直播开始时间点之后,与直播开始时间点间隔目标消息直播时长。基于此,能够实现目标会话的会话消息的直播分享。It should be noted that the at least one target session message includes: session messages published in the target session during the period from the start time point of the live broadcast to the end time point of the live broadcast. The start time point of the live broadcast is the trigger time point of the sharing instruction, the end time point of the live broadcast is after the start time point of the live broadcast, and is separated from the start time point of the live broadcast by the target message live broadcast duration. Based on this, the live sharing of the conversation message of the target conversation can be realized.
在一些实施例中,至少一条目标会话消息包括:从目标会话的历史会话消息中选取的目标历史会话消息;终端可通过如下方式实现目标会话消息的直播分享:呈现对应分享标识的消息直播功能项;接收到基于消息直播功能项触发的消息直播指令;响应于消息直播指令,呈现包括提示信息的分享标识,提示信息用于指示目标会话处于消息直播状态;其中,至少一条目标会话消息还包括:从目标历史会话消息的发布时间点至消息直播状态的结束时间点的时段内,目标会话中所发布的会话消息。In some embodiments, at least one target session message includes: a target historical session message selected from historical session messages of the target session; the terminal can realize live sharing of the target session message by presenting a message live function item corresponding to the sharing identifier Receive a message live broadcast instruction triggered based on the message live broadcast function item; in response to the message live broadcast instruction, present a sharing identification including prompt information, the prompt information is used to indicate that the target session is in a message live broadcast state; wherein, at least one target session message also includes: Conversation messages published in the target session during the period from the release time point of the target historical session message to the end time point of the message live broadcast state.
这里,该至少一条目标会话消息中包括:从目标会话的历史会话消息中选取的目标历史会话消息,目标历史会话消息的选择过程可参见图4。在生成目标历史会话消息对应的分享标识后,呈现对应分享标识的消息直播功能项,当接收到基于消息直播功能项触发的消息直播指令时,响应于消息直播指令,呈现包括提示信息的分享标识,该提示信息用于指示目标会话处于消息直播状态。需要说明的是,该至少一条目标会话消息还包括:从目标历史会话消息的发布时间点至消息直播状态的结束时间点的时段内,目标会话中所发布的会话消息。如此,实现了历史会话消息以及直播会话消息的分享。Here, the at least one target session message includes: a target historical session message selected from historical session messages of the target session. Refer to FIG. 4 for a selection process of the target historical session message. After generating the sharing identifier corresponding to the target historical session message, present the message live broadcast function item corresponding to the sharing identifier, and when receiving the message live broadcast instruction triggered by the message live broadcast function item, respond to the message live broadcast instruction, and present the sharing identifier including prompt information , the prompt information is used to indicate that the target session is in the live message status. It should be noted that the at least one target conversation message also includes: conversation messages published in the target conversation within a time period from the release time point of the target historical conversation message to the end time point of the message live broadcast state. In this way, the sharing of historical session messages and live session messages is realized.
作为示例,参见图11,图11是本申请实施例提供的目标会话消息的直播分享示意图。这里,该至少一条目标会话消息中包括:从目标会话的历史会话消息中选取的目标历史会话消息。终端在生成目标历史会话消息对应的分享标识后,呈现对应分享标识的消息直播功能项“直播分享”,如图11中(1)所示;响应于针对消息直播功能项“直播分享”的触发操作,呈现消息直播设置界面,该消息直播设置界面用于供设置目标会话的消息直播时长,包括“30分钟”、1小时”、1.5小时”、2小时”、以及“不计时,手动暂停”,如图11中(2)所示;响应于针对“30分钟”的选择操作,确定消息直播时长为“30分钟”,呈现包括提示信息“直播中”的分享标识,以基于该提示信息“直播中”指示目标会话处于消息直播状态,如图11中(3)所示。As an example, refer to FIG. 11 , which is a schematic diagram of live sharing of target conversation messages provided by the embodiment of the present application. Here, the at least one target session message includes: a target historical session message selected from historical session messages of the target session. After the terminal generates the sharing identifier corresponding to the target historical session message, it presents the message live broadcast function item "live sharing" corresponding to the sharing identifier, as shown in (1) in Figure 11; in response to the triggering of the message live broadcast function item "live sharing" Operation, showing the message live broadcast setting interface, which is used to set the message live broadcast duration of the target session, including "30 minutes", 1 hour", 1.5 hours", 2 hours", and "no timer, manual pause" , as shown in (2) in Figure 11; in response to the selection operation for "30 minutes", it is determined that the live broadcast duration of the message is "30 minutes", and a sharing logo including the prompt information "live broadcasting" is presented, so that based on the prompt information " "Live broadcast" indicates that the target session is in the message live broadcast state, as shown in (3) in FIG. 11 .
在一些实施例中,至少一条目标会话消息包括从目标会话的历史会话消息中选取的目标历史会话消息,终端可呈现对应分享标识的直播取消功能项;响应于针对直播取消功能项的触发操作,呈现不包括提示信息的分享标识,至少一条目标会话消息,为从目标会话的历史会话消息中选取的目标历史会话消息。In some embodiments, at least one target session message includes a target historical session message selected from historical session messages of the target session, and the terminal may present a live broadcast cancellation function item corresponding to the shared identifier; in response to a trigger operation for the live broadcast cancellation function item, A sharing identifier that does not include prompt information is presented, and at least one target session message is a target historical session message selected from historical session messages of the target session.
这里,在生成包括指示目标会话处于消息直播状态的提示信息的分享标识后,还可以呈现对应该分享标识的直播取消功能项,以取消目标会话的直播分享。当接收到针对直播取消功能项的触发操作,呈现不包括指示目标会话处于消息直播状态的提示信息的分享标识。需要说明的是,该至少一条目标会话消息则仅包括从目标会话的历史会话消息中选取的目标历史会话消息。Here, after generating the sharing identifier including the prompt information indicating that the target session is in the message live broadcast state, a live broadcast cancellation function item corresponding to the sharing identifier may also be presented to cancel the live sharing of the target session. When a trigger operation for the live broadcast cancellation function item is received, a sharing identifier that does not include prompt information indicating that the target session is in the message live broadcast state is presented. It should be noted that the at least one target session message only includes target historical session messages selected from historical session messages of the target session.
作为示例,参见图12,图12是本申请实施例提供的取消目标会话消息的直播分享的流程示意图。这里,该至少一条目标会话消息中包括:从目标会话的历史会话消息中选取的目标历史会话消息。终端在生成包括提示信息“直播中”的分享标识后,呈现对应该分享标识的直播取消功能项“取消直播分享”,如图12中(1)所示;响应于针对直播取消功能项“取消直播分享”的触发操作,呈现不包括提示信息“直播中”的分享标识,如图12中(2)所示。As an example, refer to FIG. 12 . FIG. 12 is a schematic flowchart of canceling live sharing of a target session message provided by an embodiment of the present application. Here, the at least one target session message includes: a target historical session message selected from historical session messages of the target session. After the terminal generates the sharing logo that includes the prompt information "live broadcasting", it presents the live broadcast cancellation function item "cancel live sharing sharing" corresponding to the sharing logo, as shown in (1) in Figure 12; in response to the live broadcast cancellation function item "cancel The trigger operation of "live sharing" presents a sharing logo that does not include the prompt message "live streaming", as shown in (2) in Figure 12.
在一些实施例中,在目标会话的会话界面中,可以呈现用于指示目标会话处于消息直播状态的提示信息,比如提示信息可以是“正在消息直播中”,同时还可以呈现消息直播状态的持续时长。参见图13,图13是本申请实施例提供的处于消息直播状态的目标会话的显示示意图,这里,在目标会话的会话界面中,呈现有“消息直播中”的提示信息,同时还可以呈现消息直播状态的持续时长“00:29”、或者剩余时长。In some embodiments, in the session interface of the target session, prompt information for indicating that the target session is in the live message state can be presented, for example, the prompt information can be "in the live message", and the continuation of the live message state can also be presented duration. Referring to Fig. 13, Fig. 13 is a schematic display diagram of the target session in the live message state provided by the embodiment of the present application. Here, in the session interface of the target session, there is a prompt message of "message live broadcasting", and the message can also be displayed at the same time The duration of the live broadcast state is "00:29", or the remaining duration.
在另一些实施例中,当目标会话处于消息直播状态时,终端可在目标会话消息的分享者对应的目标会话的会话界面中,呈现用于结束消息直播状态的结束功能项;当接收到针对结束功能项的触发操作时,控制目标会话退出消息直播状态。具体地,终端可通过如下方式当接收到针对结束功能项的触发操作时,控制目标会话退出消息直播状态:当接收到针对结束功能项的触发操作时,呈现用于确认是否退出消息直播状态的提示控件;当基于提示控件接收到确认退出指令时,控制目标会话退出消息直播状态。In some other embodiments, when the target session is in the live message state, the terminal may present an end function item for ending the live message state in the session interface of the target session corresponding to the sharer of the target session message; When the trigger operation of the function item ends, the target session is controlled to exit the message live broadcast state. Specifically, the terminal can control the target session to exit the message live broadcast state when receiving the trigger operation for ending the function item in the following manner: when receiving the trigger operation for ending the function item, present a message for confirming whether to exit the message live broadcast state Prompt control; when a confirmation exit instruction is received based on the prompt control, the target session is controlled to exit the message live broadcast state.
作为示例,参见图14,图14是本申请实施例提供的结束消息直播状态的显示示意图。这里,在目标会话消息的分享者对应的目标会话的会话界面中,呈现有“消息直播中”的提示信息,同时还可以呈现消息直播状态的持续时长“00:29”、以及用于结束消息直播状态的结束功能项,如图14中(1)所示;响应于针对结束功能项的触发操作,呈现用于确认是否退出消息直播状态的提示控件,该提示控件包括结束提示信息“将结束直播,本次消息直播了10分钟,新增1110条会话消息。”、确认功能项“结束直播”、以及取消功能项“取消”,如图14中(2)所示;基于提示控件接收到确认退出指令,即接收到针对确认功能项“结束直播”的触发操作,控制目标会话退出消息直播状态,并取消显示的“消息直播中”的提示信息,如图14中(3)所示。As an example, refer to FIG. 14 , which is a schematic display of the status of the end message live broadcast provided by the embodiment of the present application. Here, in the session interface of the target session corresponding to the sharer of the target session message, there is a prompt message of "the message is live broadcasting", and at the same time, the duration of the message live broadcast state "00:29" and the message for ending the message can also be displayed. The end function item of the live broadcast state, as shown in (1) in Figure 14; in response to the trigger operation for the end function item, a prompt control for confirming whether to exit the message live broadcast state is presented, and the prompt control includes the end prompt information "will end Live broadcast, this message has been broadcast live for 10 minutes, and 1110 new conversation messages have been added.", confirm the function item "end live broadcast", and cancel the function item "cancel", as shown in (2) in Figure 14; based on the prompt control received Confirm the exit command, that is, receive the trigger operation for the confirmation function item "end live broadcast", control the target session to exit the message live broadcast state, and cancel the displayed "message live broadcast" prompt information, as shown in (3) in Figure 14.
在一些实施例中,当目标会话处于消息直播状态时,终端可响应于针对分享标识的识别操作,通过对目标会话进行直播,呈现目标会话中的至少一条目标会话消息、以及用于表征目标会话处于消息直播状态的提示信息。In some embodiments, when the target session is in the message live broadcast state, the terminal may respond to the identification operation for the shared identifier, by live broadcasting the target session, presenting at least one target session message in the target session, and a message used to characterize the target session Indicates that the message is in the live broadcast state.
在实际应用中,参见图15,图15是本申请实施例提供的基于分享标识查看目标会话消息的示意图。这里,在基于分享标识查看目标会话消息时,当目标会话处于消息直播状态时,则在呈现待查看的目标会话消息的同时,呈现“消息直播中”的提示信息,如图15中(1)所示,用户可查看目标会话在直播过程中实时产生的目标会话消息;当目标会话从消息直播状态退出后,则呈现处于消息直播状态的目标会话消息,并取消呈现“消息直播中”的提示信息,如图15中(2)所示,用户可查看目标会话在处于消息直播状态所产生的历史会话消息。In practical application, refer to FIG. 15 , which is a schematic diagram of viewing a target conversation message based on a sharing identifier provided by an embodiment of the present application. Here, when the target session message is viewed based on the sharing identifier, when the target session is in the message live broadcast state, the prompt information of "message live broadcast" is presented while the target session message to be viewed is presented, as shown in (1) in Figure 15 As shown, the user can view the target conversation message generated in real time during the live broadcast of the target conversation; when the target conversation exits from the message live broadcast state, the target conversation message in the message live broadcast state will be displayed, and the prompt of "message live broadcast" will be canceled Information, as shown in (2) in Figure 15, the user can view the historical session messages generated by the target session in the live message state.
步骤103:当接收到针对分享标识的发送指令时,发送分享标识至发送指令所指示的目标对象的终端。Step 103: When receiving the sending instruction for the sharing identifier, send the sharing identifier to the terminal of the target object indicated by the sending instruction.
其中,该分享标识,用于当终端呈现分享标识时,响应于针对分享标识的识别操作,呈现至少一条目标会话消息。Wherein, the sharing identifier is used for presenting at least one target conversation message in response to an identification operation on the sharing identifier when the terminal presents the sharing identifier.
这里,终端在生成至少一条目标会话消息对应的分享标识后,用户可以将分享标识发送至其他用户。当接收到针对分享标识的发送指令时,将分享标识发送至该发送指令所指示的目标对象的终端。该分享标识,可以供接收到分享标识的目标对象的终端显示该分享标识,当接收到针对分享标识的识别操作(比如针对图形码形式的分享标识的扫描操作)时,则呈现分享标识对应的至少一条目标会话消息,以使目标对象通过分享标识实现针对目标会话消息的查看,从而实现目标会话消息的成功分享。在实际应用中,当分享标识为分享图形码时,还可通过面对面扫码的方式使其他用户基于分享标识查看目标会话消息。Here, after the terminal generates at least one sharing identifier corresponding to the target conversation message, the user may send the sharing identifier to other users. When the sending instruction for the sharing identifier is received, the sharing identifier is sent to the terminal of the target object indicated by the sending instruction. The sharing logo can be displayed by the terminal of the target object that has received the sharing logo. At least one target session message, so that the target object can view the target session message through the sharing identifier, so as to realize the successful sharing of the target session message. In practical applications, when the sharing logo is a sharing graphic code, other users can also view the target conversation message based on the sharing logo by scanning the code face-to-face.
在一些实施例中,终端可呈现分享标识对应的至少一个信息分享功能项,不同的信息分享功能项对应不同的信息分享方式;基于目标信息分享功能项,接收到针对目标对象的发送指令;In some embodiments, the terminal may present at least one information sharing function item corresponding to the sharing identifier, and different information sharing function items correspond to different information sharing methods; based on the target information sharing function item, a sending instruction for the target object is received;
相应的,终端可通过如下方式发送分享标识至发送指令所指示的目标对象的终端:通过目标信息分享功能项对应的信息分享方式,发送分享标识至发送指令所指示的目标对象的终端。Correspondingly, the terminal can send the sharing identifier to the terminal of the target object indicated by the sending instruction in the following manner: send the sharing identifier to the terminal of the target object indicated by the sending instruction through the information sharing method corresponding to the target information sharing function item.
这里,终端可呈现分享标识对应的至少一个信息分享功能项,该不同的信息分享功能项对应不同的信息分享方式,比如社交圈分享、会话分享(也可以对应不同的即时通信客户端)等。基于目标信息分享功能项,接收到针对目标对象的发送指令,通过目标信息分享功能项对应的信息分享方式,发送分享标识至发送指令所指示的目标对象的终端。Here, the terminal may present at least one information sharing function item corresponding to the sharing identifier, and the different information sharing function items correspond to different information sharing methods, such as social circle sharing, session sharing (or corresponding to different instant messaging clients) and the like. Based on the target information sharing function item, the sending instruction for the target object is received, and the sharing identifier is sent to the terminal of the target object indicated by the sending instruction through the information sharing method corresponding to the target information sharing function item.
作为示例,参见图16,图16是本申请实施例提供的信息分享功能项的示意图。这里,终端呈现分享标识(即包括分享图形码的分享图片),并呈现分享标识对应的信息分享功能项,包括信息分享功能项1-3,其中,信息分享功能项1和信息分享功能项2为会话分享,即通过会话(可以是单聊会话,也可以是群聊会话)的方式分享至其他人,分别对应不同即时通信客户端,信息分享功能项3为社交圈分享,在基于信息分享功能项3分享该分享标识时,社交圈内的社交好友(或者具有查看权限的社交好友)则可以查看该分享标识。As an example, refer to FIG. 16 , which is a schematic diagram of an information sharing function item provided by an embodiment of the present application. Here, the terminal presents the sharing logo (that is, the sharing picture including the sharing graphic code), and presents the information sharing function items corresponding to the sharing logo, including information sharing function items 1-3, wherein information sharing function item 1 and information sharing function item 2 It is session sharing, that is, sharing to other people through a session (either a single chat session or a group chat session), corresponding to different instant messaging clients, and the information sharing function item 3 is social circle sharing, which is based on information sharing When the function item 3 shares the sharing logo, social friends in the social circle (or social friends with viewing authority) can view the sharing logo.
在一些实施例中,分享标识承载于分享图片中,且分享图片还包括至少一条目标会话消息;终端可通过如下方式呈现分享标识:呈现包括分享标识及至少一条目标会话消息的分享图片;其中,分享图片中的目标会话消息至少部分被遮挡。In some embodiments, the sharing logo is carried in the sharing picture, and the sharing picture also includes at least one target conversation message; the terminal can present the sharing logo in the following manner: present the sharing picture including the sharing logo and at least one target conversation message; wherein, The target conversation message is at least partially obscured in the shared image.
这里,上述分享标识可以承载于分享图片中,比如承载有分享图形码的分享图片,同时,该分享图片还包括至少一条目标会话消息。由于分享标识是发送给其他用户的,该分享图片中的目标会话消息至少部分被遮挡。作为示例,比如目标会话消息的查看是设置有相应权限或者需要输入密码的,那么则表示目标会话消息非完全公开,此时,可以对分享图片中的目标会话消息至少部分或者全部进行遮挡,以保证目标会话消息的隐私性。Here, the above-mentioned sharing logo can be carried in a shared picture, for example, a shared picture carrying a shared graphic code, and meanwhile, the shared picture also includes at least one target conversation message. Since the sharing logo is sent to other users, the target conversation message in the shared picture is at least partially blocked. As an example, for example, if the view of the target conversation message is set with corresponding permissions or needs to enter a password, it means that the target conversation message is not completely disclosed. At this time, at least part or all of the target conversation message in the shared picture can be blocked to Guarantee the privacy of target session messages.
在一些实施例中,终端可响应于针对分享标识的识别操作,当至少一条目标会话消息中包含隐私信息时,对隐私信息进行模糊处理,使得隐私信息处于模糊状态;展示包括处于模糊状态的隐私信息的至少一条目标会话消息。In some embodiments, the terminal may respond to the identification operation for the sharing identifier, and when at least one target conversation message contains private information, perform obfuscation processing on the private information so that the private information is in a fuzzy state; Information of at least one target session message.
在实际应用中,所分享的至少一条目标会话消息可能涉及隐私信息,比如人名、身份信息、生日、电话号码等,为保护隐私信息安全,可以对隐私信息进行模糊处理,使得隐私信息处于模糊状态,然后在基于分享标识查看至少一条目标会话消息时,终端展示包括处于模糊状态的隐私信息的至少一条目标会话消息。In practical applications, at least one target session message shared may involve private information, such as name, identity information, birthday, phone number, etc. In order to protect the security of private information, the private information can be blurred so that the private information is in a fuzzy state , and then when viewing at least one target conversation message based on the sharing identifier, the terminal displays at least one target conversation message including private information in an obscured state.
作为示例,参见图17,图17是本申请实施例提供的基于分享标识查看目标会话消息的示意图。这里,终端在生成至少一条目标会话消息对应的分享标识后,呈现对应分享标识的隐私模糊功能项,即“隐匿隐私信息”,如图17中(1)所示;响应于针对隐私模糊功能项的触发操作,对至少一条目标会话消息中的隐私信息进行模糊处理,并呈现模糊处理后的至少一条目标会话消息对应的分享标识,如图17中(2)所示,该分享标识为包括目标会话消息、以及相应分享图形码的分享图片,该分享图片中的隐私信息“人名”已处于模糊状态;当基于该分享标识场景目标会话消息时,终端展示包括处于模糊状态的隐私信息“人名”的至少一条目标会话消息,如图17中(3)所示。As an example, refer to FIG. 17 . FIG. 17 is a schematic diagram of viewing a target conversation message based on a sharing identifier provided by an embodiment of the present application. Here, after generating at least one sharing identifier corresponding to the target conversation message, the terminal presents the privacy fuzzy function item corresponding to the sharing logo, that is, "conceal private information", as shown in (1) in Figure 17; in response to the privacy fuzzy function item The trigger operation is to blur the privacy information in at least one target conversation message, and present the sharing identifier corresponding to the blurred at least one target conversation message, as shown in (2) in Figure 17, the sharing identifier includes the target Conversation messages, and the shared picture of the corresponding shared graphic code, the private information "person's name" in the shared picture is already in a blurred state; when the session message is based on the shared identification scene target, the terminal displays the private information "person's name" including the blurred state At least one target session message of , as shown in (3) in FIG. 17 .
应用本申请上述实施例,当接收到针对目标会话包括的至少一条目标会话消息的分享指令时,响应于分享指令,生成至少一条目标会话消息对应的分享标识,并呈现分享标识,从而可在接收到针对分享标识的发送指令时,发送分享标识至发送指令所指示的目标对象的终端,而当目标对象的终端呈现该分享标识时,响应于针对分享标识的识别操作,呈现分享指令所指示分享的至少一条目标会话消息。如此,目标对象即可基于分享标识查看所分享的目标会话消息,能够使所查看到的会话消息的类型不被限制,实现多类型会话消息的分享;且仅需触发分享指令即可生成待分享的会话消息对应的分享标识,操作简单,提高实现会话消息分享的人机交互效率,减少处理资源的浪费。Applying the above-mentioned embodiments of the present application, when receiving a sharing instruction for at least one target session message included in the target session, in response to the sharing command, generate a sharing ID corresponding to at least one target session message, and present the sharing ID, so that you can receive When the instruction for sending the sharing identifier is sent, the sharing identifier is sent to the terminal of the target object indicated by the sending instruction, and when the terminal of the target object presents the sharing identifier, in response to the identification operation for the sharing identifier, the sharing instruction indicated by the sharing instruction is presented. At least one target session message for . In this way, the target object can view the shared target session message based on the sharing identifier, so that the type of the viewed session message is not limited, and the sharing of multiple types of session messages is realized; and only need to trigger the sharing command to generate the message to be shared The sharing identifier corresponding to the session message is simple to operate, improves the efficiency of human-computer interaction for sharing session messages, and reduces the waste of processing resources.
下面以分享标识为分享图形码为例,将说明本申请实施例在一个实际的应用场景中的示例性应用。接下来首先对本申请实施例涉及的名词进行解释,包括:1)富媒体消息:除文字外的其他会话消息的类型,如图片、语音、表情、视频、文档、文件等;2)会话消息直播:用户可看到目标会话中的实时会话消息,而非已经产生一段时间的历史会话消息。In the following, an exemplary application of the embodiment of the present application in an actual application scenario will be described by taking the shared logo as the shared graphic code as an example. Next, first explain the nouns involved in the embodiment of the present application, including: 1) rich media message: other types of conversational messages other than text, such as pictures, voice, emoticons, videos, documents, files, etc.; 2) live broadcast of conversational messages : Users can see real-time session messages in the target session instead of historical session messages that have been generated for some time.
参见图18,图18是相关技术中提供的会话消息的分享示意图。相关技术中,如图18中(1)所示,通常采用对历史会话消息进行截图,进而通过分享截图的方式实现会话消息的分享。截图分享的方式虽然可以实现跨平台(比如从第一即时通信客户端到第二即时通信客户端、或者从直播客户端到即时通信客户端)的会话消息分享,但是会话消息中的富媒体消息将无法被正常查看;且,当待分享的会话消息的数量较多时,频繁截图再分享将导致用户操作繁琐。再如图18中(2)所示,通过选中多条历史会话消息进行逐条分享,但是只能同平台分享,会话消息中的图片、文档、文件、语音等富媒体文件仍旧无法分享。且相关技术中只能实现部分历史会消息的分享。Referring to FIG. 18 , FIG. 18 is a schematic diagram of sharing session messages provided in the related art. In related technologies, as shown in (1) in FIG. 18 , screenshots of historical conversation messages are usually taken, and conversation messages are shared by sharing the screenshots. Although the screenshot sharing method can realize cross-platform conversation message sharing (such as from the first instant messaging client to the second instant messaging client, or from the live broadcast client to the instant messaging client), the rich media message in the conversation message It will not be able to be viewed normally; and, when the number of session messages to be shared is large, frequent screenshots and re-sharing will lead to cumbersome user operations. As shown in (2) in Figure 18, multiple historical conversational messages are selected to share one by one, but they can only be shared with the platform, and rich media files such as pictures, documents, files, and voices in the conversational messages still cannot be shared. And the related technology can only realize the sharing of part of historical meeting news.
基于此,本申请实施例提供一种会话消息的处理方法,以至少解决上述存在的问题。在本申请实施例中,通过将目标会话中待分享的会话消息生成相应分享图形码的形式,将会话消息放置在分享图形码对应的网页中。当其他用户扫描分享图形码时,即可通过网页的形式打开会话消息并查看。如此,1)用户可实现跨平台的会话消息分享,同时会话消息中的图片、文件、语音等富媒体消息可正常查看;2)用户可在任意平台通过平台内嵌的网页或手机内浏览器查看会话消息;3)分享图形码对应的展示会话消息的网页可与会话消息的平台进行通讯,可对目标会话的会话消息进行直播式分享,无需等产生会话消息后再分享。Based on this, an embodiment of the present application provides a method for processing conversation messages, so as to at least solve the above existing problems. In the embodiment of the present application, the session message to be shared in the target session is generated in the form of a corresponding sharing graphic code, and the session message is placed in the webpage corresponding to the sharing graphic code. When other users scan the shared graphic code, they can open and view the session message in the form of a web page. In this way, 1) users can realize cross-platform conversation message sharing, and at the same time, rich media messages such as pictures, files, and voices in conversation messages can be viewed normally; View session messages; 3) The webpage displaying session messages corresponding to the sharing graphic code can communicate with the session message platform, and the session messages of the target session can be shared live, without waiting for the session messages to be generated before sharing.
下面首先从产品侧对本申请实施例提供的会话消息的处理方法进行说明。The method for processing the session message provided by the embodiment of the present application will first be described below from the product side.
(1)会话消息的图形码分享流程。分享者(例如目标会话的群主或管理员)控制目标会话中的历史会话消息生成相应分享图形码,将生成的分享图形码通过提供的分享方式分享(可跨平台分享)至其他用户,或者将分享图形码对应的分享图片保存至本地,然后根据需要采用合适的分享方式分享至其他用户。(1) Graphic code sharing process of conversation messages. The sharer (such as the group owner or administrator of the target session) controls the historical session messages in the target session to generate a corresponding sharing graphic code, and shares the generated sharing graphic code with other users through the provided sharing method (can be shared across platforms), or Save the shared picture corresponding to the shared graphic code to the local, and then share it with other users using a suitable sharing method as needed.
在实际实施时,分享图形码分享入口不限于在会话消息多选内,也可以在会话界面或者会话设置界面内。扫描分享图形码不限于打开的是一个网页,也可以是一个专门用于展示会话消息的小程序。分享图形码分享不限于通过会话消息截图+分享图形码的形式分享,也只是一个分享图形码,也可以是群名称+分享图形码;也可以是用户自己挑选的某条或某几条会话消息做成的封面+分享图形码分享;In actual implementation, the sharing entry of the sharing graphic code is not limited to the multi-selection of the conversation message, and may also be in the conversation interface or the conversation setting interface. Scanning the share graphic code is not limited to opening a webpage, and may also be a small program specially used to display conversation messages. Sharing graphic code Sharing is not limited to sharing in the form of session message screenshot + sharing graphic code, it is just a sharing graphic code, it can also be a group name + sharing graphic code; it can also be one or several conversation messages selected by the user The finished cover + share graphic code to share;
参见图5,1)分享者通过长按会话消息,点击多选,勾选需要分享的会话消息,而后点击生成分享图形码的图标,进入分享图形码的分享界面;2)在分享图形码的分享界面,会展示分享图片,该分享图片中包含:勾选的会话消息的截图,会话消息总条数,以及生成的分享图形码;3)用户点击需要分享到的平台,将该分享图片分享到其他平台;或者点击“存到相册”,将该分享图片存到本地相册,以分享至其他未提供的快捷分享入口的平台。See Figure 5, 1) The sharer presses and holds the session message, clicks multiple selections, checks the session message that needs to be shared, and then clicks the icon to generate a shared graphic code to enter the sharing interface of the shared graphic code; 2) in the shared graphic code The sharing interface will display the sharing picture, which includes: the screenshot of the checked conversation message, the total number of conversation messages, and the generated sharing graphic code; 3) The user clicks on the platform to be shared to share the sharing picture to other platforms; or click "Save to Album" to save the shared picture to a local album for sharing to other platforms that do not provide quick sharing portals.
参见图6,1)查看者通过扫描分享图形码,可打开一个网页,该网页中包含:用户勾选的会话消息、目标会话的会话标识、以及会话消息的总数量。Referring to FIG. 6 , 1) the viewer can open a webpage by scanning the sharing graphic code, and the webpage includes: the conversation message checked by the user, the conversation identification of the target conversation, and the total number of conversation news.
(2)会话消息的直播分享。当分享者(例如目标会话的群主或管理员)多选会话消息后,进入分享图形码的分享界面,在该分享界面还显示有用于设置是否进行会话消息限时直播分享的按钮,以实现会话消息的直播分享。(2) Live sharing of conversation messages. When the sharer (such as the group owner or administrator of the target conversation) multi-selects the conversation message, he enters the sharing interface of the sharing graphic code, and a button for setting whether to perform time-limited live sharing of the conversation message is also displayed on the sharing interface, so as to realize the conversation Live sharing of news.
参见图11和图12,1)当分享者进入分享图形码的分享界面时,点击“直播分享”的操作按钮,可选择限时直播的直播分享时长;2)在选择直播分享时长后,分享图片上会展示“直播中”的标签;此时当点击“取消直播分享”时,则取消直播分享,取消展示“直播中”的标签;3)当针对目标会话选择限时直播分享后,在会话界面中显示“以下会话消息正在直播分享中”,同时在会话界面中展示“消息直播中”的倒计时浮层。4)在分享者侧,还会在会话界面中展示用户暂停直播分享的操作按钮,分享者可在设定的直播分享时长的倒计时未结束前,提前暂停直播。如果未提前暂停且直播分享时长的倒计时结束后,显示无“消息直播中”的浮层以及提示信息);在非分享者侧,展示“消息直播中”的提示,不可点击。See Figure 11 and Figure 12, 1) When the sharer enters the sharing interface of sharing the graphic code, click the "live sharing" operation button to choose the live sharing time of the limited-time live broadcast; 2) after selecting the live sharing time, share the picture The label "Live" will be displayed on the screen; at this time, when you click "Cancel Live Sharing", the live sharing will be cancelled, and the label "Live" will be canceled; 3) After selecting the time-limited live sharing for the target session, the "The following conversation message is being shared live" is displayed in the chat interface, and a countdown floating layer of "message is live" is displayed on the conversation interface. 4) On the sharer's side, an operation button for the user to pause the live broadcast sharing will also be displayed in the session interface, and the sharer can pause the live broadcast in advance before the countdown of the set live broadcast sharing time ends. If it is not paused in advance and the countdown of the live broadcast sharing time is over, there will be no "news live" floating layer and prompt information); on the non-sharer side, the "message is live" prompt will be displayed and cannot be clicked.
参见图15,1)查看者通过分享图形码打开网页时,当目标会话处于消息直播状态时,展示用户之前选中的会话消息以及直播过程中实时产生的会话消息、以及“消息直播中”的提示信息;2)当目标会话的消息直播状态直播已结束时,展示选中的会话消息以及直播过程中产生的会话消息。See Figure 15, 1) When the viewer opens the webpage by sharing the graphic code, when the target session is in the message live broadcast state, the session message selected by the user, the session message generated in real time during the live broadcast process, and the prompt of "message live broadcast" are displayed Information; 2) When the live broadcast status of the target session has ended, display the selected session message and the session message generated during the live broadcast.
(3)会话消息的加密分享。对于分享者(例如目标会话的群主或管理员),当遇到分享的会话消息具有隐私性时,可对分享的会话消息进行加密。加密方式不限于密码加密,也可以是手势加密、说一段相同的语音加密;或者是自动加密,无需群主设置密码,系统自动生成一段字符密码。(3) Encrypted sharing of session messages. For the sharer (such as the group owner or administrator of the target session), when the shared session message is private, the shared session message can be encrypted. The encryption method is not limited to password encryption, it can also be gesture encryption, say the same voice encryption; or automatic encryption, without the need for the group owner to set a password, the system will automatically generate a character password.
参见图7,1)分享者进入分享图形码的分享界面后,点击“加密”按钮,输入加密密码,即可完成对会话消息的加密,且分享图片中已选中的会话消息截图会做遮挡处理。See Figure 7, 1) After the sharer enters the sharing interface of the sharing graphic code, click the "Encryption" button and enter the encryption password to complete the encryption of the session message, and the screenshot of the session message selected in the shared picture will be blocked. .
参见图9,1)查看者通过分享图形码访问会话消息时,需要先输入正确的密码才可查看会话消息;而如果用户密码输入错误,则展示错误提醒,且不可访问会话消息。See Figure 9, 1) When the viewer accesses the session message through the shared graphic code, he needs to enter the correct password before viewing the session message; and if the user enters the wrong password, an error reminder will be displayed and the session message cannot be accessed.
(4)参见图17,为保护用户隐私,在会话消息的分享过程中,可对人名等隐私信息进行打码或者模糊处理。(4) Referring to FIG. 17 , in order to protect user privacy, in the process of sharing conversational messages, private information such as names can be coded or blurred.
下面继续从产品侧对本申请实施例提供的会话消息的处理方法进行说明。The following continues to describe the processing method of the session message provided by the embodiment of the present application from the product side.
(1)会话消息的图形码分享流程。(1) Graphic code sharing process of conversation messages.
1)分享者:a.长按任意会话消息,点击多选;b.点击选择需要分享的会话消息;c.点击分享图形码分享图标,生成分享图形码;d.跳转到分享图形码的分享界面;e.点击下方分享方式进行分享。1) Sharer: a. Long press any conversation message, click multiple selections; b. Click to select the conversation message to be shared; c. Click the share graphic code share icon to generate a share graphic code; d. Jump to the sharing graphic code Sharing interface; e. Click the sharing method below to share.
2)查看者:a.点击分享图片,识别分享图片中的分享图形码;b.打开一个独立的包含会话消息的网页。2) The viewer: a. clicks the shared picture, and identifies the shared graphic code in the shared picture; b. opens an independent webpage containing the conversation message.
(2)会话消息的直播分享。(2) Live sharing of conversation messages.
1)分享者:a.在上述(1)的分享流程中,当跳转到分享图形码的分享界面时,点击限时直播分享按钮;b.设置消息直播时长,点击完成;c.点击下方分享方式进行分享;d.分享者设置完后回到会话界面;e.点击浮窗上的结束直播图标,可结束正在进行中的直播分享;f.当目标会话正在直播时,非分享者可以查看到正在直播的浮窗提示。1) Sharer: a. In the sharing process of (1) above, when jumping to the sharing interface of sharing the graphic code, click the time-limited live broadcast sharing button; b. Set the duration of the message live broadcast, and click Finish; c. Click below to share d. The sharer returns to the session interface after setting; e. Click the end live broadcast icon on the floating window to end the ongoing live broadcast sharing; f. When the target session is live, non-sharers can view it Go to the floating window prompt that is live broadcasting.
2)查看者:a.点击分享图片,识别分享图片中的分享图形码;b.打开一个独立的包含会话消息的网页,如果目标会话在直播状态中,则显示“直播中”标识;如果直播结束后进入分享的网页,将不显示“直播中”标识。2) The viewer: a. Click the shared picture to identify the shared graphic code in the shared picture; b. Open an independent webpage containing the session message, if the target session is in the live broadcast state, it will display the "live broadcast" logo; if the live broadcast After entering the shared webpage, the "live broadcast" logo will not be displayed.
(3)会话消息的加密分享。(3) Encrypted sharing of session messages.
1)分享者:a.在上述(1)的分享流程中,当跳转到分享图形码的分享界面时,点击加密按钮;b.输入需要设置的查看密码,点击完成;c.点击下方分享方式进行分享。1) Sharer: a. In the sharing process of (1) above, when jumping to the sharing interface of sharing the graphic code, click the encryption button; b. Enter the viewing password that needs to be set, and click Finish; c. Click below to share way to share.
2)查看者:a.点击分享图片,识别分享图片中的分享图形码;b.打开一个独立的网页,用户需要输入查看密码来查看网页中包含的会话消息。2) The viewer: a. clicks the shared picture, and identifies the shared graphic code in the shared picture; b. opens an independent webpage, and the user needs to enter the viewing password to view the conversation message contained in the webpage.
下面参见图19、图20以及图21,对本申请实施例提供的会话消息的处理方法进行说明。如图19所示,基于分享图形码分享会话消息的流程包括:1.点击生成分享图形码的分享功能项;2.服务端生成一个网页,并将网址生成个分享图形码发送回客户端;3.用户通过扫描分享图形码打开网址,向服务端请求数据;4.返回相应的网页,网页中携带目标会话标识、目标会话名称、会话消息等信息。Referring to FIG. 19 , FIG. 20 and FIG. 21 , the method for processing conversation messages provided by the embodiment of the present application will be described below. As shown in Figure 19, the process of sharing session messages based on the shared graphic code includes: 1. Click on the sharing function item to generate the shared graphic code; 2. The server generates a webpage, and sends a shared graphic code generated from the URL to the client; 3. The user opens the URL by scanning the shared graphic code, and requests data from the server; 4. Returns the corresponding webpage, which carries information such as the target session ID, target session name, and session message.
如图20所示,基于分享图形码进行会话消息直播分享的流程包括:1.点击生成分享图形码的分享功能项;2.服务端生成一个网页,并将网址生成个分享图形码发送回客户端;3.开始分享后,推送直播的时间信息,客户端展示哪些会话消息正在直播;直播结束后,推送结束相关信息;4.用户打开网址,向服务端请求数据。保持长连接,持续接收直播的会话消息;5.返回相应的网页,网页携带目标会话标识、会话消息等信息;同时保持长连接,持续推送新的会话消息;6.直播开始后,分享者点击结束直播图标并确定结束直播,将直播分享id等信息发送到服务器;7.服务端结束会话消息直播分享,并发送结束直播的信息到当前保持长连接的网页,停止继续推送会话消息。As shown in Figure 20, the process of live chat message sharing based on the sharing graphic code includes: 1. Click the sharing function item to generate the sharing graphic code; 2. The server generates a webpage, and generates a sharing graphic code from the URL and sends it back to the client 3. After the start of sharing, push the time information of the live broadcast, and the client shows which conversation messages are being broadcast live; after the live broadcast ends, push the relevant information of the end; 4. The user opens the URL and requests data from the server. Maintain a long connection and continue to receive live session messages; 5. Return to the corresponding web page, which carries information such as the target session ID and session message; at the same time maintain a long connection and continue to push new session messages; 6. After the live broadcast starts, the sharer clicks End the live broadcast icon and confirm the end of the live broadcast, and send the information such as the live sharing id to the server; 7. The server ends the live sharing of the session message, and sends the information of the end of the live broadcast to the webpage that currently maintains a long connection, and stops continuing to push the session message.
如图21所示,会话消息的加密分享的流程包括:1.点击生成分享图形码的分享功能项;2.服务端生成一个网页,并将网址生成个分享图形码发送回客户端;3.用户通过扫描分享图形码打开网址,向服务器请求数据;4.返回相应的网页,该网页展示有查看密码输入框;5.用户在输入框输入查看密码;6.密码正确,则返回目标会话标识、会话消息等信息;密码错误将返回相应的错误信息。As shown in Figure 21, the process of encrypting and sharing session messages includes: 1. Click the sharing function item to generate a sharing graphic code; 2. The server generates a webpage, and generates a sharing graphic code from the URL and sends it back to the client; 3. The user scans the shared graphic code to open the URL and requests data from the server; 4. Returns to the corresponding web page, which displays a view password input box; 5. The user enters the view password in the input box; 6. If the password is correct, the target session ID is returned , session message and other information; if the password is wrong, the corresponding error message will be returned.
结合图19、图20以及图21,对会话消息的服务端、客户端以及网页端分别进行说明。其中,(1)服务端。1)服务端需要储存的数据包括:a.分享的目标会话的ID、会话标识、会话名称、分享的会话消息。b.目标会话是否正在直播,直播的起止时间;c.目标会话是否为加密分享以及用于加密的密码。With reference to FIG. 19 , FIG. 20 and FIG. 21 , the server, client and web page of the session message will be described respectively. Among them, (1) server. 1) The data that the server needs to store includes: a. ID of the shared target session, session identifier, session name, and shared session message. b. Whether the target session is being broadcast live, the start and end time of the live broadcast; c. Whether the target session is encrypted and shared and the password used for encryption.
2)服务端针对会话消息进行分享的流程:a.服务端收到会话消息分享的分享指令,根据目标会话的ID、会话标识、会话名称、分享的会话消息等,生成一个网页。b.将网页地址发送到客户端,生成分享图形码。2) The process for the server to share session messages: a. The server receives a sharing instruction for session message sharing, and generates a web page according to the target session ID, session ID, session name, and shared session messages. b. Send the web page address to the client, and generate a sharing graphic code.
3)服务端针对直播分享时的数据流程:a.服务端收到直播分享指令。b.开始根据目标会话的ID、会话标识、会话名称等同步会话消息到服务端。c.将同步的会话消息同步到打开的直播分享网页进行展示。d.将直播相关信息(比如直播中的提示信息)同步到目标会话对应的客户端。3) The data flow of the server for live sharing: a. The server receives the live sharing instruction. b. Start synchronizing session messages to the server according to the target session ID, session ID, session name, etc. c. Synchronize the synchronized session messages to the open live sharing webpage for display. d. Synchronize live broadcast related information (such as prompt information in the live broadcast) to the client corresponding to the target session.
(2)客户端。主要由3部分组成,包括网络层,数据层和展示层,其中,1)网络层:客户端和后台服务器通讯的模块,包括分享者设置分享会话消息的数据、设置分享加密信息、设置直播分享等给服务器,接收服务器推送等,客户端接收到数据后更新数据到数据层,底层通讯协议是UDP。当网络不可连接时,会提示失败。(2) Client. It mainly consists of 3 parts, including the network layer, data layer and display layer, among which, 1) network layer: the communication module between the client and the background server, including the sharer setting the data of the sharing session message, setting the shared encrypted information, and setting the live sharing Waiting for the server, receiving server push, etc. After receiving the data, the client updates the data to the data layer. The underlying communication protocol is UDP. When the network cannot be connected, it will prompt failure.
2)数据层:主要存储客户端相关的数据,包括三部分,第一部分是基础信息,包括目标会话的基础信息、成员信息等。数据存储在内存和本地数据库中,当内存还没有数据时,会去数据库加载对应的数据,并缓存到内存中,提高获取速度。当收到服务器数据后,客户端同时更新内存和数据库。2) Data layer: It mainly stores data related to the client, including three parts. The first part is basic information, including basic information and member information of the target session. The data is stored in the memory and the local database. When there is no data in the memory, it will go to the database to load the corresponding data and cache it in the memory to improve the acquisition speed. After receiving the server data, the client simultaneously updates the memory and the database.
3)展示层:客户端负责UI展示部分,主要包含两大部分,第一部分是会话界面、会话设置界面、分享图形码的分享界面等,以上均由标准的系统控件负责展示;第二部分是展示图标,在当前窗口展示对应的图标。展示层同时负责响应用户交互操作,并回调给对应的函数处理,由系统控件提供能力支持。3) Display layer: the client is responsible for the UI display part, which mainly includes two parts. The first part is the session interface, the session setting interface, and the sharing interface for sharing graphic codes, etc. All of the above are displayed by standard system controls; the second part is Display icon, display the corresponding icon in the current window. The display layer is also responsible for responding to user interaction operations, and calling back to the corresponding function processing, which is supported by system controls.
(3)网页端。网页端主要由2部分组成,包括网络层和展示层,其中,1)网络层:网页端和后台服务器通讯的模块,包括获取会话消息、目标会话的I D、目标会话的会话标识、目标会话的会话名称等,网页端接收到数据后更新数据到网页UI;2)展示层:网页UI负责展示目标会话的ID、目标会话的会话标识、目标会话的会话名称、会话消息等内容。(3) Web page. The web page is mainly composed of 2 parts, including the network layer and the display layer. Among them, 1) the network layer: the module for communicating between the web page and the background server, including obtaining session information, ID of the target session, session ID of the target session, and session ID of the target session. Session name, etc., after the webpage receives the data, update the data to the webpage UI; 2) Display layer: the webpage UI is responsible for displaying the ID of the target session, the session identifier of the target session, the session name of the target session, and the session message.
应用本申请上述实施例,1)用户可实现跨平台的会话消息分享,同时会话消息中的图片、文件、语音等富媒体消息可正常查看;2)用户可在任意平台通过平台内嵌的网页或手机内浏览器查看会话消息;3)分享图形码对应的展示会话消息的网页可与会话消息的平台进行通讯,可对目标会话的会话消息进行直播式分享,无需等产生会话消息后再分享。By applying the above-mentioned embodiments of the present application, 1) users can realize cross-platform conversation message sharing, and at the same time, rich media messages such as pictures, files, and voices in conversation messages can be viewed normally; 2) users can use the embedded webpage on any platform Or check the session message in the browser in the mobile phone; 3) The webpage corresponding to the shared graphic code that displays the session message can communicate with the platform of the session message, and can share the session message of the target session live, without waiting for the session message to be generated before sharing .
可以理解的是,在本申请实施例中,涉及到用户信息、会话消息、分享标识等相关的数据,当本申请实施例运用到具体产品或技术中时,需要获得用户许可或者同意,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It can be understood that, in the embodiment of the present application, data related to user information, conversation messages, shared identifiers, etc. are involved. When the embodiment of the present application is applied to a specific product or technology, it is necessary to obtain the user's permission or consent, and the related The collection, use and processing of data need to comply with relevant laws, regulations and standards of relevant countries and regions.
下面继续说明本申请实施例提供的会话消息的处理装置553的实施为软件模块的示例性结构,在一些实施例中,如图2所示,存储在存储器550的会话消息的处理装置553中的软件模块可以包括:The following continues to illustrate the implementation of the conversational message processing device 553 provided by the embodiment of the present application as an exemplary structure of a software module. In some embodiments, as shown in FIG. 2 , the conversational message processing device 553 stored in the memory 550 Software modules can include:
接收模块5531,用于接收到针对目标会话包括的至少一条目标会话消息的分享指令;A receiving module 5531, configured to receive a sharing instruction for at least one target session message included in the target session;
生成模块5532,用于响应于所述分享指令,生成所述至少一条目标会话消息对应的分享标识,并呈现所述分享标识;A generating module 5532, configured to generate a sharing identifier corresponding to the at least one target conversation message in response to the sharing instruction, and present the sharing identifier;
发送模块5533,用于当接收到针对所述分享标识的发送指令时,发送所述分享标识至所述发送指令所指示的目标对象的终端;The sending module 5533 is configured to, when receiving the sending instruction for the sharing identifier, send the sharing identifier to the terminal of the target object indicated by the sending instruction;
其中,所述分享标识,用于当所述终端呈现所述分享标识时,响应于针对所述分享标识的识别操作,呈现所述至少一条目标会话消息。Wherein, the sharing identifier is used for presenting the at least one target conversation message in response to an identification operation on the sharing identifier when the terminal presents the sharing identifier.
在一些实施例中,所述接收模块5531,还用于呈现目标会话对应的分享功能项;基于所述分享功能项,接收到针对所述目标会话包括的至少一条目标会话消息的分享指令。In some embodiments, the receiving module 5531 is further configured to present a sharing function item corresponding to the target session; based on the sharing function item, a sharing instruction for at least one target session message included in the target session is received.
在一些实施例中,所述目标会话消息为所述目标会话包括的历史会话消息,所述接收模块5531,还用于在所述目标会话的会话界面中,呈现所述目标会话包括的至少一条历史会话消息;响应于针对所述至少一条历史会话消息中目标历史会话消息的选择操作,呈现所述目标会话对应的分享功能项;所述接收模块5531,还用于响应于针对所述分享功能项的触发操作,接收到针对所述目标会话包括的所述目标历史会话消息的分享指令。In some embodiments, the target session message is a historical session message included in the target session, and the receiving module 5531 is further configured to present at least one message included in the target session in the session interface of the target session History session message; in response to the selection operation of the target historical session message in the at least one historical session message, present the sharing function item corresponding to the target session; the receiving module 5531 is also configured to respond to the sharing function The trigger operation of the item is to receive a sharing instruction for the target historical session message included in the target session.
在一些实施例中,所述目标会话消息为所述目标会话包括的历史会话消息,所述接收模块5531,还用于在所述目标会话的会话界面或会话设置界面中,呈现所述目标会话对应的分享功能项;所述接收模块5531,还用于响应于针对所述分享功能项的触发操作,呈现所述目标会话包括的至少一条历史会话消息;响应于针对所述至少一条历史会话消息中目标历史会话消息的选择操作,接收到针对所述目标会话包括的所述目标历史会话消息的分享指令。In some embodiments, the target session message is a historical session message included in the target session, and the receiving module 5531 is further configured to present the target session in the session interface or session setting interface of the target session The corresponding sharing function item; the receiving module 5531 is further configured to, in response to the trigger operation for the sharing function item, present at least one historical session message included in the target session; in response to the at least one historical session message In the selection operation of the target historical session message, a sharing instruction for the target historical session message included in the target session is received.
在一些实施例中,所述生成模块5532,还用于当所述分享标识包括分享图形码时,响应于所述分享指令,生成所述至少一条目标会话消息对应的分享图片,所述分享图片中至少包括:所述至少一条目标会话消息对应的分享图形码;其中,所述分享图形码,用于当所述终端触发针对所述分享图形码的扫描操作时,呈现所述至少一条目标会话消息;所述生成模块5532,还用于呈现包括所述分享图形码的所述分享图片。In some embodiments, the generating module 5532 is further configured to generate a shared picture corresponding to the at least one target conversation message in response to the sharing instruction when the sharing identifier includes a sharing graphic code, the shared picture Include at least: a shared graphic code corresponding to the at least one target session message; wherein, the shared graphic code is used to present the at least one target session message when the terminal triggers a scanning operation for the shared graphic code Message; the generating module 5532 is further configured to present the shared picture including the shared graphic code.
在一些实施例中,所述分享图片中还包括所述分享图形码的关联信息,所述生成模块5532,还用于呈现包括所述分享图形码以及所述关联信息的所述分享图片;其中,所述关联信息包括以下至少之一:所述目标会话的会话标识、所述至少一条目标会话消息、所述目标会话消息的数量、以及所述目标会话消息的发布对象的对象标识。In some embodiments, the shared picture further includes associated information of the shared graphic code, and the generating module 5532 is further configured to present the shared picture including the shared graphic code and the associated information; wherein , the associated information includes at least one of the following: a session ID of the target session, the at least one target session message, the number of the target session messages, and an object ID of a publishing object of the target session message.
在一些实施例中,所述生成模块5532,还用于呈现对应所述分享图片的存储功能项;当接收到针对所述存储功能项的触发操作时,存储所述分享图片。In some embodiments, the generating module 5532 is further configured to present a storage function item corresponding to the shared picture; when a trigger operation for the storage function item is received, store the shared picture.
在一些实施例中,所述生成模块5532,还用于呈现对应所述分享标识的加密功能项;基于所述加密功能项,接收到用于对所述至少一条目标会话消息进行加密的加密信息;响应于针对所述加密信息的确认操作,基于所述加密信息对所述目标会话消息进行加密,并呈现加密后的所述至少一条目标会话消息对应的所述分享标识。In some embodiments, the generating module 5532 is further configured to present an encryption function item corresponding to the shared identification; based on the encryption function item, the encryption information used to encrypt the at least one target session message is received ; In response to the confirmation operation for the encrypted information, encrypt the target session message based on the encrypted information, and present the sharing identifier corresponding to the encrypted at least one target session message.
在一些实施例中,所述生成模块5532,还用于呈现对应所述分享标识的解密功能项;基于所述解密功能项,接收到针对所述至少一条目标会话消息的解密信息;响应于针对所述解密信息的确认操作,当基于所述加密信息对所述解密信息验证通过后,基于所述解密信息对所述至少一条目标会话消息进行解密,并呈现解密后的所述至少一条目标会话消息对应的所述分享标识。In some embodiments, the generating module 5532 is further configured to present a decryption function item corresponding to the shared identifier; based on the decryption function item, decryption information for the at least one target session message is received; in response to The confirmation operation of the decrypted information is to decrypt the at least one target session message based on the decrypted information after the decrypted information is verified based on the encrypted information, and present the decrypted at least one target session message The sharing ID corresponding to the message.
在一些实施例中,所述分享标识承载于分享图片中,且所述分享图片还包括所述至少一条目标会话消息;所述生成模块5532,还用于呈现包括所述分享标识及所述至少一条目标会话消息的所述分享图片;其中,所述分享图片中的所述目标会话消息至少部分被遮挡。In some embodiments, the sharing identification is carried in the sharing picture, and the sharing picture also includes the at least one target conversation message; the generating module 5532 is further configured to present the The shared picture of a target conversation message; wherein, the target conversation message in the shared picture is at least partially blocked.
在一些实施例中,所述生成模块5532,还用于响应于所述分享指令,呈现用于对所述至少一条目标会话消息进行加密的加密界面;基于所述加密界面,接收到针对所述至少一条目标会话消息的加密信息;响应于针对所述加密信息的确认操作,基于所述加密信息对所述至少一条目标会话消息进行加密,生成加密后的所述至少一条目标会话消息对应的分享标识。In some embodiments, the generating module 5532 is further configured to present an encryption interface for encrypting the at least one target session message in response to the sharing instruction; based on the encryption interface, receiving the Encrypted information of at least one target session message; in response to the confirmation operation for the encrypted information, encrypt the at least one target session message based on the encrypted information, and generate a share corresponding to the encrypted at least one target session message logo.
在一些实施例中,所述装置还包括:会话查看模块,用于当所述至少一条目标会话消息处于加密状态时,响应于针对所述分享标识的识别操作,呈现消息解密界面;接收到基于所述消息解密界面输入的解密信息;响应于针对所述解密信息的确认操作,当所述解密信息满足解密条件时,呈现处于解密状态的所述至少一条目标会话消息。In some embodiments, the device further includes: a session viewing module, configured to present a message decryption interface in response to the identification operation on the shared identifier when the at least one target session message is in an encrypted state; Decryption information input by the message decryption interface; in response to a confirmation operation on the decryption information, when the decryption information meets a decryption condition, presenting the at least one target conversation message in a decrypted state.
在一些实施例中,所述会话查看模块,还用于当针对所述分享标识的识别操作的触发对象为所述目标会话消息的分享者时,呈现所述解密信息对应的修改功能项;基于所述修改功能项,接收输入的目标解密信息;响应于针对所述目标解密信息的确认操作,将所述解密信息调整为所述目标解密信息。In some embodiments, the conversation viewing module is further configured to present the modification function item corresponding to the decryption information when the trigger object of the identification operation for the sharing identifier is the sharer of the target conversation message; The modification function item receives input target decryption information; and adjusts the decryption information to the target decryption information in response to a confirmation operation on the target decryption information.
在一些实施例中,所述生成模块5532,还用于呈现对应所述分享标识的消息直播功能项;响应于针对所述消息直播功能项的触发操作,呈现消息直播设置界面,所述消息直播设置界面用于供设置所述目标会话的消息直播时长;响应于基于所述消息直播界面设置的目标消息直播时长,呈现包括提示信息的所述分享标识,所述提示信息用于指示所述目标会话处于消息直播状态;其中,所述至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,所述目标会话中所发布的会话消息,所述直播开始时间点为所述分享标识的呈现时间点,所述直播结束时间点处于所述直播开始时间点之后,与所述直播开始时间点间隔所述目标消息直播时长。In some embodiments, the generation module 5532 is further configured to present a live message function item corresponding to the shared identifier; in response to a trigger operation on the live message function item, present a live message setting interface, and the live message The setting interface is used for setting the message live broadcast duration of the target session; in response to the target message live broadcast duration set based on the message live broadcast interface, the sharing identification including prompt information is presented, and the prompt information is used to indicate the target The session is in the message live broadcast state; wherein, the at least one target session message includes: the session message issued in the target session during the period from the live broadcast start time point to the live broadcast end time point, and the live broadcast start time point is the The presentation time point of the sharing logo, the live broadcast end time point is after the live broadcast start time point, and is separated from the live broadcast start time point by the target message live broadcast duration.
在一些实施例中,所述接收模块5531,还用于呈现消息直播设置界面,所述消息直播设置界面用于供设置所述目标会话的消息直播时长;接收到基于所述消息直播界面设置的目标消息直播时长;响应于针对所述目标消息直播时长的确认操作,接收到针对所述目标会话包括的至少一条目标会话消息的分享指令;其中,所述至少一条目标会话消息包括:从直播开始时间点至直播结束时间点的时段内,所述目标会话中所发布的会话消息,所述直播开始时间点为所述分享指令的触发时间点,所述直播结束时间点处于所述直播开始时间点之后,与所述直播开始时间点间隔所述目标消息直播时长。In some embodiments, the receiving module 5531 is further configured to present a message live broadcast setting interface, and the message live broadcast setting interface is used to set the duration of the message live broadcast of the target session; Target message live broadcast duration; in response to the confirmation operation for the target message live broadcast duration, receiving a sharing instruction for at least one target session message included in the target session; wherein, the at least one target session message includes: starting from the live broadcast In the period from the time point to the end time point of the live broadcast, the session message published in the target session, the start time point of the live broadcast is the trigger time point of the sharing instruction, and the end time point of the live broadcast is at the start time of the live broadcast After the point, the target message live broadcast duration is separated from the live broadcast start time point.
在一些实施例中,所述至少一条目标会话消息包括:从所述目标会话的历史会话消息中选取的目标历史会话消息,所述生成模块5532,还用于呈现对应所述分享标识的消息直播功能项;接收到基于所述消息直播功能项触发的消息直播指令;响应于所述消息直播指令,呈现包括提示信息的所述分享标识,所述提示信息用于指示所述目标会话处于消息直播状态;其中,所述至少一条目标会话消息还包括:从所述目标历史会话消息的发布时间点至所述消息直播状态的结束时间点的时段内,所述目标会话中所发布的会话消息。In some embodiments, the at least one target session message includes: a target historical session message selected from historical session messages of the target session, and the generation module 5532 is further configured to present a live broadcast of the message corresponding to the sharing identifier function item; receiving a message live broadcast instruction triggered based on the message live broadcast function item; responding to the message live broadcast instruction, presenting the sharing identification including prompt information, the prompt information being used to indicate that the target session is in the message live broadcast state; wherein, the at least one target session message further includes: the session messages published in the target session during the period from the release time point of the target historical session message to the end time point of the message live broadcast state.
在一些实施例中,所述生成模块5532,还用于呈现对应所述分享标识的直播取消功能项;响应于针对所述直播取消功能项的触发操作,呈现不包括所述提示信息的所述分享标识,所述至少一条目标会话消息,为从所述目标会话的历史会话消息中选取的目标历史会话消息。In some embodiments, the generating module 5532 is further configured to present the live broadcast cancellation function item corresponding to the sharing identifier; in response to a trigger operation on the live broadcast cancellation function item, present the live broadcast cancellation function item not including the prompt information The shared identifier, the at least one target session message, is a target historical session message selected from historical session messages of the target session.
在一些实施例中,所述装置还包括:呈现模块,用于当所述目标会话处于消息直播状态时,在所述目标会话的会话界面中,呈现用于结束所述消息直播状态的结束功能项;当接收到针对所述结束功能项的触发操作时,控制所述目标会话退出所述消息直播状态。In some embodiments, the device further includes: a presentation module, configured to present an end function for ending the live message state in the session interface of the target session when the target session is in the live message state item; when a trigger operation for the end function item is received, control the target session to exit the message live broadcast state.
在一些实施例中,所述呈现模块,还用于当接收到针对所述结束功能项的触发操作时,呈现用于确认是否退出所述消息直播状态的提示控件;当基于所述提示控件接收到确认退出指令时,控制所述目标会话退出所述消息直播状态。In some embodiments, the presenting module is further configured to present a prompt control for confirming whether to exit the message live broadcast state when receiving a trigger operation for the end function item; When the exit instruction is confirmed, the target session is controlled to exit the message live broadcast state.
在一些实施例中,当所述目标会话处于消息直播状态时,所述会话查看模块,还用于响应于针对所述分享标识的识别操作,通过对所述目标会话进行直播,呈现所述目标会话中的至少一条目标会话消息、以及用于表征所述目标会话处于消息直播状态的提示信息。In some embodiments, when the target session is in the message live broadcast state, the session viewing module is further configured to present the target by live broadcasting the target session in response to the identification operation on the sharing identifier At least one target session message in the session, and prompt information used to indicate that the target session is in a live message state.
在一些实施例中,所述发送模块5533,还用于呈现所述分享标识对应的至少一个信息分享功能项,不同的所述信息分享功能项对应不同的信息分享方式;基于目标信息分享功能项,接收到针对所述目标对象的所述发送指令;所述发送模块5533,还用于通过所述目标信息分享功能项对应的信息分享方式,发送所述分享标识至所述发送指令所指示的目标对象的终端。In some embodiments, the sending module 5533 is further configured to present at least one information sharing function item corresponding to the sharing identifier, and different information sharing function items correspond to different information sharing methods; based on the target information sharing function item , receiving the sending instruction for the target object; the sending module 5533 is further configured to send the sharing identifier to the person indicated by the sending instruction through the information sharing method corresponding to the target information sharing function item The terminal of the target object.
在一些实施例中,所述会话查看模块,还用于响应于针对所述分享标识的识别操作,当所述至少一条目标会话消息中包含隐私信息时,对所述隐私信息进行模糊处理,使得所述隐私信息处于模糊状态;展示包括处于模糊状态的所述隐私信息的所述至少一条目标会话消息。In some embodiments, the session viewing module is further configured to, in response to the identification operation for the shared identifier, when the at least one target session message contains private information, perform obfuscation processing on the private information, so that The private information is in a fuzzy state; displaying the at least one target conversation message including the private information in a fuzzy state.
应用本申请上述实施例,当接收到针对目标会话包括的至少一条目标会话消息的分享指令时,响应于分享指令,生成至少一条目标会话消息对应的分享标识,并呈现分享标识,从而可在接收到针对分享标识的发送指令时,发送分享标识至发送指令所指示的目标对象的终端,而当目标对象的终端呈现该分享标识时,响应于针对分享标识的识别操作,呈现分享指令所指示分享的至少一条目标会话消息。如此,目标对象即可基于分享标识查看所分享的目标会话消息,能够使所查看到的会话消息的类型不被限制,实现多类型会话消息的分享;且仅需触发分享指令即可生成待分享的会话消息对应的分享标识,操作简单,提高实现会话消息分享的人机交互效率,减少处理资源的浪费。Applying the above-mentioned embodiments of the present application, when receiving a sharing instruction for at least one target session message included in the target session, in response to the sharing command, generate a sharing ID corresponding to at least one target session message, and present the sharing ID, so that you can receive When the instruction for sending the sharing identifier is sent, the sharing identifier is sent to the terminal of the target object indicated by the sending instruction, and when the terminal of the target object presents the sharing identifier, in response to the identification operation for the sharing identifier, the sharing instruction indicated by the sharing instruction is presented. At least one target session message for . In this way, the target object can view the shared target session message based on the sharing identifier, so that the type of the viewed session message is not limited, and the sharing of multiple types of session messages is realized; and only need to trigger the sharing command to generate the message to be shared The sharing identifier corresponding to the session message is simple to operate, improves the efficiency of human-computer interaction for sharing session messages, and reduces the waste of processing resources.
本申请实施例还提供一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行本申请实施例提供的会话消息的处理方法。The embodiment of the present application also provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the conversation message processing method provided by the embodiment of the present application.
本申请实施例还提供一种计算机可读存储介质,其中存储有可执行指令,当可执行指令被处理器执行时,将引起处理器执行本申请实施例提供的会话消息的处理方法。The embodiment of the present application further provides a computer-readable storage medium, in which executable instructions are stored. When the executable instructions are executed by a processor, the processor will be caused to execute the method for processing conversation messages provided in the embodiment of the present application.
在一些实施例中,计算机可读存储介质可以是FRAM、ROM、PROM、EP ROM、EEPROM、闪存、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。In some embodiments, the computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EP ROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; it can also include one or any combination of the above-mentioned memory of various equipment.
在一些实施例中,可执行指令可以采用程序、软件、软件模块、脚本或代码的形式,按任意形式的编程语言(包括编译或解释语言,或者声明性或过程性语言)来编写,并且其可按任意形式部署,包括被部署为独立的程序或者被部署为模块、组件、子例程或者适合在计算环境中使用的其它单元。In some embodiments, executable instructions may take the form of programs, software, software modules, scripts, or code written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and its Can be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
作为示例,可执行指令可以但不一定对应于文件系统中的文件,可以可被存储在保存其它程序或数据的文件的一部分,例如,存储在超文本标记语言(H TML,Hyper TextMarkup Language)文档中的一个或多个脚本中,存储在专用于所讨论的程序的单个文件中,或者,存储在多个协同文件(例如,存储一个或多个模块、子程序或代码部分的文件)中。As an example, executable instructions may, but do not necessarily correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in a Hyper Text Markup Language (HTML) document in one or more scripts, in a single file dedicated to the program in question, or in multiple cooperating files (for example, files that store one or more modules, subroutines, or sections of code).
作为示例,可执行指令可被部署为在一个计算设备上执行,或者在位于一个地点的多个计算设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算设备上执行。As an example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or alternatively, on multiple computing devices distributed across multiple sites and interconnected by a communication network. to execute.
以上所述,仅为本申请的实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本申请的保护范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims (25)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210122873.4A CN116614464A (en) | 2022-02-09 | 2022-02-09 | Method, device, equipment and computer program product for processing session message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210122873.4A CN116614464A (en) | 2022-02-09 | 2022-02-09 | Method, device, equipment and computer program product for processing session message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116614464A true CN116614464A (en) | 2023-08-18 |
Family
ID=87676972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210122873.4A Pending CN116614464A (en) | 2022-02-09 | 2022-02-09 | Method, device, equipment and computer program product for processing session message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116614464A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117061110A (en) * | 2023-08-31 | 2023-11-14 | 中移互联网有限公司 | Message sharing method and device, electronic equipment and storage medium |
CN119781890A (en) * | 2024-12-31 | 2025-04-08 | 北京字跳网络技术有限公司 | Interactive information display method, device, electronic device, storage medium and program product |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150350145A1 (en) * | 2014-05-29 | 2015-12-03 | Apple Inc. | Sharing of activity metadata via messaging systems |
US20180053003A1 (en) * | 2016-08-18 | 2018-02-22 | Qualcomm Incorporated | Selectively obfuscating a portion of a stream of visual media that is streamed to at least one sink during a screen-sharing session |
CN109992732A (en) * | 2019-04-11 | 2019-07-09 | 北京字节跳动网络技术有限公司 | Information sharing method, device, electronic equipment and storage medium |
CN112286608A (en) * | 2020-10-28 | 2021-01-29 | 腾讯科技(深圳)有限公司 | Message forwarding method and device, computer equipment and storage medium |
CN112333337A (en) * | 2019-07-17 | 2021-02-05 | 腾讯科技(深圳)有限公司 | Message checking method, device, equipment and storage medium |
CN113630303A (en) * | 2020-04-22 | 2021-11-09 | 连普乐士株式会社 | Content sharing method, content sharing system, readable storage medium and electronic device |
CN113992619A (en) * | 2020-07-10 | 2022-01-28 | 腾讯科技(深圳)有限公司 | Live broadcast information processing method, device, equipment and computer readable storage medium |
-
2022
- 2022-02-09 CN CN202210122873.4A patent/CN116614464A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150350145A1 (en) * | 2014-05-29 | 2015-12-03 | Apple Inc. | Sharing of activity metadata via messaging systems |
US20180053003A1 (en) * | 2016-08-18 | 2018-02-22 | Qualcomm Incorporated | Selectively obfuscating a portion of a stream of visual media that is streamed to at least one sink during a screen-sharing session |
CN109992732A (en) * | 2019-04-11 | 2019-07-09 | 北京字节跳动网络技术有限公司 | Information sharing method, device, electronic equipment and storage medium |
CN112333337A (en) * | 2019-07-17 | 2021-02-05 | 腾讯科技(深圳)有限公司 | Message checking method, device, equipment and storage medium |
CN113630303A (en) * | 2020-04-22 | 2021-11-09 | 连普乐士株式会社 | Content sharing method, content sharing system, readable storage medium and electronic device |
CN113992619A (en) * | 2020-07-10 | 2022-01-28 | 腾讯科技(深圳)有限公司 | Live broadcast information processing method, device, equipment and computer readable storage medium |
CN112286608A (en) * | 2020-10-28 | 2021-01-29 | 腾讯科技(深圳)有限公司 | Message forwarding method and device, computer equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117061110A (en) * | 2023-08-31 | 2023-11-14 | 中移互联网有限公司 | Message sharing method and device, electronic equipment and storage medium |
CN119781890A (en) * | 2024-12-31 | 2025-04-08 | 北京字跳网络技术有限公司 | Interactive information display method, device, electronic device, storage medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3467692B1 (en) | Message permission management method and device, and storage medium | |
US20190109838A1 (en) | Secure authentication for accessing remote resources | |
US20180225474A1 (en) | Messaging systems and methods | |
CN113656783B (en) | Application service processing method, device, electronic device and storage medium | |
US9641575B2 (en) | Method for sharing multimedia content between two users | |
CN111522604B (en) | Application data processing method and device and computer readable storage medium | |
EP1378810A2 (en) | System and methods to regulate use of consumer devices and services | |
WO2014190789A1 (en) | Method, device, client and server for interaction | |
US20150188983A1 (en) | Dynamically launching a server-based application on a mobile device | |
CN116614464A (en) | Method, device, equipment and computer program product for processing session message | |
US9740835B2 (en) | Systems and methods for creating and sharing protected content | |
US10397296B2 (en) | Comment link for shared streaming media content | |
CN113420133B (en) | Session processing method, device, equipment and storage medium | |
CN115695926B (en) | Interaction method, device, electronic device, storage medium and program product | |
CN111782997A (en) | Method and device for loading webpage and storage medium | |
WO2024093170A1 (en) | Data processing method and apparatus, device, storage medium, and program product | |
CN116708343A (en) | Conference processing method, apparatus, device, storage medium and program product | |
CN117193604A (en) | Online document processing method and device, electronic equipment and storage medium | |
CN117097496A (en) | Privacy protection method, device, electronic equipment, storage medium and program product | |
CN116938485A (en) | A communication method, related device and related system | |
CN114579952A (en) | Information processing method, device and equipment for light application | |
Lee et al. | FLUID-IoT: Flexible and Fine-Grained Access Control in Shared IoT Environments via Multi-user UI Distribution | |
Selvaraj | Real-Time Applications with Laravel | |
CN116743404A (en) | Account intercommunication processing method, device and equipment across applications and storage medium | |
CN118803325A (en) | A set-top box screen projection method, device, electronic device and storage medium |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40091432 Country of ref document: HK |