Message processing method and device
By automatically filtering and forwarding messages, combined with message forwarding permission information, the problem of cumbersome message forwarding operations and security risks in the existing technology is solved, and efficient and secure message forwarding is achieved.
Patent Information
- Application Number
- CN202411515432.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, the message forwarding process requires the user to manually select messages and specify contacts, and there is a lack of permission restrictions, which poses security risks.
By receiving the message sent by the first session object and filtering the corresponding permission information from the message forwarding permission information of the user session object and the first session object, the message is automatically forwarded to the second session object with a session relationship.
Reduce user operations, improve message forwarding efficiency, and enhance security through permission control, avoiding information leakage.
Smart Images

Figure CN119402459A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of artificial intelligence technology, and specifically relates to a message processing method and device. Background Art
[0002] Social applications in electronic devices provide private chat and group chat functions. Private chat is a one-to-one chat between two people, and messages can be sent directly to the designated party; group chat is a many-to-many chat between multiple people, and messages sent in the group can be seen by everyone in the group, so as to facilitate the synchronization of messages.
[0003] In the related art, a user can select any number of messages from the chat messages with contact 1 and forward them to contact 2 specified by the user. However, this message forwarding process not only increases the number of operations for the user to manually select messages and specify contact 2, but also because there is no permission restriction on message forwarding, it is easy to leak the information sent by contact 1, posing a security risk. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a message processing method, device and electronic device, which can reduce the operations of forwarding messages by user session objects, avoid leaking contact information, and improve the security of message forwarding.
[0005] In a first aspect, an embodiment of the present application provides a message processing method, including:
[0006] receiving a first conversation message sent by a first conversation object;
[0007] Filtering first message forwarding permission information corresponding to the first conversation message from the message forwarding permission information of the first conversation object and the user conversation object, the first message forwarding permission information including permission information of the first conversation object authorizing the user conversation object to forward the conversation message between the first conversation object and the user conversation object to the conversation object having a conversation relationship with the user conversation object, the conversation object having a conversation relationship with the user conversation object including the second conversation object, and the conversation message including the first conversation message;
[0008] The first conversation message is forwarded to the second conversation object according to the first message forwarding authority information.
[0009] In a second aspect, an embodiment of the present application provides a message processing device, including:
[0010] A receiving module, configured to receive a first conversation message sent by a first conversation object;
[0011] a screening module, configured to screen first message forwarding permission information corresponding to a first session message from message forwarding permission information of a first session object and a user session object, wherein the first message forwarding permission information includes permission information that the first session object authorizes the user session object to forward a session message between the first session object and the user session object to a session object having a session relationship with the user session object, wherein the session object having a session relationship with the user session object includes a second session object, and the session message includes the first session message;
[0012] The sending module is used to forward the first session message to the second session object according to the first message forwarding authority information.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the message processing method shown in the first aspect are implemented.
[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the message processing method shown in the first aspect are implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the message processing method shown in the first aspect.
[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the message processing method shown in the first aspect.
[0017] In an embodiment of the present application, when a first session message sent by a first session object is received, the first message forwarding permission information corresponding to the first session message can be screened from the message forwarding permission information of the first session object and the user session object, the first message forwarding permission information includes permission information of the first session object authorizing the user session object to forward the session message between the first session object and the user session object to the session object having a session relationship with the user session object, the session object having a session relationship with the user session object includes the second session object, the session message includes the first session message, and then, according to the first message forwarding permission information, the first session message is forwarded to the second session object. In this way, the user session object does not need to participate in the session message forwarding process, reduces the operation of the user session object manually selecting the session message to be forwarded and the session object receiving the session message, improves the session message forwarding efficiency, and through the first session object authorizing the user session object to forward the permission information of the session message between the first session object and the user session object to the session object having a session relationship with the user session object, it can be prevented that the user session object privately forwards the session message sent by the first session object without the permission of the first session object, thereby improving the security of message forwarding. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flowchart of a message processing method provided for some embodiments of the present application;
[0019] FIG. 2( a) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0020] FIG2( b) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0021] FIG2( c ) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0022] FIG2( d ) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0023] FIG2( e) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0024] FIG3( a) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0025] FIG3( b) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0026] FIG4( a) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0027] FIG4( b) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0028] FIG4( c ) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0029] FIG5( a) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0030] FIG5( b) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0031] Figure 6 A schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0032] FIG. 7( a) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0033] FIG7( b) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0034] FIG8( a) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0035] FIG8( b) is a schematic diagram of an interface of a message processing method provided in some embodiments of the present application;
[0036] Fig. 9 A schematic diagram of the structure of a message processing device provided for some embodiments of the present application;
[0037] Fig.10 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application;
[0038] Fig.11 A schematic diagram of the hardware structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0040] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0041] In the related art, a social application in an electronic device includes two chat groups, namely, group 1 and group 2. Group 1 includes three user session objects, A, B, and C, and group 2 includes three user session objects, B, D, and E. When user session object A cannot enter group 2 for some reason, and user session object B wants to forward a message sent by user session object A in group 1 to group 2, user session object B needs to select the message of user session object A in group 1, click forward, and trigger the electronic device to display the contact list of the message recipient. User session object B can select group 2 in the contact list to forward the message sent by user session object A in group 1 to group 2 through user session object B.
[0042] However, the above message forwarding method requires the B user session object to manually select the message to be forwarded and specify the contact, such as group 2, which will increase the user session object operations. If the A user session object sends multiple messages in different time periods in group 1, the B user session object needs to repeat the process of forwarding the A user session object's message to group 2, which reduces the efficiency of message forwarding. Moreover, the above message forwarding method does not have any authority restrictions. The B user session object can forward the message sent by the A user session object without the authorization of A, which is easy to leak the information sent by contact 1, posing a security risk.
[0043] In order to solve the problems in the related technology, the embodiments of the present application provide a message processing method, device and electronic device, which can reduce the operations of forwarding messages by user session objects. While realizing the rapid forwarding of messages, it can also prevent privacy leakage through permission control and improve the security of message forwarding.
[0044] The following is combined with Figures 1 to 6 , the message processing method provided in the embodiment of the present application is described in detail through specific embodiments and their application scenarios.
[0045] First, combine Figure 1 A message processing method provided in an embodiment of the present application is described in detail.
[0046] Figure 1 A flowchart of a message processing method provided for some embodiments of the present application.
[0047] like Figure 1 As shown, the message processing method provided in the embodiment of the present application can be applied to an electronic device. Based on this, the message processing method can include step 110 and step 130, as shown below.
[0048] Step 110, receiving a first session message sent by a first session object; Step 120, filtering first message forwarding permission information corresponding to the first session message from message forwarding permission information between the first session object and the user session object, the first message forwarding permission information including permission information of the first session object authorizing the user session object to forward a session message between the first session object and the user session object to a session object having a session relationship with the user session object, the session object having a session relationship with the user session object including a second session object, and the session message including the first session message; Step 130, forwarding the first session message to the second session object according to the first message forwarding permission information.
[0049] Therefore, the session message forwarding process does not require the participation of the user session object, which reduces the operation of the user session object manually selecting the session message to be forwarded and the session object receiving the session message, thereby improving the session message forwarding efficiency. In addition, by authorizing the user session object to forward the permission information of the first session object and the user session object to the session object having a session relationship with the user session object through the first session object, it can be avoided that the user session object privately forwards the session message sent by the first session object without the permission of the first session object, thereby improving the security of message forwarding.
[0050] The above steps are described in detail below, as shown below.
[0051] First, step 110 is involved. In the embodiment of the present application, the first conversation object may be at least one contact in a private chat in the social application where the user conversation object is located, or may be a group in a group chat. At this time, if the first conversation object is a contact in a private chat, then the first conversation message is a conversation message sent by the contact to the user conversation object. If the first conversation object is a group in a group chat, then the first conversation message is a group message in the group, and the first conversation message is sent by a group contact in the group where the user conversation object is located.
[0052] And, in the embodiment of the present application, the first conversation message sent by the first conversation object received when the social application is a background application can be as follows, and the first conversation message sent by the first conversation object received when the social application is a foreground application can also be. Here, taking the foreground application as an example for explanation, if the first conversation message is displayed in the first conversation interface, it means that the first conversation message sent by the first conversation object has been received, wherein the first conversation interface is a conversation interface between the user conversation object and the first conversation object in the electronic device of the user conversation object, for example, as shown in FIG2 (a), when the user conversation object is user conversation object C and the first conversation object is user conversation object B, the current group chat interface is the first conversation interface. Based on this, when "text 2" sent by user conversation object B is displayed in the first conversation interface, it means that the first conversation message sent by the first conversation object has been received.
[0053] In step 120, in the embodiment of the present application, the message forwarding permission information includes the association relationship between the first session object, the user session object, and the second session object, and may also include the message forwarding permission information including the association relationship between the first session object, the user session object, the second session object, and the first message forwarding restriction condition, wherein the first message forwarding restriction condition is a message forwarding restriction condition that the first session object authorizes the user session object to forward the session message between the first session object and the user session object. Based on this, the first message forwarding permission information corresponding to the first session message can be determined based on the different contents included in the message forwarding permission information, as shown below.
[0054] In some embodiments of the present application, the message forwarding permission information includes an association relationship among the first session object, the user session object, and the second session object. Based on this, before step 120, the message processing method may further include:
[0055] Step 140: Determine whether the message forwarding authority information of the first conversation object and the user conversation object is included according to the identity information of the first conversation object.
[0056] Exemplarily, if the first session object is a chat group of the user session object, then the identity information of the first session object can be the group name of the chat group, such as group 1. Based on this, group 1 can be matched with the group name in the message forwarding permission information to determine whether the message forwarding permission information of the first session object and the user session object is included.
[0057] Based on this, step 120 may specifically include step 1201 and step 1202 .
[0058] Step 1201: when determining the message forwarding permission information including the first session object and the user session object, determine whether there is message forwarding permission information matching the first session message in the message forwarding permission information.
[0059] Exemplarily, when it is determined that the group name in the message forwarding permission information includes group 1, the message forwarding permission information includes the message forwarding permission information of group 1 as the message forwarding permission information for initial matching with the first conversation message.
[0060] Further, it is determined whether there is message forwarding permission information matching the first session message in the initially matched message forwarding permission information. If the first session message is a picture, it is determined whether there is a preset session message type matching the picture from the initially matched message forwarding permission information. If there is, it means that there is message forwarding permission information matching the first session message in the message forwarding permission information. If not, it means that there is no message forwarding permission information matching the first session message in the message forwarding permission information. Alternatively, if the first session message is a picture and the time of receiving the first session message is January 4, 2024, it is determined whether there is a preset session message type matching the picture from the initially matched message forwarding permission information. If there is, the time of receiving the first session message is matched with the session message forwarding validity period in the initially matched message forwarding permission information where the preset session message type matching the picture is located. If not, it means that there is no message forwarding permission information matching the first session message in the message forwarding permission information. If there is a match, it means that there is no message forwarding permission information matching the first session message in the message forwarding permission information.
[0061] Step 1202: When it is determined that there is message forwarding authority information matching the first session message, the message forwarding authority information matching the first session message is determined as the first message forwarding authority information.
[0062] On the contrary, when it is determined that the message forwarding authority information of the first session object and the user session object is not included, after step 140 , the message processing method may further include steps 1501 to 1505 .
[0063] Step 1501, display a first conversation interface, where the first conversation interface is a conversation interface between a first conversation object and a user conversation object displayed by an electronic device of the user conversation object, and the first conversation interface includes a message forwarding management area, where the message forwarding management area is used to display object options of conversation objects having a conversation relationship with the user conversation object.
[0064] Exemplarily, as shown in FIG. 2( b ), still taking the chat group in which the first conversation object is a user conversation object, namely group 1, as an example, the first conversation interface 20 includes a message forwarding management area 21 .
[0065] Step 1502: Receive a third input to the message forwarding management area, where the third input includes an input of a third object option in the user session object selection object option.
[0066] Exemplarily, as shown in FIG2(c), still taking the chat group in which the first conversation object is the user conversation object, i.e., group 1, as an example, the user conversation object can click on the message forwarding management area 21 to trigger the display of object options. For example, when the user conversation object B has been determined to be the forwarding party, object options of conversation objects having a conversation relationship with the user conversation object B, such as the object options of group 2, can be displayed. Then, the user conversation object can select the object option of group 2, i.e., the third object option.
[0067] Step 1503: In response to the third input, a second message forwarding request is sent to the first session object, the second message forwarding request carries the identity information of the fourth session object, and the second message forwarding request is used to request the first session object to authorize the user session object to forward the first session message to the fourth session object.
[0068] Step 1504: forward the first session message to the fourth session object upon receiving the second message forwarding authorization notification sent by the first session object.
[0069] Therefore, the session message forwarding process does not require the user session object to participate, which reduces the user session object's manual selection of the session message to be forwarded and the session object receiving the session message, thereby improving the session message forwarding efficiency.
[0070] In addition, after step 1201 , the message processing method may further include steps 1505 and 1506 .
[0071] Step 1505: When it is determined that there is no message forwarding authority information matching the first session message, a third message forwarding request is sent to the first session object. The third message forwarding request carries the first session message. The third message forwarding request is used to request the first session object to authorize the user session object to forward the first session message to the second session object.
[0072] Step 1506: forward the first session message to the second session object upon receiving the third message forwarding authorization notification sent by the first session object.
[0073] In an embodiment of the present application, before step 120, the message processing method further provides at least two methods for determining message forwarding authority information, as shown below.
[0074] In some embodiments of the present application, the user session object, ie, the session message forwarder, may specify a second session object, ie, the message recipient, to receive the forwarded session message, and request approval from the first session object, ie, the session message provider.
[0075] Based on this, the message forwarding permission information in the embodiment of the present application may include the second session object receiving the forwarded session message, namely the message recipient, and the message forwarding restriction conditions, which are described separately below.
[0076] For the scenario in which the message forwarding permission information in the embodiment of the present application includes the identity information of the second session object, i.e., the message recipient, that receives the forwarded session message, before step 120, the message processing method may include steps 1601 to 1604.
[0077] Step 1601, display a first conversation interface, which is a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, and the first conversation interface includes a message forwarding management area, and the message forwarding management area is used to display object options of conversation objects having a conversation relationship with the user conversation object.
[0078] Step 1602: Receive a first input to the message forwarding management area, where the first input includes an input of a first object option in an object option of a user session object selection.
[0079] Step 1603, in response to the first input, a first message forwarding request is sent to the first session object, the first message forwarding request carries the identity information of the third session object corresponding to the first object option, and the first message forwarding request is used to request the first session object to authorize the user session object to forward the session message to the third session object. Here, when the number of the third session objects is one, the third session object may be the second session object, and when the number of the third session objects is at least two, the second session object is at least one session object among the third session objects.
[0080] Step 1604: upon receiving the first message forwarding authorization notification sent by the first session object, generate message forwarding permission information based on the association information of the first session object, the user session object and the content carried in the first message forwarding request.
[0081] Here, the message forwarding authority information may be generated by using the association information of the first session object, the user session object and the second session object.
[0082] Based on this, the message forwarding permission information can also include message forwarding restriction conditions, such as the preset session message type of the session message to be forwarded, the session message forwarding validity period, and other message forwarding restriction conditions. The user session object, i.e., the session message forwarder, can still specify the message forwarding display conditions and request approval from the first session object, i.e., the session message provider.
[0083] Therefore, the message forwarding management area is also used to display a message forwarding restriction condition option for the user session object to forward a session message to the third session object. The first message forwarding request also carries a first message forwarding restriction condition corresponding to the first message forwarding restriction condition option. The first message forwarding request is used to request the first session object to authorize the user session object to forward the session message that meets the first message forwarding restriction condition to the third session object. The first input includes a first sub-input and a second sub-input. The first sub-input includes an input of a first object option in an object option selected by the user session object, and the second sub-input includes an input of a first message forwarding restriction condition option in an message forwarding restriction condition option selected by the user session object. The above step 1602 may specifically include steps 16021 to 16023.
[0084] Step 16021, receiving a first sub-input for a first object option in the object options.
[0085] Exemplarily, as shown in FIG. 2( c ), the first object option may be group 2 , and at this time, a first sub-input for group 2 may be received.
[0086] Step 16022: In response to the first sub-input, display the message forwarding restriction condition option corresponding to the first object option.
[0087] Exemplarily, as shown in FIG. 2( d ), the message forwarding restriction condition option may be a preset conversation message type option, such as a “text” option, a “video” option, and a “picture” option.
[0088] Step 16023, receiving a second sub-input of the first message forwarding restriction option in the message forwarding restriction option.
[0089] Exemplarily, as shown in FIG2(d), the first message forwarding restriction condition options may be a "text" option and a "picture" option, so that the first conversation object, such as user conversation object A, may be requested to authorize user conversation object B to forward text conversation messages and picture conversation messages to group 2.
[0090] Based on this, step 1603 may specifically include:
[0091] In response to the second sub-input, a first message forwarding request is sent to the first session object.
[0092] In other embodiments of the present application, the first session object, i.e., the session message provider, can specify the second session object, i.e., the message recipient, which receives the forwarded session message, and the message forwarding restriction conditions, so that the user session object generates message forwarding permission information according to the message forwarding authorization instruction specified by the first session object.
[0093] Thereby, it can be prevented that the user session object privately forwards the session message sent by the first session object without the permission of the first session object, thereby improving the security of message forwarding.
[0094] Based on this, the message forwarding permission information in the embodiment of the present application may include the second session object receiving the forwarded session message, namely the message recipient, and the message forwarding restriction conditions, which are described separately below.
[0095] For the scenario in which the message forwarding permission information in the embodiment of the present application includes the identity information of the second session object, i.e., the message recipient, that receives the forwarded session message, before step 120, the message processing method may further include steps 1605 and 1606.
[0096] Step 1605: Receive a message forwarding authorization instruction sent by the first session object, where the message forwarding authorization instruction carries identity information of a third session object. The third session object is a session object corresponding to the second object option, where the second object option is selected from object options of session objects having a session relationship with the user session object displayed on the second session interface, where the second session interface is a session interface between the user session object and the first session object displayed by the electronic device of the first session object, and the third session object includes the second session object.
[0097] Exemplarily, a first session object, such as user session object A, can be Figure 2(b) to Figure 2(d) The content shown determines the third session object, but in this embodiment, before executing the above 2(c), the user session object A has a step of selecting a session message forwarding party from the user session object B and the user session object C, which can be specifically shown in Figure 2(c), that is, the user session object A can select the user session object B as the session message forwarding party.
[0098] Step 1606: Generate message forwarding permission information based on the association relationship between the first session object, the user session object, and the content carried by the message forwarding authorization instruction.
[0099] The message forwarding permission information may also include message forwarding restriction conditions, such as the preset session message type of the session message to be forwarded, the session message forwarding validity period, and other message forwarding restriction conditions, which may still be specified by the first session object, ie, the session message provider.
[0100] Based on this, the message forwarding authorization instruction also carries a first message forwarding restriction condition for instructing the user session object to forward the session message to the third session object;
[0101] The first message forwarding restriction condition is a message forwarding restriction condition corresponding to a first message forwarding restriction condition option, and the first message forwarding restriction condition option is selected from message forwarding restriction condition options corresponding to the second object option displayed in the second conversation interface;
[0102] The message forwarding authorization instruction is used to instruct the user session object to forward a session message that meets the first message forwarding restriction condition to the second session object.
[0103] It should be noted that the session message that meets the first message forwarding restriction condition in the embodiment of the present application includes at least one of the following:
[0104] A conversation message that matches a preset conversation message type, a conversation message that includes a preset message keyword, or a conversation message that is received within the conversation message forwarding validity period.
[0105] Exemplarily, the preset conversation message types include but are not limited to text, image or video. The preset message keywords include but are not limited to "yellow", "green", and "coriander". The conversation message forwarding validity period can be expressed by a duration, such as one year from 2024, or by a time interval, such as January 1, 2024 to June 1, 2024.
[0106] In addition, the message forwarding method provided in the embodiment of the present application also provides a step for quickly editing message forwarding permission information, that is, after step 120, the message forwarding method may also include steps 1701 to 1704.
[0107] Step 1701, display a first conversation interface, the first conversation interface is a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, the first conversation interface includes a message forwarding authority information display area, the message forwarding authority information display area is used to display first message forwarding authority information, the first message forwarding authority information includes message forwarding authority information.
[0108] Exemplarily, as shown in FIG. 2( e ), the first conversation interface includes a message forwarding authority information display area 22 .
[0109] Step 1702: receiving a second input of the user session object to the second message forwarding permission information in the message forwarding permission information, wherein the second input is an input for modifying the second message forwarding permission information. The second message forwarding permission information may include the first message forwarding permission information.
[0110] Exemplarily, the second message forwarding permission information may be "forwarding user session object B-forwarding group "Group 2"-message type "text, picture"-preset keywords "yellow, green"-validity period "2024.07.14-07.15"".
[0111] Step 1703, in response to the second input, the second message forwarding authority information in the message forwarding authority information display area is updated and displayed as third message forwarding authority information, and the third message forwarding authority information is the message forwarding authority information modified from the second message forwarding information.
[0112] Then, referring to step 130 , in some embodiments of the present application, after step 130 , the message processing method may further include steps 1801 and 1802 .
[0113] Step 1801, displaying a third conversation interface, where the third conversation interface is a conversation interface between a user conversation object and a second conversation object displayed by an electronic device of the user conversation object, and the third conversation interface includes a conversation message display area, where the conversation message display area is used to display conversation messages between the user conversation object and the second conversation object, and the message display area includes a display window, where the conversation messages displayed in the display window are conversation messages forwarded by the user conversation object to the second conversation object.
[0114] Exemplarily, as shown in FIG3(a), the second conversation object may be a chat group of user conversation object B, i.e., group 2. In this case, group 2 may include user conversation object B, user conversation object D, and user conversation object E. Based on this, a third conversation interface is displayed, and the third conversation interface may include a conversation message display area, and the conversation message display area is used to display conversation messages of user conversation object B, user conversation object D, and user conversation object E, such as user conversation object D: Chinese Heart. Display window 30 may display a conversation message of user conversation object A forwarded by user conversation object B.
[0115] Step 1802: Display a conversation message display window in the message display area. The conversation message display window is used to display the conversation message forwarded by the user conversation object to the second conversation object. The conversation message display window includes the first conversation message.
[0116] Thus, the session message forwarding process does not require the user session object to participate, reducing the user session object's manual selection of the session message to be forwarded and the session object receiving the session message, thereby improving the session message forwarding efficiency.
[0117] Based on this, in some other embodiments of the present application, after step 130, the message processing method may further include steps 1803 and 1804.
[0118] Step 1803: Determine from the conversation messages between the user conversation object and the second conversation object whether there is a second conversation message related to the first conversation message.
[0119] Step 1804: when it is determined that there is a second conversation message related to the first conversation message, at least one of the following is displayed in the conversation message display window: the first conversation message, the second conversation message, and the third conversation message, wherein the third conversation message is a conversation message obtained by data fusion or splicing of the first conversation message and the second conversation message.
[0120] Exemplarily, if the first conversation message is "Hello", in order to facilitate other user conversation objects in group 2 to view information, all messages of user conversation object A forwarded by user conversation object B can be used as second conversation messages. At this time, as shown in Figure 3(b), the first conversation message and the second conversation message can be displayed simultaneously in the conversation message display window 30.
[0121] In this way, the embodiment of the present application can simultaneously display the content of the conversation message forwarded by the user conversation object, such as multiple pictures or multiple videos, to facilitate the user conversation object to view, thereby reducing the operation of the user conversation object to browse the conversation message records.
[0122] In summary, the embodiment of the present application provides a message processing method, which can provide a management interface in the display group to authorize user session object A to allow other user session objects to forward messages sent by the user session object to certain specific groups, and can set sensitive words, or can only forward certain specific message types, such as voice or video; other user session objects forward messages sent by user session object A to other groups, and need to check whether they have been authorized before, if not, they need to initiate an authorization application; thereafter, messages sent by user session object A in the group will be automatically forwarded to the authorized group, and the forwarded messages will be suspended in the form of bubbles in the upper right corner of the forwarder's avatar, and you can click to see the specific content of the forwarded message; for multiple pictures or videos sent by the user session object, according to the relevance of the pictures or videos, the related pictures or videos are merged and arranged together for easy viewing.
[0123] Based on this, the message processing method provided in the embodiment of the present application is exemplarily described below using two chat groups as an example, as shown below.
[0124] The social application in the electronic device includes group 1 and group 2. Group 1 has user session object A, user session object B and user session object C, and group 2 has user session object B, user session object D and user session object E; the sidebar of each group has a message forwarding management area, as shown in Figure 2(a) and Figure 4(a).
[0125] Step 1: User session object A in group 1 clicks on the sidebar and clicks on the message forwarding management area to authorize whether to automatically forward the messages in group 1 to other groups.
[0126] Step 2, user session object A clicks on the new user session object authorization, as shown in FIG4(b), and multiple other user session objects in the group will be displayed for user session object A to select, such as the option of user session object B and the option of user session object C.
[0127] Step 3, after user session object A has checked user session object B, as shown in FIG. 2(c), other groups where user session object B is located will pop up for user session object A to check, such as group 2.
[0128] Step 4, after user session object A selects group 2, as shown in FIG. 2( d ), a message type will pop up for user session object A to select, such as video, text, or picture.
[0129] Step 5: User session object A may further select preset keyword settings to prevent session messages containing preset keywords from being forwarded.
[0130] Step 6: User session object A may further set a validity period for message forwarding synchronization.
[0131] Step 7, after the user session object A is set, the forwarding management can be viewed, as shown in Figure 2(e), and further modified.
[0132] In step 8, as shown in FIG4(c), user session object A sends a message "Hello" in group 1, which will be automatically forwarded to group 2 by user session object B; as shown in FIG3(a), a session message display window will be displayed in the upper right corner of the avatar of user session object B in group 2, and the session message display window is used to display the session message forwarded by user session object B.
[0133] In step 9, as shown in FIG5(a), user session object A sends two messages "Shenzhen" and "Guangzhou" in group 1. At this time, user session object B does not need to forward the messages manually. As shown in FIG5(b), the two new messages will be automatically synchronized to group 2.
[0134] Step 10, such as Figure 6 As shown, when user session object B of group 1 manually forwards a message of user session object A to unauthorized group 3, or forwards a message with preset keywords, or forwards a video, a prompt will pop up: unauthorized or contains sensitive words, etc. Please apply for authorization from the corresponding personnel.
[0135] Step 11, after receiving the application authorization, user session object A of group 1 can perform authorization settings through steps 2 to 10.
[0136] Step 12, as shown in FIG7(a), user session object A of group 1 sent four pictures, which are picture 1, picture 2, picture 3, and picture 4 in chronological order. Picture 1 and picture 4 both show scenic spots in Shenzhen and are related. Picture 2 and picture 3 both show scenic spots in Guangzhou and are related.
[0137] Step 12, as shown in Figure 7(b), the four pictures of user session object A are automatically forwarded to group 2 by B. The forwarding message of user session object B in group 2 will adjust the order and integrate the pictures according to the relevance of the pictures, and turn them into two large pictures, picture 5 and picture 6. The middle of each picture is separated by a dotted line, indicating that the picture has been spliced, so that the user session object only needs to click twice to view the original four pictures, and the related pictures are placed together, which is also convenient for the user session object to obtain information.
[0138] Step 14, as shown in FIG8(a), user conversation object A of group 1 sent three videos, which are video 1, video 2, and video 3 in chronological order. Video 1 and video 3 both show the video of user conversation object A giving a lecture, and are related.
[0139] Step 15, as shown in Figure 8(b), the three videos of user session object A are automatically forwarded to group 2 through B. The forwarding message of user session object B of group 2 will adjust the order and integrate the videos according to their relevance, and become two videos, video 4 and video 5. Video 4 is the integration of videos 1 and 3 that have relevance, and video 5 is video 2 of group 1.
[0140] Therefore, the message processing method provided by the embodiment of the present application does not require the participation of the user session object in the session message forwarding process, reduces the operation of the user session object manually selecting the session message to be forwarded and the session object receiving the session message, improves the efficiency of session message forwarding, and can avoid privacy leakage problems through message forwarding permission information control. For multiple pictures or videos sent by the user session object, the related pictures or videos are merged together and arranged according to the relevance of the pictures or videos for easy viewing.
[0141] The message processing method provided in the embodiment of the present application can be executed by a message processing device. In the embodiment of the present application, the message processing device executing display is taken as an example to illustrate the device of the message processing method provided in the embodiment of the present application.
[0142] The present application also provides a message processing device. Fig. 9 Provide detailed explanation.
[0143] Fig. 9A schematic diagram of the structure of a message processing device provided for some embodiments of the present application.
[0144] like Fig. 9 As shown, the message processing device 90 can be applied to an electronic device, and the message processing device 90 can specifically include:
[0145] A receiving module 901 is used to receive a first conversation message sent by a first conversation object;
[0146] A screening module 902 is used to screen first message forwarding permission information corresponding to a first session message from message forwarding permission information of a first session object and a user session object, wherein the first message forwarding permission information includes permission information that the first session object authorizes the user session object to forward a session message between the first session object and the user session object to a session object having a session relationship with the user session object, wherein the session object having a session relationship with the user session object includes a second session object, and the session message includes the first session message;
[0147] The sending module 903 is used to forward the first session message to the second session object according to the first message forwarding authority information.
[0148] The message processing device 90 in the embodiment of the present application is described in detail below, as shown below.
[0149] In some embodiments of the present application, the message processing device 90 may further include a display module for displaying a first conversation interface, the first conversation interface being a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, the first conversation interface including a message forwarding management area, the message forwarding management area being used to display object options of conversation objects having a conversation relationship with the user conversation object;
[0150] The receiving module 901 is used to receive a first input to the message forwarding management area, where the first input includes an input of a first object option in an object selection option of a user session object;
[0151] A sending module 903 is used to send a first message forwarding request to the first session object in response to the first input, where the first message forwarding request carries the identity information of the third session object corresponding to the first object option, and the first message forwarding request is used to request the first session object to authorize the user session object to forward the session message to the third session object;
[0152] The message processing device 90 in the embodiment of the present application may also include a generation module for generating message forwarding permission information based on the association information of the first session object, the user session object and the content carried in the first message forwarding request when receiving the first message forwarding authorization notification sent by the first session object.
[0153] In some embodiments of the present application, the receiving module 901 is used to display a message forwarding restriction condition option for the user session object to forward a session message to a third session object in the message forwarding management area, the first message forwarding request also carries a first message forwarding restriction condition corresponding to the first message forwarding restriction condition option, and the first message forwarding request is used to request the first session object to authorize the user session object to forward the session message that meets the first message forwarding restriction condition to the third session object; the first input includes a first sub-input and a second sub-input, and receives a first sub-input for the first object option in the object option;
[0154] The message processing device 90 in the embodiment of the present application may further include a display module, which is used to display a message forwarding restriction condition option corresponding to the first object option in response to the first sub-input;
[0155] A receiving module 901 is used to receive a second sub-input of a first message forwarding restriction condition option in the message forwarding restriction condition option;
[0156] The sending module 903 is configured to send a first message forwarding request to the first session object in response to the second sub-input.
[0157] In some embodiments of the present application, the receiving module 901 is used to receive a message forwarding authorization instruction sent by the first conversation object, the message forwarding authorization instruction carries the identity information of the third conversation object, the third conversation object is a conversation object corresponding to the second object option, the second object option is selected from the object options of the conversation object having a conversation relationship with the user conversation object displayed on the second conversation interface, the second conversation interface is a conversation interface between the user conversation object and the first conversation object displayed by the electronic device of the first conversation object, and the third conversation object includes the second conversation object;
[0158] The message processing device 90 in the embodiment of the present application may further include a generation module for generating message forwarding permission information based on the association relationship between the first session object, the user session object and the content carried by the message forwarding authorization instruction.
[0159] In some embodiments of the present application, the message forwarding authorization instruction further carries a first message forwarding restriction condition for instructing the user session object to forward the session message to the third session object;
[0160] The first message forwarding restriction condition is a message forwarding restriction condition corresponding to a first message forwarding restriction condition option, and the first message forwarding restriction condition option is selected from message forwarding restriction condition options corresponding to the second object option displayed in the second conversation interface;
[0161] The message forwarding authorization instruction is used to instruct the user session object to forward a session message that meets the first message forwarding restriction condition to the second session object.
[0162] In some embodiments of the present application, the session message that satisfies the first message forwarding restriction condition includes at least one of the following:
[0163] A conversation message that matches a preset conversation message type, a conversation message that includes a preset message keyword, or a conversation message that is received within the conversation message forwarding validity period.
[0164] In some embodiments of the present application, the message processing device 90 in the embodiment of the present application may further include a display module for displaying a first conversation interface, the first conversation interface being a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, the first conversation interface including a message forwarding authority information display area, the message forwarding authority information display area being used to display the first message forwarding authority information;
[0165] Receiving module 901, used for receiving a second input of second message forwarding authority information in the message forwarding authority information from the user session object;
[0166] The display module is also used to, in response to the second input, update and display the second message forwarding authority information in the message forwarding authority information display area as third message forwarding authority information, where the third message forwarding authority information is the message forwarding authority information modified from the second message forwarding information.
[0167] In some embodiments of the present application, the message processing device 90 in the embodiment of the present application may further include a determination module, which is used to determine whether to include message forwarding authority information of the first session object and the user session object according to the identity information of the first session object;
[0168] When the message forwarding authority information including the first session object and the user session object is determined and there is message forwarding authority information matching the first session message, the message forwarding authority information matching the first session message is determined as the first message forwarding authority information.
[0169] In some embodiments of the present application, the message processing device 90 in the embodiment of the present application may further include a display module, which is used to display a first conversation interface when it is determined that the message forwarding authority information of the first conversation object and the user conversation object is not included, the first conversation interface is a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, the first conversation interface includes a message forwarding management area, and the message forwarding management area is used to display object options of conversation objects having a conversation relationship with the user conversation object;
[0170] A receiving module 901, configured to receive a third input to a message forwarding management area;
[0171] A sending module 903 is used to send a second message forwarding request to the first session object in response to the third input, where the second message forwarding request carries the identity information of the fourth session object, and the second message forwarding request is used to request the first session object to authorize the user session object to forward the first session message to the fourth session object;
[0172] The sending module 903 is used to forward the first session message to the fourth session object when receiving the second message forwarding authorization notification sent by the first session object.
[0173] In some embodiments of the present application, the sending module 903 is used to send a third message forwarding request to the first session object when it is determined that there is no message forwarding authority information matching the first session message, the third message forwarding request carries the first session message, and the third message forwarding request is used to request the first session object to authorize the user session object to forward the first session message to the second session object;
[0174] When receiving the third message forwarding authorization notification sent by the first session object, the first session message is forwarded to the second session object.
[0175] In some embodiments of the present application, the message processing device 90 in the embodiment of the present application may further include a display module for displaying a third conversation interface, the third conversation interface being a conversation interface between a user conversation object and a second conversation object displayed by an electronic device of the user conversation object, the third conversation interface including a conversation message display area, the conversation message display area being used to display conversation messages between the user conversation object and the second conversation object;
[0176] A conversation message display window is displayed in the message display area, the conversation message display window is used to display the conversation message forwarded by the user conversation object to the second conversation object, and the conversation message display window includes the first conversation message.
[0177] In some embodiments of the present application, the message processing device 90 in the embodiments of the present application may also include a display module, which is used to display at least one of the following in the conversation message display window when there is a second conversation message related to the first conversation message in the conversation message between the user conversation object and the second conversation object: the first conversation message, the second conversation message, and the third conversation message, wherein the third conversation message is a conversation message obtained by data fusion or splicing of the first conversation message and the second conversation message.
[0178] The message processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0179] The message processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0180] The message processing device provided in the embodiment of the present application can realize Figure 1 Each process implemented by the message processing method embodiment shown in FIG8 achieves the same technical effect and will not be described again here to avoid repetition.
[0181] Based on this, the message processing device provided by the embodiment of the present application can, when receiving the first session message sent by the first session object, filter the first message forwarding permission information corresponding to the first session message from the message forwarding permission information of the first session object and the user session object, the first message forwarding permission information includes the permission information of the first session object authorizing the user session object to forward the session message between the first session object and the user session object to the session object having a session relationship with the user session object, the session object having a session relationship with the user session object includes the second session object, the session message includes the first session message, and then, according to the first message forwarding permission information, the first session message is forwarded to the second session object. In this way, the user session object does not need to participate in the session message forwarding process, reduces the operation of the user session object manually selecting the session message to be forwarded and the session object receiving the session message, improves the session message forwarding efficiency, and through the permission information of the first session object authorizing the user session object to forward the session message between the first session object and the user session object to the session object having a session relationship with the user session object, it can be prevented that the user session object privately forwards the session message sent by the first session object without the permission of the first session object, thereby improving the security of message forwarding.
[0182] Optional, such as Fig.10 As shown, an embodiment of the present application also provides an electronic device 100, including a processor 1001 and a memory 1002, wherein the memory 1002 stores programs or instructions that can be executed on the processor 1001, and when the program or instructions are executed by the processor 1001, the various steps of the above-mentioned message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0183] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0184] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0185] The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110 and other components.
[0186] Those skilled in the art will appreciate that the electronic device 1100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0187] In the embodiment of the present application, the network module 1102 is used to receive a first session message sent by a first session object. The processor 1110 is used to filter the first message forwarding permission information corresponding to the first session message from the message forwarding permission information of the first session object and the user session object, the first message forwarding permission information includes permission information that the first session object authorizes the user session object to forward the session message between the first session object and the user session object to the session object having a session relationship with the user session object, the session object having a session relationship with the user session object includes the second session object, and the session message includes the first session message. The network module 1102 is also used to forward the first session message to the second session object according to the first message forwarding permission information.
[0188] The electronic device 1100 is described in detail below, as shown below.
[0189] In some embodiments of the present application, the display unit 1106 is used to display a first conversation interface, where the first conversation interface is a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, and the first conversation interface includes a message forwarding management area, where the message forwarding management area is used to display object options of conversation objects having a conversation relationship with the user conversation object;
[0190] The user input unit 1107 is used to receive a first input to the message forwarding management area, wherein the first input includes an input of a first object option in an object option of a user session object selection;
[0191] The network module 1102 is used to send a first message forwarding request to the first session object in response to the first input, where the first message forwarding request carries the identity information of the third session object corresponding to the first object option, and the first message forwarding request is used to request the first session object to authorize the user session object to forward the session message to the third session object;
[0192] Processor 1110 is configured to generate message forwarding permission information based on association information of the first session object, the user session object and the content carried in the first message forwarding request when receiving the first message forwarding authorization notification sent by the first session object.
[0193] In some embodiments of the present application, the user input unit 1107 is used to display a message forwarding restriction condition option for the user session object to forward a session message to a third session object in the message forwarding management area, the first message forwarding request also carries a first message forwarding restriction condition corresponding to the first message forwarding restriction condition option, and the first message forwarding request is used to request the first session object to authorize the user session object to forward the session message that meets the first message forwarding restriction condition to the third session object; the first input includes a first sub-input and a second sub-input, and receives a first sub-input for the first object option in the object option;
[0194] A display unit 1106, configured to display a message forwarding restriction condition option corresponding to the first object option in response to the first sub-input;
[0195] The network module 1102 is used to receive a second sub-input of a first message forwarding restriction condition option in the message forwarding restriction condition options;
[0196] The network module 1102 is configured to send a first message forwarding request to the first session object in response to the second sub-input.
[0197] In some embodiments of the present application, the network module 1102 is used to receive a message forwarding authorization instruction sent by the first session object, the message forwarding authorization instruction carries identity information of a third session object, the third session object is a session object corresponding to the second object option, the second object option is selected from object options of session objects having a session relationship with the user session object displayed on the second session interface, the second session interface is a session interface between the user session object and the first session object displayed by the electronic device of the first session object, and the third session object includes the second session object;
[0198] The processor 1110 is configured to generate message forwarding permission information based on an association relationship among the first session object, the user session object, and the content carried by the message forwarding authorization instruction.
[0199] In some embodiments of the present application, the message forwarding authorization instruction further carries a first message forwarding restriction condition for instructing the user session object to forward the session message to the third session object;
[0200] The first message forwarding restriction condition is a message forwarding restriction condition corresponding to a first message forwarding restriction condition option, and the first message forwarding restriction condition option is selected from message forwarding restriction condition options corresponding to the second object option displayed in the second conversation interface;
[0201] The message forwarding authorization instruction is used to instruct the user session object to forward a session message that meets the first message forwarding restriction condition to the second session object.
[0202] In some embodiments of the present application, the session message that satisfies the first message forwarding restriction condition includes at least one of the following:
[0203] A conversation message that matches a preset conversation message type, a conversation message that includes a preset message keyword, or a conversation message that is received within the conversation message forwarding validity period.
[0204] In some embodiments of the present application, the display unit 1106 is used to display a first conversation interface, where the first conversation interface is a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, and the first conversation interface includes a message forwarding authority information display area, where the message forwarding authority information display area is used to display the first message forwarding authority information;
[0205] The user session object input unit 1107 is used to receive a second input of the second message forwarding authority information in the message forwarding authority information from the user session object;
[0206] In response to the second input, the display unit 1106 updates and displays the second message forwarding authority information in the message forwarding authority information display area as third message forwarding authority information, where the third message forwarding authority information is the message forwarding authority information modified from the second message forwarding information.
[0207] In some embodiments of the present application, the processor 1110 is configured to determine, based on the identity information of the first session object, whether to include message forwarding authority information of the first session object and the user session object;
[0208] When the message forwarding authority information including the first session object and the user session object is determined and there is message forwarding authority information matching the first session message, the message forwarding authority information matching the first session message is determined as the first message forwarding authority information.
[0209] In some embodiments of the present application, the display unit 1106 is used to display a first conversation interface when it is determined that the message forwarding permission information between the first conversation object and the user conversation object is not included, the first conversation interface being a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, the first conversation interface including a message forwarding management area, the message forwarding management area being used to display object options of conversation objects having a conversation relationship with the user conversation object;
[0210] The user input unit 1107 is used to receive a third input to the message forwarding management area;
[0211] The network module 1102 is used to send a second message forwarding request to the first session object in response to the third input, where the second message forwarding request carries the identity information of the fourth session object, and the second message forwarding request is used to request the first session object to authorize the user session object to forward the first session message to the fourth session object;
[0212] The network module 1102 is configured to forward the first session message to the fourth session object upon receiving the second message forwarding authorization notification sent by the first session object.
[0213] In some embodiments of the present application, the network module 1102 is used to send a third message forwarding request to the first session object when it is determined that there is no message forwarding authority information matching the first session message, the third message forwarding request carries the first session message, and the third message forwarding request is used to request the first session object to authorize the user session object to forward the first session message to the second session object;
[0214] When receiving the third message forwarding authorization notification sent by the first session object, the first session message is forwarded to the second session object.
[0215] In some embodiments of the present application, the display unit 1106 is used to display a third conversation interface, where the third conversation interface is a conversation interface between the user conversation object and the second conversation object displayed by the electronic device of the user conversation object, and the third conversation interface includes a conversation message display area, where the conversation message display area is used to display conversation messages between the user conversation object and the second conversation object;
[0216] A conversation message display window is displayed in the message display area, the conversation message display window is used to display the conversation message forwarded by the user conversation object to the second conversation object, and the conversation message display window includes the first conversation message.
[0217] In some embodiments of the present application, the display unit 1106 is used to display at least one of the following in the conversation message display window when there is a second conversation message related to the first conversation message in the conversation messages between the user conversation object and the second conversation object: the first conversation message, the second conversation message, and the third conversation message, wherein the third conversation message is a conversation message obtained by data fusion or splicing of the first conversation message and the second conversation message.
[0218] It should be understood that the input unit 1104 may include a graphics processing unit (GPU) 11041 and a microphone 11042, and the graphics processor 11041 processes the image data of a static image or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1106 may include a display panel, and the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1107 includes a touch panel 11071 and at least one of other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch display. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as a volume display button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0219] The memory 1109 can be used to store software programs and various data. The memory 1109 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1109 can include a volatile memory or a non-volatile memory, or the memory 1109 can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0220] The processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless display signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1110.
[0221] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0222] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0223] In addition, an embodiment of the present application further provides a chip, which includes a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0224] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0225] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned message processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0226] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0227] In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0228] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0229] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A message processing method, characterized in that: include: receiving a first conversation message sent by a first conversation object; Filtering first message forwarding permission information corresponding to the first conversation message from the message forwarding permission information of the first conversation object and the user conversation object, the first message forwarding permission information including permission information of the first conversation object authorizing the user conversation object to forward a conversation message between the first conversation object and the user conversation object to a conversation object having a conversation relationship with the user conversation object, the conversation object having a conversation relationship with the user conversation object including a second conversation object, and the conversation messages including the first conversation message; Forward the first session message to the second session object according to the first message forwarding authority information.
2. The method according to claim 1, characterized in that Before filtering the first message forwarding permission information corresponding to the first conversation message from the message forwarding permission information of the first conversation object and the user conversation object, the method further includes: displaying a first conversation interface, where the first conversation interface is a conversation interface between the first conversation object and the user conversation object displayed by the electronic device corresponding to the user conversation object, the first conversation interface comprising a message forwarding management area, where the message forwarding management area is used to display object options of conversation objects having a conversation relationship with the user conversation object; receiving a first input to the message forwarding management area, wherein the first input includes an input for selecting a first object option among the object options; In response to the first input, sending a first message forwarding request to the first session object, the first message forwarding request carrying identity information of a third session object corresponding to the first object option, the first message forwarding request being used to request the first session object to authorize the user to forward the session message to the third session object; Upon receiving the first message forwarding authorization notification sent by the first session object, the message forwarding permission information is generated based on association information of the first session object, the user session object, and the content carried in the first message forwarding request.
3. The method according to claim 2, characterized in that The message forwarding management area is further used to display a message forwarding restriction condition option for the user session object to forward the session message to the third session object, the first message forwarding request further carries a first message forwarding restriction condition corresponding to the first message forwarding restriction condition option, the first message forwarding request is used to request the first session object to authorize the user session object to forward the session message that meets the first message forwarding restriction condition to the third session object, and the first input includes a first sub-input and a second sub-input; The receiving a first input to the message forwarding management area includes: receiving a first sub-input for a first object option among the object options; In response to the first sub-input, displaying a message forwarding restriction condition option corresponding to the first object option; receiving a second sub-input of a first message forwarding restriction option in the message forwarding restriction option; In response to the second sub-input, the first message forwarding request is sent to the first session object.
4. The method according to claim 1, characterized in that: Before filtering the first message forwarding permission information corresponding to the first conversation message from the message forwarding permission information of the first conversation object and the user conversation object, the method further includes: receiving a message forwarding authorization instruction sent by the first conversation object, the message forwarding authorization instruction carrying identity information of a third conversation object, the third conversation object being a conversation object corresponding to the second object option, the second object option being selected from object options of conversation objects having a conversation relationship with the user conversation object displayed on a second conversation interface, the second conversation interface being a conversation interface between the user conversation object and the first conversation object displayed by the electronic device of the first conversation object, and the third conversation object including the second conversation object; The message forwarding permission information is generated based on the association relationship among the first session object, the user session object and the content carried by the message forwarding authorization instruction.
5. The method according to claim 4, characterized in that The message forwarding authorization instruction also carries a first message forwarding restriction condition for instructing the user session object to forward the session message to the third session object; The first message forwarding restriction condition is a message forwarding restriction condition corresponding to a first message forwarding restriction condition option, and the first message forwarding restriction condition option is selected from message forwarding restriction condition options corresponding to the second object option displayed in the second conversation interface; The message forwarding authorization instruction is used to instruct the user session object to forward a session message that meets the first message forwarding restriction condition to the second session object.
6. The method according to claim 3 or 5, characterized in that: The session message that satisfies the first message forwarding restriction condition includes at least one of the following: A conversation message that matches a preset conversation message type, a conversation message that includes a preset message keyword, or a conversation message that is received within the conversation message forwarding validity period.
7. The method according to claim 2, characterized in that The method further comprises: displaying a first conversation interface, where the first conversation interface is a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, and the first conversation interface includes a message forwarding authority information display area, where the message forwarding authority information display area is used to display the first message forwarding authority information; receiving a second input from a user regarding second message forwarding authority information in the message forwarding authority information; In response to the second input, the second message forwarding authority information in the message forwarding authority information display area is updated and displayed as third message forwarding authority information, and the third message forwarding authority information is the message forwarding authority information modified by the second message forwarding information.
8. The method according to claim 1, characterized in that: Before filtering the first message forwarding permission information corresponding to the first conversation message from the message forwarding permission information of the first conversation object and the user conversation object, the method further includes: Determining, according to the identity information of the first session object, whether to include message forwarding authority information between the first session object and the user session object; The step of filtering the first message forwarding authority information corresponding to the first conversation message from the message forwarding authority information of the first conversation object and the user conversation object includes: When it is determined that the message forwarding authority information of the first session object and the user session object is included and there is message forwarding authority information matching the first session message, the message forwarding authority information matching the first session message is determined as the first message forwarding authority information.
9. The method according to claim 8, characterized in that The method further comprises: In the case where it is determined that the message forwarding permission information between the first conversation object and the user conversation object is not included, displaying a first conversation interface, the first conversation interface being a conversation interface between the first conversation object and the user conversation object displayed by the electronic device of the user conversation object, the first conversation interface comprising a message forwarding management area, the message forwarding management area being used to display object options of conversation objects having a conversation relationship with the user conversation object; receiving a third input to the message forwarding management area; In response to the third input, sending a second message forwarding request to the first session object, the second message forwarding request carrying the identity information of the fourth session object, the second message forwarding request being used to request the first session object to authorize the user session object to forward the first session message to the fourth session object; When receiving the second message forwarding authorization notification sent by the first session object, forward the first session message to the fourth session object.
10. The method according to claim 8, characterized in that The method further comprises: In a case where it is determined that there is no message forwarding authority information matching the first session message, sending a third message forwarding request to the first session object, where the third message forwarding request carries the first session message, and the third message forwarding request is used to request the first session object to authorize the user session object to forward the first session message to the second session object; Upon receiving the third message forwarding authorization notification sent by the first session object, the first session message is forwarded to the second session object.
11. The method according to claim 1, characterized in that After forwarding the first session message to the second session object according to the first message forwarding authority information, the method further includes: displaying a third conversation interface, wherein the third conversation interface is a conversation interface between the user conversation object and the second conversation object displayed by the electronic device corresponding to the user conversation object, wherein the third conversation interface includes a conversation message display area, and the conversation message display area is used to display conversation messages between the user conversation object and the second conversation object; A conversation message display window is displayed in the message display area, wherein the conversation message display window is used to display the conversation message forwarded by the user conversation object to the second conversation object, and the conversation message display window includes the first conversation message.
12. The method according to claim 11, characterized in that After forwarding the first session message to the second session object according to the first message forwarding authority information, the method further includes: In the case where there is a second conversation message related to the first conversation message in the conversation messages between the user conversation object and the second conversation object, at least one of the following is displayed in the conversation message display window: the first conversation message, the second conversation message, and a third conversation message, wherein the third conversation message is a conversation message obtained by data fusion or splicing of the first conversation message and the second conversation message.
13. A message processing device, characterized in that: include: A receiving module, configured to receive a first conversation message sent by a first conversation object; a screening module, configured to screen first message forwarding permission information corresponding to the first session message from message forwarding permission information between the first session object and the user session object, wherein the first message forwarding permission information includes permission information that the first session object authorizes the user session object to forward a session message between the first session object and the user session object to a session object having a session relationship with the user session object, wherein the session object having a session relationship with the user session object includes a second session object, and the session messages include the first session message; A sending module is used to forward the first session message to the second session object according to the first message forwarding authority information.