Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. In some embodiments, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Fig. 1 shows a flowchart of a method of presenting a session list page according to an embodiment of the present application, the method including step S1, step S2, and step S3. In step S1, the user equipment detects whether a first trigger condition for presenting a session list page is satisfied; in step S2, if the first trigger condition is satisfied, the user equipment determines visualization information corresponding to at least one session in the session list page, where the visualization information is used to represent distribution information of unread messages in the at least one session; in step S3, the user equipment presents the session list page according to the visualization information, where the session list page includes graphic information for showing the distribution information.
In said step S1, the user equipment detects whether a first trigger condition for presenting the session list page is met. Wherein the first trigger condition includes, but is not limited to, a condition that can trigger presentation of a session list page. In some embodiments, the first trigger condition includes, but is not limited to:
1) and the user executes the operation of starting the target application, wherein the default page of the target application is the session list page.
For example, the target application includes any application capable of presenting a session list page, such as a social application of QQ, WeChat, palm letter, and the like. There are various ways for starting the target application, for example, the user clicks an icon on the desktop of the mobile phone of the target application to start the target application, or the user clicks a link located in another application to start the target application.
2) And the user executes page refreshing operation in the session list page.
For example, the manner of operation of page refresh includes, but is not limited to: a session list page is currently presented in user equipment, and a user makes a pull-down sliding gesture in the session list page to refresh the page; or, a session list page is currently presented in the user equipment, and the user clicks a certain button located in the session list page to refresh the page.
3) And the user executes page turning operation in the session list page.
For example, a second page of a session list page is currently presented in the user device, and the user slides to the first page of the session list page by making a drop-down slide gesture in the session list page to perform a page flip operation.
4) And the user executes the operation of switching to the session list page in the target application.
The operation for switching to the session list page is performed in multiple ways, for example, a session detail page is currently presented in the user equipment, the user clicks a return button on the session detail page to switch to the session list page, and for example, a multi-tab page is currently presented in the target application, the user is currently located in a page corresponding to another tab, and the user switches to the session list page by clicking a tab corresponding to the session list page.
5) The user performs a predetermined gesture operation.
For example, a number of gesture operations are predefined in the user device, wherein each gesture operation, when executed, presents the session list page; the gesture operations include, but are not limited to, sliding up, sliding down, zooming, etc. When the user equipment acquires the gesture operation, the user equipment judges whether the gesture operation is matched with the preset gesture operation; and if so, presenting the session list page.
It should be understood by those skilled in the art that the above-mentioned first trigger condition is only an example, and other existing or future conditions that can trigger the presentation of the session list page are all included in the scope of the first trigger condition described herein.
In step S2, if the first trigger condition is satisfied, the user equipment determines visualization information corresponding to at least one session in the session list page, where the visualization information is used to represent distribution information of unread messages in the at least one session. In some embodiments, the visualization information includes a number of unread messages, or graphical representation information determined from the number of unread messages. Here, the distribution information is used to describe the distribution of the unread messages in the session, and the graph representation information is used to describe the characteristics of the graph information, which is the basis for generating the graph information, such as "red line segment with 1 unit length" and the like. For example, when the distribution information is time distribution information distributed at time intervals of 2 hours, the visualization information includes the number of unread messages (e.g., 5 unread messages) corresponding to each time interval of 2 hours, or graphic representation information (e.g., "red line segments of 5 unit lengths") determined according to the number of unread messages corresponding to each time interval of 2 hours.
In step S3, the user equipment presents the session list page according to the visualization information, where the session list page includes graphic information for showing the distribution information. In some embodiments, the graphical information includes, but is not limited to, a graph, a bar graph, a thermodynamic diagram, a line containing a plurality of different shades of color. For example, the number information of the unread messages received by a session within a certain time interval may be represented by the height of a curve in a graph, or the number information of the unread messages received by a session within a certain time interval may also be represented by the height of a cylinder in a histogram, or the number information of the unread messages received by a session within a certain time interval may also be represented by the highlight of a region in a thermodynamic diagram, or the number information of the unread messages received by a session within a certain time interval may also be represented by the lightness of a color in a line.
In some embodiments, the method further comprises: according to the access operation of the user on the graphic information, determining the corresponding access position information of the access operation in the distribution information; determining one or more unread messages in the at least one session corresponding to the visitor location information; presenting at least one of the one or more unread messages. In some embodiments, the access operation includes, but is not limited to, a single-click operation, a double-click operation, etc., the access location information corresponds to a distribution latitude of the unread message, the distribution latitude includes, but is not limited to, a division standard of message distribution such as a time interval, a page, a topic, etc., the distribution latitude corresponding to the click region is determined according to the access operation of the user on the graphical information, and then at least one unread message corresponding to the distribution latitude is presented to the user, for example, the user clicks a "spring trip" topic region on the graphical information, jumps from a session list page to an unread message page corresponding to a "spring trip" topic, and presents all unread messages related to the "spring trip" topic.
In some embodiments, the distribution information includes, but is not limited to:
1) temporal distribution information of unread messages in the at least one session.
The distribution information according to time is used for describing the distribution condition of all unread messages in the session in the latitude of the receiving time. For example, the time distribution information includes information on the number of unread messages received by the session in each time interval. Here, the time intervals may be preset unit time intervals, for example, unit time intervals of several hours; alternatively, the time intervals are obtained by dividing the span of the receiving time of the unread message in the session, for example, the earliest unread message in the session is 9 am: 00, the most recent unread message was 3 pm: 00 received, spanning 6 hours, may be divided into 4 time intervals, each of 1.5 hours.
2) Distributing information per page of unread messages in the at least one session.
The page-based distribution information is used for describing the distribution condition of all unread messages in the session on the latitude of the page. For example, the page-wise distribution information includes information about the number of unread messages received by the session in one or more pages, for example, the number of unread messages received by the session is 20 pages in total, and the page-wise distribution information may be divided according to the latitude of each page to obtain the information about the number of unread messages distributed according to each page, or may be divided according to the latitude of every five pages to obtain the information about the number of unread messages distributed according to every five pages.
3) Topic-wise distribution information of unread messages in the at least one conversation.
Wherein, the distribution information by topic is used for describing the distribution condition of all the unread messages in the conversation on the latitude of the topic. For example, the distribution information by topic includes the number information of the unread messages received by the conversation in each topic, where the topic may be a keyword of the conversation content of the user, or may also be a central idea of the conversation content of the user, for example, the keyword "lecture" of the conversation content is taken as a topic to obtain the number information of the unread messages distributed by the topic "lecture" or the central idea "a and B are inseparable parts" of the conversation content is taken as a topic to obtain the number information of the unread messages distributed by the topic "a and B are inseparable parts".
It should be understood by those skilled in the art that the above distribution information is only an example, and other information available in the prior art or in the future for describing the distribution of the unread message is included in the scope of the distribution information described in the present application.
In some embodiments, the distribution information includes time distribution information of the unread messages in the at least one conversation, wherein the step S2 of determining the visualization information corresponding to the at least one conversation in the conversation list page includes: if the first trigger condition is met, the user equipment executes the following operations on at least one session in the session list page:
operation one, the user equipment counts the unread messages in the session according to time intervals to obtain the number of the unread messages received in each time interval;
secondly, the user equipment takes the quantity of unread messages corresponding to each time interval as visual information corresponding to the session; or determining the graphic representation information corresponding to each time interval according to the quantity of the unread messages corresponding to each time interval, and taking the graphic representation information corresponding to each time interval as the visual information corresponding to the session.
For example, in the first operation, the ue counts the unread messages in the session at time intervals to obtain the number of unread messages received in each time interval, where the time interval may be a preset unit time interval, for example, several hours as a unit time interval, to obtain the number of unread messages received in each unit time interval, or the time interval is obtained by dividing the span of the receiving time of the unread messages in the session, for example, the earliest unread message in the session is 9 am: 00, the most recent unread message was 3 pm: 00 received, spanning 6 hours, may be divided into 4 time intervals of 1.5 hours each, to obtain the number of unread messages received in each 1.5 hours.
For example, in the second operation, the user equipment directly uses the number of unread messages corresponding to each time interval as the visualization information corresponding to the session, for example, if the number of unread messages in a certain session time interval is 10, the visualization information corresponding to the time interval is "10". Or the user equipment determines the graphic representation information corresponding to each time interval according to the quantity of the unread messages corresponding to each time interval, and then takes the graphic representation information corresponding to each time interval as the visual information corresponding to the session; for example, if the number of unread messages in a time interval of a session is 10 and the number of unread messages in another time interval is 20, it is determined that the graphical representation information corresponding to "10 unread messages" is "red line segment" (for example, the length of the red line segment may correspond to the length of the former time interval), and the graphical representation information corresponding to "20 unread messages" is "purple line segment" (for example, the length of the purple line segment may correspond to the length of the latter time interval), and then the two graphical representation information "red line segment" and "purple line segment" are respectively used as the visualization information corresponding to the two time intervals in the session.
In some embodiments, the visualization information includes the number of unread messages corresponding to each time interval in the at least one session, wherein the step S3 includes: determining the quantity of unread messages corresponding to each time interval according to the quantity of the unread messages corresponding to each time interval in the at least one session, and determining the graphic information corresponding to each time interval; and presenting the session list page, wherein the session list page comprises the graphic information. For example, when the visualization information includes the number of unread messages corresponding to each time interval in the at least one session, in step S3, the user equipment first determines the graphic information corresponding to each time interval, for example, the different color line segments corresponding to each time interval, according to the number of unread messages corresponding to each time interval; and then, presenting different color line segments corresponding to the time intervals in the page while presenting the session list page. Here, each piece of graphic information may be displayed in a display area of the corresponding session in the session list page, for example, a right area of a session indicator (e.g., a name or thumbnail of a certain contact or a certain session group) of the session.
Here, the graphic information may be a graph, and a method of plotting the graph includes, but is not limited to: firstly, establishing a coordinate axis, wherein a horizontal axis represents the time interval of unread messages, a vertical axis represents the quantity information of the unread messages received by the unread messages in each time interval, each time interval is taken as an abscissa value of the coordinate axis, the quantity of the unread messages received in each time interval is obtained according to the information of the unread messages distributed according to time, the quantity of the unread messages is taken as an ordinate value of the coordinate axis, a plurality of points are drawn on the coordinate axis according to the abscissa value and the ordinate value, the points are connected into a curve, and then a curve graph corresponding to the conversation is presented in a conversation list page, for example, the curve graph is positioned in a right area presented in the conversation indicator.
In some embodiments, the first operation of counting the unread messages in the conversation at time intervals to obtain the number of unread messages received in each time interval includes: dividing a start-stop time period of the unread messages in the session into a plurality of time intervals, wherein the start-stop time period takes the receiving time corresponding to the unread message received earliest in the session as a starting point and takes the current time or the receiving time corresponding to the unread message received latest in the session as a termination point; and counting the unread messages in the conversation according to time intervals to obtain the number of the unread messages received in each time interval. For example, a session currently contains 99 unread messages, wherein the first unread message (i.e., the oldest received unread message) corresponds to a reception time of 2019/03/07/14:01:30, the current time is 2019/03/07/14:08:30, then the start point is 2019/03/07/14:01:30, the end point is 2019/03/07/14:08:30, the start-stop time period is (2019/03/07/14:01:30, 2019/03/07/14:08:30), and then, the start-stop time period is evenly divided into 7 time intervals based on a preset unit time interval of '1 minute', and then obtaining the number of the received unread messages in each time interval of 1 minute.
For another example, a session currently includes 99 unread messages, where the receiving time corresponding to the first unread message (i.e., the unread message received earliest) is 2019/03/07/14:01:30, the receiving time corresponding to the last unread message (i.e., the unread message received latest) is 2019/03/07/14:06:30, then "2019/03/07/14: 01: 30" is used as the starting point, and "2019/03/07/14: 06: 30" is used as the ending point, the starting and ending time periods are (2019/03/07/14:01:30, 2019/03/07/14:06:30), and then the starting and ending time periods are evenly divided into 3 time intervals based on the preset unit time interval "2 minutes", and then obtaining the number of the received unread messages in each time interval of 2 minutes.
In some embodiments, the distribution information includes a page-wise distribution message of the unread messages in the at least one session, wherein the determining the visualization information corresponding to the at least one session in the session list page includes: if the first trigger condition is met, executing the following operations on at least one session in the session list page: dividing the unread messages in the conversation into a plurality of pages, wherein each page comprises at most a predetermined number of unread messages; and taking the plurality of pages as the visual information corresponding to the conversation. For example, all the unread messages in a conversation may be divided into several pages in the receiving time sequence of the unread messages in the conversation, starting from the earliest or latest received message, based on that the number of text lines of each unread message is unknown, may be a single line, or may be several lines, and the number of text lines that each page can accommodate is fixed, and when the unread messages in a certain page are all single lines, the number of unread messages included in the page is the maximum, so that the number of unread messages included in each page does not exceed the maximum at most. For example, a session currently includes 100 unread messages, which are sorted from early to late according to the receiving time, and the text line number of each unread message is combined to divide the 100 unread messages into 4 pages, each page includes unread messages with 30 text line numbers, wherein the first page includes the first 20 unread messages, the second page includes the unread messages from the 21 st to the 50 th, the third page includes the messages from the 51 st to the 75 th, and the fourth page includes the unread messages from the 76 th to the 100 th; then, the first page, the second page, the third page and the fourth page are used as the visual information of the session, and the user equipment presents the graphic information, such as page symbols, corresponding to the first page, the second page, the third page and the fourth page while presenting the session list page.
In some embodiments, the visualization information comprises a plurality of page indicators, wherein each page indicator characterizes one of the number of pages. For example, an unread message in one session is divided into four pages, the page indicator of the first page is P1, the page indicator of the second page is P2, the page indicator of the third page is P3, and the page indicator of the fourth page is P4. In some embodiments, when a page indicator is selected by a user, the user device will present at least one unread message to which the page indicator corresponds; as an example, if the page indicator corresponding to the "second page" is selected, the user equipment will present at least one unread message in the unread messages of items 21 to 50 in the session.
In some embodiments, the distribution information includes topic-wise distribution information of unread messages in the at least one conversation, wherein the determining visual information corresponding to at least one conversation in the conversation list page includes: if the first trigger condition is met, executing the following operations on at least one session in the session list page: dividing the unread messages in the conversation into a plurality of topics, wherein each topic comprises the unread messages related to the same topic; and taking the topics as visual information corresponding to the conversation. The topic can be a keyword of the user session content, or can also be a central idea of the user session content, including but not limited to a summary of various events concerned in daily life, such as "eating", "sleeping", several topics can be divided by means of semantic analysis, keyword statistics, and the like, the semantic analysis refers to learning and understanding semantic content represented by a segment of natural language text by using various methods, by establishing an effective model and system, researching the internal structure of the natural language text and understanding semantic relationship between text units, so as to realize understanding the real semantics of the whole text expression, and by semantically analyzing the real semantics of each unread message, dividing the unread message into several topics, such as "she is asleep" and "she is in sleep and" is in a sleep, both of the unread messages belong to topics related to "sleeping", the keywords refer to certain special types of characters or phrases, so that the user equipment can judge semantic content of texts more accurately, and the unread messages are divided into a plurality of topics by counting the occurrence times of the keywords in each unread message, for example, the keywords of the two unread messages, namely 'eating where' and 'eating place' determine that the keywords of the two unread messages are 'eating', and belong to topics related to 'eating'; then, the topic "sleep" and the topic "eat" are used as the visual information of the session, and the user device presents the graphical information, such as the topic name, corresponding to the topic "sleep" and the topic "eat" respectively while presenting the session list page.
In some embodiments, the visual information comprises a plurality of topic indicators, wherein each topic indicator characterizes one of the several topics, wherein a topic indicator represents an indicator that can describe the topic, e.g., the inclusion of a "lecture" in an indicator characterizes a set of unread messages surrounding a "lecture" topic. In some embodiments, when each topic indicator is selected by the user, the user device will present at least one unread message corresponding to that topic indicator, and if the page indicator corresponding to "lecture" is selected, the user device will present at least one of the unread messages corresponding to the "lecture" topic in the session.
In some embodiments, the step S2 includes a step S21 (not shown) and a step S22 (not shown): in step S21, if the first trigger condition is satisfied, the ue detects whether at least one session in the session list page satisfies a second trigger condition; in step S22, if the at least one session satisfies the second trigger condition, the ue determines visual information corresponding to the at least one session, where the visual information is used to characterize distribution information of unread messages in the at least one session. For example, the second trigger condition is that "the number of unread messages in a session is greater than or equal to 50", and in step S22, the user equipment determines that a session satisfies the second trigger condition based on the detection result, and then determines the visual information corresponding to the session. Here, the implementation manner of determining the visual information corresponding to at least one session in the session list page is the same as or substantially the same as that in the foregoing embodiment, and therefore, the description is omitted, and the implementation manner is included herein only by way of reference.
In some embodiments, the second trigger condition includes, but is not limited to:
1) the number of unread messages in the at least one session is greater than or equal to predetermined unread message number threshold information;
the unread message number threshold information refers to a critical value of the unread message number, and may be an integer, for example, the unread message number threshold is 10, and when the unread message number is greater than or equal to 10, it is considered that the second trigger condition is satisfied.
2) The maximum time interval of the unread messages in the at least one session is greater than or equal to the predetermined unread message interval threshold information.
The maximum time interval of the unread messages refers to a time interval between an earliest received message and a latest received message, and the unread message interval threshold information refers to a critical value of the maximum time interval of the unread messages, for example, the unread message interval threshold is 10 minutes, and when the time interval between the earliest received message and the latest received message is greater than or equal to 10 minutes, that is, the maximum time interval of the unread messages is greater than or equal to 10 minutes, it is considered that the second trigger condition is satisfied.
According to the embodiment, the corresponding visual graphs (such as a curve graph, a bar graph, a thermodynamic diagram and lines containing various different shades and colors) are obtained through comprehensive calculation of the distribution information of the unread messages based on the distribution latitudes (time intervals, pages, topics and the like) and displayed in the conversation list page, so that a user can visually and intuitively display the unread messages on the conversation list page, the number and the updating frequency of the unread messages on the distribution latitudes can be checked, the use efficiency is improved, and the user experience is improved.
FIG. 2 illustrates a presentation diagram of a present session list page according to one embodiment of the present application.
As shown in fig. 2, the message list on the session list page includes four sessions, and includes graphic information corresponding to sessions "group name 2", "group name 3", and "group name 4", respectively. The display area of the session "group name 2" is presented with graphic information for displaying the distribution information of the unread messages in the "group name 2", and the graphic information is a histogram; the display area of the conversation 'group name 3' presents graphic information for showing the distribution information of the unread messages in the 'group name 3', and the graphic information is formed by lines with different shades; wherein, the display area of the conversation "group name 4" presents the graphic information for showing the distribution information of the unread messages in the "group name 4", and the graphic information is a graph.
Fig. 3 shows a user equipment for presenting a session list page according to an embodiment of the present application, the equipment comprising a first module 11, a second module 12 and a third module 13. A first module 11, configured to detect whether a first trigger condition for presenting a session list page is satisfied; a second module 12, configured to determine, if the first trigger condition is met, visualization information corresponding to at least one session in the session list page, where the visualization information is used to represent distribution information of unread messages in the at least one session; a third module 13, configured to present the session list page according to the visualization information, where the session list page includes graphical information for showing the distribution information.
The first module 11 detects whether a first trigger condition for rendering a session list page is fulfilled. Wherein the first trigger condition includes, but is not limited to, a condition that can trigger presentation of a session list page. In some embodiments, the first trigger condition includes, but is not limited to:
1) and the user executes the operation of starting the target application, wherein the default page of the target application is the session list page.
For example, the target application includes any application capable of presenting a session list page, such as a social application of QQ, WeChat, palm letter, and the like. There are various ways for starting the target application, for example, the user clicks an icon on the desktop of the mobile phone of the target application to start the target application, or the user clicks a link located in another application to start the target application.
2) And the user executes page refreshing operation in the session list page.
For example, the manner of operation of page refresh includes, but is not limited to: a session list page is currently presented in user equipment, and a user makes a pull-down sliding gesture in the session list page to refresh the page; or, a session list page is currently presented in the user equipment, and the user clicks a certain button located in the session list page to refresh the page.
3) And the user executes page turning operation in the session list page.
For example, a second page of a session list page is currently presented in the user device, and the user slides to the first page of the session list page by making a drop-down slide gesture in the session list page to perform a page flip operation.
4) And the user executes the operation of switching to the session list page in the target application.
The operation for switching to the session list page is performed in multiple ways, for example, a session detail page is currently presented in the user equipment, the user clicks a return button on the session detail page to switch to the session list page, and for example, a multi-tab page is currently presented in the target application, the user is currently located in a page corresponding to another tab, and the user switches to the session list page by clicking a tab corresponding to the session list page.
5) The user performs a predetermined gesture operation.
For example, a number of gesture operations are predefined in the user device, wherein each gesture operation, when executed, presents the session list page; the gesture operations include, but are not limited to, sliding up, sliding down, zooming, etc. When the user equipment acquires the gesture operation, the user equipment judges whether the gesture operation is matched with the preset gesture operation; and if so, presenting the session list page.
It should be understood by those skilled in the art that the above-mentioned first trigger condition is only an example, and other existing or future conditions that can trigger the presentation of the session list page are all included in the scope of the first trigger condition described herein.
If the first trigger condition is met, the second module 12 determines visualization information corresponding to at least one session in the session list page, where the visualization information is used to represent distribution information of unread messages in the at least one session. In some embodiments, the visualization information includes a number of unread messages, or graphical representation information determined from the number of unread messages. Here, the distribution information is used to describe the distribution of the unread messages in the session, and the graph representation information is used to describe the characteristics of the graph information, which is the basis for generating the graph information, such as "red line segment with 1 unit length" and the like. For example, when the distribution information is time distribution information distributed at time intervals of 2 hours, the visualization information includes the number of unread messages (e.g., 5 unread messages) corresponding to each time interval of 2 hours, or graphic representation information (e.g., "red line segments of 5 unit lengths") determined according to the number of unread messages corresponding to each time interval of 2 hours.
The third module 13 presents the session list page according to the visualization information, wherein the session list page includes graphic information for displaying the distribution information. In some embodiments, the graphical information includes, but is not limited to, a graph, a bar graph, a thermodynamic diagram, a line containing a plurality of different shades of color. For example, the number information of the unread messages received by a session within a certain time interval may be represented by the height of a curve in a graph, or the number information of the unread messages received by a session within a certain time interval may also be represented by the height of a cylinder in a histogram, or the number information of the unread messages received by a session within a certain time interval may also be represented by the highlight of a region in a thermodynamic diagram, or the number information of the unread messages received by a session within a certain time interval may also be represented by the lightness of a color in a line.
In some embodiments, the apparatus further includes a fourth module 14 (not shown), where the fourth module 14 is configured to determine, according to an access operation of a user on the graphical information, access location information corresponding to the access operation in the distribution information; determining one or more unread messages in the at least one session corresponding to the visitor location information; presenting at least one of the one or more unread messages. In some embodiments, the access operation includes, but is not limited to, a single-click operation, a double-click operation, etc., the access location information corresponds to a distribution latitude of the unread message, the distribution latitude includes, but is not limited to, a division standard of message distribution such as a time interval, a page, a topic, etc., the distribution latitude corresponding to the click region is determined according to the access operation of the user on the graphical information, and then at least one unread message in the distribution latitude is presented to the user, for example, the user clicks a "spring trip" topic region on the graphical information, jumps from a session list page to an unread message page corresponding to a "spring trip" topic, and presents all unread messages related to the "spring trip" topic.
In some embodiments, the distribution information includes, but is not limited to:
1) temporal distribution information of unread messages in the at least one session.
The distribution information according to time is used for describing the distribution condition of all unread messages in the session in the latitude of the receiving time. For example, the time distribution information includes information on the number of unread messages received by the session in each time interval. Here, the time intervals may be preset unit time intervals, for example, unit time intervals of several hours; alternatively, the time intervals are obtained by dividing the span of the receiving time of the unread message in the session, for example, the earliest unread message in the session is 9 am: 00, the most recent unread message was 3 pm: 00 received, spanning 6 hours, may be divided into 4 time intervals, each of 1.5 hours.
2) Distributing information per page of unread messages in the at least one session.
The page-based distribution information is used for describing the distribution condition of all unread messages in the session on the latitude of the page. For example, the page-wise distribution information includes information about the number of unread messages received by the session in one or more pages, for example, the number of unread messages received by the session is 20 pages in total, and the page-wise distribution information may be divided according to the latitude of each page to obtain the information about the number of unread messages distributed according to each page, or may be divided according to the latitude of every five pages to obtain the information about the number of unread messages distributed according to every five pages.
3) Topic-wise distribution information of unread messages in the at least one conversation.
Wherein, the distribution information by topic is used for describing the distribution condition of all the unread messages in the conversation on the latitude of the topic. For example, the distribution information by topic includes the number information of the unread messages received by the conversation in each topic, where the topic may be a keyword of the conversation content of the user, or may also be a central idea of the conversation content of the user, for example, the keyword "lecture" of the conversation content is taken as a topic to obtain the number information of the unread messages distributed by the topic "lecture" or the central idea "a and B are inseparable parts" of the conversation content is taken as a topic to obtain the number information of the unread messages distributed by the topic "a and B are inseparable parts".
It should be understood by those skilled in the art that the above distribution information is only an example, and other information available in the prior art or in the future for describing the distribution of the unread message is included in the scope of the distribution information described in the present application.
In some embodiments, the distribution information includes time distribution information of the unread messages in the at least one conversation, and the second module 12 is configured to determine the visualization information corresponding to the at least one conversation in the conversation list page, including: if the first trigger condition is met, the user equipment executes the following operations on at least one session in the session list page:
operation one, counting the unread messages in the session according to time intervals to obtain the number of the unread messages received in each time interval;
operation two, taking the quantity of unread messages corresponding to each time interval as the visual information corresponding to the session; or determining the graphic representation information corresponding to each time interval according to the quantity of the unread messages corresponding to each time interval, and taking the graphic representation information corresponding to each time interval as the visual information corresponding to the session.
For example, in the first operation, the unread messages in the session are counted at intervals to obtain the number of unread messages received in each time interval, where the time interval may be a preset unit time interval, for example, several hours is used as a unit time interval, the number of unread messages received in each unit time interval is obtained, or the time interval is obtained by dividing the span of the receiving time of the unread messages in the session, for example, the earliest unread message in the session is 9 am: 00, the most recent unread message was 3 pm: 00 received, spanning 6 hours, may be divided into 4 time intervals of 1.5 hours each, to obtain the number of unread messages received in each 1.5 hours.
For example, in the second operation, the number of unread messages corresponding to each time interval is directly used as the visualization information corresponding to the session, for example, if the number of unread messages in a certain session time interval is 10, the visualization information corresponding to the time interval is "10". Or the user equipment determines the graphic representation information corresponding to each time interval according to the quantity of the unread messages corresponding to each time interval, and then takes the graphic representation information corresponding to each time interval as the visual information corresponding to the session; for example, if the number of unread messages in a time interval of a session is 10 and the number of unread messages in another time interval is 20, it is determined that the graphical representation information corresponding to "10 unread messages" is "red line segment" (for example, the length of the red line segment may correspond to the length of the former time interval), and the graphical representation information corresponding to "20 unread messages" is "purple line segment" (for example, the length of the purple line segment may correspond to the length of the latter time interval), and then the two graphical representation information "red line segment" and "purple line segment" are respectively used as the visualization information corresponding to the two time intervals in the session.
In some embodiments, the visualization information includes a number of unread messages corresponding to each time interval in the at least one session, wherein the third module 13 is configured to: determining the quantity of unread messages corresponding to each time interval according to the quantity of the unread messages corresponding to each time interval in the at least one session, and determining the graphic information corresponding to each time interval; and presenting the session list page, wherein the session list page comprises the graphic information. For example, when the visualization information includes the number of unread messages corresponding to each time interval in the at least one session, in the third module 13, firstly, the graphic information corresponding to each time interval, for example, the line segments with different colors corresponding to each time interval, is determined according to the number of unread messages corresponding to each time interval; and then, presenting different color line segments corresponding to the time intervals in the page while presenting the session list page. Here, each piece of graphic information may be displayed in a display area of the corresponding session in the session list page, for example, a right area of a session indicator (e.g., a name or thumbnail of a certain contact or a certain session group) of the session.
Here, the graphic information may be a graph, and a method of plotting the graph includes, but is not limited to: firstly, establishing a coordinate axis, wherein a horizontal axis represents the time interval of unread messages, a vertical axis represents the quantity information of the unread messages received by the unread messages in each time interval, each time interval is taken as an abscissa value of the coordinate axis, the quantity of the unread messages received in each time interval is obtained according to the information of the unread messages distributed according to time, the quantity of the unread messages is taken as an ordinate value of the coordinate axis, a plurality of points are drawn on the coordinate axis according to the abscissa value and the ordinate value, the points are connected into a curve, and then a curve graph corresponding to the conversation is presented in a conversation list page, for example, the curve graph is positioned in a right area presented in the conversation indicator.
In some embodiments, the first operation of counting the unread messages in the conversation at time intervals to obtain the number of unread messages received in each time interval includes: dividing a start-stop time period of the unread messages in the session into a plurality of time intervals, wherein the start-stop time period takes the receiving time corresponding to the unread message received earliest in the session as a starting point and takes the current time or the receiving time corresponding to the unread message received latest in the session as a termination point; and counting the unread messages in the conversation according to time intervals to obtain the number of the unread messages received in each time interval. For example, a session currently contains 99 unread messages, wherein the first unread message (i.e., the oldest received unread message) corresponds to a reception time of 2019/03/07/14:01:30, the current time is 2019/03/07/14:08:30, then the start point is 2019/03/07/14:01:30, the end point is 2019/03/07/14:08:30, the start-stop time period is (2019/03/07/14:01:30, 2019/03/07/14:08:30), and then, the start-stop time period is evenly divided into 7 time intervals based on a preset unit time interval of '1 minute', and then obtaining the number of the received unread messages in each time interval of 1 minute.
For another example, a session currently includes 99 unread messages, where the receiving time corresponding to the first unread message (i.e., the unread message received earliest) is 2019/03/07/14:01:30, the receiving time corresponding to the last unread message (i.e., the unread message received latest) is 2019/03/07/14:06:30, then "2019/03/07/14: 01: 30" is used as the starting point, and "2019/03/07/14: 06: 30" is used as the ending point, the starting and ending time periods are (2019/03/07/14:01:30, 2019/03/07/14:06:30), and then the starting and ending time periods are evenly divided into 3 time intervals based on the preset unit time interval "2 minutes", and then obtaining the number of the received unread messages in each time interval of 2 minutes.
In some embodiments, the distribution information includes a page-wise distribution message of the unread messages in the at least one session, wherein the determining the visualization information corresponding to the at least one session in the session list page includes: if the first trigger condition is met, executing the following operations on at least one session in the session list page: dividing the unread messages in the conversation into a plurality of pages, wherein each page comprises at most a predetermined number of unread messages; and taking the plurality of pages as the visual information corresponding to the conversation. For example, all the unread messages in a conversation may be divided into several pages in the receiving time sequence of the unread messages in the conversation, starting from the earliest or latest received message, based on that the number of text lines of each unread message is unknown, may be a single line, or may be several lines, and the number of text lines that each page can accommodate is fixed, and when the unread messages in a certain page are all single lines, the number of unread messages included in the page is the maximum, so that the number of unread messages included in each page does not exceed the maximum at most. For example, a session currently includes 100 unread messages, which are sorted from early to late according to the receiving time, and the text line number of each unread message is combined to divide the 100 unread messages into 4 pages, each page includes unread messages with 30 text line numbers, wherein the first page includes the first 20 unread messages, the second page includes the unread messages from the 21 st to the 50 th, the third page includes the messages from the 51 st to the 75 th, and the fourth page includes the unread messages from the 76 th to the 100 th; then, the first page, the second page, the third page and the fourth page are used as the visual information of the session, and the user equipment presents the graphic information, such as page symbols, corresponding to the first page, the second page, the third page and the fourth page while presenting the session list page.
In some embodiments, the visualization information comprises a plurality of page indicators, wherein each page indicator characterizes one of the number of pages. For example, an unread message in one session is divided into four pages, the page indicator of the first page is P1, the page indicator of the second page is P2, the page indicator of the third page is P3, and the page indicator of the fourth page is P4. In some embodiments, when a page indicator is selected by a user, the user device will present at least one unread message to which the page indicator corresponds; as an example, if the page indicator corresponding to the "second page" is selected, the user equipment will present at least one unread message in the unread messages of items 21 to 50 in the session.
In some embodiments, the distribution information includes topic-wise distribution information of unread messages in the at least one conversation, wherein the determining visual information corresponding to at least one conversation in the conversation list page includes: if the first trigger condition is met, executing the following operations on at least one session in the session list page: dividing the unread messages in the conversation into a plurality of topics, wherein each topic comprises the unread messages related to the same topic; and taking the topics as visual information corresponding to the conversation. The topic can be a keyword of the user session content, or can also be a central idea of the user session content, including but not limited to a summary of various events concerned in daily life, such as "eating", "sleeping", several topics can be divided by means of semantic analysis, keyword statistics, and the like, the semantic analysis refers to learning and understanding semantic content represented by a segment of natural language text by using various methods, by establishing an effective model and system, researching the internal structure of the natural language text and understanding semantic relationship between text units, so as to realize understanding the real semantics of the whole text expression, and by semantically analyzing the real semantics of each unread message, dividing the unread message into several topics, such as "she is asleep" and "she is in sleep and" is in a sleep, both of the unread messages belong to topics related to "sleeping", the keywords refer to certain special types of characters or phrases, so that the user equipment can judge semantic content of texts more accurately, and the unread messages are divided into a plurality of topics by counting the occurrence times of the keywords in each unread message, for example, the keywords of the two unread messages, namely 'eating where' and 'eating place' determine that the keywords of the two unread messages are 'eating', and belong to topics related to 'eating'; then, the topic "sleep" and the topic "eat" are used as the visual information of the session, and the user device presents the graphical information, such as the topic name, corresponding to the topic "sleep" and the topic "eat" respectively while presenting the session list page.
In some embodiments, the visual information comprises a plurality of topic indicators, wherein each topic indicator characterizes one of the several topics, wherein a topic indicator represents an indicator that can describe the topic, e.g., the inclusion of a "lecture" in an indicator characterizes a set of unread messages surrounding a "lecture" topic. In some embodiments, when each topic indicator is selected by the user, the user device will present at least one unread message corresponding to that topic indicator, and if the page indicator corresponding to "lecture" is selected, the user device will present at least one of the unread messages corresponding to the "lecture" topic in the session.
In some embodiments, the second module 12 includes a two-in-one module 121 (not shown) and a two-in-two module 122 (not shown): if the first trigger condition is met, the first-second module 121 detects whether at least one session in the session list page meets a second trigger condition; if the at least one session meets the second trigger condition, the second module 122 determines visual information corresponding to the at least one session, where the visual information is used to represent distribution information of unread messages in the at least one session. For example, the second trigger condition is that "the number of unread messages in a session is greater than or equal to 50", and the second module 122 determines that a session satisfies the second trigger condition based on the detection result, and then determines the visual information corresponding to the session. Here, the implementation manner of determining the visual information corresponding to at least one session in the session list page is the same as or substantially the same as that in the foregoing embodiment, and therefore, the description is omitted, and the implementation manner is included herein only by way of reference.
In some embodiments, the second trigger condition includes, but is not limited to:
1) the number of unread messages in the at least one session is greater than or equal to predetermined unread message number threshold information;
the unread message number threshold information refers to a critical value of the unread message number, and may be an integer, for example, the unread message number threshold is 10, and when the unread message number is greater than or equal to 10, it is considered that the second trigger condition is satisfied.
2) The maximum time interval of the unread messages in the at least one session is greater than or equal to the predetermined unread message interval threshold information.
The maximum time interval of the unread messages refers to a time interval between an earliest received message and a latest received message, and the unread message interval threshold information refers to a critical value of the maximum time interval of the unread messages, for example, the unread message interval threshold is 10 minutes, and when the time interval between the earliest received message and the latest received message is greater than or equal to 10 minutes, that is, the maximum time interval of the unread messages is greater than or equal to 10 minutes, it is considered that the second trigger condition is satisfied.
According to the embodiment, the corresponding visual graphs (such as a curve graph, a bar graph, a thermodynamic diagram and lines containing various different shades and colors) are obtained through comprehensive calculation of the distribution information of the unread messages based on the distribution latitudes (time intervals, pages, topics and the like) and displayed in the conversation list page, so that a user can visually and intuitively display the unread messages on the conversation list page, the number and the updating frequency of the unread messages on the distribution latitudes can be checked, the use efficiency is improved, and the user experience is improved.
FIG. 4 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
In some embodiments, as shown in FIG. 4, the system 300 can be implemented as any of the devices in the various embodiments described. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
System memory 315 may be used, for example, to load and store data and/or instructions for system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310 to form a system on a chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a holding computing device, a tablet, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
The present application also provides a computer readable storage medium having stored thereon computer code which, when executed, performs a method as in any one of the preceding.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.