The present patent application claims priority to Chinese Patent Application No.: 201210161422.8, filed on May 23, 2012 by TENCENT Technology (Shenzhen) Company Limited, titled “Method for controlling microblog display and microblog client”, the disclosure of which is incorporated by reference herein in its entirety.
The disclosure relates to microblog technology, and in particular to a method for controlling microblog display, microblog client and computer storage medium.
Microblog is a platform for sharing, spreading and acquiring information based on a user relationship. A user may build a personal microblog platform through WEB, Wireless Application Protocol (WAP) and various clients for information sharing timely.
In the prior art, the microblog provides a square hall that provides entrance navigation of all kinds of microblog messages. The user may acquire corresponding microblog messages via the entrance navigation of all kinds of microblog messages displayed in the square hall. For example, the square hall provides entrance navigations of a popular broadcast, of a popular topic or of microblog messages related to the user, when the user looks over the popular broadcast, the user may click a popular broadcast entrance in the square hall to acquire and display the popular broadcast. At this moment, if the user wants to look over the popular topic, the user needs to quit the current displayed popular broadcast and return to the square hall, and then clicks a popular topic entrance in the square hall to acquire and display the popular topic.
It can be seen from the above that, in the prior art, the user has to return to the square hall repeatedly, and acquires corresponding microblog messages via the entrance navigation of all kinds of microblog message provided by the square hall. Such an operation is too complex. Additionally, the whole display interface has to be switched repeatedly, which results in a relatively large user visual span and relatively poor user visual experience.
To solve the problems of the prior art, embodiments of the disclosure provide a method, a microblog client and a computer storage medium for controlling microblog display.
An embodiment of the disclosure provides a method for controlling microblog display. A display interface of the microblog consists of a main display area for displaying microblog messages and a promotion display area for displaying recommended messages, the method includes the following steps:
An embodiment of the disclosure provides a microblog client, a display interface of which consists of a main display area for displaying microblog messages and a promotion display area for displaying recommended messages. The microblog client includes a first controlling display module and a second controlling display module;
The disclosure provides a computer storage medium storing a computer program that, when executed, causes the above method for controlling microblog display to be performed.
The advantages of the technical solutions provided by the embodiments of the disclosure are as follows: by displaying the acquired microblog message in the main display area and displaying the acquired recommended messages in the promotion display area, the recommended messages are pushed to users actively such that the users can acquire the recommended messages without refreshing the microblog, and the display interface is not switched back and forth, visual experience of users is therefore guaranteed.
In order to illustrate the technical solutions in the embodiments of the disclosure more clearly, drawings referred to in the embodiments of the disclosure are briefly described below. It should be understood that the drawings described below are only some embodiments of the disclosure, and other drawings can be acquired by those skilled in the art according to these drawings without exercising inventive skill.
In order to make the purpose, the technical solutions and the advantages of the disclosure more clearly, embodiments of the disclosure are elaborated below in conjunction with the accompanying drawings.
As shown in
At step 101, a microblog message is acquired, and the microblog message is displayed in the main display area;
At step 102, recommended messages are pulled from a microblog server at a preset frequency, or/and recommended messages pushed by the microblog server at a preset frequency are received; and the recommended messages are displayed in the promotion display area. The recommended messages includes at least one of the followings: a popular broadcast, a popular topic, recommended friends to be concerned, a recommended application, and updated messages of concerned friends.
The advantages of the technical solutions provided by the embodiment are as follows: by displaying the acquired microblog message in the main display area and displaying the acquired recommended messages in the promotion display area, the recommended messages are pushed to users actively such that the users can acquire the recommended messages without refreshing the microblog, and the display interface is not switched back and forth, visual experience of users is therefore guaranteed.
As shown in
At step 201, when a request for accessing a microblog sent by a user is received, the microblog is opened, namely, a microblog client program is run.
At step 202, a microblog message is acquired, and the microblog message is displayed in the main display area. Specifically, a microblog message may be pulled from a microblog server. For example, microblog messages published by a concerned friend are pulled from the microblog server, and the pulled microblog messages are displayed in the main display area in the form of a list.
At step 203, recommended messages are acquired, and the recommended messages are displayed in the promotion display area. The recommended messages include at least one of the followings: a popular broadcast, a popular topic, recommended friends to be concerned, a recommended application and updated messages of concerned friends. For example, the acquired recommended messages may be popular topic or may include popular broadcast and popular topic.
In the embodiments of the disclosure, the popular broadcast refers to broadcast messages that are forwarded or commented on for the number of times greater than a predetermined value; the popular topic refers to topics that are commented on for the number of times greater than a predetermined value; the recommended friends to be concerned refer to recommended persons that are attractive or known to the users, such as schoolmates or colleagues; the recommended application refers to recommended applications that the users may be interested in, for example, some games; the updated messages of concerned friends include updated user information of the concerned friends (such as an avatar and signature) or updated microblog messages.
Preferably, the recommended messages are acquired by: pulling recommended messages from a microblog server at a preset frequency, or/and receiving recommended messages pushed at a preset frequency by the microblog server.
For example, the microblog server may push current popular topic and/or popular broadcast to the user equipment every one minute. In this way, the microblog may recommend timely current popular topic and/or popular broadcast to the users, that is, the users do not need to refresh the microblog on and on or switch to the square hall to acquire current popular topic and/or popular broadcast, visual experience of users is therefore guaranteed.
As shown in
It is should be noted that there is no limit on the execution sequence between step 202 and step 203.
Furthermore, the method according to the embodiment of the disclosure may further include step 204 of monitoring sliding events in the promotion display area and determining a sliding direction of the sliding events.
When a sliding event is monitored and the sliding event is a gesture operation of sliding to right, a step 205 is then performed;
In the embodiment of the disclosure, when a user operates the promotion display area through a touchpad, sliding events will happen, which may be monitored by a preset hardware Application Programming Interface (API). After a sliding event is monitored, the sliding event may be processed by a sliding event processing function to determine the sliding direction of the sliding event.
At step 205, the recommended messages are hided. Specifically, the recommended messages are moved gradually to a boundary position of the promotion display area, such as right side of the promotion display area, until the recommended messages disappear at the boundary of the promotion display area.
At step 206, it is determined that whether there is a navigation toolbar in the promotion display area. The navigation toolbar provides a entrance navigation of an application function, for example, the navigation toolbar provides the entrance navigation of an clear function for clearing the recommended messages displayed in the promotion display area.
If no navigation toolbar is displayed in the promotion display area, a step 206-1 is then performed;
At step 206-1, the navigation toolbar is displayed in the promotion display area. Generally, the navigation toolbar is displayed at the top position of the promotion display area.
At step 206-2, the recommended message is displayed in a scrolling down way in the promotion display area.
At step 207, it is determined that whether the navigation toolbar is displayed in the promotion display area;
At step 207-1, the navigation toolbar is hided. For example, the navigation toolbar displayed at the top position of the promotion display area is retracted from the top position, the step retracting the navigation toolbar from the top position may include: adjusting a transparency of the navigation toolbar displayed at the top position until the navigation toolbar displayed at the top position is hided, or moving gradually the navigation toolbar displayed at the top position out of the promotion display area from the top position.
At step 207-2, the recommended message is displayed in a scrolling up way in the promotion display area.
Furthermore, after the recommended messages displayed in the promotion display area are hided, the method further includes the following steps:
Furthermore, for the recommended messages displayed in the promotion display area, the method further includes the following steps:
When a sliding event of sliding up is monitored in the promotion display area and recommended messages are displayed in the promotion display area, the navigation toolbar displayed on the top position of the promotion display area is retracted.
The advantages of the technical solutions provided by embodiments of the disclosure are as follows: by displaying the acquired microblog message in the main display area and displaying the acquired recommended messages in the promotion display area, the recommended messages are pushed to users actively such that the users can acquire the recommended messages without refreshing the microblog, and the display interface is not switched back and forth, visual experience of users is therefore guaranteed.
The first controlling display module 301 is configured to acquire a microblog message, and to display the microblog message in the main display area; and
As shown in
The first monitoring module 303 is configured to monitor sliding events in the promotion display area after the recommended message is displayed in the promotion display area;
The first processing module 304 is configured to move gradually the recommended messages to a boundary position of the promotion display area, until the recommended messages disappear at the boundary of the promotion display area.
Preferably, as shown in
The second monitoring module 307 is configured to monitor sliding events in the promotion display area after the recommended message displayed in the promotion display area are hided; and
Preferably, as shown in
The third controlling display module 309 is configured to display information of a user, who publishes the recommended messages, in a popping box way in the promotion display area, when an access request for an avatar tag within the recommended message is received; and
The advantages of the technical solutions provided by embodiments of the disclosure are as follows: by displaying the acquired microblog message in the main display area and displaying the acquired recommended messages in the promotion display area, the recommended messages are pushed to users actively such that the users can acquire the recommended messages without refreshing the microblog, and the display interface is not switched back and forth, visual experience of users is therefore guaranteed.
It should be noted that the microblog client provided by the above embodiments is only illustrated through a partition of the above-mentioned function modules when controlling the microblog display. In practical applications, the above functions can be completed by different functional modules as required, namely, the internal structure of the microblog client is partitioned into different functional modules to complete all or part of the functions described above. In addition, the microblog client provided by the embodiment of the disclosure and the method embodiments for controlling microblog display belong to the same concept, with the specific implementation process described in the method embodiments in detail, which is not reproduced here.
Numbering of the embodiments is merely for illustration and does not indicate the preference of one embodiment over another.
When being implemented in the form of a software functional module and sold or used as a separate product, the method for controlling microblog display according to the embodiments of the present disclosure may be stored in a computer-readable medium. Based on such understanding, the technical solutions of the embodiments of the present disclosure essentially, or the part contributing to the prior art, may be implemented in the form of a software product. The computer software product is stored in a storage medium, including several instructions for instructing a computer device (which may be a personal computer, a server, a network device or the like) to execute all or a part of the method described in each embodiment of the present disclosure. The storage medium may be various mediums that can store program codes, such as a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, and so on. Therefore, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the disclosure further provides a computer storage medium storing a computer program that, when executed, causes the method for controlling microblog display according to the embodiments of the disclosure to be performed.
The above description only refers to the preferred embodiments of the disclosure, and is not intended to limit the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201210161422.8 | May 2012 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2013/075007 | 4/28/2013 | WO | 00 | 5/2/2014 |