CN115309304A - Session message display method, device, storage medium and computer equipment - Google Patents

Session message display method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN115309304A
CN115309304A CN202110491587.0A CN202110491587A CN115309304A CN 115309304 A CN115309304 A CN 115309304A CN 202110491587 A CN202110491587 A CN 202110491587A CN 115309304 A CN115309304 A CN 115309304A
Authority
CN
China
Prior art keywords
scene
random
session
candidate
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110491587.0A
Other languages
Chinese (zh)
Inventor
沙莎
肖仙敏
伍芷滢
王士元
陈波
张林晖
刘立强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110491587.0A priority Critical patent/CN115309304A/en
Publication of CN115309304A publication Critical patent/CN115309304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a conversation message display method, a conversation message display device, a storage medium and computer equipment; the method and the device can display a session page of the target session in the instant messaging client, wherein the session page comprises a random selection control; responding to the operation of the random selection control, displaying random session messages sent to all session members of the target session on a session page, wherein the random session messages comprise scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate objects are associated with the randomly selected scene; the method and the device can construct a random selection scene in the target session and display a random result of the random selection scene.

Description

Session message display method, device, storage medium and computer equipment
Technical Field
The present application relates to the field of instant messaging, and in particular, to a method and an apparatus for displaying a session message, a storage medium, and a computer device.
Background
The instant messaging software can realize instant conversation between two or more persons, the limitation of space distance is broken, the distance between the persons is shortened, and along with the development and the progress of the technology, on the basis of realizing the instant conversation, the instant messaging software starts to explore the instant conversation scene, so that the daily requirements of the persons can be more met. For example, the instant messaging software can assist the user in making a decision in social contact, and the user can randomly generate a result according to the expression after throwing out the random expressions such as the color, the stone, the scissors and the cloth. However, such random results are user-less operable and do not define themes and custom options.
Disclosure of Invention
The embodiment of the application provides a conversation message display method, a conversation message display device, a storage medium and computer equipment, which can construct a random selection scene in a target conversation and display a random result of the random selection scene.
The embodiment of the application provides a method for displaying a session message, which comprises the following steps:
displaying a session page of a target session in an instant messaging client, wherein the session page comprises a random selection control;
and responding to the operation of the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate objects are associated with the randomly selected scene.
Accordingly, the present application provides a conversation message display apparatus, comprising:
the session display module is used for displaying a session page of a target session in the instant messaging client, and the session page comprises a random selection control;
a message display module, configured to display, on the session page, a random session message sent to all session members of the target session in response to an operation on the random selection control, where the random session message includes scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate object is associated with the randomly selected scene.
In some embodiments, the random conversation message further includes at least one recommended content associated with the scene target object, and the conversation message display apparatus further includes:
and the detail display module is used for responding to the trigger operation aiming at the target recommended content in the at least one recommended content and displaying a content detail page corresponding to the target recommended content.
In some embodiments, the message display module may include a candidate display sub-module and a message display sub-module, wherein,
a candidate display sub-module for displaying scene description information and at least two scene candidates of a randomly selected scene in response to an operation for the random selection control;
and the message display sub-module is used for responding to the determination operation aiming at the randomly selected scene and displaying the random session messages sent to all the session members of the target session on the session page.
In some embodiments, the candidate display sub-module includes a type selection unit, a page display unit, and an information editing unit, wherein,
the type selection unit is used for responding to the triggering operation aiming at the random selection control and displaying at least one random type control;
the page display unit is used for responding to the triggering operation aiming at the target random type control in the at least one random type control and displaying a random scene editing page corresponding to the target random type;
an information editing unit configured to display scene description information and at least two scene candidates of a randomly selected scene in response to an editing operation for the random scene editing page.
In some embodiments, the random scene editing page includes a description information editing region and a candidate object editing region, the information editing unit includes a description display subunit and a candidate display subunit, wherein,
a description display subunit operable to display scene description information of a randomly selected scene in response to an editing operation for the description information editing region;
a candidate display subunit configured to display at least two scene candidates in response to an editing operation for the candidate editing region.
In some embodiments, the randomly selected scene page further includes a number edit control for the scene target object, and the conversation message display apparatus further includes:
and the quantity selection subunit is used for responding to the editing operation aiming at the quantity editing control and displaying the scene target quantity of the randomly selected scene.
In some embodiments, the candidate object editing region includes a candidate object selection control, and the candidate display subunit is specifically configured to:
in response to a triggering operation of a selection control for the candidate object, displaying an object list page, the object list page including a plurality of objects;
in response to a selection operation for at least two selected objects of the plurality of objects, the at least two selected objects are determined to be scene candidates, and the at least two scene candidates are displayed.
In some embodiments, the candidate object editing region includes a candidate object selection control, and the candidate display subunit is specifically configured to:
in response to a triggering operation of a selection control for the candidate object, displaying an object list page, the object list page including a plurality of objects;
in response to a selection operation for at least two selected objects of the plurality of objects, the at least two selected objects are determined to be scene candidates, and the at least two scene candidates are displayed.
In some embodiments, the candidate object edit region includes a candidate object selection control, the candidate display subunit includes a first candidate display subunit and a second candidate display subunit, wherein,
a first candidate display subunit, configured to display a member list page of the target session in response to a trigger operation for selecting a control for the candidate object, where the member list page includes all session members of the target session;
and the second candidate display subunit is used for responding to the selection operation aiming at least two selected conversation members in the conversation members, determining the at least two selected conversation members as scene candidate objects, and displaying the at least two scene candidate objects.
In some embodiments, the at least two scene candidates comprise a first scene candidate and a second scene candidate, the second candidate displaying subunit is specifically configured to:
responding to the selection operation of a scene initiating object of the randomly selected scene for a first selected conversation member, determining the first selected conversation member as a first scene candidate object, and displaying the identification information of the first selected conversation member;
and responding to the selection operation of the scene participation object of the randomly selected scene to a second selected conversation member, determining the second selected conversation member as a second scene candidate object, and displaying the identification information of the first selected conversation member and the identification information of the second selected conversation member.
In some embodiments, the candidate object edit region includes a candidate object add control, the at least two scene candidates include a first scene candidate and a second scene candidate, the candidate display subunit includes a third candidate display subunit and a fourth candidate display subunit, wherein,
a third candidate display subunit, configured to, in response to an editing operation for adding a control to the candidate object, acquire a first scene candidate object, and display the first scene candidate object in the candidate object editing region;
and the fourth candidate display subunit is configured to, in response to the editing operation for adding the control to the candidate object, acquire a second scene candidate object, and display the first scene candidate object and the second scene candidate object in the candidate object editing area.
In some embodiments, the fourth candidate display subunit is specifically configured to:
and responding to the editing operation of the scene participation object of the randomly selected scene on the candidate object addition control, acquiring a second scene candidate object, and displaying the second scene candidate object, the identification information of the participation object and the first scene candidate object in the candidate object editing area.
In some embodiments, the random session message includes scene description information and an object display area of a randomly selected scene, and the fourth candidate display subunit is specifically configured to:
responding to the operation of the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and a target display area, the target display area comprises a randomly selected dynamic effect, and the randomly selected dynamic effect comprises all scene candidate objects of the randomly selected scene;
and when the randomly selected dynamic effect display is finished, displaying at least one scene target object in the target display area.
In some embodiments, the conversation message display apparatus further comprises:
and the object receiving module is used for receiving at least one scene target object returned by the server, wherein the scene target object is obtained by randomly selecting at least two received scene candidate objects by the server.
Correspondingly, an embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute any one of the session message display methods provided in the embodiments of the present application.
Accordingly, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the session message display methods provided in the embodiment of the present application when executing the computer program.
The method and the device can display a session page of the target session in the instant messaging client, wherein the session page comprises a random selection control; and responding to the operation aiming at the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate object is associated with the randomly selected scene.
The method and the device for displaying the random selection scene in the conversation page can display the random selection control on the conversation page, and display the random conversation message on the conversation page according to the operation aiming at the random selection control, wherein the random conversation message can comprise scene description information and a scene target object of the random selection scene, so that the random selection scene can be built in the conversation page of the target conversation through the random selection control, and the random result of the random selection scene can be displayed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scene of a conversation message display system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for displaying a session message according to an embodiment of the present application;
fig. 3 is a schematic page interaction diagram of a session message display method according to an embodiment of the present application;
fig. 4 is another schematic page interaction diagram of a conversation message display method provided in the embodiment of the present application;
FIG. 5 is a schematic diagram of another page interaction of a conversation message display method provided in the embodiment of the present application;
FIG. 6 is a schematic diagram of another page interaction of a conversation message display method provided in the embodiment of the present application;
FIG. 7 is a schematic diagram of another page interaction of a conversation message display method provided in the embodiment of the present application;
FIG. 8 is a schematic diagram of another page interaction of a conversation message display method provided in the embodiment of the present application;
FIG. 9 is a schematic diagram of another page interaction of a conversation message display method provided in an embodiment of the present application;
FIG. 10 is a schematic diagram of another page interaction of a conversation message display method provided in an embodiment of the present application;
FIG. 11 is a schematic diagram of another page interaction of a conversation message display method provided in the embodiment of the present application;
FIG. 12 is a schematic diagram of another page interaction of a conversation message display method provided in an embodiment of the present application;
FIG. 13 is a schematic diagram of another page interaction of a conversation message display method provided in the embodiment of the present application;
fig. 14 is another schematic flow chart of a conversation message display method provided in an embodiment of the present application;
FIG. 15 is a schematic view of another page interaction of a method for displaying a session message according to an embodiment of the present application;
fig. 16 is a schematic diagram of a background implementation of a session message display method according to an embodiment of the present application;
fig. 17 is another schematic page interaction diagram of a conversation message display method according to an embodiment of the present application;
fig. 18 is a schematic diagram illustrating another background implementation of a conversation message display method according to an embodiment of the present application;
FIG. 19 is a schematic view of another page interaction of a method for displaying a session message according to an embodiment of the present application;
fig. 20 is a schematic diagram of another background implementation of a conversation message display method according to an embodiment of the present application;
fig. 21 is a schematic structural diagram of a conversation message display apparatus according to an embodiment of the present application;
fig. 22 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the embodiments described in the present application are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The session message display method of the present application may be integrated in a session message display system, and the session message display system may be integrated in one or more computer devices, and the computer devices may include terminals or servers, and the like, where the server may be an independent physical server, a server cluster or a distributed system formed by multiple physical servers, or a cloud server providing cloud computing services. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a smart home, a wearable electronic device, a vehicle-mounted computer, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
Referring to fig. 1, a conversation message display system may include a conversation message display apparatus, wherein the conversation message display apparatus may be integrated on a terminal and a server, wherein the terminal may display a conversation page of a target conversation in an instant messaging client, the conversation page including a random selection control; and responding to the operation of the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate objects are associated with the randomly selected scene.
The server may receive at least two scene candidates transmitted by the terminal, randomly select at least one scene target object from the at least two scene candidates, and transmit the at least one scene target object to the terminal, so that the terminal may display a random conversation message including the scene target object on a conversation page.
It should be noted that the scene schematic diagram of the session message display system shown in fig. 1 is only an example, and the session message display system and the scene described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the session message display apparatus and the occurrence of a new service scene, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The following are detailed below. In this embodiment, a session message display method will be described in detail, where the session message display method may be integrated on a terminal or a server, as shown in fig. 2, and fig. 2 is a schematic flowchart of the session message display method provided in this embodiment of the present application. The conversation message display method may include:
101. and displaying a session page of the target session in the instant messaging client, wherein the session page comprises a random selection control.
The instant messaging client can realize instant messaging between two or more persons, namely one-to-one conversation or group conversation and the like, and common instant messaging clients can cover various types in daily life, such as shopping, social groups, games, live broadcast, education, chat and other types of clients capable of instantly transmitting internet messages.
The target session may include a session performed through an instant messaging client, and the target session may include at least one session member. For example, the target session may be a group session that includes one session member.
The session page may include a page that enables instant message transmission between session members of the target session, and the session page may include at least one of a message display area and a message editing area, for example, a user may edit and send a message for the target session in the message editing area, the message sent by the user may be displayed in the message display area, which is convenient for the session members in the target session to view, and the message display area may be in a different position of the same page as the message editing area, or may belong to a different page, and may be flexibly set in an actual application process.
The random selection control may be represented as at least one of controls in the form of a button, a sliding frame, an edit box, a text box, a selection box, and the like, and may be set on the session page, or may be set on a sub-page or a region of the session page, for example, the session page may include more buttons, the session page may display more regions after the user triggers more buttons, and the more regions may include the random selection control, and so on.
Specifically, the session page of the instant messaging client may be displayed based on active triggering operation of the user, and if the user clicks the group chat a, the session page of the target session corresponding to the group chat a is displayed, and the session page may also be displayed based on historical behaviors of the user, for example, the user opens the instant messaging client CC, and the client CC automatically displays a recent historical session page.
For example, referring to fig. 3, a session page 01 of a target session 1 in an instant messaging client CC is displayed, the session page 01 including a random selection control 001, wherein the target session 1 is a session conducted in a group chat "KK".
102. And responding to the operation of the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate objects are associated with the randomly selected scene.
The session members may include members participating in the target session, the session members are users of the instant messaging client, the session members may correspond to identification information capable of indicating identity information of the session members, the identification information may include at least one of contents of a nickname, a head portrait, an account, a two-dimensional code, and the like, and the session members of the target session in the present application may be at least one.
The random session message may include a message displayed on a session page, and may include one or more of voice, text, image, video, and the like, similar to other types of session messages. The random session messages are directed to all session members of the target session.
The method and the device for randomly selecting the scene can display a random session message on a session page, the random session message can include scene description information of a randomly selected scene and a scene target object, specifically, the randomly selected scene can include a scene in which at least one scene target object needs to be randomly selected from at least one scene candidate object, and the randomly selected scene can include any scene in daily life which needs to be selected, such as selection time, place, number of people and the like.
The scene candidate object may include candidate options for randomly selecting a scene, and the scene candidate object may be represented in different forms as the randomly selected scene is different, for example, the scene candidate object may be a conversation member, may be time information (such as a time point or a time period), may be merchant information of a candidate merchant, and the like, and the scene candidate object may be preset by the instant messaging client, may also be actively input by a user, may also be obtained by combining with the instant messaging client preset and the user active input, and the like. The scene target object may comprise an object randomly selected from scene candidates.
The scene description information may include information that introduces a certain degree to a randomly selected scene, and the form of the scene description information may include, but is not limited to, at least one of voice, text, image, video, and the like, and similarly, the scene description information may be obtained in at least one of a form preset by an instant messaging client and an active input by a user, and may be specifically flexibly set and processed in an actual application scene, which is not described herein again.
The response in the present application may be used to indicate a condition or state on which the executed operation depends, and when the condition or state on which the operation depends is satisfied, one or more of the executed operations may be in real time or may have a set delay; there is no restriction on the order of execution of the operations performed unless otherwise specified.
Specifically, in response to the operation on the random selection control may include one or more of selecting, editing, triggering and the like, the number of the random selection controls may include one or more, and the computer device may obtain, in response to the operation on the random selection control, related information of the random conversation message to be displayed (the related information may be, for example, a randomly selected scene, scene description information and a scene target object), and display the random conversation message on the conversation page according to the obtained related information.
For example, referring to fig. 3, in response to a trigger operation of a group chat member of the group chat "KK" on the random selection control 001, a random session message 002 of the target session 1 is displayed on the session page 02, where the random session message 002 includes scene description information "who walks along" of a randomly selected scene "person selection band" and a scene target object "bamboo", where the scene target object "bamboo" is randomly selected from a scene candidate object 1 "melon", a scene candidate object 2 "xian", and a scene candidate object 3 "bamboo", and these three scene candidate objects are candidates corresponding to the randomly selected scene "person selection band" and are chat group members of the group chat "KK".
In some embodiments, the step of displaying a random conversation message sent to all conversation members of the target conversation on the conversation page in response to the operation directed to the random selection control may include:
in response to an operation directed to the random selection control, displaying scene description information and at least two scene candidates of a randomly selected scene; and in response to the determination operation for the random selection scene, displaying a random conversation message sent to all conversation members of the target conversation on the conversation page.
In the embodiment of the application, in order to facilitate user operation and save consumption of resources such as storage, network and the like in the implementation process of the random selection function, one-key random setting may be performed, that is, a random selection control is set, the user triggers the random selection control, the instant messaging client automatically determines that a random selection scene is a "selected person", automatically selects a target session member from all session members participating in the target session as a scene target object, and displays a random session message on a session page, where the random session message may include the selected target session member.
The method and the device can realize random selection of various random selection scenes, in order to ensure the accuracy of the content of the random session message, scene description information and scene candidate objects of the random selection scenes corresponding to the random session message can be displayed before the random session message is displayed, and the random session message is displayed on a session page after the user determines the information of the random selection scenes.
Specifically, the computer device may automatically determine and display scene description information and scene candidate objects of a randomly selected scene in response to an operation of randomly selecting a control, and may also receive and display scene description information and scene candidate objects determined by a user for the operation of randomly selecting the control, where the operation of the user for randomly selecting the control may include inputting, selecting, shooting, recording, uploading, editing, and the like.
The user may further modify the displayed scene description information and the scene candidate object, for example, the scene description information and the scene candidate object may be displayed in an editable form, and when the user determines that there is no error in the displayed scene description information and the scene candidate object, the instant messaging client may display a random session message in response to a determination operation of the user for the randomly selected scene, specifically, the determination operation may include an operation (such as sliding, double-clicking) that triggers a determination control, and an operation (such as sliding, double-clicking) that depends on a preset meaning of the computer device system or the instant messaging client.
For example, referring to fig. 4, in response to a triggering operation of a group chat member of the group chat "KK" on the random selection control 001 in the session page 01, a page 03 is displayed, the page 03 is a sub-page of the session page 01, the page 03 displays scene description information "who walks with" of a randomly selected scene "and three scene candidates: scene candidate 1 "melon", scene candidate 2 "xian", and scene candidate 3 "bamboo", page 03 also displays a send button for the randomly selected scene "choosen band", and the computer device displays a random conversation message 002 on the conversation page 02 in response to a click operation on the send button.
In some embodiments, the step of displaying scene description information and at least two scene candidates for the randomly selected scene in response to the operation for the random selection control may include:
responding to the triggering operation aiming at the random selection control, and displaying at least one random type control; responding to the trigger operation aiming at the target random type control, and displaying a random scene editing page corresponding to the target random type; in response to an editing operation for a random scene editing page, scene description information and at least two scene candidates of a randomly selected scene are displayed.
In some embodiments of the application, the randomly selected scenes may be classified, and according to characteristics of randomly selected scenes of different types, a display manner of relevant information of the personalized randomly selected scenes and a display manner of random session messages may be set, specifically, a random type control may be set, and a user may determine a random type of the randomly selected scene to be randomly selected through the random type control.
The random type control can comprise a control capable of determining a target random type, various modes for determining the target random type through the random type control are available, and the determination process can be related to the form and the setting mode of the random type control. For example, a plurality of random type controls may be set, and one random type control may correspond to one random type, so that the user may trigger a target random control in the plurality of random type controls, that is, may determine that the random type corresponding to the target random type control is the target random type.
For another example, a random type control including multiple options may be set, and if each option is a random type, it may be determined that the random type selected by the user in the random type control is the target random type.
In the embodiment of the present application, the random type may be divided according to different standards to obtain different random types, for example, the random types may be divided according to display forms (text, image, voice, etc.) and complexities (text length, video size, etc.) of random description information and random candidate objects, and may be divided into fast random and fine random, and for example, the random types may be divided according to display effects (lottery movement effect, drop effect) of a desired random session message, and may be divided into effect 1 random, effect 2 random, and the like.
In the embodiment of the application, a random scene editing page corresponding to the target random type can be displayed, a user can edit scene description information and scene candidate objects of a randomly selected scene on the random scene editing page, and the random scene editing page can display the scene description information and the scene candidate objects edited by the user.
For example, referring to fig. 5, in response to a triggering operation by a group chat member of the group chat "KK" with respect to a random selection control 001 in the session page 01, a page 04 is displayed, the page 04 including two random type controls: the random selector button 041 and the random event button 042, in response to the trigger operation for the random selector button 041, display a random scene editing page 05 corresponding to the random selector type, may edit scene description information and scene candidates of a randomly selected scene that is desired to be randomly selected on the random scene editing page 05, and the random scene editing page 05 may display scene description information "who follows" edited by a user and three scene candidates.
In some embodiments, the random scene editing page includes a description information editing area and a candidate object editing area, and the step of "displaying scene description information and at least two scene candidates of the randomly selected scene in response to an editing operation with respect to the random scene editing page" may include:
displaying scene description information of a randomly selected scene in response to an editing operation for the description information editing region; at least two scene candidates are displayed in response to an editing operation for the candidate editing region.
The random scene editing page may include a description information mark area and a candidate object editing area, the editing operation for the description information editing area and the editing operation for the candidate object editing area may include operations of inputting, recording, shooting, uploading, selecting, and the like, and in order to improve convenience and intelligence of the editing operation, intelligent editing may be performed in combination with a related technology in the field of artificial intelligence, for example, in a process of inputting a text by a user, a text association function may be started, a plurality of predicted complete texts of a complete text that the user actually wants to input are displayed below the text input by the user, the user may directly select from the plurality of predicted complete texts so as to improve user experience, and for example, all or part of historical scene description information or historical scene candidate objects of the user may be displayed according to a historical random selection behavior of the user, and the like.
For example, referring to fig. 6, the random scene editing page 05 includes a description information editing area 051 and a candidate editing area 052, and in response to an editing operation for the description information editing area, displays scene description information "who walks with" of a randomly selected scene, and in response to an editing operation for the candidate editing area, displays three scene candidates: "bamboo", "xiaoxian" and "melon".
In some embodiments, the randomly selected scene page further includes a number editing control of the scene target object, and the conversation message display method may further include:
in response to an editing operation for the number editing control, a scene target number of randomly selected scenes is displayed.
In the embodiment of the application, the number of the scene target objects in the random session message may be set to 1 by default, or a number editing control may be set in the randomly selected scene page, and the number of the scene target objects in the randomly selected scene may be determined and displayed by responding to the editing operation of the user for the number editing control.
Wherein the number of scene objects may comprise the number of scene object objects of the randomly selected scene. The quantity edit control can be arranged in the form of a quantity selection control, a quantity input control and the like.
In some embodiments, in order to increase the randomness and interest of randomly selecting a scene, the number of scene targets may also be set to be randomly determined, and the manner of implementing the process may include multiple ways, such as setting a number random switch control, and the like.
For example, referring to fig. 7, the random scene editing page 05 includes a description information editing region 051, a candidate object editing region 052, and a number editing control 053, and in response to an editing operation for the description information editing region, displays scene description information "who walks with" of a randomly selected scene, and in response to an editing operation for the candidate object editing region, displays three scene candidates: "bamboo", "xiaoxian" and "melon", the scene object number 2 of the random scene is displayed in response to an input operation for the number random control 053.
In some embodiments, the candidate object edit region includes a candidate object selection control, and the step of "displaying at least two scene candidates in response to an edit operation against the candidate object edit region" may include:
in response to a triggering operation for selecting a control for a candidate object, displaying an object list page, the object list page including a plurality of objects;
in response to a selection operation for at least two selected objects of the plurality of objects, the at least two selected objects are determined to be scene candidates, and the at least two scene candidates are displayed.
In some embodiments, for example, to facilitate user operations, the editing operation may be a selection operation, and the instant messaging client may provide a plurality of selectable objects from which the user may select at least two selected objects, i.e., scene candidates for the randomly selected scene.
The object provided by the instant messaging client can be displayed in the candidate object editing area, and can also be displayed independently through one page, for example, a plurality of objects are displayed on an object list page.
After determining the scene candidate object, the scene candidate object may be displayed in at least one of a manner of being displayed differently from other objects on the object list page, a manner of being displayed in the candidate object editing region, and the like.
For example, referring to fig. 8, the random scene editing page 05 includes a candidate object editing area 052, the candidate object editing area 052 may include a candidate object selection control 0521, and in response to a triggering operation on the candidate object selection control 0521, the object list page 0001 is displayed, and the object list page 0001 may include five objects, specifically, five time points: 12, 16, 24, 11, and 19, in response to the user pointing to the selected object: the selection operations at 24, 11, and 19 determine the three selected objects as scene candidates of the randomly selected scene, and distinctively display the three scene candidates (visible page 0002).
In some embodiments, the candidate object edit region includes a candidate object selection control, and the step of "displaying at least two scene candidates in response to an edit operation against the candidate object edit region" may include:
responding to the trigger operation of selecting the control aiming at the candidate object, and displaying a member list page of the target conversation, wherein the member list page comprises all conversation members of the target conversation; and in response to the selection operation for at least two selected conversation members, determining the at least two selected conversation members as scene candidate objects, and displaying the at least two scene candidate objects.
In some embodiments, the candidate object may be selected from session members of the target session, and thus, in response to an editing operation for the candidate object editing region, may include displaying a member list page of the target session and determining scene candidates from all session members of the target session.
For example, referring to fig. 9, the random scene editing page 05 includes a candidate editing area 052, the candidate editing area 052 may include a candidate selection control 0521, the member list page 06 of the target conversation 1 is displayed in response to a trigger operation for the candidate selection control 0521, the member list page 06 includes all conversation members of the target conversation 1, the selected conversation member is determined to be a scene candidate in response to a user selection operation for the selected conversation member "bamboo", "xian", and "melon", and the scene candidates "bamboo", "xian", and "melon" are distinctively displayed on the member list page (see page 07).
In some embodiments, the at least two scene candidates comprise a first scene candidate and a second scene candidate,
the step of determining at least two selected session members as scene candidates in response to the selection operation for at least two selected session members among the session members, and displaying the at least two scene candidates may include:
responding to the selection operation of a scene initiating object of a randomly selected scene for a first selected conversation member, determining the first selected conversation member as a first scene candidate object, and displaying the identification information of the first selected conversation member; and responding to the selection operation of the scene participation object of the randomly selected scene for the second selected conversation member, determining the second selected conversation member as a second scene candidate object, and displaying the identification information of the first selected conversation member and the identification information of the second selected conversation member.
In the embodiment of the application, a random selection scene can be constructed by one session member in the target session, or a random selection scene can be constructed by a plurality of session members in the target session, and the random selection scene can be constructed by the plurality of session members together, so that the interactivity among the session members can be obviously enhanced.
The scene initiating object can comprise a session member initiating the construction of the randomly selected scene in the target session, and the scene participating object can comprise a session member participating in the construction of the randomly selected scene in the target session.
In the process of selecting and displaying the scene candidate object, the scene initiating object and the scene participating object can both operate on respective instant messaging clients, the scene participating object can enter a related page of a randomly selected scene which is initiated and constructed by the scene initiating object through a control in the group chat, and for convenience of orderly construction, the scene initiating object can carry out authority setting on editing of the scene description information and the scene candidate object, for example, the scene description information can be set to be only modifiable by the initiating object.
In this embodiment, both the scene initiating object and the scene participating object may perform a selecting operation on the member list page, the scene initiating object may select a first selected session member as a first scene candidate object, the scene participating object may select a second selected session member as a second scene candidate object, the member list pages of the scene initiating object and the scene participating object may display identification information of the selected first selected session member and identification information of the selected second selected session member in real time, and the identification information may be content such as a head portrait, a nickname, and the like.
For example, among all session members of the target session 1, the small a is a scene initiating object, other session members are scene participating objects (including melon and melon), the small a can select a first selected session member "bamboo" as a first scene candidate object, melon can select the first selected session member "melon" as a second scene candidate object, and both the melon and the small a can display the "bamboo" and the "melon" differently in a manner of displaying head images of the "bamboo" and the "melon" on the member list pages.
In some embodiments, the candidate object edit region includes a candidate object add control, the at least two scene candidates include a first scene candidate and a second scene candidate,
the step of displaying at least two scene candidates in response to an editing operation for the candidate editing region may include:
responding to the editing operation of adding a control to the candidate object, acquiring a first scene candidate object, and displaying the first scene candidate object in a candidate object editing area; and responding to the editing operation of the control added to the candidate object, acquiring a second scene candidate object, and displaying the first scene candidate object and the second scene candidate object in the candidate object editing area.
In addition to selecting the scene candidate object from the content provided by the instant messaging client, the embodiment of the application can also obtain the scene candidate object in a mode of self-input by the user, specifically, a candidate object adding control can be set in the candidate object editing area, the user can input the scene candidate object by triggering the candidate object adding control, and the added scene candidate object can be displayed in the candidate object editing area.
The scene candidate displayed in the candidate editing area may be modified or deleted. For example, a modification control is set in the candidate object editing area, and the scene candidate objects that have been added are subjected to operations such as adding and deleting changes through the modification control.
For example, referring to fig. 10, the random scene editing page 05 includes a candidate object editing area 052, the candidate object editing area 052 may include a candidate object addition control 0522, the first scene candidate object "lily" input by the user may be acquired in response to an editing operation for the candidate object addition control 0522, and "lily" is displayed in the candidate object editing area 052 (see page 08), and the second scene candidate object "daisy" input by the user may be acquired in response to a re-editing operation for the candidate object addition control 0522, and "lily" and "daisy" are displayed in the candidate object editing area 052 (see page 09).
In some embodiments, the step of "acquiring a second scene candidate in response to an editing operation of adding a control to the candidate object, and displaying the first scene candidate object and the second scene candidate object in the candidate object editing region" may include:
and responding to the editing operation of the randomly selected scene participation object of the scene for adding the control to the candidate object, acquiring a second scene candidate object, and displaying the second scene candidate object, the identification information of the participation object and the first scene candidate object in a candidate object editing area.
In the process of obtaining the scene candidate object through the automatic input of the user, the scene initiating object and the scene participating object may be used together, and for the purpose of distinguishing, the scene candidate object may be displayed, and the editing object (the scene initiating object or the scene participating object) to which the scene candidate object belongs may be displayed in the vicinity of the scene candidate object.
For example, referring to fig. 11, if the second scene candidate object "daisy" is input by the scene participating object "melon", when "daisy" is displayed in the candidate object editing area, the avatar of melon (i.e. identification information) can be displayed, such as the identification information "melon" beside "chrysanthemum in fig. 11.
In some embodiments, the random session message includes scene description information and an object display area of the random selection scene, and the step of displaying, on the session page, a random session message sent to all session members of the target session in response to the operation for the random selection control may include:
responding to the operation aiming at the random selection control, displaying random session messages sent to all session members of the target session on a session page, wherein the random session messages comprise scene description information of a randomly selected scene and a target display area, the target display area comprises a randomly selected dynamic effect, and the randomly selected dynamic effect comprises all scene candidate objects of the randomly selected scene; and when the randomly selected dynamic effect display is finished, displaying at least one scene target object in the target display area.
In the embodiment of the present application, in order to enhance the interest of the random selection, the process of displaying the random conversation message may be assisted by at least one of contents such as a motion picture, a dynamic effect, an audio frequency, a video frequency, and the like, and the assisted process may occur before, during, and after displaying the scene target object, and may be flexibly set and processed specifically in combination with the actual situation of the application scene.
The randomly selecting the action may include obtaining all scene candidates based on randomly selecting a scene, for example, the randomly selecting the action may be that the avatars of all scene candidates scroll within a certain range, and the like.
For example, referring to fig. 12, in response to a triggering operation of a group chat member of the group chat "KK" on a randomly selected control 001 in a session page 01, a random session message 002 of a target session is displayed on the session page 02, the random session message 002 includes scene description information "who walks with" of a randomly selected scene and an object display area 0021, the object display area 0021 includes a randomly selected dynamic effect a, the randomly selected dynamic effect a is that all candidate member objects randomly scroll in the area (see page 0004), and after the randomly selected dynamic effect a is displayed, a scene target object "bamboo" is displayed on the object display area 0021 of the random session message 002.
In some embodiments, the conversation message display method may further include the steps of:
and receiving at least one scene target object returned by the server, wherein the scene target object is obtained by the server through random selection in the received at least two scene candidate objects.
Specifically, the scene target object in the embodiment of the present application may be sent by the server to the instant messaging client, after the instant messaging client determines that at least two scene candidate objects of the scene are randomly selected, the at least two scene candidate objects may be sent to the server, and the server may perform random selection according to the two scene candidate objects to obtain the scene target object.
In addition, the process of randomly selecting a scene target object from scene candidate objects by randomly applying scene change can also be directly carried out on the instant messaging client.
In some embodiments, the random conversation message further includes at least one recommended content associated with the scene target object, and the conversation message displaying method may further include:
and responding to the trigger operation aiming at the target recommended content, and displaying a content detail page corresponding to the target recommended content.
After the scene target object is obtained, the scene target object can be intelligently identified, the recommendation content related to the scene target object is obtained, and the recommendation content is displayed in the random session message.
The recommended content may include content related to the scene target object that may be of interest to the user, for example, when the scene target object is public information such as a place name and a celebrity, the recommended content may point to popular science content of the scene target object, such as "shengx shengpi"; when the scene target object is a merchant or a brand, the recommended content may point to information such as an address, a take-out, a website, and the like of the scene target object, such as "xx official website" and "xx delivery service", and the like.
The user triggers the target recommendation content, that is, the content detail page corresponding to the target recommendation content can be skipped to display, for example, the target recommendation content is "xx delivery service", and the content detail page can be a delivery service page.
For example, referring to fig. 13, the session page 02 displays a random session message 003 of the target session 1, the random session page includes scene description information "where to go", a scene target object "X state museum", and recommendation information "opening time" associated with "X state museum", recommendation information "X state museum official website" and recommendation information "visit reservation", and the home page 0005 of the X state museum official website is displayed in response to a trigger operation for the recommendation information "X state museum official website".
According to the method and the device, the random selection control can be displayed on the session page, the random session message can be displayed on the session page according to the operation aiming at the random selection control, the random session message can comprise scene description information of a randomly selected scene and a scene target object, and therefore the random selection scene can be constructed in the session page of the target session through the random selection control, and the random result of the randomly selected scene can be displayed.
The method described in the above embodiments is further illustrated in detail by way of example.
Referring to fig. 14, fig. 14 is a flowchart illustrating a method for displaying a session message according to an embodiment of the present application, where the method for displaying a session message includes:
201. the computer device displays a session page of a target session in the instant messaging client, the session page including a randomly selected control.
202. The computer device displays at least one random-type control in response to a triggering operation for a randomly selected control.
203. And the computer equipment responds to the triggering operation aiming at the target random type control and displays a random scene editing page corresponding to the target random type, wherein the random scene editing page comprises a description information editing area, a candidate object editing area and a scene target object number editing control.
204. The computer device displays scene description information of a randomly selected scene in response to an editing operation for the description information editing region.
205. The computer device displays a scene target number of the randomly selected scene in response to the editing operation for the number editing control.
206. The computer device displays at least two scene candidates in response to an editing operation for the candidate editing region.
207. The computer device transmits, to the server, a random data packet including a scene object number and at least two scene candidates of the randomly selected scene in response to the determination operation for the randomly selected scene.
208. The server analyzes the random data packet, randomly selects the scene target number and the at least two scene candidate objects based on the randomly selected scene obtained by analyzing, and sends the randomly selected scene target objects to the computer equipment.
209. The computer equipment receives the scene target object and displays a random session message sent to all session members of the target session on a session page, wherein the random session message comprises scene description information for randomly selecting a scene, at least one scene target object and at least one recommended content associated with the scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate objects are associated with the randomly selected scene.
210. And the computer equipment responds to the trigger operation aiming at the target recommended content and displays a content detail page corresponding to the target recommended content.
In the present embodiment, a part or all of steps 201 to 210 will be described with reference to an example.
For example, referring to fig. 15, a session page s01 of a group chat KK includes a "group random" button, a user wall clicks the "group random" button, a display page s02 is displayed, the page s02 includes a "random selector" button and a "random event" button, the user wall clicks the "random selector" button, a random scene editing page s03 corresponding to a random selector type is displayed, the user wall can edit scene description information and scene target number of a randomly selected scene in the random scene editing page s03, after the editing is completed, a "send" button is started, a session page s04 is displayed, the session page s04 displays a random session message, the random session message includes a randomly selected dynamic effect that is being played, the randomly selected dynamic effect includes all default scene candidate objects (all group members in the group chat KK), after the playing of the dynamic effect is completed, a session page s05 is displayed, and a session page s05 includes scene description information "who asks for guests? "and scene target object" pearl "," wall "and" stay in the air ".
Referring to fig. 16, the background implementation process of the above example is that a user clicks a random selector button on a client, the client pops up a random selector edit page, the user can input selection information such as a topic, a population number and the like on the random selector edit page, the client receives the selection information and can verify the validity of the selection information, the validity verification can be specifically performed by whether the population number is greater than a selectable population number (selectable population number such as a group chat population number and a single chat population number), whether the topic form is a text and the like, if the validity verification fails, the user is prompted to input the topic and the selection population number again on the random selector edit page until new selection information passes the validity verification, if the validity verification passes, random selector command data is assembled according to the selection information, and the obtained random selector signal is sent to a server, the server analyzes the random person-selecting signaling to obtain a random person-selecting command, performs data validity check on selection information in the obtained random person-selecting command, if the check is not passed, sends a command request error code to the client to enable the client to display a random person-selecting error prompt, if the check is passed, acquires a member list of the group chat or the single chat according to identification information (such as a group number) of the group chat or the single chat, selects a target member from the member list according to the number of people in the received selection information, assembles an ark message in an xml form (a data format) according to the identification information (such as a character identification and a two-dimensional code identification) of the target member, and sends the ark message to the client, and the client can display a random person-selecting result on a page based on the ark message after receiving the ark message, i.e. the identification information (e.g. avatar, nickname) of the target member selected by the presentation server.
Specifically, the client displays the random session message based on the received ark message, the data actually used for displaying the random session message in the ark message is described by json-form random data, the process of displaying the random session by the instant messaging client is realized by a light application, specifically, the random data comprises a random theme (namely scene description information), a random type (random selector or random item), and a member list (namely a scene target object) which is randomized, when the light application is used for displaying the random session message, the xml-form pattern data is used for completing the layout pattern of the random session message, the lua script can realize the display of randomly selected dynamic effect, the acquisition of group member information and the like according to the random data and the pattern data, and the server can update the dynamic effect and issue the dynamic effect to the instant messaging clients of each user, so that the random session messages displayed by each instant messaging client are ensured to be consistent content.
For another example, referring to fig. 17, the session page p01 of the group chat KK includes a "group random" button, the user wall clicks the "group random" button, the display page p02 is displayed, the page p02 includes a "random selector" button and a "random event" button, the user wall clicks the "random selector" button, the random scene editing page p03 corresponding to the random selector type is displayed, the user wall can edit scene description information, scene candidates, and scene target number of a randomly selected scene on the random scene editing page s03, the user wall clicks a candidate selection button (i.e., '8230'; in the figure) on the random scene editing page s03, the member list page p04 of the group chat KK can be displayed, the user wall can select scene candidates on the member list page, and the member list page
The page p04 displays the selected scene candidate objects of 'pearl bead', '00', 'dull' and 'junjunjun' and selects
Clicking a 'confirm' button after selection is finished, displaying a session page p05, displaying a random session message on the session page p05, wherein the random session message comprises a random selection dynamic effect which is played, the random selection dynamic effect comprises a selected scene candidate object, displaying a session page p06 after the dynamic effect playing is finished, and the session page p06 comprises scene description information 'who asks for a guest' of a randomly selected scene? "and scene target object" pearl "," wall "and" stay in the air ".
Referring to fig. 18, the background implementation process of the above example is that a user clicks a random selector button on a client, the client pops up a random selector edit page, the user can input selection information such as a topic, a number of people, etc. on the random selector edit page, the client receives the selection information and can verify the validity of the selection information, the validity verification can be specifically performed by whether the number of people is greater than a selectable number of people (selectable number of people such as a group chat total number and a single chat total number), if the validity verification fails, the user is prompted to re-select the number of people on the random selector edit page until new selection information passes the validity verification, if the validity verification passes, random selector command data is assembled according to the selection information, and the obtained random selector command is sent to a server, the server analyzes the random selector command to obtain the random selector command, and performing data validity check on the selection information in the obtained random person-selecting command, wherein the check can comprise checking whether the number of people is greater than the number of optional people, whether the selected person is a person in group chat, and the like, if the check is not passed, sending a command request error code to the client so that the client displays a random person-selecting error prompt, if the check is passed, performing random selection according to a selected list in the random person-selecting command, obtaining a target member, assembling an ark message in an xml form (a data format) according to identification information (such as character identification and two-dimensional code identification) of the target member, sending the ark message to a client, and after receiving the ark message, the client can display a result of random person selection on a page based on the ark message, namely displaying the identification information (such as head portrait, etc.) of the target member selected by a server, A nickname).
For another example, referring to fig. 19, a wall and a chat page y01 of a small m include a "random" button, the wall clicks the "random" button, a display page y02 is displayed, the page y02 includes a "random selector" button and a "random event" button, a user wall clicks the "random event" button, a random scene editing page y03 corresponding to the random event type is displayed, the user wall can edit scene description information and scene candidate objects of a randomly selected scene on the random scene editing page y03, the user wall sequentially clicks an "add option" button on the random scene editing page y03, scene candidate objects "noodle", "pizza" and "sauerkraut" can be added on the random scene editing page y03, and the random scene editing page y03 displays scene description information "what was at noon? The method comprises the steps that a wall clicks a sending button on a random scene editing page y04 to display a conversation page y05, the conversation page y05 comprises random conversation information, the random conversation information comprises a random selection dynamic effect, the random selection dynamic effect is that all scene candidate objects roll, after the random selection dynamic effect is played, a conversation page y06 is displayed, the random conversation information of the conversation page y06 displays a scene target object 'noodle', and recommended merchants 'A-side banker', 'old X-side meeting' and 'C-side' related to the 'noodle', and if the wall clicks the 'C-side', the wall can enter a 'C-side' takeout page.
The background implementation process of the above example is as shown in fig. 20, a user clicks a random item button on a client, the client pops up a random item editing page, the user can input a theme and add an option on the random item editing page, the client receives the selection information and can verify the validity of the selection information, if the validity verification fails, the user is prompted to input the theme and add the option on the random item editing page again until the new theme and the option pass the validity verification, if the validity verification passes, random option command data is assembled according to the selection information and the obtained random item signaling is sent to a server, the server analyzes the random item signaling to obtain the random item command, data validity verification is performed on the selection information in the obtained random item command, if the verification fails, a command request error code is sent to the client to enable the client to display a random item error prompt, if the verification passes, random selection is performed according to the option in the random item command to obtain a target option, the target option is put into a small program system to query, the recommendation information of the target option is checked, a recommendation information is displayed according to the option, a recommendation message in a format of the random item recommendation information is displayed, and a recommendation result of the target option is displayed on the server, and the target option is displayed on the client, and the server, and a recommendation message is received, and the target option is displayed on the client, and the server, and the target option is recommended, and the target option is displayed on the server.
The recommendation information may include a recommendation title and a network address of the applet, and the user triggers the recommendation content to enter the applet through the network address.
It should be noted that, no matter whether a random selection scene or a selector supports C2C and a group, since an ark message is used to display a random effect, which is essentially a basic message, both the scene and the selector may exist in C2C and the group, only a random matter and the random selector may be different, the random selector may involve a relationship chain, and data returned by a server to a user only includes a part of member information, if the data is to be forwarded, a problem of relationship chain data leakage may exist, and at the same time, the data is forwarded to a user who is not in the group, and there is a problem in display, and the group member information cannot be obtained, so that the message forwarding of the random selector needs to be limited and not allowed to be forwarded, and an ark message in instant messaging software naturally has server control over message operation, and is directly configured on the server and not allowed to be forwarded, and diffusion of information is avoided.
The method and the device for displaying the random selection scene in the conversation page can display the random selection control on the conversation page, and display the random conversation message on the conversation page according to the operation aiming at the random selection control, wherein the random conversation message can comprise scene description information and a scene target object of the random selection scene, so that the random selection scene can be built in the conversation page of the target conversation through the random selection control, and the random result of the random selection scene can be displayed.
In order to better implement the method for displaying the session message provided by the embodiment of the present application, an embodiment of the present application further provides a device based on the method for displaying the session message. The meaning of the noun is the same as that in the above-mentioned conversation message display method, and the specific implementation details can refer to the description in the method embodiment.
Fig. 21 is a schematic structural diagram of a conversation message display apparatus according to an embodiment of the present application, as shown in fig. 21, wherein the conversation message display apparatus may include a page display module 301 and a message display module 302, wherein,
a page display module 301, configured to display a session page of a target session in an instant messaging client, where the session page includes a random selection control;
a message display module 302, configured to display, on a session page, a random session message sent to all session members of a target session in response to an operation on a randomly selected control, where the random session message includes scene description information of a randomly selected scene and at least one scene target object, and the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate object is associated with the randomly selected scene.
In some embodiments, the random session message further includes at least one recommended content associated with the scene target object, and the session message display apparatus further includes:
and the detail display module is used for responding to the triggering operation aiming at the target recommended content in the at least one recommended content and displaying a content detail page corresponding to the target recommended content.
In some embodiments, the message display module may include a candidate display sub-module and a message display sub-module, wherein,
a candidate display sub-module for displaying scene description information and at least two scene candidate objects of the randomly selected scene in response to an operation for the randomly selected control;
and the message display sub-module is used for responding to the determination operation for the randomly selected scene and displaying the random session messages sent to all the session members of the target session on the session page.
In some embodiments, the candidate display sub-module includes a type selection unit, a page display unit, and an information editing unit, wherein,
the type selection unit is used for responding to the triggering operation aiming at the random selection control and displaying at least one random type control;
the page display unit is used for responding to the triggering operation aiming at the target random type control in at least one random type control and displaying a random scene editing page corresponding to the target random type;
an information editing unit for displaying scene description information of a randomly selected scene and at least two scene candidates in response to an editing operation for a random scene editing page.
In some embodiments, the random scene editing page includes a description information editing region and a candidate object editing region, the information editing unit includes a description display subunit and a candidate display subunit, wherein,
a description display subunit operable to display scene description information of a randomly selected scene in response to an editing operation for the description information editing region;
a candidate display subunit operable to display at least two scene candidates in response to an editing operation for the candidate editing region.
In some embodiments, the randomly selected scene page further includes a number edit control for the scene target object, and the conversation message display apparatus further includes:
and the quantity selection subunit is used for responding to the editing operation aiming at the quantity editing control and displaying the scene target quantity of the randomly selected scene.
In some embodiments, the candidate object editing region includes a candidate object selection control, and the candidate display subunit is specifically configured to:
in response to a trigger operation for selecting a control for a candidate object, displaying an object list page, wherein the object list page comprises a plurality of objects;
in response to a selection operation for at least two selected objects of the plurality of objects, the at least two selected objects are determined to be scene candidates, and the at least two scene candidates are displayed.
In some embodiments, the candidate object editing region includes a candidate object selection control, and the candidate display subunit is specifically configured to:
in response to a triggering operation for selecting a control for a candidate object, displaying an object list page, the object list page including a plurality of objects;
in response to a selection operation for at least two selected objects of the plurality of objects, the at least two selected objects are determined to be scene candidates, and the at least two scene candidates are displayed.
In some embodiments, the candidate object edit region includes a candidate object selection control, the candidate display subunit includes a first candidate display subunit and a second candidate display subunit, wherein,
the first candidate display subunit is used for responding to the triggering operation of selecting the control aiming at the candidate object and displaying a member list page of the target conversation, wherein the member list page comprises all conversation members of the target conversation;
and the second candidate display subunit is used for responding to the selection operation aiming at least two selected conversation members in the conversation members, determining the at least two selected conversation members as scene candidate objects, and displaying the at least two scene candidate objects.
In some embodiments, the at least two scene candidates comprise a first scene candidate and a second scene candidate, the second candidate display subunit being specifically configured to:
responding to the selection operation of a scene initiating object of a randomly selected scene for a first selected conversation member, determining the first selected conversation member as a first scene candidate object, and displaying the identification information of the first selected conversation member;
and responding to the selection operation of the scene participation object of the randomly selected scene for the second selected conversation member, determining the second selected conversation member as a second scene candidate object, and displaying the identification information of the first selected conversation member and the identification information of the second selected conversation member.
In some embodiments, the candidate object edit region includes a candidate object add control, the at least two scene candidates include a first scene candidate and a second scene candidate, the candidate display subunit includes a third candidate display subunit and a fourth candidate display subunit, wherein,
the third candidate display subunit is used for responding to the editing operation of adding the control to the candidate object, acquiring the first scene candidate object and displaying the first scene candidate object in the candidate object editing area;
and the fourth candidate display subunit is used for responding to the editing operation of adding the control to the candidate object, acquiring the second scene candidate object, and displaying the first scene candidate object and the second scene candidate object in the candidate object editing area.
In some embodiments, the fourth candidate display subunit is specifically configured to:
and responding to the editing operation of the scene participation object of the randomly selected scene for adding the control to the candidate object, acquiring a second scene candidate object, and displaying the second scene candidate object, the identification information of the participation object and the first scene candidate object in the candidate object editing area.
In some embodiments, the random session message includes scene description information and an object display area of the randomly selected scene, and the fourth candidate display subunit is specifically configured to:
responding to the operation aiming at the random selection control, displaying random session messages sent to all session members of the target session on a session page, wherein the random session messages comprise scene description information of a randomly selected scene and a target display area, the target display area comprises a randomly selected dynamic effect, and the randomly selected dynamic effect comprises all scene candidate objects of the randomly selected scene;
and when the randomly selected dynamic effect display is finished, displaying at least one scene target object in the target display area.
In some embodiments, the conversation message display apparatus further comprises:
and the object receiving module is used for receiving at least one scene target object returned by the server, and the scene target object is obtained by the server through random selection in the received at least two scene candidate objects.
In this application, the page display module 301 may display a session page of a target session in an instant messaging client, where the session page includes a random selection control, and the message display module 302 may display, in the session page, a random session message sent to all session members of the target session in response to an operation on the random selection control, where the random session message includes scene description information of a randomly selected scene and at least one scene target object, where the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate object is associated with the randomly selected scene.
The method and the device for displaying the random selection scene in the conversation page can display the random selection control on the conversation page, and display the random conversation message on the conversation page according to the operation aiming at the random selection control, wherein the random conversation message can comprise scene description information and a scene target object of the random selection scene, so that the random selection scene can be built in the conversation page of the target conversation through the random selection control, and the random result of the random selection scene can be displayed.
In addition, an embodiment of the present application further provides a computer device, where the computer device may be a terminal or a server, as shown in fig. 22, which shows a schematic structural diagram of the computer device according to the embodiment of the present application, and specifically:
the computer device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 22 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the processor 401 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the computer device as a whole. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating system, user pages, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The computer device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 through a power management system, so that the functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions as follows:
displaying a session page of a target session in an instant messaging client, wherein the session page comprises a random selection control; and responding to the operation aiming at the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate object is associated with the randomly selected scene.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the method provided in the various alternative implementations of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by a computer program controlling associated hardware.
To this end, embodiments of the present application further provide a storage medium, where a computer program is stored, where the computer program can be loaded by a processor to execute steps in any one of the conversation message display methods provided in the embodiments of the present application. For example, the computer program may perform the steps of:
displaying a session page of a target session in an instant messaging client, wherein the session page comprises a random selection control; and responding to the operation aiming at the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate object is associated with the randomly selected scene.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium may execute the steps of any session message display method provided in the embodiment of the present application, beneficial effects that can be achieved by any session message display method provided in the embodiment of the present application may be achieved, for details, see the foregoing embodiment, and are not described herein again.
The above detailed description is given to a method, an apparatus, a storage medium, and a computer device for displaying a session message provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (16)

1. A method for displaying a session message, comprising:
displaying a session page of a target session in an instant messaging client, wherein the session page comprises a random selection control;
and responding to the operation of the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate objects are associated with the randomly selected scene.
2. The method of claim 1, wherein the random session message further comprises at least one recommended content associated with the scene target object, the method further comprising:
and responding to the trigger operation aiming at the target recommended content in the at least one recommended content, and displaying a content detail page corresponding to the target recommended content.
3. The method of claim 1, wherein the displaying, on the session page, a random session message sent to all session members of the target session in response to the operation of the random selection control comprises:
in response to an operation directed to the random selection control, displaying scene description information and at least two scene candidates of a randomly selected scene;
and in response to the determination operation for the random selection scene, displaying a random session message sent to all session members of the target session on the session page.
4. The method of claim 3, wherein displaying scene description information and at least two scene candidates for a randomly selected scene in response to the operation of the random selection control comprises:
in response to a triggering operation for the random selection control, displaying at least one random type control;
responding to the triggering operation aiming at the target random type control in the at least one random type control, and displaying a random scene editing page corresponding to the target random type;
and displaying scene description information and at least two scene candidates of a randomly selected scene in response to an editing operation for the random scene editing page.
5. The method according to claim 4, wherein the random scene editing page includes a description information editing area and a candidate object editing area,
the displaying scene description information and at least two scene candidates of a randomly selected scene in response to an editing operation with respect to the random scene editing page includes:
displaying scene description information of a randomly selected scene in response to an editing operation for the description information editing region;
at least two scene candidates are displayed in response to an editing operation for the candidate editing region.
6. The method of claim 5, wherein the randomly selected scene page further comprises a number of scene target objects editing control, the method further comprising:
and responding to the editing operation of the number editing control, and displaying the scene target number of the randomly selected scene.
7. The method of claim 5, wherein the candidate object edit region includes a candidate object selection control,
the displaying at least two scene candidates in response to the editing operation for the candidate editing region includes:
in response to a triggering operation of a selection control for the candidate object, displaying an object list page, the object list page including a plurality of objects;
in response to a selection operation for at least two selected objects of the plurality of objects, the at least two selected objects are determined to be scene candidates, and the at least two scene candidates are displayed.
8. The method of claim 5, wherein the candidate object edit region includes a candidate object selection control,
the displaying at least two scene candidates in response to the editing operation for the candidate editing region includes:
in response to a trigger operation of selecting a control for the candidate object, displaying a member list page of the target session, wherein the member list page comprises all session members of the target session;
and in response to the selection operation aiming at least two selected conversation members, determining the at least two selected conversation members as scene candidate objects, and displaying the at least two scene candidate objects.
9. The method of claim 8, wherein the at least two scene candidates comprise a first scene candidate and a second scene candidate,
the determining at least two selected conversation members as scene candidates in response to the selection operation for at least two selected conversation members of the conversation members, and displaying the at least two scene candidates, includes:
responding to the selection operation of a scene initiating object of the random selection scene to a first selected conversation member, determining the first selected conversation member as a first scene candidate object, and displaying the identification information of the first selected conversation member;
and responding to the selection operation of the scene participation object of the randomly selected scene to a second selected conversation member, determining the second selected conversation member as a second scene candidate object, and displaying the identification information of the first selected conversation member and the identification information of the second selected conversation member.
10. The method of claim 5, wherein the candidate object edit region includes a candidate object add control, wherein the at least two scene candidates include a first scene candidate and a second scene candidate,
the displaying at least two scene candidates in response to the editing operation for the candidate editing region includes:
responding to the editing operation of adding a control to the candidate object, acquiring a first scene candidate object, and displaying the first scene candidate object in the candidate object editing area;
and responding to the editing operation of the candidate object adding control, acquiring a second scene candidate object, and displaying the first scene candidate object and the second scene candidate object in the candidate object editing area.
11. The method of claim 10, wherein the obtaining a second scene candidate object and displaying the first scene candidate object and the second scene candidate object in the candidate object editing area in response to the editing operation of the add control for the candidate object comprises:
and responding to the editing operation of the scene participation object of the randomly selected scene to the candidate object adding control, acquiring a second scene candidate object, and displaying the second scene candidate object, the identification information of the participation object and the first scene candidate object in the candidate object editing area.
12. The method of claim 10, wherein the random session message includes scene description information and an object display area of a randomly selected scene, and wherein the displaying, in the session page, the random session message sent to all session members of the target session in response to the operation on the randomly selected control comprises:
responding to the operation of the random selection control, displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and a target display area, the target display area comprises a randomly selected dynamic effect, and the randomly selected dynamic effect comprises all scene candidate objects of the randomly selected scene;
and when the randomly selected dynamic effect display is finished, displaying at least one scene target object in the target display area.
13. The method of claim 1, further comprising:
and receiving at least one scene target object returned by the server, wherein the scene target object is obtained by the server through random selection in the received at least two scene candidate objects.
14. A conversation message display apparatus, comprising:
the page display module is used for displaying a session page of a target session in the instant messaging client, and the session page comprises a random selection control;
and the message display module is used for responding to the operation aiming at the random selection control by a user and displaying a random session message sent to all session members of the target session on the session page, wherein the random session message comprises scene description information of a randomly selected scene and at least one scene target object, the at least one scene target object is randomly selected from at least two scene candidate objects, and the scene candidate objects are associated with the randomly selected scene.
15. A storage medium, characterized in that it stores a plurality of computer programs adapted to be loaded by a processor for performing the steps of the method according to any one of claims 1 to 13.
16. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 13 when executing the computer program.
CN202110491587.0A 2021-05-06 2021-05-06 Session message display method, device, storage medium and computer equipment Pending CN115309304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110491587.0A CN115309304A (en) 2021-05-06 2021-05-06 Session message display method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110491587.0A CN115309304A (en) 2021-05-06 2021-05-06 Session message display method, device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN115309304A true CN115309304A (en) 2022-11-08

Family

ID=83853194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110491587.0A Pending CN115309304A (en) 2021-05-06 2021-05-06 Session message display method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN115309304A (en)

Similar Documents

Publication Publication Date Title
US10625149B2 (en) Program, method, and system of transmitting or receiving message
CN112073299B (en) Plot chat method
CN112791393B (en) Information processing method, device, equipment and medium
CN110604920A (en) Game-based learning method and device, electronic equipment and storage medium
CN110225412B (en) Video interaction method, device and storage medium
CN113382274B (en) Data processing method and device, electronic equipment and storage medium
KR102249501B1 (en) Method, system, and computer program for providing ruputation badge for video chat
CN113648650B (en) Interaction method and related device
CN113032542B (en) Live broadcast data processing method, device, equipment and readable storage medium
CN114466209A (en) Live broadcast interaction method and device, electronic equipment, storage medium and program product
CN114245221B (en) Interaction method and device based on live broadcasting room, electronic equipment and storage medium
CN113411652A (en) Media resource playing method and device, storage medium and electronic equipment
CN113411656A (en) Information processing method, information processing device, computer equipment and storage medium
CN114666672B (en) Live fight interaction method and system initiated by audience and computer equipment
CN113824983A (en) Data matching method, device, equipment and computer readable storage medium
CN112925462B (en) Account head portrait updating method and related equipment
WO2017145908A1 (en) Event management server, information processing apparatus, information processing system, and event realizing method
CN112187624B (en) Message reply method and device and electronic equipment
CN112947819A (en) Message display method, device, storage medium and equipment for interactive narrative work
US20200235954A1 (en) Methods and Systems for Allowing the Generation of Multi-Author Communications
CN109672604B (en) Information sharing method, device, equipment and computer readable storage medium
CN113099257B (en) Network friend-making interaction method and device, terminal equipment and storage medium
CN115309304A (en) Session message display method, device, storage medium and computer equipment
US20180140952A1 (en) Gaming server and method to generate information-rich profiles
CN113515336A (en) Live broadcast room joining method, live broadcast room creating method, live broadcast room joining device, live broadcast room creating device, live broadcast room equipment and storage medium

Legal Events

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