WO2017197566A1 - Method, device, and system for journal displaying - Google Patents

Method, device, and system for journal displaying Download PDF

Info

Publication number
WO2017197566A1
WO2017197566A1 PCT/CN2016/082259 CN2016082259W WO2017197566A1 WO 2017197566 A1 WO2017197566 A1 WO 2017197566A1 CN 2016082259 W CN2016082259 W CN 2016082259W WO 2017197566 A1 WO2017197566 A1 WO 2017197566A1
Authority
WO
WIPO (PCT)
Prior art keywords
log
logs
aggregated
similar
client
Prior art date
Application number
PCT/CN2016/082259
Other languages
French (fr)
Chinese (zh)
Inventor
傅佳莉
黄雪妍
黄康敏
李善甫
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/082259 priority Critical patent/WO2017197566A1/en
Publication of WO2017197566A1 publication Critical patent/WO2017197566A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method, device and system for displaying a log.
  • Mobile social applications are mainly to provide users with convenient network services and help.
  • the mobile social application provides a communication platform for users, and the user can interact with other people on the mobile device through the client of the mobile social application, which facilitates communication.
  • the client of Facebook displays the log in the following manner: Facebook's Home page displays the log content in the order of time when different users publish logs.
  • Facebook's Home page displays the log content in the order of time when different users publish logs.
  • the logs displayed in the client are more, and there are many logs with similar log contents. Therefore, since the log display mode of the prior art is single, more logs are displayed on the client.
  • the log is similar, it is easy to cause the user to reduce the efficiency of the log.
  • the present invention provides a method, a device, and a system for displaying a log, which are used to solve the problem of reducing the efficiency of a user viewing a log when displaying a log with similar log content in the prior art.
  • a method for displaying a log which includes:
  • an aggregate log including at least two logs having at least one identical feature; and displaying the aggregated log as one log.
  • one log corresponds to a user comment area, or a favorite input field, that is, the user can only comment on the log in the comment area of the log, or input in the corresponding bookmark corresponding to the log.
  • the column is like.
  • the aggregated log in the embodiment of the present invention includes at least two logs having at least one identical feature, and the aggregated log is displayed as a log when the aggregated log is displayed, the log is displayed in chronological order relative to the prior art.
  • the manner of displaying the log in the embodiment of the present invention significantly reduces the number of displayed logs, so that the user improves the efficiency of viewing the log when viewing the log.
  • At least two logs are aggregated according to a preset rule to obtain an aggregated log.
  • At least two logs are aggregated to obtain an aggregated log, so that the aggregated log can be displayed, so that the efficiency of the user viewing the log is improved when the user views the log.
  • the target time period has a preset duration, and at least two logs are logs in the log within the target time period that satisfy the screening condition.
  • At least two logs satisfying the screening condition in the target time period can be obtained, and then at least two logs satisfying the screening condition are aggregated into an aggregation log, thereby satisfying the user's requirement for displaying the aggregated log, thereby improving the user experience.
  • the aggregated log is obtained when receiving the operation of the user input to display the aggregated log.
  • the aggregated log Since the operation of the aggregated log can be presented according to the request input by the user, the aggregated log is obtained and displayed, so that different display modes can be presented according to different needs of the user.
  • the aggregated log is obtained.
  • the aggregation log is displayed and displayed.
  • the number of logs to be displayed is large, the number of displayed logs is reduced by displaying the aggregated logs. Therefore, when the user views the log, the efficiency of the user to view the log is improved.
  • receiving an aggregated log from the server optionally, receiving an aggregated log from the server.
  • the device for displaying the aggregated log only needs to display the aggregated log after receiving the aggregated log, and avoids at least two pairs of devices used to display the aggregated log.
  • the process of getting the aggregated logs processed by the logs reduces the need for the processor of the device used to display the aggregated logs.
  • the server after receiving the request of the user input to display the aggregated log, the server sends a request for displaying the aggregated log, and then obtains the aggregated log.
  • the aggregated log Since the operation of the aggregated log can be presented according to the request input by the user, the aggregated log is obtained and displayed, so that different display modes can be presented according to different needs of the user.
  • the server optionally, after receiving a screening condition input by the user for filtering the log, sending a screening condition to the server, and then filtering the log in the target time period according to the screening condition, thereby obtaining at least Two logs, wherein the target time period has a preset duration, and at least two logs are logs in the log within the target time period that satisfy the screening condition.
  • At least two logs satisfying the screening condition in the target time period can be obtained, and then at least two logs satisfying the screening condition are aggregated into an aggregation log, thereby satisfying the user's requirement for displaying the aggregated log, thereby improving the user experience.
  • the screening condition includes the content type of the log, the type of the user who issues the log, whether the time when the log is posted is within the set time period, and whether the published log is an unread log. At least one of them.
  • the aggregated log is displayed as a log, wherein at least two logs are displayed in the chronological order in which the logs are generated.
  • At least two log contents belonging to the same log content type in the at least two logs are aggregated into the aggregated log content, thereby obtaining the content of the log including the aggregated log.
  • the aggregated log is displayed as a log.
  • the aggregated log content is displayed in the order in which the preset log contents are displayed.
  • the contents of the logs belonging to the same log content type in at least two logs are displayed together, which is more in line with the habit of the user to view the logs, thereby improving the user experience.
  • At least two logs include at least two similar logs, any similar logs of at least two similar logs, and other similar logs of at least two similar logs except any similar logs.
  • the content similarity is greater than the similarity threshold; displaying one of the at least two similar logs; and displaying the hidden identifier, wherein the hidden identifier indicates that the other similar logs of the at least two similar logs except one of the similar logs are not display.
  • At least two logs include at least two similar logs, any similar logs of at least two similar logs, and other similar logs of at least two similar logs except any similar logs.
  • the content similarity between the two is greater than the similarity threshold; one of the at least two similar logs is displayed; and the other similar logs of the at least two similar logs except the one of the similar logs are reduced by a preset ratio display.
  • At least two logs further include other logs than at least two similar logs; and other logs except at least two similar logs are displayed.
  • the hidden identifier corresponds to one of the at least two similar logs except for one similar log.
  • a similar log corresponding to the hidden identifier can be displayed on the current interface or in the new interface, so that the user can view himself according to his own needs. The log you want to see improves the user experience.
  • the aggregated log is displayed as a log
  • the operation of clicking the hidden identifier of the user is received; in the current interface or in the new interface, a similar log corresponding to the hidden identifier is displayed.
  • the hidden identifier corresponds to all the hidden logs that are not displayed, after the hidden identifier is clicked, all the hidden similar logs can be displayed on the current interface or in the new interface, which is reduced compared with a hidden identifier corresponding to each similar log.
  • the complexity of the implementation while enabling users to view the logs they want to see according to their own needs, improve the user experience.
  • a hidden identifier corresponding to a similar log of at least two similar logs except one similar log after the aggregated log is displayed as a log, after receiving the user clicks After the operation of hiding the identifier, in the current interface or the new interface, similar logs of at least two similar logs except the one similar log are displayed.
  • the similar log enlarged by the preset ratio is displayed, so that the user can view the log he wants to read according to his own needs, thereby improving the user experience.
  • the aggregated log is displayed as a log
  • the log enlarged by the preset ratio is displayed.
  • the comment is displayed in the preset comment area of the aggregated log.
  • the present invention provides a method for log processing, including:
  • the log in the target time period is filtered according to the filter condition, so that the at least two logs are obtained, wherein the target time period has a preset duration, and the at least two logs are A log in the log within the target time period that satisfies the screening condition.
  • the screening condition includes the content type of the log, the type of the user who issues the log, whether the time when the log is posted is within the set time period, and whether the published log is an unread log. At least one of them.
  • At least two logs are aggregated when receiving the request sent by the client to present an aggregated log; or, when the log of the target period is detected When the number exceeds the set data threshold, at least two logs are aggregated.
  • the present invention provides a client, including: a processing module and a display module, wherein the processing module is configured to acquire an aggregate log, where the aggregate log includes at least two logs having at least one identical feature; and the display module Used to display the aggregated log as a log.
  • the processing module is specifically configured to obtain the at least two logs, and the at least two logs are aggregated according to a preset rule to obtain the aggregated log.
  • the transceiver module in the client is configured to receive, after the processing module aggregates the at least two logs, a screening condition input by the user for filtering the log; a processing module, configured to filter, according to the screening condition, a log in a target time period, to obtain the at least two logs, where the target time period has a preset duration, and the at least two logs are the target A log in the log within the time period that satisfies the filter condition.
  • the screening condition includes the content type of the log, the type of the user who issues the log, whether the time when the log is posted is within the set time period, and whether the posted log is an unread log. At least one of them.
  • the processing module is specifically configured to acquire the aggregated log when receiving a request for the user input to present an aggregated log; or, after detecting the target time period The aggregated log is obtained when the number of logs exceeds the set number threshold.
  • the display module is specifically configured to use the at least two At least two log contents of the same log content type in the log are aggregated into the aggregated log content, so that the aggregated log including the aggregated log content is obtained; and the aggregated log is displayed as a log, where The aggregated log content is displayed in the order in which the preset log contents are displayed.
  • the at least two logs include at least two similar logs, and any one of the at least two similar logs and the at least two similar logs
  • the content similarity between other similar logs except a similar log is greater than a similarity threshold
  • the display module is specifically configured to display one of the at least two similar logs; displaying a hidden identifier, the hidden identifier indicating Other similar logs in the at least two similar logs except the one similar log are not displayed.
  • the at least two logs include at least two similar logs, and any one of the at least two similar logs and the at least two similar logs
  • the content similarity between other similar logs except a similar log is greater than a similarity threshold
  • the display module is specifically configured to display one of the at least two similar logs
  • the at least two similar logs are Other similar logs except the one similar log are displayed in a reduced scale according to a preset ratio.
  • the at least two logs further include other logs than the at least two similar logs; the display module is further configured to display the at least two similar Other logs outside the log.
  • the present invention provides a server, including: a processing module and a transceiver module, wherein the processing module is configured to acquire at least two logs by using the transceiver module, and aggregate the at least two logs to obtain an aggregated log.
  • the at least two logs have at least one identical feature;
  • the transceiver module is configured to send the aggregated log to a client, and the client is configured to display the aggregated log.
  • the transceiver module is further configured to receive a screening condition that is sent by the client for filtering a log; the processing module is further configured to: according to the screening condition, The logs in the target time period are filtered to obtain the at least two logs, the target time period has a preset duration, and the at least two logs are satisfied in the log in the target time period. A log of the screening criteria.
  • the screening condition includes the content type of the log, the type of the user who advertises the log, whether the time when the log is posted is within the set time period, and whether the posted log is an unread log. At least one of them.
  • the processing module is configured to: when receiving the request sent by the client to present a request for the aggregated log, to aggregate at least two logs; or, when detecting the location At least two logs are aggregated when the number of logs in the target period exceeds the set data threshold.
  • the present invention provides a system for displaying a log, comprising the client according to any one of the embodiments of the present invention and a server according to any one of the embodiments of the present invention.
  • FIG. 1 is a schematic diagram of an application scenario network architecture according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for displaying a log according to an embodiment of the present invention
  • FIG. 3a is a schematic diagram of a log display manner in the prior art
  • 3b and 3c are schematic diagrams showing the manner of displaying aggregate logs in the embodiment of the present invention.
  • 4a is a schematic diagram of a log display manner in the prior art
  • 4b to 4h are schematic diagrams showing the manner in which the aggregated log is displayed in the embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of a log display method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a client in an embodiment of the present invention. ;
  • FIG. 7 is a schematic structural diagram of hardware of a client in an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a hardware structure of a server according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a system for displaying a log according to an embodiment of the present invention.
  • a log in the embodiment of the present invention may be a message in a Facebook page such as Facebook, a status message in a WeChat circle, or a Weibo in the Weibo, or in a post. A post, etc.
  • a log in the embodiment of the present invention includes at least one type of log content, and the log content type includes text, a picture, an audio, or a video.
  • the executor of the embodiment of the present invention may be a terminal on which the method program of the log display of the embodiment of the present invention is installed, and specifically, the log display method of the embodiment of the present invention can be installed for a mobile phone, a tablet computer, a notebook, a desktop computer, or the like.
  • Program device may be a terminal on which the method program of the log display of the embodiment of the present invention is installed, and specifically, the log display method of the embodiment of the present invention can be installed for a mobile phone, a tablet computer, a notebook, a desktop computer, or the like. Program device.
  • the network architecture of an application scenario of the embodiment of the present invention includes a server and a client.
  • the application architecture is described as an example of a server-client.
  • the application architecture is similar to the server-client, the execution steps are similar, and will not be described here.
  • the method for displaying a log includes:
  • Step 200 Acquire an aggregated log, where the aggregated log includes at least two logs having at least one identical feature
  • step 201 the aggregated log is displayed as a log.
  • one log corresponds to a user comment area, or a favorite input field, that is, the user can only comment on the aggregated log in the comment area of the aggregated log, or corresponds to the aggregated log.
  • the input column of the likes is liked.
  • an aggregated log corresponds to a user comment area and a favorite input field.
  • log 1 of user A and log 2 of user 2 include the same feature "wind”. Therefore, log 1 and log 2 can be aggregated into one aggregate log and then used as a log. display.
  • the event may be generated according to the log content published in log 1 and log 2.
  • Information such as the location of the log, if the event occurs at the same location, the log is published at the same time (such as morning, afternoon or evening). Then log 1 and 2 are aggregated into one log.
  • the method of obtaining the aggregated log includes two methods.
  • An optional method is: after obtaining at least two logs, the client aggregates at least two logs according to a preset rule to obtain an aggregated log.
  • the preset rule may be an aggregation in a time sequence of at least two log publications, or a log content belonging to the same log content type may be aggregated together.
  • the content of the log content type in the log 1 and the content of the log content in the log 2 are aggregated together, and the log content type in the log 1 belongs to the content of the image and the log content in the log 2 belongs to The contents of the picture are aggregated, and then log 1 and log 2 are aggregated into one aggregate log 1 in the order of the log content type text-picture.
  • the log 1 and the log 2 may be aggregated into one log according to other preset rules.
  • a method for triggering a client to obtain an aggregated log optionally, obtaining an aggregated log when receiving a request input by a user to present an aggregated log;
  • the aggregation log is obtained when the number of logs in the target time period exceeds the threshold of the set number.
  • the operation of requesting to present the aggregated log may be a slide operation, a click operation, a long press operation, a re-press operation, or a double-click operation of an operation button or an icon for presenting the aggregated log for the request.
  • the request to render the aggregated log may also be a set specific gesture, such as a specific gesture on the client that senses the touch screen, ie, an operation to request the presentation of the aggregated log.
  • the starting time of the target time period can be set according to the needs of the user, and the ending time can be The previous time can also be other time.
  • the starting time of the target time period is the time when the user last refreshes the log, and the ending time is the current time.
  • the last time the user logs in to the last login client is 18 :00, open the client to view the log again at 19:00 at the current time
  • the target time period is from 18:00 to 19:00.
  • the set threshold of the embodiment of the present invention can be set according to the needs of the user.
  • the screening condition for filtering the log input by the user is received, and then, according to The screening condition is used to filter the logs in the target time period to obtain at least two logs, wherein the target time period has a preset duration, and at least two logs obtained are logs that meet the screening conditions.
  • start time and the end time of the target time period cannot be the same time, and the preset time length of the target time period can be set according to actual needs.
  • the preset duration is set to 1 hour
  • the termination time is set to 14:00
  • the target time period is 13:00 to 14:00.
  • the preset duration can also be set to 1 hour.
  • the time is set to 13:00
  • the target time period is 13:00 to 14:00, or the start time and the end time of the target time period are directly set.
  • the screening conditions include at least one of the following:
  • the log content type includes media file types such as text, picture, audio, and video.
  • the filtering condition is that the log content type is text
  • the log including the log content type is text is filtered out from all the logs in the target time period.
  • the filtering condition is the log content type is the image
  • the log is from all the logs in the target time period. Filter out the log including the log content type as a picture.
  • the filter condition is the log content type is text and video
  • the log including the log content type as text and video is filtered out from all the logs in the target time period, and then the At least two logs of the same characteristics.
  • the filtering condition is the type of the user who publishes the log
  • the type of the user who posted the log includes friends, classmates, colleagues, and family members. If the type of the user whose filtering condition is the publishing log is a friend, then All the logs in the target time period are selected from the log of the user who posted the log as a friend's log, and then at least two logs including at least one identical feature are obtained.
  • the screening condition is that the time when the log is published is within the set time period, if the set time period is 13:20 to 13:50 and the target time period is 12:00 to 16:00, then all the logs in the target time period are A log is published that is between 13:20 and 13:50 at the time the log is published, and then at least two logs including at least one identical feature are obtained.
  • the unread log is filtered out from all the logs in the target time period, wherein the unread log is the log between the time when the log was last viewed and the current time, and then At least two logs including at least one identical feature are obtained.
  • the filtering condition is that the type of the user who publishes the log is a friend and the content type of the log is a picture
  • the log content type including the picture, the type of the user who posted the log, and the log of the friend are selected from all the logs in the target time period, and then included. At least one log of at least one identical feature.
  • an optional client displays the aggregated log by: aggregating at least two log contents belonging to the same log content type in at least two logs into the aggregated log content, thereby obtaining The aggregated log of the aggregated log content is displayed; the aggregated log is displayed as a log, and the aggregated log content is displayed in the order in which the preset log content is displayed.
  • FIG. 4a Take Figure 4a as an example, including the three logs with the same feature “clogging” “User 1: Traffic jams so late, with Figure 1”, “User 2: Meilinguan has been blocked for half an hour, with Figure 2”, “ User 3: Traffic jam ing, with Figure 3”, the contents of the log content typed as text are aggregated together, and the log content type is aggregated together, wherein the text and the image can be respectively according to the time of publishing the log.
  • the aggregation is performed in sequence to obtain the aggregation log.
  • the display mode of the aggregation log is shown in Figure 4b.
  • the video may be combined into one video, and when the client receives the command to play the video, the video is sequentially played in the order of the merged video.
  • Another optional client displays the aggregated log by displaying the aggregated log as a log, wherein at least two logs included in the aggregated log are displayed in the order in which the logs are generated.
  • the sexual threshold displays one of the at least two similar logs, and displays a hidden identifier indicating that other similar logs other than one similar log in at least two similar logs are not displayed.
  • the content similarity of the two logs is 1. If there are n identical features between the two logs, the content similarity of the two logs is n. Where n is a positive integer. When there is no identical feature between the two logs, the content similarity of the two logs is 0.
  • the similarity threshold in the embodiment of the present invention may be set as needed.
  • FIG. 4a Take Figure 4a as an example, suppose the log "User 1: Traffic jams so late, with Figure 1", “User 2: Meilinguan has been blocked for half an hour, with Figure 2" and “User 3: Traffic jam ing, with map The similarity between any of the 3" logs and the other two logs is 7, and the similarity threshold is 5, only one of the three logs is displayed, showing the hidden identifiers of the other two logs, and the other two The log can correspond to a hidden identifier, or the other two logs can respectively correspond to a hidden identifier. A display mode is shown in FIG. 4d. When “User 1: If the traffic jam is so late, with Figure 1" in the three logs, the hidden identifiers of the other two logs are displayed, wherein the other two logs correspond to one Hide the logo.
  • the client When the other two logs correspond to a hidden identifier, after the client receives the operation of clicking the hidden identifier, the client displays two other similar logs on the current interface or the new interface.
  • the log corresponding to the hidden identifier of the click is displayed in the other two similar logs on the current interface or the new interface.
  • the log content of all the text types may be displayed, and the log content of one of the image types is displayed, wherein the similarity between any one of the three logs and the other two images is greater than the preset image content.
  • the similarity threshold indicates the hidden identifier of other images.
  • the method for calculating the similarity of the image content includes:
  • Step 1 Feature extraction is performed on the image, wherein the feature extraction can be performed by the following algorithms: SIFT (Scale-invariant feature transform) algorithm, fingerprint algorithm, bundling features algorithm, hash function based hash function, etc.
  • SIFT Scale-invariant feature transform
  • fingerprint algorithm fingerprint algorithm
  • bundling features algorithm hash function based hash function
  • Different algorithms can be designed according to different images, such as image local Nth moment method to extract image features.
  • step 2 the extracted image features are encoded, and the massive image is encoded into a lookup table.
  • the image with a larger resolution can be downsampled, and the image feature extraction and encoding processing can be performed after the amount of calculation is reduced.
  • Step 3 Based on the encoding of the extracted image, global or local similarity calculation is performed on the image database in the image search engine, and the similarity of the image content in the log is obtained.
  • At least two logs include at least two similar logs
  • content similarity between any similar logs of at least two similar logs and at least two similar logs except for any similar logs If the threshold is greater than the similarity threshold, one of the at least two similar logs is displayed, and the similar logs of the at least two similar logs except one of the similar logs are displayed in a preset ratio.
  • logs other than at least two similar logs are displayed.
  • the client receives a comment on the aggregated log
  • the comment is displayed in the comment area of the aggregated log.
  • FIG. 4b when the client receives a comment on the aggregated log as shown in FIG. 4b, the comment is displayed in the category area of the aggregated log, and since the aggregated log includes the log "user 1: so late Traffic jam, with Figure 1", "User 2: Merlin off has been blocked for half an hour, with Figure 2" and "User 3: Traffic jam ing, with Figure 3", then in any client that includes the above three logs This comment is displayed, although it has only been commented once, but it is equivalent to commenting on all three logs.
  • the form of the comment may be text, picture, audio or video. If the form of the comment is video, optionally, when the network environment is poor, the audio information may be uploaded to the server first and displayed on the client. When the network environment is getting better, the picture information in the video is uploaded to the server and displayed on the client.
  • the data commenting on the video can be embedded in the currently playing video, wherein the embedded method can directly embed the data commenting the video into the currently playing video
  • the identifier of the data commenting on the video may be embedded in the currently playing video, wherein the identifier of the data that reviews the video may be a serial number, an avatar of the user who posted the comment, or a content type of the comment (eg, text, audio) , image or video) Thumbnail.
  • the log is a video
  • the length of the video is 15 minutes.
  • the comment is embedded in the video for 2 minutes and 30 seconds.
  • the client receives the aggregated log sent by the server, and the server aggregates the at least two logs.
  • the method for displaying the log in the embodiment of the present invention includes:
  • step 500 the server obtains at least two logs.
  • the server obtains at least two logs input by the user through the client.
  • Step 501 The server aggregates at least two logs to obtain an aggregated log, where at least two logs have at least one identical feature.
  • the server aggregates at least two logs according to a preset rule to obtain an aggregated log.
  • the preset rules can be aggregated in chronological order in which at least two logs are published, or aggregated log contents belonging to the same log content type.
  • the method for the at least two logs to be aggregated by the trigger server includes: at least two logs are aggregated when receiving a request for the client to send an aggregated log request; or, the number of logs in the target time period is detected. At least two logs are aggregated when the set data threshold is exceeded.
  • the manner in which the server side triggers the aggregation of the at least two logs is similar to the manner in which the client side triggers the aggregation of the client, and details are not described herein again.
  • the target time period has a preset duration, and at least two logs are within the target time period. A log in the log that satisfies the filter criteria.
  • the screening condition includes at least one of a content type of the log, a type of the user who issues the log, a time when the log is posted, and whether the posted log is an unread log.
  • the manner in which the server obtains at least two logs according to the filtering condition is similar to the manner in which the client obtains at least two logs according to the screening conditions, and details are not described herein again.
  • step 502 the server sends the aggregated log to the client.
  • step 503 the client receives the aggregated log.
  • step 504 the client displays the aggregated log as a log.
  • the logs published by the client may be selectively displayed to different users.
  • the logs published by the client are classified, for example, according to the set rules, the logs are classified into: culture, entertainment, and sports.
  • different permissions can be set according to different users.
  • all types of logs are open to users belonging to family and friends, that is, users belonging to family and friends can view all logs published by the client.
  • the viewing time can also be set.
  • the user who belongs to the colleague class can view the log of the sports class at 8:00-17:00, and close the user for the colleague class outside this time period. You can view the permissions of the sports class's logs.
  • the log published by the client may be selectively displayed to different users, but also the log that can be displayed on the client may be displayed on the client; for example, the user 1 issues the advertisement to the user 2.
  • the client used by the user 1 only displays the log of the entertainment class released by the user 2.
  • the user 1 is interested in the log of the life class and the culture class published by the user 3, and by setting the log showing the user class 3 life class and culture class on the client side, the client used by the user 1 only displays the life released by the user 3 Class and culture class logs.
  • the audio or video may be used as an avatar of the user in the client.
  • the client obtains audio or video data from the portal of the uploaded avatar, and uploads the audio or video data to the server.
  • the server pushes the audio or video data to the location where the client displays the avatar.
  • audio or video may also be used as a background in the client.
  • the client obtains audio or video data from the portal of the upload background, and uploads the audio or video data to the server, the server.
  • Push audio or video data to the location where the client displays the background.
  • the embodiment of the present invention further provides a client, a server, and a log display system.
  • the method corresponding to the client, the server, and the log display system is the log display method of the embodiment of the present invention, so the present invention
  • the client, server, and log display of the embodiment For the implementation of the system, refer to the implementation of the method, and the repeated description will not be repeated.
  • the client of the embodiment of the present invention includes: a processing module 600 and a display module 610, wherein the processing module 600 is configured to acquire an aggregate log, where the aggregate log includes at least two logs having at least one identical feature; Module 610 is used to display the aggregated log as a log.
  • the processing module 600 is configured to obtain at least two logs, and aggregate at least two logs according to a preset rule to obtain an aggregated log.
  • the transceiver module 620 in the client is configured to receive, before the processing module 600 aggregates the at least two logs, a screening condition that is input by the user for filtering the log.
  • the processing module 600 is further configured to: according to the screening condition, The logs in the target time period are filtered to obtain at least two logs, and the target time period has a preset duration, and at least two logs are logs in the log within the target time period that meet the screening conditions.
  • the screening condition includes at least one of a content type of the log, a type of the user who issues the log, a time when the log is published, and whether the posted log is an unread log.
  • the processing module 600 is configured to acquire an aggregated log when receiving a request for the user to input the aggregated log, or acquire the aggregated log when the number of the logs in the target time period exceeds the set threshold. Aggregate logs.
  • the display module 610 is configured to aggregate at least two log contents belonging to the same log content type into at least two log contents into aggregated log content, thereby obtaining an aggregated log including the aggregated log content; Displayed as a log, wherein the aggregated log contents are displayed in the order in which the preset log contents are displayed.
  • At least two logs include at least two similar logs, and content similarity between any similar logs of at least two similar logs and other similar logs of at least two similar logs except for any similar logs is greater than similar
  • the display module 610 is specifically configured to display one of the at least two similar logs; the hidden identifier is displayed, and the hidden identifier indicates that the other similar logs except the one of the at least two similar logs are not displayed.
  • At least two logs include at least two similar logs, and content similarity between any similar log of at least two similar logs and other similar logs of at least two similar logs except for any similar log is greater than similar
  • the display module 610 is specifically configured to display one of the at least two similar logs; and display the similar logs of the at least two similar logs except the one of the similar logs by a preset ratio.
  • At least two logs further include other logs than at least two similar logs; the display module 610 is further configured to display other logs than the at least two similar logs.
  • the processing module 600 may be implemented by a processor
  • the display module 610 may be implemented by a display
  • the transceiver module 620 may be implemented by a transceiver.
  • the hardware structure implementation diagram of the client is shown in FIG. 7.
  • the client 700 may include a processor 710, a display 720, a transceiver 730, and a memory 740.
  • the memory 740 can be used for the program/code pre-installed by the client 700 at the factory, or the code for the execution of the processor 710 and the like.
  • bus system 750 which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the processor 710 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for performing related operations.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the client 700 shown in FIG. 7 only shows the processor 710, the display 720, the transceiver 730, and the memory 740, in a specific implementation process, those skilled in the art should understand that the client also includes Other devices necessary for proper operation. At the same time, those skilled in the art will appreciate that the client may also include hardware devices that implement other additional functions, depending on the particular needs. Moreover, those skilled in the art will appreciate that the client may also include only the devices or modules necessary to implement the embodiments of the present invention, and do not necessarily include all of the devices shown in FIG.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the server of the embodiment of the present invention includes: a processing module 800 and a transceiver module 810, wherein the processing module 800 is configured to acquire at least two logs; and aggregate at least two logs to obtain an aggregated log. At least two logs have at least one identical feature; the transceiver module 810 is configured to send the aggregated log to the client, and the client is configured to display the aggregated log.
  • the transceiver module 810 is further configured to receive a filtering condition that is sent by the client for filtering the log.
  • the processing module 800 is further configured to filter the log in the target time period according to the screening condition, so as to obtain at least two logs.
  • the target time period has a preset duration, and at least two logs are logs in the log within the target time period that satisfy the screening condition.
  • the screening condition includes at least one of a content type of the log, a type of the user who issues the log, a time when the log is published, and whether the posted log is an unread log.
  • the processing module 800 is configured to: when receiving a request sent by the client to send a request for the aggregated log, to aggregate at least two logs; or, when detecting that the number of logs in the target time period exceeds the set data, At the threshold, at least two logs are aggregated.
  • the processing module 800 may be implemented by a processor, and the transceiver module 810 may be implemented by a transceiver.
  • the hardware structure implementation diagram of the server is as shown in FIG. 9.
  • the server 900 may include a processor 910, a transceiver 920, and a memory 930.
  • the memory 930 can be used for the program/code pre-installed when the server 900 is shipped from the factory, and can also store code for the execution of the processor 910 and the like.
  • bus system 940 which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the processor 910 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for performing related operations.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the client 900 shown in FIG. 9 only shows the processor 910, the transceiver 920, and the memory 930, in the specific implementation process, those skilled in the art should understand that the client also includes the normal operation. Other devices necessary. At the same time, those skilled in the art will appreciate that the client may also include hardware devices that implement other additional functions, depending on the particular needs. Moreover, those skilled in the art will appreciate that the client may also only include the devices or modules necessary to implement the embodiments of the present invention, and does not necessarily include all of the devices shown in FIG.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • a system for displaying a log according to an embodiment of the present invention includes a client 1000 according to any one of the embodiments of the present invention, and a server 1010 according to any embodiment of the present invention.
  • the aggregated log is displayed as a log, wherein the aggregated log includes at least two logs having at least one identical feature.
  • the aggregated log includes at least two logs having at least one identical feature, and the aggregated log is displayed as a log when the aggregated log is displayed, and thus, compared with the prior art method of displaying the logs in chronological order,
  • the manner of displaying the log in the embodiment of the present invention significantly reduces the number of displayed logs, so that the user improves the efficiency of viewing the log when viewing the log.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It should be understood that the flow chart can be implemented by computer program instructions And/or a combination of the processes and/or blocks in the block diagrams, and the flowcharts and/or blocks in the flowcharts. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A method, device, and system for journal displaying, related to the technical field of computers, for use in solving the problem of the efficiency of a user in viewing journals being reduced when an increased number of journals having similar contents are displayed. The method comprises: acquiring aggregated journals, the aggregated journals comprising at least two journals having at least one identical feature (200); and, displaying the aggregated journals as one journal (201). Compared with the prior art in which journals are displayed in chronological order, the method significantly reduces the number of journals displayed, thus increasing the efficiency of the user in viewing the journals.

Description

一种日志显示的方法、设备及系统Method, device and system for displaying log 技术领域Technical field
本发明涉及计算机技术领域,特别涉及一种日志显示的方法、设备及系统。The present invention relates to the field of computer technologies, and in particular, to a method, device and system for displaying a log.
背景技术Background technique
随着智能移动设备和移动互联网技术的快速发展,移动社交应用也呈蓬勃发展势头。移动社交应用主要是为用户提供方便的网络服务和帮助。作为一种新兴的通信方式,移动社交应用为用户提供了一个交流平台,用户可以在移动设备上通过移动社交应用的客户端与其他人进行交互,方便了人们的沟通。With the rapid development of smart mobile devices and mobile Internet technologies, mobile social applications are also booming. Mobile social applications are mainly to provide users with convenient network services and help. As an emerging communication method, the mobile social application provides a communication platform for users, and the user can interact with other people on the mobile device through the client of the mobile social application, which facilitates communication.
然而,以Facebook为例,现有技术中Facebook的客户端显示日志的方式为:Facebook的Home页中按照不同用户发布日志的时间顺序显示日志内容。但是,当Facebook中的用户发布日志较为活跃时,客户端中显示的日志较多,而且存在很多日志内容相似的日志,因此,由于现有技术的日志显示方式单一,在客户端显示较多日志内容相似的日志时,容易导致降低用户查看日志的效率的问题。However, taking Facebook as an example, in the prior art, the client of Facebook displays the log in the following manner: Facebook's Home page displays the log content in the order of time when different users publish logs. However, when the user posting logs in Facebook is more active, the logs displayed in the client are more, and there are many logs with similar log contents. Therefore, since the log display mode of the prior art is single, more logs are displayed on the client. When the log is similar, it is easy to cause the user to reduce the efficiency of the log.
发明内容Summary of the invention
本发明提供一种日志显示的方法、设备及系统,用以解决现有技术中显示较多日志内容相似的日志时,降低用户查看日志的效率的问题。The present invention provides a method, a device, and a system for displaying a log, which are used to solve the problem of reducing the efficiency of a user viewing a log when displaying a log with similar log content in the prior art.
第一方面,提供了一种日志显示的方法,其特征在于,包括:In a first aspect, a method for displaying a log is provided, which includes:
获取聚合日志,所述聚合日志包括具有至少一个相同特征的至少两个日志;并将所述聚合日志作为一个日志进行显示。Obtaining an aggregate log, the aggregate log including at least two logs having at least one identical feature; and displaying the aggregated log as one log.
其中,一个日志对应一个用户评论区域,或点赞的输入栏,即用户仅能在该日志的评论区域对该日志进行评论,或是在与该日志对应的点赞的输入 栏点赞。Wherein, one log corresponds to a user comment area, or a favorite input field, that is, the user can only comment on the log in the comment area of the log, or input in the corresponding bookmark corresponding to the log. The column is like.
由于本发明实施例中的聚合日志包括具有至少一个相同特征的至少两个日志,而在显示聚合日志时是将聚合日志作为一个日志显示,因此,相对于现有技术中按照时间顺序显示日志的方式,本发明实施例中显示日志的方式明显减少了显示日志的个数,从而使得用户在查看日志时,提高了用户查看日志的效率。Since the aggregated log in the embodiment of the present invention includes at least two logs having at least one identical feature, and the aggregated log is displayed as a log when the aggregated log is displayed, the log is displayed in chronological order relative to the prior art. The manner of displaying the log in the embodiment of the present invention significantly reduces the number of displayed logs, so that the user improves the efficiency of viewing the log when viewing the log.
在第一方面的基础上,可选的,在获取至少两个日志后,根据预设的规则,将至少两个日志进行聚合,得到聚合日志。On the basis of the first aspect, after obtaining at least two logs, at least two logs are aggregated according to a preset rule to obtain an aggregated log.
由于根据预设的规则,将至少两个日志进行聚合,得到聚合日志,从而能够显示聚合日志,使得在用户查看日志时,提高了用户查看日志的效率。According to the preset rule, at least two logs are aggregated to obtain an aggregated log, so that the aggregated log can be displayed, so that the efficiency of the user viewing the log is improved when the user views the log.
在第一方面的基础上,可选的,在获取所述聚合日志之前,接收用户输入的用于对日志进行筛选的筛选条件,根据筛选条件,对目标时段内的日志进行筛选,从而得到至少两个日志,其中,目标时段具有预设的时长,至少两个日志为目标时段内的日志中满足筛选条件的日志。On the basis of the first aspect, optionally, before acquiring the aggregation log, receiving a screening condition input by the user for filtering the log, and filtering the log in the target time period according to the screening condition, thereby obtaining at least Two logs, wherein the target time period has a preset duration, and at least two logs are logs in the log within the target time period that satisfy the screening condition.
由于能够根据筛选条件,得到目标时段内满足筛选条件的至少两个日志,然后将满足筛选条件的至少两个日志聚合为聚合日志,从而满足了用户对于显示聚合日志的需求,提高了用户的体验。According to the screening condition, at least two logs satisfying the screening condition in the target time period can be obtained, and then at least two logs satisfying the screening condition are aggregated into an aggregation log, thereby satisfying the user's requirement for displaying the aggregated log, thereby improving the user experience. .
在第一方面的基础上,可选的,在接收到用户输入的请求显示聚合日志的操作时,获取聚合日志。On the basis of the first aspect, optionally, the aggregated log is obtained when receiving the operation of the user input to display the aggregated log.
由于能够根据用户输入的请求呈现聚合日志的操作,获取聚合日志并显示,从而能够根据用户不同的需求,呈现不同的显示方式。Since the operation of the aggregated log can be presented according to the request input by the user, the aggregated log is obtained and displayed, so that different display modes can be presented according to different needs of the user.
在第一方面的基础上,可选的,在检测到目标时段内的日志的条数超过设定的数量阈值时,获取聚合日志。On the basis of the first aspect, optionally, when the number of logs in the target time period exceeds the set number threshold, the aggregated log is obtained.
由于在目标时段内的日志的条数超过设定的数量阈值时,获取聚合日志并显示,使得在需要显示的日志条数较多时,通过显示聚合日志的方式,减少了显示日志的条数,从而使得在用户查看日志时,提高了用户查看日志的效率。 If the number of logs in the target time period exceeds the set number of thresholds, the aggregation log is displayed and displayed. When the number of logs to be displayed is large, the number of displayed logs is reduced by displaying the aggregated logs. Therefore, when the user views the log, the efficiency of the user to view the log is improved.
在第一方面的基础上,可选的,接收来自服务器的聚合日志。On the basis of the first aspect, optionally, receiving an aggregated log from the server.
由于通过服务器将至少两个日志聚合为一个日志,从而使得用于显示聚合日志的设备只需在接收到聚合日志后,显示聚合日志即可,避免了通过用于显示聚合日志的设备对至少两个日志处理得到聚合日志的过程,降低了对用于显示聚合日志的设备的处理器的需求。Because at least two logs are aggregated into one log through the server, the device for displaying the aggregated log only needs to display the aggregated log after receiving the aggregated log, and avoids at least two pairs of devices used to display the aggregated log. The process of getting the aggregated logs processed by the logs reduces the need for the processor of the device used to display the aggregated logs.
在第一方面的基础上,可选的,在接收到用户输入的请求显示聚合日志的操作后,向服务器发送请求显示聚合日志的请求,然后获取聚合日志。On the basis of the first aspect, optionally, after receiving the request of the user input to display the aggregated log, the server sends a request for displaying the aggregated log, and then obtains the aggregated log.
由于能够根据用户输入的请求呈现聚合日志的操作,获取聚合日志并显示,从而能够根据用户不同的需求,呈现不同的显示方式。Since the operation of the aggregated log can be presented according to the request input by the user, the aggregated log is obtained and displayed, so that different display modes can be presented according to different needs of the user.
在第一方面的基础上,可选的,在接收用户输入的用于对日志进行筛选的筛选条件,向服务器发送筛选条件,然后根据筛选条件,对目标时段内的日志进行筛选,从而得到至少两个日志,其中,目标时段具有预设的时长,至少两个日志为目标时段内的日志中满足筛选条件的日志。On the basis of the first aspect, optionally, after receiving a screening condition input by the user for filtering the log, sending a screening condition to the server, and then filtering the log in the target time period according to the screening condition, thereby obtaining at least Two logs, wherein the target time period has a preset duration, and at least two logs are logs in the log within the target time period that satisfy the screening condition.
由于能够根据筛选条件,得到目标时段内满足筛选条件的至少两个日志,然后将满足筛选条件的至少两个日志聚合为聚合日志,从而满足了用户对于显示聚合日志的需求,提高了用户的体验。According to the screening condition, at least two logs satisfying the screening condition in the target time period can be obtained, and then at least two logs satisfying the screening condition are aggregated into an aggregation log, thereby satisfying the user's requirement for displaying the aggregated log, thereby improving the user experience. .
在第一方面的基础上,可选的,所述筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。On the basis of the first aspect, optionally, the screening condition includes the content type of the log, the type of the user who issues the log, whether the time when the log is posted is within the set time period, and whether the published log is an unread log. At least one of them.
在第一方面的基础上,可选的,将聚合日志作为一个日志进行显示,其中,至少两个日志被按照日志被生成的时间顺序进行显示。On the basis of the first aspect, optionally, the aggregated log is displayed as a log, wherein at least two logs are displayed in the chronological order in which the logs are generated.
由于聚合日志中的至少两个日志按照日志被生成的时间顺序显示的,方便用户便于区分与了解各个被聚合的至少两个日志是哪个用户在发布的。Since at least two logs in the aggregated log are displayed in the chronological order in which the logs are generated, it is convenient for the user to distinguish and understand which of the at least two logs that are aggregated is which user is being published.
在第一方面的基础上,可选的,将所述至少两个日志中属于同一日志内容类型的至少两个日志内容聚合在一起为聚合后的日志内容,从而获得包括聚合后的日志内容的聚合日志;将聚合日志作为一个日志进行显示,其中,聚合后的日志内容被按照预设的日志内容显示顺序进行显示。 On the basis of the first aspect, optionally, at least two log contents belonging to the same log content type in the at least two logs are aggregated into the aggregated log content, thereby obtaining the content of the log including the aggregated log. The aggregated log is displayed as a log. The aggregated log content is displayed in the order in which the preset log contents are displayed.
由于在显示聚合日志时,将至少两个日志中属于同一日志内容类型的日志内容显示在一起,更符合用户查看日志的习惯,提高用户的体验。When the aggregated logs are displayed, the contents of the logs belonging to the same log content type in at least two logs are displayed together, which is more in line with the habit of the user to view the logs, thereby improving the user experience.
在第一方面的基础上,可选的,至少两个日志包括至少两个相似日志,至少两个相似日志中任一相似日志与至少两个相似日志中除任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;显示至少两个相似日志中的一个相似日志;以及显示隐藏标识,其中,隐藏标识指示至少两个相似日志中的除一个相似日志外的其它相似日志不显示。On the basis of the first aspect, optionally, at least two logs include at least two similar logs, any similar logs of at least two similar logs, and other similar logs of at least two similar logs except any similar logs. The content similarity is greater than the similarity threshold; displaying one of the at least two similar logs; and displaying the hidden identifier, wherein the hidden identifier indicates that the other similar logs of the at least two similar logs except one of the similar logs are not display.
由于在至少两个日志中包括至少两似日志时,仅显示其中一个相似日志,显示其它相似日志的隐藏标识,与显示至少两个日志相比,减少了聚合日志占用的显示空间的同时,避免了用户查看相似的内容,从而提高了用户查看日志的效率。Since at least two similar logs are included in at least two logs, only one of the similar logs is displayed, and the hidden identifiers of other similar logs are displayed. Compared with displaying at least two logs, the display space occupied by the aggregated logs is reduced while avoiding Users view similar content, which improves the efficiency of users viewing logs.
在第一方面的基础上,可选的,至少两个日志包括至少两个相似日志,至少两个相似日志中任一相似日志与至少两个相似日志中除任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;显示至少两个相似日志中的一个相似日志;以及将至少两个相似日志中的除所述一个相似日志之外的其它相似日志按照预设比例进行缩小显示。On the basis of the first aspect, optionally, at least two logs include at least two similar logs, any similar logs of at least two similar logs, and other similar logs of at least two similar logs except any similar logs. The content similarity between the two is greater than the similarity threshold; one of the at least two similar logs is displayed; and the other similar logs of the at least two similar logs except the one of the similar logs are reduced by a preset ratio display.
由于在至少两个日志中包括至少两似日志时,仅显示其中一个相似日志,将其它相似日志按照预设比例进行缩小后显示,与正常显示至少两个日志相比,减少了聚合日志占用的显示空间的同时,从而提高了用户查看日志的效率。When at least two logs are included in at least two logs, only one of the similar logs is displayed, and the other similar logs are displayed according to a preset ratio, and the aggregated logs are reduced compared with the normal display of at least two logs. While displaying space, it improves the efficiency of users viewing logs.
在第一方面的基础上,可选的,至少两个日志还包括除至少两个相似日志外的其它日志;显示除至少两个相似日志外的其它日志。On the basis of the first aspect, optionally, at least two logs further include other logs than at least two similar logs; and other logs except at least two similar logs are displayed.
由于当至少两个日志中在包括至少两个相似日志之外,还包括其它日志时,显示其它日志,使得用户能够查看到其它日志,避免用户错过想要查看的日志。Since when other logs are included in at least two logs including at least two similar logs, other logs are displayed so that the user can view other logs to prevent the user from missing the log that he wants to view.
在第一方面的基础上,可选的,隐藏标识与至少两个相似日志中除一个相似日志之外的其它相似日志一一对应。 On the basis of the first aspect, optionally, the hidden identifier corresponds to one of the at least two similar logs except for one similar log.
由于当每个隐藏标识分别对应一个相似日志后,在点击其中一个隐藏标识后,能够在当前界面或在新的界面,显示与隐藏标识对应的相似日志,使得用户能够根据自己的需求,查看自己想看的日志,提高了用户体验。After each hidden identifier corresponds to a similar log, after clicking one of the hidden identifiers, a similar log corresponding to the hidden identifier can be displayed on the current interface or in the new interface, so that the user can view himself according to his own needs. The log you want to see improves the user experience.
在第一方面的基础上,可选的,在将聚合日志作为一个日志显示之后,接收到用户的点击隐藏标识的操作;在当前界面或在新的界面,显示与隐藏标识对应的相似日志。On the basis of the first aspect, optionally, after the aggregated log is displayed as a log, the operation of clicking the hidden identifier of the user is received; in the current interface or in the new interface, a similar log corresponding to the hidden identifier is displayed.
由于隐藏标识对应未显示的所有隐藏日志,使得在点击隐藏标识后,能够在当前界面或在新的界面,显示所有隐藏的相似日志,与每个相似日志分别对应一个隐藏标识相比,降低了实现的复杂度,同时使得用户能够根据自己的需求,查看自己想看的日志,提高了用户体验。Since the hidden identifier corresponds to all the hidden logs that are not displayed, after the hidden identifier is clicked, all the hidden similar logs can be displayed on the current interface or in the new interface, which is reduced compared with a hidden identifier corresponding to each similar log. The complexity of the implementation, while enabling users to view the logs they want to see according to their own needs, improve the user experience.
在第一方面的基础上,可选的,至少两个相似日志中除一个相似日志之外的其它相似日志对应的一个隐藏标识;将聚合日志作为一个日志显示之后,在接收到用户点击所述隐藏标识的操作后,在当前界面或新的界面,显示至少两个相似日志中除所述一个相似日志之外的其它相似日志。On the basis of the first aspect, optionally, a hidden identifier corresponding to a similar log of at least two similar logs except one similar log; after the aggregated log is displayed as a log, after receiving the user clicks After the operation of hiding the identifier, in the current interface or the new interface, similar logs of at least two similar logs except the one similar log are displayed.
由于用户能够在接收对按比例缩小后的相似日志放大显示操作后,显示按预设比例放大后的相似日志,使得用户能够根据自己的需求,查看自己想看的日志,提高了用户体验。After the user can receive the similar log enlargement display operation after scaling down, the similar log enlarged by the preset ratio is displayed, so that the user can view the log he wants to read according to his own needs, thereby improving the user experience.
在第一方面的基础上,可选的,将聚合日志作为一个日志显示之后,在接收到对按比例缩小后的日志的放大显示操作后,显示按预设比例放大后的日志。On the basis of the first aspect, optionally, after the aggregated log is displayed as a log, after receiving the enlarged display operation of the scaled down log, the log enlarged by the preset ratio is displayed.
在第一方面的基础上,可选的,在接收到聚合日志的评论后,在聚合日志的预设评论区域内,显示评论。On the basis of the first aspect, optionally, after receiving the comment of the aggregated log, the comment is displayed in the preset comment area of the aggregated log.
第二方面,本发明提供了一种日志处理的方法,包括:In a second aspect, the present invention provides a method for log processing, including:
获取至少两个日志;然后,将所述至少两个日志进行聚合,从而得到聚合日志,所述至少两个日志具有至少一个相同特征;最后,将所述聚合日志发送到客户端,所述客户端用于显示所述聚合日志。Obtaining at least two logs; then, aggregating the at least two logs to obtain an aggregated log, the at least two logs having at least one identical feature; and finally, sending the aggregated log to a client, the client The end is used to display the aggregated log.
在第二方面的基础上,可选的,在接收所述客户端发送的用于对日志进 行筛选的筛选条件之后,根据所述筛选条件,对目标时段内的日志进行筛选,从而得到所述至少两个日志,其中,所述目标时段具有预设的时长,所述至少两个日志为所述目标时段内的日志中满足所述筛选条件的日志。On the basis of the second aspect, optionally, receiving the sent by the client for logging After the filter condition of the line filter, the log in the target time period is filtered according to the filter condition, so that the at least two logs are obtained, wherein the target time period has a preset duration, and the at least two logs are A log in the log within the target time period that satisfies the screening condition.
在第二方面的基础上,可选的,所述筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。On the basis of the second aspect, optionally, the screening condition includes the content type of the log, the type of the user who issues the log, whether the time when the log is posted is within the set time period, and whether the published log is an unread log. At least one of them.
在第二方面的基础上,可选的,在接收到所述客户端发送的请求呈现聚合日志的请求时,将至少两个日志进行聚合;或者,在检测到所述目标时段内日志的条数超过设定的数据阈值时,将至少两个日志进行聚合。On the basis of the second aspect, optionally, at least two logs are aggregated when receiving the request sent by the client to present an aggregated log; or, when the log of the target period is detected When the number exceeds the set data threshold, at least two logs are aggregated.
第三方面,本发明提供了一种客户端,包括:处理模块和显示模块,其中,处理模块,用于获取聚合日志,所述聚合日志包括具有至少一个相同特征的至少两个日志;显示模块,用于将所述聚合日志作为一个日志进行显示。In a third aspect, the present invention provides a client, including: a processing module and a display module, wherein the processing module is configured to acquire an aggregate log, where the aggregate log includes at least two logs having at least one identical feature; and the display module Used to display the aggregated log as a log.
在第三方面的基础上,可选的,所述处理模块具体用于获取所述至少两个日志;根据预设的规则,将所述至少两个日志进行聚合,从而得到所述聚合日志。On the basis of the third aspect, the processing module is specifically configured to obtain the at least two logs, and the at least two logs are aggregated according to a preset rule to obtain the aggregated log.
在第三方面的基础上,可选的,所述客户端中的收发模块用于在处理模块将至少两个日志进行聚合之前,接收用户输入的用于对日志进行筛选的筛选条件;所述处理模块,还用于根据所述筛选条件,对目标时段内的日志进行筛选,从而得到所述至少两个日志,所述目标时段具有预设的时长,所述至少两个日志为所述目标时段内的日志中满足所述筛选条件的日志。On the basis of the third aspect, optionally, the transceiver module in the client is configured to receive, after the processing module aggregates the at least two logs, a screening condition input by the user for filtering the log; a processing module, configured to filter, according to the screening condition, a log in a target time period, to obtain the at least two logs, where the target time period has a preset duration, and the at least two logs are the target A log in the log within the time period that satisfies the filter condition.
在第三方面的基础上,可选的,所述筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。On the basis of the third aspect, optionally, the screening condition includes the content type of the log, the type of the user who issues the log, whether the time when the log is posted is within the set time period, and whether the posted log is an unread log. At least one of them.
在第三方面的基础上,可选的,所述处理模块具体用于在接收到用户输入的请求呈现聚合日志的操作时,获取所述聚合日志;或者,在检测到所述目标时段内的日志的条数超过设定的数量阈值时,获取所述聚合日志。On the basis of the third aspect, the processing module is specifically configured to acquire the aggregated log when receiving a request for the user input to present an aggregated log; or, after detecting the target time period The aggregated log is obtained when the number of logs exceeds the set number threshold.
在第三方面的基础上,可选的,所述显示模块具体用于将所述至少两个 日志中属于同一日志内容类型的至少两个日志内容聚合为聚合后的日志内容,从而获得包括所述聚合后的日志内容的所述聚合日志;将所述聚合日志作为一个日志进行显示,其中,所述聚合后的日志内容被按照预设的日志内容显示顺序进行显示。On the basis of the third aspect, optionally, the display module is specifically configured to use the at least two At least two log contents of the same log content type in the log are aggregated into the aggregated log content, so that the aggregated log including the aggregated log content is obtained; and the aggregated log is displayed as a log, where The aggregated log content is displayed in the order in which the preset log contents are displayed.
在第三方面的基础上,可选的,所述至少两个日志包括至少两个相似日志,所述至少两个相似日志中任一相似日志与所述至少两个相似日志中除所述任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;所述显示模块具体用于显示所述至少两个相似日志中的一个相似日志;显示隐藏标识,所述隐藏标识指示所述至少两个相似日志中的除所述一个相似日志外的其它相似日志不显示。On the basis of the third aspect, optionally, the at least two logs include at least two similar logs, and any one of the at least two similar logs and the at least two similar logs The content similarity between other similar logs except a similar log is greater than a similarity threshold; the display module is specifically configured to display one of the at least two similar logs; displaying a hidden identifier, the hidden identifier indicating Other similar logs in the at least two similar logs except the one similar log are not displayed.
在第三方面的基础上,可选的,所述至少两个日志包括至少两个相似日志,所述至少两个相似日志中任一相似日志与所述至少两个相似日志中除所述任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;所述显示模块具体用于显示所述至少两个相似日志中的一个相似日志;以及将所述至少两个相似日志中的除所述一个相似日志之外的其它相似日志按照预设比例进行缩小显示。On the basis of the third aspect, optionally, the at least two logs include at least two similar logs, and any one of the at least two similar logs and the at least two similar logs The content similarity between other similar logs except a similar log is greater than a similarity threshold; the display module is specifically configured to display one of the at least two similar logs; and the at least two similar logs are Other similar logs except the one similar log are displayed in a reduced scale according to a preset ratio.
在第三方面的基础上,可选的,所述至少两个日志还包括除所述至少两个相似日志外的其它日志;所述显示模块还用于显示所述除所述至少两个相似日志外的其它日志。On the basis of the third aspect, optionally, the at least two logs further include other logs than the at least two similar logs; the display module is further configured to display the at least two similar Other logs outside the log.
第四方面,本发明提供一种服务器,包括:处理模块和收发模块,其中,处理模块用于通过收发模块获取至少两个日志;并将所述至少两个日志进行聚合,从而得到聚合日志,所述至少两个日志具有至少一个相同特征;收发模块用于将所述聚合日志发送到客户端,所述客户端用于显示所述聚合日志。In a fourth aspect, the present invention provides a server, including: a processing module and a transceiver module, wherein the processing module is configured to acquire at least two logs by using the transceiver module, and aggregate the at least two logs to obtain an aggregated log. The at least two logs have at least one identical feature; the transceiver module is configured to send the aggregated log to a client, and the client is configured to display the aggregated log.
在第四方面的基础上,可选的,所述收发模块还用于接收所述客户端发送的用于对日志进行筛选的筛选条件;所述处理模块还用于根据所述筛选条件,对目标时段内的日志进行筛选,从而得到所述至少两个日志,所述目标时段具有预设的时长,所述至少两个日志为所述目标时段内的日志中满足所 述筛选条件的日志。On the basis of the fourth aspect, optionally, the transceiver module is further configured to receive a screening condition that is sent by the client for filtering a log; the processing module is further configured to: according to the screening condition, The logs in the target time period are filtered to obtain the at least two logs, the target time period has a preset duration, and the at least two logs are satisfied in the log in the target time period. A log of the screening criteria.
在第四方面的基础上,可选的,所述筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。On the basis of the fourth aspect, optionally, the screening condition includes the content type of the log, the type of the user who advertises the log, whether the time when the log is posted is within the set time period, and whether the posted log is an unread log. At least one of them.
在第四方面的基础上,可选的,所述处理模块具体用于在接收到所述客户端发送的请求呈现聚合日志的请求时,将至少两个日志进行聚合;或者,在检测到所述目标时段内日志的条数超过设定的数据阈值时,将至少两个日志进行聚合。On the basis of the fourth aspect, optionally, the processing module is configured to: when receiving the request sent by the client to present a request for the aggregated log, to aggregate at least two logs; or, when detecting the location At least two logs are aggregated when the number of logs in the target period exceeds the set data threshold.
第五方面,本发明提供了一种日志显示的系统,包括本发明实施例任一所述的客户端以及本发明实施例任一的服务器。In a fifth aspect, the present invention provides a system for displaying a log, comprising the client according to any one of the embodiments of the present invention and a server according to any one of the embodiments of the present invention.
附图说明DRAWINGS
图1为本发明实施例的应用场景网络架构的示意图;FIG. 1 is a schematic diagram of an application scenario network architecture according to an embodiment of the present invention; FIG.
图2为本发明实施例日志显示的方法的流程示意图;2 is a schematic flowchart of a method for displaying a log according to an embodiment of the present invention;
图3a为现有技术中日志显示方式的示意图;FIG. 3a is a schematic diagram of a log display manner in the prior art; FIG.
图3b、3c分别为本发明实施例中聚合日志显示方式的示意图;3b and 3c are schematic diagrams showing the manner of displaying aggregate logs in the embodiment of the present invention;
图4a为现有技术中日志显示方式的示意图;4a is a schematic diagram of a log display manner in the prior art;
图4b~图4h分别为本发明实施例中聚合日志显示方式的示意图;4b to 4h are schematic diagrams showing the manner in which the aggregated log is displayed in the embodiment of the present invention;
图5为本发明实施例中日志显示方法的流程示意图;FIG. 5 is a schematic flowchart diagram of a log display method according to an embodiment of the present invention;
图6为本发明实施例中客户端的结构示意图。;FIG. 6 is a schematic structural diagram of a client in an embodiment of the present invention. ;
图7为本发明实施例中客户端的硬件结构示意图;7 is a schematic structural diagram of hardware of a client in an embodiment of the present invention;
图8为本发明实施例中服务器的结构示意图;FIG. 8 is a schematic structural diagram of a server according to an embodiment of the present invention;
图9为本发明实施例中服务器的结硬件构示意图;FIG. 9 is a schematic structural diagram of a hardware structure of a server according to an embodiment of the present invention; FIG.
图10为本发明实施例中日志显示的系统的结构示意图。FIG. 10 is a schematic structural diagram of a system for displaying a log according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本 申请作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present invention more clear, the following will be The application is described in further detail.
需要说明的是,本发明实施例中的一个日志可以为如Facebook的Home页中的一个消息,微信朋友圈中一个状态信息,也可以为微博中的一个微博,也可以为贴吧中的一个帖子等。具体的,本发明实施例中的一个日志包括至少一种日志内容类型,日志内容类型包括文字、图片、音频或视频。It should be noted that a log in the embodiment of the present invention may be a message in a Facebook page such as Facebook, a status message in a WeChat circle, or a Weibo in the Weibo, or in a post. A post, etc. Specifically, a log in the embodiment of the present invention includes at least one type of log content, and the log content type includes text, a picture, an audio, or a video.
具体的,本发明实施例的执行主体可以为安装了本发明实施例日志显示的方法程序的终端,具体的,可以为手机、平板电脑、笔记本、台式机等能够安装本发明实施例日志显示方法程序的设备。Specifically, the executor of the embodiment of the present invention may be a terminal on which the method program of the log display of the embodiment of the present invention is installed, and specifically, the log display method of the embodiment of the present invention can be installed for a mobile phone, a tablet computer, a notebook, a desktop computer, or the like. Program device.
其中,本发明实施例的一种应用场景的网络架构,如图1所示,包括服务器和客户端。The network architecture of an application scenario of the embodiment of the present invention, as shown in FIG. 1 , includes a server and a client.
下面以应用架构为服务器-客户端为例进行说明,当应用架构为与服务器-客户端类似工作模式时,其执行步骤与此类似,在此不再赘述。The application architecture is described as an example of a server-client. When the application architecture is similar to the server-client, the execution steps are similar, and will not be described here.
如图2所示,本发明实施例日志显示的方法,包括:As shown in FIG. 2, the method for displaying a log according to an embodiment of the present invention includes:
步骤200,获取聚合日志,该聚合日志包括具有至少一个相同特征的至少两个日志;Step 200: Acquire an aggregated log, where the aggregated log includes at least two logs having at least one identical feature;
步骤201,将该聚合日志作为一个日志显示。In step 201, the aggregated log is displayed as a log.
需要说明的是,在本发明实施例中,一个日志对应一个用户评论区域,或点赞的输入栏,即用户仅能在聚合日志的评论区域对聚合日志进行评论,或是在与聚合日志对应的点赞的输入栏点赞,具体的,一个聚合日志对应一个用户评论区域、一个点赞的输入栏。It should be noted that, in the embodiment of the present invention, one log corresponds to a user comment area, or a favorite input field, that is, the user can only comment on the aggregated log in the comment area of the aggregated log, or corresponds to the aggregated log. The input column of the likes is liked. Specifically, an aggregated log corresponds to a user comment area and a favorite input field.
以图3a为例,用户A发布的日志1和用户2发布的日志2的日志内容中包括一个相同特征“风”,因此可以将日志1和日志2聚合为一个聚合日志,然后作为一个日志进行显示。As shown in Figure 3a, log 1 of user A and log 2 of user 2 include the same feature "wind". Therefore, log 1 and log 2 can be aggregated into one aggregate log and then used as a log. display.
进一步,为确保聚合的准确性,还可以确认是否还具有其他相同特征,例如事件发生的地点、发布日志的时间等信息,具体的,可以根据日志1和日志2中发布的日志内容获取事件发生的地点,以及发布日志的时间等信息,若事件发生的地点相同,发布日志的时间在同一时间段(如上午、下午或晚上), 则将日志1和日志2聚合为一个日志。Further, in order to ensure the accuracy of the aggregation, it is also possible to confirm whether there are other similar features, such as the location of the event, the time when the log is posted, and the like. Specifically, the event may be generated according to the log content published in log 1 and log 2. Information, such as the location of the log, if the event occurs at the same location, the log is published at the same time (such as morning, afternoon or evening). Then log 1 and 2 are aggregated into one log.
当不能从日志中获取事件发生的地点时,可以获取发布日志的地点,检测发布日志的地点是否相同。When the location where the event occurs cannot be obtained from the log, you can obtain the location where the log is posted and check whether the location where the log is posted is the same.
其中,获取聚合日志包括两种方法,一种可选的方法为,客户端在获取至少两个日志后,根据预设的规则,将至少两个日志进行聚合,得到聚合日志。The method of obtaining the aggregated log includes two methods. An optional method is: after obtaining at least two logs, the client aggregates at least two logs according to a preset rule to obtain an aggregated log.
具体的,预设的规则可以为按照至少两个日志发布的时间顺序进行聚合,或者,将属于同一日志内容类型的日志内容聚合到一起。Specifically, the preset rule may be an aggregation in a time sequence of at least two log publications, or a log content belonging to the same log content type may be aggregated together.
以图3a所示的日志1和日志2为例,其中,假设发布日志1的时间为5月12号10:00,日志2的发布时间为5月12号10:10,按照发布日志1和日志2的时间顺序,将日志1和日志2聚合为一个聚合日志1,如图3b所示;当将日志1和日志2属于同一日志内容类型的日志内容聚合在一起时,得到的聚合日志1如图3c所示,及将日志1中日志内容类型属于文字的内容和日志2中日志内容属于文字的内容聚合在一起,将日志1中日志内容类型属于图片的内容和日志2中日志内容属于图片的内容聚合在一起,然后按照日志内容类型文字-图片的顺序,将日志1和日志2聚合为一个聚合日志1。Take log 1 and log 2 shown in Figure 3a as an example. The release time of log 1 is 10:00 on May 12, and the release time of log 2 is 10:10 on May 12, according to release log 1 and In the chronological order of log 2, log 1 and log 2 are aggregated into one aggregate log 1, as shown in Figure 3b. When log 1 and log 2 belong to the same log content type, the aggregated log 1 is obtained. As shown in FIG. 3c, the content of the log content type in the log 1 and the content of the log content in the log 2 are aggregated together, and the log content type in the log 1 belongs to the content of the image and the log content in the log 2 belongs to The contents of the picture are aggregated, and then log 1 and log 2 are aggregated into one aggregate log 1 in the order of the log content type text-picture.
其中,本发明实施例中,还可以按照其他预设的规则将日志1和日志2聚合为一个日志。In the embodiment of the present invention, the log 1 and the log 2 may be aggregated into one log according to other preset rules.
其中,在本发明实施例中,一种触发客户端获取聚合日志的方式,可选的,在接收到用户输入的请求呈现聚合日志的操作时,获取聚合日志;另一种触发客户端获取聚合日志的方式,可选的,在检测到目标时段内日志的条数超过设定的数量的阈值时,获取聚合日志。In the embodiment of the present invention, a method for triggering a client to obtain an aggregated log, optionally, obtaining an aggregated log when receiving a request input by a user to present an aggregated log; In the manner of the log, the aggregation log is obtained when the number of logs in the target time period exceeds the threshold of the set number.
需要说明的是,请求呈现聚合日志的操作可以为针对请求呈现聚合后的日志的操作按钮或图标的滑动操作、点击操作、长按操作、重按操作或双击操作。此外,请求呈现聚合后的日志还可以为设定的特定手势,例如在客户端在感应到触摸屏幕上的特定手势,即接收到请求呈现聚合后的日志的操作。It should be noted that the operation of requesting to present the aggregated log may be a slide operation, a click operation, a long press operation, a re-press operation, or a double-click operation of an operation button or an icon for presenting the aggregated log for the request. In addition, the request to render the aggregated log may also be a set specific gesture, such as a specific gesture on the client that senses the touch screen, ie, an operation to request the presentation of the aggregated log.
目标时段的起始时刻可以根据用户的需求进行设定,终止时刻可以为当 前时刻,也可以为其他时刻,通常情况下,目标时段的起始时刻为用户最后一下次刷新日志的时刻,终止时刻为当前时刻,例如用户最后一个登录客户端最后一次刷新日志的时刻为18:00,在当前时刻19:00再次打开客户端查看日志,则目标时段为18:00到19:00。The starting time of the target time period can be set according to the needs of the user, and the ending time can be The previous time can also be other time. Generally, the starting time of the target time period is the time when the user last refreshes the log, and the ending time is the current time. For example, the last time the user logs in to the last login client is 18 :00, open the client to view the log again at 19:00 at the current time, the target time period is from 18:00 to 19:00.
其中,本发明实施例中的设定的数量阈值可根据用户的需要进行设定。The set threshold of the embodiment of the present invention can be set according to the needs of the user.
在本发明实施例中,为使得用户有针对性的对日志进行聚合,可选的,在将至少两个日志进行聚合之前,接收用户输入的用于对日志进行筛选的筛选条件,然后,根据筛选条件,对目标时段内的日志进行筛选,得到至少两个日志,其中,目标时段具有预设的时长,得到的至少两个日志为满足筛选条件的日志。In the embodiment of the present invention, in order to enable the user to aggregate the logs in a targeted manner, optionally, before the aggregation of the at least two logs, the screening condition for filtering the log input by the user is received, and then, according to The screening condition is used to filter the logs in the target time period to obtain at least two logs, wherein the target time period has a preset duration, and at least two logs obtained are logs that meet the screening conditions.
需要说明的是,目标时段的起始时刻与终止时刻不能为同一时刻,目标时段具有的预设的时长可以根据实际需要进行设定,It should be noted that the start time and the end time of the target time period cannot be the same time, and the preset time length of the target time period can be set according to actual needs.
例如,预设的时长设定为1个小时,终止时刻设定为14:00,则目标时段为13:00到14:00,也可以将预设的时长设定为1个小时,起始时刻设定为13:00,则目标时段为13:00到14:00,或者,直接设定目标时段的起始时刻和终止时刻。For example, the preset duration is set to 1 hour, the termination time is set to 14:00, and the target time period is 13:00 to 14:00. The preset duration can also be set to 1 hour. The time is set to 13:00, and the target time period is 13:00 to 14:00, or the start time and the end time of the target time period are directly set.
可选的,筛选条件包括下列至少一个:Optionally, the screening conditions include at least one of the following:
日志内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内以及发布的日志是否为未读日志中的至少一个。Whether the log content type, the type of the user who posted the log, the time when the log is posted, and whether the posted log is an unread log.
需要说明的是,日志内容类型包括文字、图片、音频、视频等媒体文件类型。例如筛选条件为日志内容类型为文字,则从目标时段内的所有日志中筛选出包括日志内容类型为文字的日志,当筛选条件为日志内容类型为图片时,则从目标时段内的所有日志中筛选出包括日志内容类型为图片的日志,当筛选条件为日志内容类型为文字和视频时,则从目标时段内的所有日志中筛选出包括日志内容类型为文字和视频的日志,然后得到包括至少一个相同特征的至少两个日志。It should be noted that the log content type includes media file types such as text, picture, audio, and video. For example, if the filtering condition is that the log content type is text, the log including the log content type is text is filtered out from all the logs in the target time period. When the filtering condition is the log content type is the image, the log is from all the logs in the target time period. Filter out the log including the log content type as a picture. When the filter condition is the log content type is text and video, the log including the log content type as text and video is filtered out from all the logs in the target time period, and then the At least two logs of the same characteristics.
当筛选条件为发布日志的用户的类型时,如发布日志的用户的类型包括朋友、同学、同事、家人,筛选条件为发布日志的用户的类型为朋友,则从 目标时段内所有的日志中筛选出发布日志的用户的类型为朋友的日志,然后得到包括至少一个相同特征的至少两个日志。When the filtering condition is the type of the user who publishes the log, for example, the type of the user who posted the log includes friends, classmates, colleagues, and family members. If the type of the user whose filtering condition is the publishing log is a friend, then All the logs in the target time period are selected from the log of the user who posted the log as a friend's log, and then at least two logs including at least one identical feature are obtained.
当筛选条件为发布日志的时刻在设定的时段内时,如设定的时段为13:20到13:50,目标时段为12:00到16:00,则从目标时段内所有的日志中筛选出发布日志的时刻在13:20到13:50之间的日志,然后得到包括至少一个相同特征的至少两个日志。When the screening condition is that the time when the log is published is within the set time period, if the set time period is 13:20 to 13:50 and the target time period is 12:00 to 16:00, then all the logs in the target time period are A log is published that is between 13:20 and 13:50 at the time the log is published, and then at least two logs including at least one identical feature are obtained.
当筛选条件为发布的日志是为未读日志时,则从目标时段内的所有日志中筛选出未读日志,其中,未读日志为最后一次查看日志的时刻到当前时刻之间的日志,然后得到包括至少一个相同特征的至少两个日志。When the filter condition is that the published log is an unread log, the unread log is filtered out from all the logs in the target time period, wherein the unread log is the log between the time when the log was last viewed and the current time, and then At least two logs including at least one identical feature are obtained.
当筛选条件为发布日志的用户的类型为朋友、日志内容类型为图片,则从目标时段内所有的日志中筛选出日志内容类型包括图片、发布日志的用户的类型为朋友的日志,然后得到包括至少一个相同特征的至少两个日志。When the filtering condition is that the type of the user who publishes the log is a friend and the content type of the log is a picture, the log content type including the picture, the type of the user who posted the log, and the log of the friend are selected from all the logs in the target time period, and then included. At least one log of at least one identical feature.
在本发明实施例中,一种可选的客户端显示聚合日志的方式为:将至少两个日志中属于同一日志内容类型的至少两个日志内容聚合在一起为聚合后的日志内容,从而获得包括聚合后的日志内容的聚合日志;将聚合日志作为一个日志进行显示,其中,聚合后的日志内容被按照预设的日志内容显示顺序进行显示。In an embodiment of the present invention, an optional client displays the aggregated log by: aggregating at least two log contents belonging to the same log content type in at least two logs into the aggregated log content, thereby obtaining The aggregated log of the aggregated log content is displayed; the aggregated log is displayed as a log, and the aggregated log content is displayed in the order in which the preset log content is displayed.
以图4a为例,包括相同特征“堵车”的三个日志“用户1:这么晚还堵车,配图1”、“用户2:梅林关已堵了半个小时了,配图2”、“用户3:堵车ing,配图3”,将这三个日志中日志内容类型为文字的内容聚合在一起,将日志内容类型为图片的聚合在一起,其中文字、图片可以分别按照发布日志的时间顺序进行聚合,得到聚合日志,聚合日志的显示方式如图4b所示。Take Figure 4a as an example, including the three logs with the same feature “clogging” “User 1: Traffic jams so late, with Figure 1”, “User 2: Meilinguan has been blocked for half an hour, with Figure 2”, “ User 3: Traffic jam ing, with Figure 3", the contents of the log content typed as text are aggregated together, and the log content type is aggregated together, wherein the text and the image can be respectively according to the time of publishing the log. The aggregation is performed in sequence to obtain the aggregation log. The display mode of the aggregation log is shown in Figure 4b.
当至少两个日志中包括视频时,可以将视频合并为一个视频,在客户端接收到播放视频的命令时,按照合并的视频的顺序依次播放视频。When at least two logs include video, the video may be combined into one video, and when the client receives the command to play the video, the video is sequentially played in the order of the merged video.
另一种可选的客户端显示聚合日志的方式为:将聚合日志作为一个日志进行显示,其中,聚合日志中包括的至少两个日志被按照日志被生成的时间顺序进行显示。 Another optional client displays the aggregated log by displaying the aggregated log as a log, wherein at least two logs included in the aggregated log are displayed in the order in which the logs are generated.
以图4a为例,假设日志“用户1:这么晚还堵车,配图1”被生成的时间晚于日志“用户2:梅林关已堵了半个小时了,配图2”被生成的时间,日志“用户2:梅林关已堵了半个小时了,配图2”被生成的时间晚于日志“用户3:堵车ing,配图3”被生成的时间,按照日志被生成时间从后到前的顺序,显示,具体的显示结果如图4c所示。Take Figure 4a as an example. Suppose the log "User 1: The traffic jam is so late, with Figure 1" is generated later than the log "User 2: Merlin off has been blocked for half an hour, with Figure 2" is generated. , the log "User 2: Merlin off has been blocked for half an hour, with Figure 2" is generated later than the log "User 3: Traffic jam ing, with Figure 3" is generated, according to the log generated time from the back The order to the previous, display, the specific display results are shown in Figure 4c.
其中,当至少两个日志中包括至少两个相似日志,至少两个相似日志中任一相似日志与至少两个相似日志除任一相似日志之外的其它相似日志之间的内容相似度大于相似性阈值,则显示至少两个相似日志中的一个相似日志,以及显示隐藏标识,隐藏标识指示至少两个相似日志中的除一个相似日志外的其它相似日志不显示。Wherein, when at least two logs include at least two similar logs, content similarity between any similar logs of at least two similar logs and at least two similar logs except for any similar logs is greater than similarity The sexual threshold displays one of the at least two similar logs, and displays a hidden identifier indicating that other similar logs other than one similar log in at least two similar logs are not displayed.
具体的,假设两个日志之间存在一个相同特征,则这两个日志的内容相似度为1,若两个日志之间存在n个相同特征,则这两个日志的内容相似度为n,其中,n为正整数,当两个日志之间没有相同特征时,则这两个日志的内容相似度为0。Specifically, if there is one identical feature between the two logs, the content similarity of the two logs is 1. If there are n identical features between the two logs, the content similarity of the two logs is n. Where n is a positive integer. When there is no identical feature between the two logs, the content similarity of the two logs is 0.
需要说明的是,本发明实施例中的相似性阈值可以根据需要进行设定。It should be noted that the similarity threshold in the embodiment of the present invention may be set as needed.
以图4a为例,假设日志“用户1:这么晚还堵车,配图1”、“用户2:梅林关已堵了半个小时了,配图2”以及“用户3:堵车ing,配图3”中任一日志与其他两个日志之间的相似度为7,相似度阈值为5,则仅显示三个日志中的其中一个日志,显示另外两个日志的隐藏标识,其中另外两个日志可以对应一个隐藏标识,也可以另外两个日志分别对应一个隐藏标识。一种显示方式如图4d所示,当显示三个日志中的“用户1:这么晚还堵车,配图1”时,则显示另外两个日志的隐藏标识,其中,另外两个日志对应一个隐藏标识。Take Figure 4a as an example, suppose the log "User 1: Traffic jams so late, with Figure 1", "User 2: Meilinguan has been blocked for half an hour, with Figure 2" and "User 3: Traffic jam ing, with map The similarity between any of the 3" logs and the other two logs is 7, and the similarity threshold is 5, only one of the three logs is displayed, showing the hidden identifiers of the other two logs, and the other two The log can correspond to a hidden identifier, or the other two logs can respectively correspond to a hidden identifier. A display mode is shown in FIG. 4d. When "User 1: If the traffic jam is so late, with Figure 1" in the three logs, the hidden identifiers of the other two logs are displayed, wherein the other two logs correspond to one Hide the logo.
当另外两个日志对应一个隐藏标识时,在客户端接收到用户点击隐藏标识的操作后,在当前界面或新的界面显示另外两个相似日志。When the other two logs correspond to a hidden identifier, after the client receives the operation of clicking the hidden identifier, the client displays two other similar logs on the current interface or the new interface.
当另外两个日志分别对应一个隐藏标识时,在客户端接收到用户点击其中一个隐藏标识的操作后,在当前界面或新的界面显示另外两个相似日志中与该点击的隐藏标识对应的日志。 When the other two logs respectively correspond to a hidden identifier, after the client receives the operation that the user clicks one of the hidden identifiers, the log corresponding to the hidden identifier of the click is displayed in the other two similar logs on the current interface or the new interface. .
此外,还可以如图4e所示,显示所有文字类型的日志内容,显示其中一个图片类型的日志内容,其中,三个日志中任意一个图片与其他两个图片的相似度大于预设的图片内容相似度阈值,显示其它图片的隐藏标识,具体的,计算图片内容相似度的方法,包括:In addition, as shown in FIG. 4e, the log content of all the text types may be displayed, and the log content of one of the image types is displayed, wherein the similarity between any one of the three logs and the other two images is greater than the preset image content. The similarity threshold indicates the hidden identifier of other images. Specifically, the method for calculating the similarity of the image content includes:
步骤1,对图片进行特征提取,其中特征提取可以通过下列算法:SIFT(尺度不变特征变换,Scale-invariant feature transform)算法、指纹算法、bundling features算法,基于hash function的散列算法等,也可以根据不同的图像,设计不同的算法,比如图像局部N阶矩的方法提取图像特征。Step 1: Feature extraction is performed on the image, wherein the feature extraction can be performed by the following algorithms: SIFT (Scale-invariant feature transform) algorithm, fingerprint algorithm, bundling features algorithm, hash function based hash function, etc. Different algorithms can be designed according to different images, such as image local Nth moment method to extract image features.
步骤2,将提取的图像特征进行编码,并将海量图像编码做查找表。对于目标图像,可以对分辨率较大的图像进行降采样,减少运算量后在进行图像特征提取和编码处理。In step 2, the extracted image features are encoded, and the massive image is encoded into a lookup table. For the target image, the image with a larger resolution can be downsampled, and the image feature extraction and encoding processing can be performed after the amount of calculation is reduced.
步骤3,基于提取的图像的编码,在图像搜索引擎中的图像数据库进行全局或是局部的相似度计算,得到日志中图片内容相似度。Step 3: Based on the encoding of the extracted image, global or local similarity calculation is performed on the image database in the image search engine, and the similarity of the image content in the log is obtained.
可选的,当至少两个日志中包括至少两个相似日志,至少两个相似日志中任一相似日志与至少两个相似日志除任一相似日志之外的其它相似日志之间的内容相似度大于相似性阈值,则显示至少两个相似日志中的一个相似日志,以及将至少两个相似日志中的除一个相似日志之外的其它相似日志按照预设比例进行缩小显示。Optionally, when at least two logs include at least two similar logs, content similarity between any similar logs of at least two similar logs and at least two similar logs except for any similar logs If the threshold is greater than the similarity threshold, one of the at least two similar logs is displayed, and the similar logs of the at least two similar logs except one of the similar logs are displayed in a preset ratio.
如图4所示,显示“用户1:这么晚还堵车,配图1”以及按比例缩小后的“用户2:梅林关已堵了半个小时了,配图2”以及“用户3:堵车ing,配图3”。As shown in Figure 4, the display "User 1: This is still a traffic jam, with Figure 1" and the scaled down "User 2: Merlin off has been blocked for half an hour, with Figure 2" and "User 3: Traffic jam Ing, with Figure 3".
当客户端接收到用户对日志“用户2:梅林关已堵了半个小时了,配图2”的放大操作后,显示按比例放大后的日志“用户2:梅林关已堵了半个小时了,配图2”。When the client receives the user's log "User 2: Merlin off has been blocked for half an hour, with Figure 2" zoom operation, the scaled up log is displayed "User 2: Merlin off has been blocked for half an hour. With the picture 2".
可选的,当至少两个日志中还包括除至少两个相似日志以外的其它日志时,显示除至少两个相似日志之外的其他日志。Optionally, when at least two logs further include logs other than at least two similar logs, logs other than at least two similar logs are displayed.
以图4a为例,假设日志“用户1:这么晚还堵车,配图1”与日志“用户3:堵车ing,配图3”的内容相似度为9,日志“用户1:这么晚还堵车,配图1” 与日志“用户2:梅林关已堵了半个小时了,配图2”内容相似度为4,日志“用户3:堵车ing,配图3”与日志“用户2:梅林关已堵了半个小时了,配图2”内容相似度为4,若相似性阈值为6,则显示日志“用户1:这么晚还堵车,配图1”与日志“用户3:堵车ing,配图3”中的一个、显示日志“用户1:这么晚还堵车,配图1”与日志“用户3:堵车ing,配图3”中的另一个的隐藏标识,以及显示日志“用户2:梅林关已堵了半个小时了,配图2”,如图4g所示,显示日志“用户1:这么晚还堵车,配图1”和日志“用户2:梅林关已堵了半个小时了,配图2”以及日志“用户3:堵车ing,配图3”中的隐藏标识。Take Figure 4a as an example. Suppose the log “User 1: So late, traffic jam, with Figure 1” and the log “User 3: Traffic jam ing, with Figure 3” has a similarity of 9. The log “User 1: So late at night.” , with Figure 1" With the log "User 2: Merlin off has been blocked for half an hour, with Figure 2" content similarity is 4, log "User 3: traffic jam ing, with Figure 3" and log "User 2: Merlin off has blocked half Hours, with Figure 2" content similarity is 4, if the similarity threshold is 6, the log "User 1: So late, traffic jam, with Figure 1" and log "User 3: Traffic jam ing, with Figure 3" One of them shows the hidden identifier of the log "User 1: So late, traffic jam, with Figure 1" and the log "User 3: Traffic jam ing, with Figure 3", and shows the log "User 2: Merlin Off Blocked for half an hour, with Figure 2", as shown in Figure 4g, showing the log "User 1: This night is still traffic jam, with Figure 1" and the log "User 2: Merlin off has been blocked for half an hour, with Figure 2" and the hidden identifier in the log "User 3: Traffic jam ing, with Figure 3."
或者如图4f所示,显示日志“用户1:这么晚还堵车,配图1”和日志“用户2:梅林关已堵了半个小时了,配图2”以及将日志“用户3:堵车ing,配图3”按预设比例进行缩小后显示。Or as shown in Figure 4f, the log "User 1: This is still a traffic jam, with Figure 1" and the log "User 2: Merlin off has been blocked for half an hour, with Figure 2" and will log "User 3: Traffic jam "ing, with Figure 3" is displayed after zooming out by the preset ratio.
此外,当客户端接收到对聚合日志的评论后,在聚合日志的评论区域中显示该评论。In addition, when the client receives a comment on the aggregated log, the comment is displayed in the comment area of the aggregated log.
以图4b为例,当客户端接收到对如图4b所示的聚合日志的评论时,在该聚合日志的品论区域显示该评论,此外由于该聚合日志包括日志“用户1:这么晚还堵车,配图1”、“用户2:梅林关已堵了半个小时了,配图2”以及“用户3:堵车ing,配图3”,则在包括上述三个日志的任一客户端显示该评论,虽然仅评论了一次,但相当于对三个日志都进行了评论。Taking FIG. 4b as an example, when the client receives a comment on the aggregated log as shown in FIG. 4b, the comment is displayed in the category area of the aggregated log, and since the aggregated log includes the log "user 1: so late Traffic jam, with Figure 1", "User 2: Merlin off has been blocked for half an hour, with Figure 2" and "User 3: Traffic jam ing, with Figure 3", then in any client that includes the above three logs This comment is displayed, although it has only been commented once, but it is equivalent to commenting on all three logs.
应理解,其评论的形式可以为文字、图片、音频或是视频,若评论的形式为视频,可选的,当网络环境较差时,可以先将音频信息上传到服务器,显示在客户端,在网络环境变好时,在将视频中的图片信息上传到服务器,显示在客户端。It should be understood that the form of the comment may be text, picture, audio or video. If the form of the comment is video, optionally, when the network environment is poor, the audio information may be uploaded to the server first and displayed on the client. When the network environment is getting better, the picture information in the video is uploaded to the server and displayed on the client.
此外,当对视频型日志进行评论时,可以将评论该视频的数据嵌入当前正在播放的视频中,其中,嵌入的方式可以通过直接将评论该视频的数据嵌入到当前正在播放的视频中,也可以将评论该视频的数据的标识嵌入当前正在播放的视频中,其中,将评论该视频的数据的标识可以为序号、发布该评论的用户的头像,或者是评论的内容类型(如文字、音频、图像或视频)的 缩略图。例如日志为视频时,视频的时间长度为15分钟,当用户观看到2分30秒时,对该视频进行评论,则将该评论嵌入到视频中2分30秒的时刻。In addition, when commenting on the video type log, the data commenting on the video can be embedded in the currently playing video, wherein the embedded method can directly embed the data commenting the video into the currently playing video, The identifier of the data commenting on the video may be embedded in the currently playing video, wherein the identifier of the data that reviews the video may be a serial number, an avatar of the user who posted the comment, or a content type of the comment (eg, text, audio) , image or video) Thumbnail. For example, when the log is a video, the length of the video is 15 minutes. When the user views the video for 2 minutes and 30 seconds, the comment is embedded in the video for 2 minutes and 30 seconds.
另一种可选的方法为,客户端接收服务器发送的聚合日志,由服务器对至少两个日志进行聚合,具体的,如图5所示,本发明实施例日志显示的方法,包括:Another optional method is: the client receives the aggregated log sent by the server, and the server aggregates the at least two logs. Specifically, as shown in FIG. 5, the method for displaying the log in the embodiment of the present invention includes:
步骤500,服务器获取至少两个日志。In step 500, the server obtains at least two logs.
需要说明的是,服务器是通过客户端获取用户输入的至少两个日志的。It should be noted that the server obtains at least two logs input by the user through the client.
步骤501,服务器将至少两个日志进行聚合,得到聚合日志,其中,至少两个日志具有至少一个相同特征。Step 501: The server aggregates at least two logs to obtain an aggregated log, where at least two logs have at least one identical feature.
具体的,服务器时根据预设的规则,将至少两个日志进行聚合,得到聚合日志。预设的规则可以为按照至少两个日志发布的时间顺序进行聚合,或者,将属于同一日志内容类型的日志内容聚合到一起。Specifically, the server aggregates at least two logs according to a preset rule to obtain an aggregated log. The preset rules can be aggregated in chronological order in which at least two logs are published, or aggregated log contents belonging to the same log content type.
其中,触发服务器将至少两个日志进行聚合的方式包括:在接收到客户端发送的请求呈现聚合日志的请求时,将至少两个日志进行聚合;或者,在检测到目标时段内日志的条数超过设定的数据阈值时,将至少两个日志进行聚合。The method for the at least two logs to be aggregated by the trigger server includes: at least two logs are aggregated when receiving a request for the client to send an aggregated log request; or, the number of logs in the target time period is detected. At least two logs are aggregated when the set data threshold is exceeded.
具体的,服务器侧触发对将至少两个日志进行聚合的方式与客户端侧触发对客户端进行聚合的方式类似,在此不再赘述。Specifically, the manner in which the server side triggers the aggregation of the at least two logs is similar to the manner in which the client side triggers the aggregation of the client, and details are not described herein again.
可选的,在接收客户端发送的用于对日志进行筛选的筛选条件后,根据筛选条件,对目标时段内的日志进行筛选,目标时段具有预设的时长,至少两个日志为目标时段内的日志中满足所述筛选条件的日志。Optionally, after receiving the filtering condition for filtering the log sent by the client, filtering the log in the target time period according to the screening condition, the target time period has a preset duration, and at least two logs are within the target time period. A log in the log that satisfies the filter criteria.
其中,筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。The screening condition includes at least one of a content type of the log, a type of the user who issues the log, a time when the log is posted, and whether the posted log is an unread log.
具体的,服务器根据筛选条件得到至少两个日志的方式与客户端根据筛选条件得到至少两个日志的方式类似,在此不再赘述。Specifically, the manner in which the server obtains at least two logs according to the filtering condition is similar to the manner in which the client obtains at least two logs according to the screening conditions, and details are not described herein again.
步骤502,服务器将聚合日志发送到客户端。In step 502, the server sends the aggregated log to the client.
步骤503,客户端接收聚合日志。 In step 503, the client receives the aggregated log.
步骤504,客户端将聚合日志作为一个日志显示。In step 504, the client displays the aggregated log as a log.
此外,还可以对客户端发布的日志有选择的显示给不同的用户,具体的,对客户端发布的日志进行分类,如按照设定的规则将日志划分为:文化类、娱乐类、体育类等,可以根据针对不同的用户设置不同的权限,例如所有类型的日志都对归属在家人和朋友中的用户开放,即归属在家人和朋友中的用户能够查看到该客户端发布的所有日志,例如同事不能查看体育类,则归属在同事下的用户不能查看该客户端发布的所有体育类的日志。需要说明的是,还可以设置查看的时间,例如设置在8:00-17:00能够查看归属于同事类的用户可以查看体育类的日志,在这个时间段之外,关闭对于同事类的用户可以查看体育类的日志的权限。In addition, the logs published by the client may be selectively displayed to different users. Specifically, the logs published by the client are classified, for example, according to the set rules, the logs are classified into: culture, entertainment, and sports. Etc., different permissions can be set according to different users. For example, all types of logs are open to users belonging to family and friends, that is, users belonging to family and friends can view all logs published by the client. For example, if a colleague cannot view the sports class, the user belonging to the colleague cannot view the logs of all sports classes published by the client. It should be noted that the viewing time can also be set. For example, the user who belongs to the colleague class can view the log of the sports class at 8:00-17:00, and close the user for the colleague class outside this time period. You can view the permissions of the sports class's logs.
在本发明实施例中,不但可以对客户端发布的日志有选择的显示给不同的用户,还可以针对对能够显示在客户端的日志进行选择显示在客户端;例如:用户1对用户2发布的娱乐类的日志感兴趣,则通过在客户端设置显示用户2娱乐类的日志,则用户1所使用的客户端则仅显示用户2发布的娱乐类的日志。用户1对用户3发布的生活类和文化类的日志感兴趣,则通过在客户端设置显示用户3生活类和文化类的日志,则用户1所使用的客户端则仅显示用户3发布的生活类和文化类的日志。In the embodiment of the present invention, not only the log published by the client may be selectively displayed to different users, but also the log that can be displayed on the client may be displayed on the client; for example, the user 1 issues the advertisement to the user 2. If the entertainment class log is of interest, then by displaying the log of the user 2 entertainment class on the client, the client used by the user 1 only displays the log of the entertainment class released by the user 2. The user 1 is interested in the log of the life class and the culture class published by the user 3, and by setting the log showing the user class 3 life class and culture class on the client side, the client used by the user 1 only displays the life released by the user 3 Class and culture class logs.
可选的,在本发明实施例中,还可以将音频或者视频作为客户端中用户的头像,具体的,客户端从上传头像的入口获取音频或视频数据,将音频或视频数据上传到服务器,服务器将音频或视频数据推送到客户端显示头像的位置。Optionally, in the embodiment of the present invention, the audio or video may be used as an avatar of the user in the client. Specifically, the client obtains audio or video data from the portal of the uploaded avatar, and uploads the audio or video data to the server. The server pushes the audio or video data to the location where the client displays the avatar.
可选的,在本发明实施例中,还可以将音频或者视频作为客户端中的背景,具体的,客户端从上传背景的入口获取音频或视频数据,将音频或视频数据上传到服务器,服务器将音频或视频数据推送到客户端显示背景的位置。Optionally, in the embodiment of the present invention, audio or video may also be used as a background in the client. Specifically, the client obtains audio or video data from the portal of the upload background, and uploads the audio or video data to the server, the server. Push audio or video data to the location where the client displays the background.
基于同一发明构思,本发明实施例中还提供了一种客户端、服务器和日志显示系统,由于客户端、服务器和日志显示的系统对应的方法为本发明实施例日志显示的方法,因此本发明实施例的客户端、服务器和日志显示的系 统的实施可以参见该方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention further provides a client, a server, and a log display system. The method corresponding to the client, the server, and the log display system is the log display method of the embodiment of the present invention, so the present invention The client, server, and log display of the embodiment For the implementation of the system, refer to the implementation of the method, and the repeated description will not be repeated.
如图6所示,本发明实施例的客户端,包括:处理模块600和显示模块610,其中,处理模块600用于获取聚合日志,聚合日志包括具有至少一个相同特征的至少两个日志;显示模块610用于将聚合日志作为一个日志进行显示。As shown in FIG. 6, the client of the embodiment of the present invention includes: a processing module 600 and a display module 610, wherein the processing module 600 is configured to acquire an aggregate log, where the aggregate log includes at least two logs having at least one identical feature; Module 610 is used to display the aggregated log as a log.
可选的,处理模块600具体用于获取至少两个日志;根据预设的规则,将至少两个日志进行聚合,从而得到聚合日志。Optionally, the processing module 600 is configured to obtain at least two logs, and aggregate at least two logs according to a preset rule to obtain an aggregated log.
可选的,客户端中的收发模块620用于在处理模块600将至少两个日志进行聚合之前,接收用户输入的用于对日志进行筛选的筛选条件;处理模块600还用于根据筛选条件,对目标时段内的日志进行筛选,从而得到至少两个日志,目标时段具有预设的时长,至少两个日志为目标时段内的日志中满足筛选条件的日志。Optionally, the transceiver module 620 in the client is configured to receive, before the processing module 600 aggregates the at least two logs, a screening condition that is input by the user for filtering the log. The processing module 600 is further configured to: according to the screening condition, The logs in the target time period are filtered to obtain at least two logs, and the target time period has a preset duration, and at least two logs are logs in the log within the target time period that meet the screening conditions.
可选的,筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。Optionally, the screening condition includes at least one of a content type of the log, a type of the user who issues the log, a time when the log is published, and whether the posted log is an unread log.
可选的,处理模块600具体用于在接收到用户输入的请求呈现聚合日志的操作时,获取聚合日志;或者,在检测到目标时段内的日志的条数超过设定的数量阈值时,获取聚合日志。Optionally, the processing module 600 is configured to acquire an aggregated log when receiving a request for the user to input the aggregated log, or acquire the aggregated log when the number of the logs in the target time period exceeds the set threshold. Aggregate logs.
可选的,显示模块610具体用于将至少两个日志中属于同一日志内容类型的至少两个日志内容聚合为聚合后的日志内容,从而获得包括聚合后的日志内容的聚合日志;将聚合日志作为一个日志进行显示,其中,聚合后的日志内容被按照预设的日志内容显示顺序进行显示。Optionally, the display module 610 is configured to aggregate at least two log contents belonging to the same log content type into at least two log contents into aggregated log content, thereby obtaining an aggregated log including the aggregated log content; Displayed as a log, wherein the aggregated log contents are displayed in the order in which the preset log contents are displayed.
可选的,至少两个日志包括至少两个相似日志,至少两个相似日志中任一相似日志与至少两个相似日志中除任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;显示模块610具体用于显示至少两个相似日志中的一个相似日志;显示隐藏标识,隐藏标识指示至少两个相似日志中的除一个相似日志外的其它相似日志不显示。 Optionally, at least two logs include at least two similar logs, and content similarity between any similar logs of at least two similar logs and other similar logs of at least two similar logs except for any similar logs is greater than similar The display module 610 is specifically configured to display one of the at least two similar logs; the hidden identifier is displayed, and the hidden identifier indicates that the other similar logs except the one of the at least two similar logs are not displayed.
可选的,至少两个日志包括至少两个相似日志,至少两个相似日志中任一相似日志与至少两个相似日志中除任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;显示模块610具体用于显示至少两个相似日志中的一个相似日志;以及将至少两个相似日志中的除一个相似日志之外的其它相似日志按照预设比例进行缩小显示。Optionally, at least two logs include at least two similar logs, and content similarity between any similar log of at least two similar logs and other similar logs of at least two similar logs except for any similar log is greater than similar The display module 610 is specifically configured to display one of the at least two similar logs; and display the similar logs of the at least two similar logs except the one of the similar logs by a preset ratio.
可选的,至少两个日志还包括除至少两个相似日志外的其它日志;显示模块610还用于显示除至少两个相似日志外的其它日志。Optionally, at least two logs further include other logs than at least two similar logs; the display module 610 is further configured to display other logs than the at least two similar logs.
应注意,本发明实施例中,处理模块600可以由处理器实现,显示模块610可以由显示器实现,收发模块620可以由收发器实现。客户端的硬件结构实现图如图7所示,客户端700可以包括处理器710、显示器720、收发器730和存储器740。其中,存储器740可以用于客户端700出厂时预装的程序/代码,也可以存储用于处理器710执行时的代码等。It should be noted that, in the embodiment of the present invention, the processing module 600 may be implemented by a processor, the display module 610 may be implemented by a display, and the transceiver module 620 may be implemented by a transceiver. The hardware structure implementation diagram of the client is shown in FIG. 7. The client 700 may include a processor 710, a display 720, a transceiver 730, and a memory 740. The memory 740 can be used for the program/code pre-installed by the client 700 at the factory, or the code for the execution of the processor 710 and the like.
客户端700中的各个组件通过总线系统750耦合在一起,其中总线系统750除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。The various components in client 700 are coupled together by a bus system 750, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
其中,处理器710可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关操作,以实现本发明实施例所提供的技术方案。The processor 710 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for performing related operations. The technical solution provided by the embodiment of the present invention is implemented.
应注意,尽管图7所示的客户端700仅仅示出了处理器710、显示器720、收发器730和存储器740,但是在具体实现过程中,本领域的技术人员应当明白,该客户端还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,该客户端还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,该客户端也可仅仅包含实现本发明实施例所必须的器件或模块,而不必包含图7中所示的全部器件。It should be noted that although the client 700 shown in FIG. 7 only shows the processor 710, the display 720, the transceiver 730, and the memory 740, in a specific implementation process, those skilled in the art should understand that the client also includes Other devices necessary for proper operation. At the same time, those skilled in the art will appreciate that the client may also include hardware devices that implement other additional functions, depending on the particular needs. Moreover, those skilled in the art will appreciate that the client may also include only the devices or modules necessary to implement the embodiments of the present invention, and do not necessarily include all of the devices shown in FIG.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施 例的流程。其中,上述的存储介质可为磁盘、光盘、只读存储记忆体(ROM:Read-Only Memory)或随机存储记忆体(RAM:Random Access Memory)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the above program can be stored in a computer readable storage medium. When implemented, may include implementation of the methods as described above The flow of the example. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
如图8所示,本发明实施例的服务器,包括:处理模块800和收发模块810,其中,处理模块800用于获取至少两个日志;并将至少两个日志进行聚合,从而得到聚合日志,至少两个日志具有至少一个相同特征;收发模块810用于将聚合日志发送到客户端,客户端用于显示聚合日志。As shown in FIG. 8, the server of the embodiment of the present invention includes: a processing module 800 and a transceiver module 810, wherein the processing module 800 is configured to acquire at least two logs; and aggregate at least two logs to obtain an aggregated log. At least two logs have at least one identical feature; the transceiver module 810 is configured to send the aggregated log to the client, and the client is configured to display the aggregated log.
可选的,收发模块810还用于接收客户端发送的用于对日志进行筛选的筛选条件;处理模块800还用于根据筛选条件,对目标时段内的日志进行筛选,从而得到至少两个日志,目标时段具有预设的时长,至少两个日志为目标时段内的日志中满足筛选条件的日志。Optionally, the transceiver module 810 is further configured to receive a filtering condition that is sent by the client for filtering the log. The processing module 800 is further configured to filter the log in the target time period according to the screening condition, so as to obtain at least two logs. The target time period has a preset duration, and at least two logs are logs in the log within the target time period that satisfy the screening condition.
可选的,筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。Optionally, the screening condition includes at least one of a content type of the log, a type of the user who issues the log, a time when the log is published, and whether the posted log is an unread log.
可选的,处理模块800具体用于在接收到客户端发送的请求呈现聚合日志的请求时,将至少两个日志进行聚合;或者,在检测到目标时段内日志的条数超过设定的数据阈值时,将至少两个日志进行聚合。Optionally, the processing module 800 is configured to: when receiving a request sent by the client to send a request for the aggregated log, to aggregate at least two logs; or, when detecting that the number of logs in the target time period exceeds the set data, At the threshold, at least two logs are aggregated.
应注意,本发明实施例中,处理模块800可以由处理器实现,收发模块810可以由收发器实现。服务器的硬件结构实现图如图9所示,服务器900可以包括处理器910、收发器920和存储器930。其中,存储器930可以用于服务器900出厂时预装的程序/代码,也可以存储用于处理器910执行时的代码等。It should be noted that, in the embodiment of the present invention, the processing module 800 may be implemented by a processor, and the transceiver module 810 may be implemented by a transceiver. The hardware structure implementation diagram of the server is as shown in FIG. 9. The server 900 may include a processor 910, a transceiver 920, and a memory 930. The memory 930 can be used for the program/code pre-installed when the server 900 is shipped from the factory, and can also store code for the execution of the processor 910 and the like.
服务器900中的各个组件通过总线系统940耦合在一起,其中总线系统940除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。The various components in server 900 are coupled together by a bus system 940, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
其中,处理器910可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关操作,以实现本发明实施例所提供的技术方案。 The processor 910 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for performing related operations. The technical solution provided by the embodiment of the present invention is implemented.
应注意,尽管图9所示的客户端900仅仅示出了处理器910、收发器920和存储器930,但是在具体实现过程中,本领域的技术人员应当明白,该客户端还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,该客户端还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,该客户端也可仅仅包含实现本发明实施例所必须的器件或模块,而不必包含图9中所示的全部器件。It should be noted that although the client 900 shown in FIG. 9 only shows the processor 910, the transceiver 920, and the memory 930, in the specific implementation process, those skilled in the art should understand that the client also includes the normal operation. Other devices necessary. At the same time, those skilled in the art will appreciate that the client may also include hardware devices that implement other additional functions, depending on the particular needs. Moreover, those skilled in the art will appreciate that the client may also only include the devices or modules necessary to implement the embodiments of the present invention, and does not necessarily include all of the devices shown in FIG.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述的存储介质可为磁盘、光盘、只读存储记忆体(ROM:Read-Only Memory)或随机存储记忆体(RAM:Random Access Memory)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the above program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
如图10所示,本发明实施例日志显示的系统,包括本发明实施例任一的客户端1000,和本发明实施例任一的服务器1010。As shown in FIG. 10, a system for displaying a log according to an embodiment of the present invention includes a client 1000 according to any one of the embodiments of the present invention, and a server 1010 according to any embodiment of the present invention.
从上述内容可以看出:本发明实施例在获取聚合日志后,将该聚合日志作为一个日志显示,其中,该聚合日志包括具有至少一个相同特征的至少两个日志。这种技术方案由于聚合日志包括具有至少一个相同特征的至少两个日志,而在显示聚合日志时是将聚合日志作为一个日志显示,因此,相对于现有技术中按照时间顺序显示日志的方式,本发明实施例中显示日志的方式明显减少了显示日志的个数,从而使得用户在查看日志时,提高了用户查看日志的效率。It can be seen from the above that after the aggregation log is obtained, the aggregated log is displayed as a log, wherein the aggregated log includes at least two logs having at least one identical feature. This technical solution is because the aggregated log includes at least two logs having at least one identical feature, and the aggregated log is displayed as a log when the aggregated log is displayed, and thus, compared with the prior art method of displaying the logs in chronological order, The manner of displaying the log in the embodiment of the present invention significantly reduces the number of displayed logs, so that the user improves the efficiency of viewing the log when viewing the log.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图 和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It should be understood that the flow chart can be implemented by computer program instructions And/or a combination of the processes and/or blocks in the block diagrams, and the flowcharts and/or blocks in the flowcharts. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (27)

  1. 一种日志显示的方法,其特征在于,包括:A method for displaying a log, comprising:
    获取聚合日志,所述聚合日志包括具有至少一个相同特征的至少两个日志;Obtaining an aggregate log, the aggregate log including at least two logs having at least one identical feature;
    将所述聚合日志作为一个日志进行显示。The aggregated log is displayed as a log.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述聚合日志,包括:The method according to claim 1, wherein the obtaining the aggregated log comprises:
    获取所述至少两个日志;Obtaining the at least two logs;
    根据预设的规则,将所述至少两个日志进行聚合,从而得到所述聚合日志。The at least two logs are aggregated according to a preset rule to obtain the aggregated log.
  3. 根据权利要求2所述的方法,其特征在于,在将至少两个日志进行聚合之前,还包括:The method according to claim 2, wherein before the aggregation of the at least two logs, the method further comprises:
    接收用户输入的用于对日志进行筛选的筛选条件;Receiving a filter condition input by the user for filtering the log;
    根据所述筛选条件,对目标时段内的日志进行筛选,从而得到所述至少两个日志,所述目标时段具有预设的时长,所述至少两个日志为所述目标时段内的日志中满足所述筛选条件的日志。And filtering, according to the screening condition, the log in the target time period, to obtain the at least two logs, where the target time period has a preset duration, and the at least two logs are satisfied in the log in the target time period. A log of the screening conditions.
  4. 根据权利要求3所述的方法,其特征在于,所述筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。The method according to claim 3, wherein the screening condition comprises a content type of the log, a type of the user who issues the log, a time when the log is posted, whether the posted log is within the set time period, and whether the posted log is an unread log. At least one of them.
  5. 根据权利要求3或4所述的方法,其特征在于,所述获取所述聚合日志,包括:The method according to claim 3 or 4, wherein the obtaining the aggregated log comprises:
    在接收到用户输入的请求呈现聚合日志的操作时,获取所述聚合日志;或者,Acquiring the aggregated log when receiving a request input by the user to present an aggregated log; or
    在检测到所述目标时段内的日志的条数超过设定的数量阈值时,获取所述聚合日志。The aggregated log is acquired when it is detected that the number of logs in the target time period exceeds a set number threshold.
  6. 根据权利要求2至5任一所述的方法,其特征在于,所述将所述聚合 日志作为一个日志进行显示,包括:The method according to any one of claims 2 to 5, wherein said said aggregating The log is displayed as a log, including:
    将所述至少两个日志中属于同一日志内容类型的两个日志内容聚合为聚合后的日志内容,从而获得包括所述聚合后的日志内容的所述聚合日志;Aggregating two log contents belonging to the same log content type in the at least two logs into the aggregated log content, thereby obtaining the aggregated log including the aggregated log content;
    将所述聚合日志作为一个日志进行显示,其中,所述聚合后的日志内容被按照预设的日志内容显示顺序进行显示。The aggregated log is displayed as a log, wherein the aggregated log content is displayed in a preset log content display order.
  7. 根据权利要求2至5任一所述的方法,其特征在于,所述至少两个日志包括至少两个相似日志,所述至少两个相似日志中任一相似日志与所述至少两个相似日志中除所述任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;The method according to any one of claims 2 to 5, wherein the at least two logs comprise at least two similar logs, and any of the at least two similar logs and the at least two similar logs The content similarity between other similar logs except any of the similar logs is greater than the similarity threshold;
    所述将所述聚合日志作为一个日志进行显示,包括:The displaying the aggregated log as a log includes:
    显示所述至少两个相似日志中的一个相似日志;Displaying a similar log of the at least two similar logs;
    显示隐藏标识,所述隐藏标识指示所述至少两个相似日志中的除所述一个相似日志外的其它相似日志不显示。A hidden identifier is displayed, the hidden identifier indicating that other similar logs other than the one similar log in the at least two similar logs are not displayed.
  8. 根据权利要求2至5任一所述的方法,其特征在于,所述至少两个日志包括至少两个相似日志,所述至少两个相似日志中任一相似日志与所述至少两个相似日志中除所述任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;The method according to any one of claims 2 to 5, wherein the at least two logs comprise at least two similar logs, and any of the at least two similar logs and the at least two similar logs The content similarity between other similar logs except any of the similar logs is greater than the similarity threshold;
    所述将所述聚合日志作为一个日志进行显示,包括:The displaying the aggregated log as a log includes:
    显示所述至少两个相似日志中的一个相似日志;Displaying a similar log of the at least two similar logs;
    将所述至少两个相似日志中的除所述一个相似日志之外的其它相似日志按照预设比例进行缩小显示。The similar logs other than the one similar log among the at least two similar logs are displayed in a reduced scale according to a preset ratio.
  9. 根据权利要求7或8所述的方法,其特征在于,所述至少两个日志还包括除所述至少两个相似日志外的其它日志;The method according to claim 7 or 8, wherein the at least two logs further include other logs than the at least two similar logs;
    所述将所述聚合日志作为一个日志进行显示,还包括:The displaying the aggregated log as a log further includes:
    显示所述除所述至少两个相似日志外的其它日志。The logs other than the at least two similar logs are displayed.
  10. 一种日志处理的方法,其特征在于,包括:A method for processing a log, comprising:
    获取至少两个日志; Obtain at least two logs;
    将所述至少两个日志进行聚合,从而得到聚合日志,所述至少两个日志具有至少一个相同特征;Aggregating the at least two logs to obtain an aggregated log, the at least two logs having at least one identical feature;
    将所述聚合日志发送到客户端,所述客户端用于显示所述聚合日志。Sending the aggregated log to a client, the client is configured to display the aggregated log.
  11. 根据权利要求10所述的方法,其特征在于,在获取所述聚合日志之前,还包括:The method according to claim 10, further comprising: before acquiring the aggregated log:
    接收所述客户端发送的用于对日志进行筛选的筛选条件;Receiving, by the client, a screening condition for filtering the log;
    根据所述筛选条件,对目标时段内的日志进行筛选,从而得到所述至少两个日志,所述目标时段具有预设的时长,所述至少两个日志为所述目标时段内的日志中满足所述筛选条件的日志。And filtering, according to the screening condition, the log in the target time period, to obtain the at least two logs, where the target time period has a preset duration, and the at least two logs are satisfied in the log in the target time period. A log of the screening conditions.
  12. 根据权利要求11所述的方法,其特征在于,所述筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。The method according to claim 11, wherein the screening condition comprises a content type of the log, a type of the user who issues the log, a time when the log is posted, whether the posted log is within the set time period, and whether the posted log is an unread log. At least one of them.
  13. 根据权利要求11或12所述的方法,其特征在于,所述将至少两个日志进行聚合,包括:The method according to claim 11 or 12, wherein said aggregating at least two logs comprises:
    在接收到所述客户端发送的请求呈现聚合日志的请求时,将至少两个日志进行聚合;或者,At least two logs are aggregated when receiving a request sent by the client to present an aggregated log; or
    在检测到所述目标时段内日志的条数超过设定的数据阈值时,将至少两个日志进行聚合。At least two logs are aggregated when it is detected that the number of logs in the target period exceeds a set data threshold.
  14. 一种客户端,其特征在于,包括:A client, comprising:
    处理模块,用于获取聚合日志,所述聚合日志包括具有至少一个相同特征的至少两个日志;a processing module, configured to acquire an aggregate log, where the aggregate log includes at least two logs having at least one identical feature;
    显示模块,用于将所述处理模块获取的所述聚合日志作为一个日志进行显示。And a display module, configured to display the aggregated log obtained by the processing module as a log.
  15. 根据权利要求14所述的客户端,其特征在于,所述处理模块,用于:The client according to claim 14, wherein the processing module is configured to:
    获取所述至少两个日志;并根据预设的规则,将所述至少两个日志进行聚合,从而得到所述聚合日志。Acquiring the at least two logs; and aggregating the at least two logs according to a preset rule, to obtain the aggregated log.
  16. 根据权利要求15所述的客户端,其特征在于,所述客户端中的收发 模块,用于在处理模块将至少两个日志进行聚合之前,接收用户输入的用于对日志进行筛选的筛选条件;The client according to claim 15, wherein the client transmits and receives a module, configured to receive, before the processing module aggregates at least two logs, a screening condition input by the user for filtering the log;
    所述处理模块,还用于:The processing module is further configured to:
    根据所述筛选条件,对目标时段内的日志进行筛选,从而得到所述至少两个日志,所述目标时段具有预设的时长,所述至少两个日志为所述目标时段内的日志中满足所述筛选条件的日志。And filtering, according to the screening condition, the log in the target time period, to obtain the at least two logs, where the target time period has a preset duration, and the at least two logs are satisfied in the log in the target time period. A log of the screening conditions.
  17. 根据权利要求16所述的客户端,其特征在于,所述筛选条件包括日志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。The client according to claim 16, wherein the screening condition comprises a content type of the log, a type of the user who issues the log, a time when the log is posted, whether the posted time is within the set time period, and whether the posted log is unread. At least one of the logs.
  18. 根据权利要求16或17所述的客户端,其特征在于,所述处理模块,用于:The client according to claim 16 or 17, wherein the processing module is configured to:
    在接收到用户输入的请求呈现聚合日志的操作时,获取所述聚合日志;或者,在检测到所述目标时段内的日志的条数超过设定的数量阈值时,获取所述聚合日志。Acquiring the aggregated log when receiving the request of the user input to present the aggregated log; or acquiring the aggregated log when detecting that the number of logs in the target time period exceeds the set number threshold.
  19. 根据权利要求15至18任一所述的客户端,其特征在于,所述显示模块,用于:The client according to any one of claims 15 to 18, wherein the display module is configured to:
    将所述至少两个日志中属于同一日志内容类型的两个日志内容聚合为聚合后的日志内容,从而获得包括所述聚合后的日志内容的所述聚合日志;并将所述聚合日志作为一个日志进行显示,其中,所述聚合后的日志内容被按照预设的日志内容显示顺序进行显示。Aggregating two log contents belonging to the same log content type in the at least two logs into the aggregated log content, thereby obtaining the aggregated log including the aggregated log content; and using the aggregated log as one The log is displayed, wherein the aggregated log content is displayed in the order in which the preset log content is displayed.
  20. 根据权利要求15至18任一所述的客户端,其特征在于,所述至少两个日志包括至少两个相似日志,所述至少两个相似日志中任一相似日志与所述至少两个相似日志中除所述任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;The client according to any one of claims 15 to 18, wherein the at least two logs comprise at least two similar logs, and any of the at least two similar logs is similar to the at least two The similarity between the similar logs in the log except for any similar logs is greater than the similarity threshold;
    所述显示模块,用于:The display module is configured to:
    显示所述至少两个相似日志中的一个相似日志;以及显示隐藏标识,所述隐藏标识指示所述至少两个相似日志中的除所述一个相似日志外的其它相 似日志不显示。Displaying one of the at least two similar logs; and displaying a hidden identifier, the hidden identifier indicating other phases of the at least two similar logs except the one of the similar logs The log does not appear.
  21. 根据权利要求15至18任一所述的客户端,其特征在于,所述至少两个日志包括至少两个相似日志,所述至少两个相似日志中任一相似日志与所述至少两个相似日志中除所述任一相似日志外的其它相似日志之间的内容相似度大于相似性阈值;The client according to any one of claims 15 to 18, wherein the at least two logs comprise at least two similar logs, and any of the at least two similar logs is similar to the at least two The similarity between the similar logs in the log except for any similar logs is greater than the similarity threshold;
    所述显示模块,用于:The display module is configured to:
    显示所述至少两个相似日志中的一个相似日志;以及将所述至少两个相似日志中的除所述一个相似日志之外的其它相似日志按照预设比例进行缩小显示。Displaying one of the at least two similar logs; and displaying the similar logs of the at least two similar logs except the one of the similar logs by a preset ratio.
  22. 根据权利要求20或21所述的客户端,其特征在于,所述至少两个日志还包括除所述至少两个相似日志外的其它日志;The client according to claim 20 or 21, wherein the at least two logs further include other logs than the at least two similar logs;
    所述显示模块,还用于:The display module is further configured to:
    显示所述除所述至少两个相似日志外的其它日志。The logs other than the at least two similar logs are displayed.
  23. 一种服务器,其特征在于,包括:A server, comprising:
    处理模块,用于获取至少两个日志;并将所述至少两个日志进行聚合,从而得到聚合日志,所述至少两个日志具有至少一个相同特征;a processing module, configured to acquire at least two logs, and aggregate the at least two logs to obtain an aggregated log, where the at least two logs have at least one identical feature;
    收发模块,用于将所述处理模块得到的所述聚合日志发送到客户端,所述客户端用于显示所述聚合日志。And a transceiver module, configured to send the aggregated log obtained by the processing module to a client, where the client is configured to display the aggregated log.
  24. 根据权利要求23所述的服务器,其特征在于,所述收发模块,还用于:The server according to claim 23, wherein the transceiver module is further configured to:
    在获取所述聚合日志之前,接收所述客户端发送的用于对日志进行筛选的筛选条件;Receiving, by the client, a screening condition for filtering the log before acquiring the aggregated log;
    所述处理模块,还用于:The processing module is further configured to:
    根据所述筛选条件,对目标时段内的日志进行筛选,从而得到所述至少两个日志,所述目标时段具有预设的时长,所述至少两个日志为所述目标时段内的日志中满足所述筛选条件的日志。And filtering, according to the screening condition, the log in the target time period, to obtain the at least two logs, where the target time period has a preset duration, and the at least two logs are satisfied in the log in the target time period. A log of the screening conditions.
  25. 根据权利要求24所述的服务器,其特征在于,所述筛选条件包括日 志的内容类型、发布日志的用户的类型、发布日志的时刻是否在设定的时段内和发布的日志是否为未读日志中的至少一个。The server according to claim 24, wherein said screening condition comprises day Whether the content type of the blog, the type of the user who posted the log, the time when the log is posted, or the posted log is at least one of the unread logs.
  26. 根据权利要求24或25所述的服务器,其特征在于,所述处理模块,用于:The server according to claim 24 or 25, wherein the processing module is configured to:
    在接收到所述客户端发送的请求呈现聚合日志的请求时,将至少两个日志进行聚合;或者,在检测到所述目标时段内日志的条数超过设定的数据阈值时,将至少两个日志进行聚合。At least two logs are aggregated when receiving a request sent by the client to present an aggregated log; or, when it is detected that the number of logs in the target time period exceeds a set data threshold, at least two The logs are aggregated.
  27. 一种日志显示的系统,其特征在于,包括如权利要求14、19至22任一所述的客户端,和如权利要求23至26任一所述的服务器。 A system for displaying a log, comprising the client according to any one of claims 14, 19 to 22, and the server according to any one of claims 23 to 26.
PCT/CN2016/082259 2016-05-16 2016-05-16 Method, device, and system for journal displaying WO2017197566A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/082259 WO2017197566A1 (en) 2016-05-16 2016-05-16 Method, device, and system for journal displaying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/082259 WO2017197566A1 (en) 2016-05-16 2016-05-16 Method, device, and system for journal displaying

Publications (1)

Publication Number Publication Date
WO2017197566A1 true WO2017197566A1 (en) 2017-11-23

Family

ID=60324746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082259 WO2017197566A1 (en) 2016-05-16 2016-05-16 Method, device, and system for journal displaying

Country Status (1)

Country Link
WO (1) WO2017197566A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109586968A (en) * 2018-12-13 2019-04-05 北京锐安科技有限公司 The log processing method of big data platform and the log processing system of big data platform
CN109672909A (en) * 2018-11-08 2019-04-23 北京奇虎科技有限公司 Data processing method, device, electronic equipment and readable storage medium storing program for executing
WO2023040300A1 (en) * 2021-09-14 2023-03-23 中兴通讯股份有限公司 Data processing method, electronic device, storage medium, and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929454A (en) * 2005-09-05 2007-03-14 腾讯科技(深圳)有限公司 Display method for instant message in instant communication
CN103279483A (en) * 2013-04-23 2013-09-04 中国科学院计算技术研究所 Topic prevalence range assessment method and system facing micro-blogs
CN105354231A (en) * 2015-09-30 2016-02-24 腾讯科技(深圳)有限公司 Image selection method and apparatus, and image processing method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929454A (en) * 2005-09-05 2007-03-14 腾讯科技(深圳)有限公司 Display method for instant message in instant communication
CN103279483A (en) * 2013-04-23 2013-09-04 中国科学院计算技术研究所 Topic prevalence range assessment method and system facing micro-blogs
CN105354231A (en) * 2015-09-30 2016-02-24 腾讯科技(深圳)有限公司 Image selection method and apparatus, and image processing method and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672909A (en) * 2018-11-08 2019-04-23 北京奇虎科技有限公司 Data processing method, device, electronic equipment and readable storage medium storing program for executing
CN109586968A (en) * 2018-12-13 2019-04-05 北京锐安科技有限公司 The log processing method of big data platform and the log processing system of big data platform
WO2023040300A1 (en) * 2021-09-14 2023-03-23 中兴通讯股份有限公司 Data processing method, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
US11146520B2 (en) Sharing images and image albums over a communication network
CN109479159B (en) Method and apparatus for sharing user-selected video in group communication
US10437842B2 (en) Social static ranking for search
US20190108389A1 (en) Face recognition based on spatial and temporal proximity
US10893082B2 (en) Presenting content items shared within social networks
US9338242B1 (en) Processes for generating content sharing recommendations
US9143573B2 (en) Tag suggestions for images on online social networks
US9762956B2 (en) Image selection from captured video sequence based on social components
US9753609B2 (en) User interface with media wheel facilitating viewing of media objects
US9531823B1 (en) Processes for generating content sharing recommendations based on user feedback data
US20210037282A1 (en) Temporary modifying of media content metadata
US20130104080A1 (en) Automatic Photo Capture Based on Social Components and Identity Recognition
AU2014274171B2 (en) Tag suggestions for images on online social networks
US20130101220A1 (en) Preferred images from captured video sequence
US9405964B1 (en) Processes for generating content sharing recommendations based on image content analysis
US10567844B2 (en) Camera with reaction integration
US10915568B2 (en) Selecting digital content for inclusion in media presentations
WO2017197566A1 (en) Method, device, and system for journal displaying
US20160249166A1 (en) Live Content Sharing Within A Social or Non-Social Networking Environment With Rating System
US20230334594A1 (en) Context-based settings recommendations
AU2012238085B2 (en) Face recognition based on spatial and temporal proximity

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16901952

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16901952

Country of ref document: EP

Kind code of ref document: A1