Method, apparatus and electronic device for information interaction
View Patent ↗Embodiments of the present disclosure disclose an information interaction method and apparatus and an electronic device. The method includes: displaying information of at least one first session, wherein the information of the first session includes a structured identifier, and the structured identifier includes at least one first field; and based on a received first preset operation performed on a target first field, displaying an information page associated with the target first field, such that different jump entries are set in information of a session, and an information page indicated by an operation of a user is jumped to based on the operation of the user, thereby improving the flexibility of information jumping.
1 . A method for information interaction, comprising:
displaying information of at least one first session, wherein the information of the at least one first session comprises a structured identifier, and the structured identifier comprises a plurality of selectable fields, wherein the plurality of selectable fields comprises a first selectable field corresponding to a session identifier of the at least one first session and a second selectable field corresponding to an entity identifier of a first entity to which the at least one first session belongs; and
based on a received preset operation performed on the second selectable field, switching from displaying the information of the at least one first session to displaying an information page associated with the entity identifier.
2 . The method according to claim 1 , based on the received first preset operation performed on the further comprising:
based on a received first preset operation performed on the session identifier in the information of the first session, jumping to display an information page corresponding to the session identifier.
3 . The method according to claim 1 , wherein displaying the information of the at least one first session comprises:
displaying the information of the at least one first session in an information flow area of an interface of an instant messaging client; or
displaying the information of the at least one first session in a session interface of an interface of an instant messaging client; or
displaying the information of the at least one first session in a cloud document.
4 . The method according to claim 1 , wherein in the information of the at least one first session, the session identifier, and the entity each correspond to a different one of the plurality of selectable fields.
5 . The method according to claim 1 , wherein the at least one first session comprises a multi-entity first session, and the multi-entity first session corresponds to at least the first entity and a second entity, and wherein the plurality of selectable fields comprises a third selectable field corresponding to an entity identifier of the second entity.
6 . The method according to claim 1 , wherein the first entity to which the at least one first session belongs comprises one of the following:
a team associated with the at least one first session; or
an organization to which a user corresponding to the at least one first session belongs.
7 . The method according to claim 1 , wherein the entity identifier and the session identifier share one display space, and in information of the at least one first session, a first display length used for displaying the entity identifier and the session identifier is less than or equal to a first preset length threshold; or
the entity identifier and the session identifier respectively correspond to independent display spaces, and in information of the at least one first session, a display length used for displaying the session identifier is less than or equal to a second preset length threshold, and a display length used for displaying the entity identifier is less than or equal to a third preset length threshold.
8 . The method according to claim 7 , wherein
if the entity identifier and the session identifier share one display space, the first preset length threshold corresponds to a display space of two rows or three rows; and
if the entity identifier and the session identifier respectively correspond to independent display spaces, a total of a display space corresponding to the third preset length threshold and a display space corresponding to the second preset length threshold is a display space of two rows or three rows.
9 . The method according to claim 7 , wherein
when the entity identifier and the session identifier share one display space, if the first display length occupied by the session identifier and the entity identifier is greater than the first preset length threshold, performing a truncation operation on the session identifier or the entity identifier; and
when the entity identifier and the session identifier respectively correspond to independent display spaces, if the display length for the session identifier of the at least one first session is greater than the second preset length threshold, truncating the session identifier based on the second preset length threshold, and if the display length for the entity identifier of the first session is greater than the third preset length threshold, truncating the entity identifier based on the third preset length threshold.
10 . The method according to claim 1 , wherein the at least one first session comprises at least one of a one-to-one chat session and a group chat session.
11 . The method according to claim 1 , wherein
an information page corresponding to the session identifier comprises a session detail page; or
the first entity is a team, and an information page corresponding to the entity identifier of the first entity comprises an information page of a target team indicated by the entity identifier.
12 . The method according to claim 1 , the method further comprising:
based on a received page jump setting operation performed on the second selectable field, associating the entity identifier with an information page corresponding to the page jump setting operation.
13 . The method according to claim 1 , the method further comprising:
based on a received disassociation operation performed by a user on the second selectable field, canceling an association relationship between the second selectable field and an associated association information page, and setting the second selectable field to a common field.
14 . An electronic device, comprising:
one or more processors;
a storage device, configured to store one or more programs, wherein
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement acts comprising:
displaying information of at least one first session, wherein the information of the at least one first session comprises a structured identifier, and the structured identifier comprises a plurality of selectable fields, wherein the plurality of selectable fields comprises a first selectable field corresponding to a session identifier of the at least one first session and a second selectable field corresponding to an entity identifier of a first entity to which the at least one first session belongs; and
based on a received preset operation performed on the second selectable field, switching from displaying the information of the at least one first session to displaying an information page associated with the entity identifier.
15 . A non-transitory computer-readable storage medium, with a computer program stored thereon, wherein the program, when executed by a processor, implements acts comprising:
displaying information of at least one first session, wherein the information of the at least one first session comprises a structured identifier, and the structured identifier comprises a plurality of selectable fields, wherein the plurality of selectable fields comprises a first selectable field corresponding to a session identifier of the at least one first session and a second selectable field corresponding to an entity identifier of a first entity to which the at least one first session belongs; and
based on a received preset operation performed on the second selectable field, switching from displaying the information of the at least one first session to displaying an information page associated with the entity identifier.
16 . The device according to claim 14 , based on the received first preset operation performed on the further comprising:
based on a received preset operation performed on the session identifier in the information of the first session, jumping to display an information page corresponding to the session identifier.
17 . The device according to claim 14 , wherein displaying the information of the at least one first session comprises:
displaying the information of the at least one first session in an information flow area of an interface of an instant messaging client; or
displaying the information of the at least one first session in a session interface of an interface of an instant messaging client; or
displaying the information of the at least one first session in a cloud document.
18 . The device according to claim 14 , wherein in the information of the at least one first session, the session identifier, and the entity each correspond to a different one of the plurality of selectable fields.
19 . The device according to claim 14 , wherein the at least one first session comprises a multi-entity first session, and the multi-entity first session corresponds to at least the first entity and a second entity, and wherein the plurality of selectable fields comprises a third selectable field corresponding to an entity identifier of the second entity.
20 . The device according to claim 14 , wherein the first entity to which the at least one first session belongs comprises one of the following:
a team associated with the at least one first session; or
an organization to which a user corresponding to the at least one first session belongs.