[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103500218A - Information display method, device and system - Google Patents

Information display method, device and system Download PDF

Info

Publication number
CN103500218A
CN103500218A CN201310471227.XA CN201310471227A CN103500218A CN 103500218 A CN103500218 A CN 103500218A CN 201310471227 A CN201310471227 A CN 201310471227A CN 103500218 A CN103500218 A CN 103500218A
Authority
CN
China
Prior art keywords
information
cache
user
time
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310471227.XA
Other languages
Chinese (zh)
Other versions
CN103500218B (en
Inventor
张震
符传坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310471227.XA priority Critical patent/CN103500218B/en
Publication of CN103500218A publication Critical patent/CN103500218A/en
Application granted granted Critical
Publication of CN103500218B publication Critical patent/CN103500218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

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

Abstract

本发明公开了一种信息展示方法、装置和系统;其中的一个信息展示方法包括:获取需要展示的多条信息;获取各条信息的时间属性;根据所述各条信息的时间属性分别设置所述各条信息的显示属性;根据所述各条信息的显示属性展示所述各条信息。

Figure 201310471227

The invention discloses an information display method, device and system; one of the information display methods includes: acquiring multiple pieces of information to be displayed; acquiring the time attributes of each piece of information; The display attributes of the various pieces of information; displaying the various pieces of information according to the display attributes of the various pieces of information.

Figure 201310471227

Description

信息展示方法、装置和系统Information display method, device and system

技术领域technical field

本发明涉及信息展示技术,具体涉及一种信息展示方法、装置和系统。The present invention relates to information display technology, in particular to an information display method, device and system.

背景技术Background technique

目前的电子设备(如计算机、智能移动电话、平板电脑或者智能电视等)通常能够与用户进行人机交互;而电子设备将相应的信息展示给用户是人机交互过程中的一个重要环节。Current electronic devices (such as computers, smart mobile phones, tablet computers, or smart TVs, etc.) are usually capable of human-computer interaction with users; displaying corresponding information to users by electronic devices is an important link in the process of human-computer interaction.

在信息展示过程(如用户发布信息的展示过程)中,电子设备通常是将信息以预先设置的方式进行展示,如电子设备将视频播放窗口的下端区域设置为信息展示区域,从而电子设备将节目预告、天气预报信息或者用户发布信息(如天气的评论信息以及影视评论信息)等内容以跑马灯的形式在该信息展示区域展示给用户。In the process of information display (such as the process of displaying information released by users), electronic devices usually display information in a preset manner. For example, electronic devices set the lower area of the video playback window as the information display area, so that the electronic device displays Forecasts, weather forecast information, or user-published information (such as weather comment information and film and television comment information) are displayed to users in the information display area in the form of a marquee.

发明人在实现本发明过程中发现,针对时间性较强的信息,如用户发布的瞬时评论信息等,现有的电子设备在信息展示过程中通常不能够对不同的信息进行区分展示。In the process of implementing the present invention, the inventors found that, for information with strong timeliness, such as instantaneous comment information posted by users, the existing electronic devices are usually unable to distinguish and display different information during the information display process.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的信息展示方法和相应的信息展示装置以及系统。In view of the above problems, the present invention is proposed to provide an information display method and a corresponding information display device and system that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种信息展示方法,包括:获取需要展示的多条信息;获取各条信息的时间属性;根据所述各条信息的时间属性分别设置所述各条信息的显示属性;根据所述各条信息的显示属性展示所述各条信息。According to one aspect of the present invention, an information display method is provided, including: acquiring multiple pieces of information to be displayed; acquiring time attributes of each piece of information; display attribute; displaying each piece of information according to the display attribute of each piece of information.

根据本发明的另一方面,提供了一种信息展示装置,包括:获取信息模块,适于获取需要展示的多条信息;获取时间模块,适于获取各条信息的时间属性;设置属性模块,适于根据所述各条信息的时间属性分别设置所述各条信息的显示属性;显示模块,适于根据所述各条信息的显示属性展示所述各条信息。According to another aspect of the present invention, an information display device is provided, including: an information acquisition module, adapted to acquire multiple pieces of information to be displayed; an acquisition time module, adapted to acquire the time attribute of each piece of information; an attribute setting module, The display attribute of each piece of information is adapted to be set according to the time attribute of each piece of information; the display module is adapted to display each piece of information according to the display attribute of each piece of information.

根据本发明的第三个方面,提供了一种信息展示方法,包括:接收来自信息发布用户的用户发布信息;将用户发布信息存储在预定存储区内,且所述预定存储区存储的存储记录包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容;根据所述预定存储区中的存储记录为不同地区分别维护一缓存区,且所述维护包括:为各缓存区分别动态设置缓存有效期,在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录;从信息接收用户所属地区对应的缓存区中获取缓存记录并生成包含有所述缓存记录的推送消息;将所述推送消息发送给所述信息接收用户;信息接收用户从接收到的推送消息中获取所有的缓存记录;信息接收用户根据所述所有的缓存记录中的信息发布时间分别设置所述所有的缓存记录的显示属性;根据所述所有的缓存记录的显示属性展示所有的缓存记录中的信息。According to a third aspect of the present invention, there is provided an information presentation method, including: receiving user release information from an information release user; storing user release information in a predetermined storage area, and the storage records stored in the predetermined storage area Including: the area information targeted by the information released by the user, the information release time, and the content released by the user; according to the storage records in the predetermined storage area, a buffer area is maintained for different regions, and the maintenance includes: separately for each buffer area Dynamically setting the cache validity period, when it is necessary to update the cache records in the cache area whose cache validity period expires, obtain the user release information in the corresponding region from the predetermined storage area, so as to update the cache records in the cache area whose cache validity period expires; Obtain the cache record from the cache area corresponding to the region to which the information receiving user belongs and generate a push message containing the cache record; send the push message to the information receiving user; the information receiving user obtains from the received push message All cache records; the information receiving user sets the display attributes of all cache records according to the release time of information in all cache records; displays the information in all cache records according to the display attributes of all cache records .

根据本发明的第四个方面,提供了一种信息展示系统,该系统包括:接收模块,设置于服务器中,适于接收来自信息发布用户的用户发布信息;存储模块,设置于服务器中,适于将用户发布信息存储在预定存储区内,且所述预定存储区存储的存储记录包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容;维护模块,设置于服务器中,适于根据所述预定存储区中的存储记录为不同地区分别维护一缓存区,且该维护包括:为各缓存区分别动态设置缓存有效期,在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录;消息生成模块,设置于服务器中,适于从信息接收用户所属地区对应的缓存区中获取缓存记录并生成包含有所述缓存记录的推送消息;发送模块,设置于服务器中,适于将所述推送消息发送给所述信息接收用户;获取缓存记录模块,设置于终端设备中,适于从信息接收用户接收到的推送消息中获取所有的缓存记录;设置显示属性模块,设置于终端设备中,适于根据所述所有的缓存记录中的信息发布时间分别设置所有的缓存记录的显示属性;显示模块,设置于终端设备中,适于根据所述所有的缓存记录的显示属性展示所有的缓存记录中的信息。According to the fourth aspect of the present invention, there is provided an information display system, the system includes: a receiving module, set in the server, suitable for receiving user release information from an information release user; a storage module, set in the server, suitable for receiving Store the information released by the user in a predetermined storage area, and the storage records stored in the predetermined storage area include: information on the area targeted by the information released by the user, information release time, and content released by the user; the maintenance module is set in the server, It is suitable for maintaining a cache area for different regions according to the storage records in the predetermined storage area, and the maintenance includes: dynamically setting the cache validity period for each cache area, and when it is necessary to update the cache record in the cache area whose cache validity period expires , from the predetermined storage area to obtain the information released by users in the corresponding region, so as to update the cache record in the cache area where the validity period of the cache expires; the message generation module is set in the server and is suitable for receiving from the information Obtain the cache record in the cache area and generate a push message containing the cache record; the sending module is set in the server and is suitable for sending the push message to the information receiving user; the cache record acquisition module is set in the terminal device Among them, it is adapted to obtain all cache records from the push messages received by the information receiving user; the display attribute module is set, which is set in the terminal device, and is adapted to set all the cache records according to the information publishing time in all the cache records The display attribute of the record; the display module is set in the terminal device and is adapted to display the information in all the cache records according to the display attributes of all the cache records.

本发明的信息展示方法、装置和系统通过根据信息的时间属性来设置信息的显示属性(如透明度等),并根据各信息的显示属性展现各信息,使用户可以非常方便的辨识出其所见的信息的时间特性;另外,本发明通过针对不同地区分别维护缓存区,并为各缓存区动态设置缓存有效期,使用户发布信息可以得到区别对待,各缓冲区中存储的缓存记录通常为针对各地区筛选出的非常具有推送价值的用户发布信息,这样,在网络侧(如服务器端)需要向用户发送(如根据用户的请求而向用户发送)包含有用户发布信息的推送消息时,网络侧可以便捷地从相应的缓存区中直接获取到筛选出的值得推送的缓存记录,以便捷地产生向用户发送的推送消息;从而本发明一方面丰富了信息显示方式,另一方面可以避免向用户推送冗余信息的现象,还可以避免长连接模式给用户设备尤其是移动用户设备带来的负担,同时也可以避免网络侧(如服务器端)压力过大以及资源浪费的现象。The information display method, device and system of the present invention set the display attributes of information (such as transparency, etc.) time characteristics of the information; in addition, the present invention maintains buffer areas for different regions and dynamically sets the cache validity period for each buffer area, so that the information released by users can be treated differently. The cache records stored in each buffer area are usually for each buffer area. In this way, when the network side (such as the server side) needs to send to the user (such as sending to the user according to the user's request) a push message containing the user's published information, the network side The filtered cache records worth pushing can be directly obtained from the corresponding cache area, so as to conveniently generate push messages to users; thus, the present invention enriches information display methods on the one hand, and avoids sending messages to users on the other hand. The phenomenon of pushing redundant information can also avoid the burden brought by the long connection mode to user equipment, especially mobile user equipment, and can also avoid excessive pressure on the network side (such as the server side) and waste of resources.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了根据本发明实施例一的信息展示方法流程图;FIG. 1 shows a flowchart of an information presentation method according to Embodiment 1 of the present invention;

图2示出了根据本发明实施例二的信息展示装置示意图;FIG. 2 shows a schematic diagram of an information display device according to Embodiment 2 of the present invention;

图3示出了根据本发明实施例三的信息展示方法流程图;FIG. 3 shows a flowchart of an information presentation method according to Embodiment 3 of the present invention;

图4示出了根据本发明实施例四的信息展示方法中收集天气评论信息部分的流程图;FIG. 4 shows a flow chart of the part of collecting weather comment information in the information presentation method according to Embodiment 4 of the present invention;

图5示出了根据本发明实施例四的信息展示方法中获取天气评论信息部分的流程图;Fig. 5 shows a flow chart of the part of obtaining weather comment information in the information presentation method according to Embodiment 4 of the present invention;

图6示出了根据本发明实施例四的终端设备显示天气评论信息的显示画面示意图;FIG. 6 shows a schematic diagram of a display screen of a terminal device displaying weather comment information according to Embodiment 4 of the present invention;

图7示出了根据本发明实施例五的信息展示系统示意图。FIG. 7 shows a schematic diagram of an information presentation system according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

实施例一、信息展示方法。下面结合图1对本实施例的方法进行说明。Embodiment 1, information display method. The method of this embodiment will be described below with reference to FIG. 1 .

图1中,S100、获取需要展示的多条信息。In FIG. 1, S100. Acquire multiple pieces of information to be displayed.

具体的,上述多条信息可以是时间性较强的信息,如用户发布的瞬时评论信息等。上述多条信息可以是从服务器传输来的消息中获取的信息,一个具体的例子,终端设备接收服务器发送来的推送消息,并从推送消息中获取多条用户发布信息。上述用户发布信息可以包括:发布信息的用户ID、用户发布内容以及用户发布的信息所针对的地区信息。上述终端设备可以为计算机、智能移动电话、平板电脑或者智能电视等。Specifically, the above multiple pieces of information may be time-sensitive information, such as instantaneous comment information published by users. The above multiple pieces of information may be information obtained from messages transmitted from the server. In a specific example, the terminal device receives a push message sent by the server, and obtains multiple pieces of user release information from the push message. The information released by the user may include: the ID of the user who released the information, the content published by the user, and the region information for which the information released by the user is targeted. The aforementioned terminal device may be a computer, a smart mobile phone, a tablet computer, or a smart TV.

S110、获取各条信息的时间属性。S110. Acquire the time attribute of each piece of information.

具体的,本发明实施例中的每条信息都具有时间属性。信息的时间属性可以是信息的创建时间或者最近一次修改时间等;一个具体的例子,针对用户发布信息而言,信息的时间属性可以是用户发布信息的发布时间。Specifically, each piece of information in this embodiment of the present invention has a time attribute. The time attribute of the information may be the creation time or the last modification time of the information, etc.; as a specific example, for the information released by the user, the time attribute of the information may be the release time of the information released by the user.

在上述信息是从服务器发送来的推送消息中获取的情况下,信息的时间属性也可以从推送消息中与信息一起获取。In the case that the above information is obtained from the push message sent by the server, the time attribute of the information may also be obtained from the push message together with the information.

S120、根据各条信息的时间属性分别设置各条信息的显示属性。S120. Set the display attributes of each piece of information respectively according to the time attribute of each piece of information.

具体的,上述显示属性可以为透明度;当然,上述显示属性也可以为其他形式,如字体大小、字体颜色的鲜艳程度以及字体线条的粗细程度等其中的至少一个。Specifically, the above-mentioned display attribute may be transparency; of course, the above-mentioned display attribute may also be in other forms, such as at least one of font size, font color vividness, and font line thickness.

在显示属性为透明度的情况下,应根据信息的时间属性所表示出的时间和当前时间的差值来设置信息的透明度数值,且设置出的透明度数值应和上述差值成比例;也就是说,其设置效果应呈现出越新的信息其显示效果越不透明,而越老的信息其显示效果越透明这一特点。When the display attribute is transparency, the transparency value of the information should be set according to the difference between the time indicated by the time attribute of the information and the current time, and the set transparency value should be proportional to the above difference; that is to say , the setting effect should show that the newer the information, the more opaque the display effect, and the older the information, the more transparent the display effect is.

一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间且透明度的取值越大表示越透明的情况下,如果信息的时间属性所表示出的时间和当前时间的差值越小,则该信息的透明度数值应设置的越小,反之,如果信息的时间属性所表示出的时间和当前时间的差值越大,则该信息的透明度数值应设置的越大;即上述时间的差值应与信息的透明度数值成正比。As a specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more transparent it is, if the difference between the time indicated by the time attribute of the information and the current time The smaller the value, the smaller the transparency value of the information should be set, on the contrary, if the time attribute of the information shows a greater difference between the time and the current time, the greater the transparency value of the information should be set; that is The difference between the above times should be proportional to the transparency value of the information.

另一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间且透明度的取值越大表示越不透明的情况下,如果信息的时间属性所表示出的时间和当前时间的差值越小,则该信息的透明度数值应设置的越大,反之,如果信息的时间属性所表示出的时间和当前时间的差值越大,则该信息的透明度数值应设置的越小;即上述时间的差值应与信息的透明度数值成反比。Another specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more opaque it is, if the time indicated by the time attribute of the information is equal to the current time The smaller the difference, the greater the transparency value of the information should be set; on the contrary, if the difference between the time indicated by the time attribute of the information and the current time is larger, the transparency value of the information should be set smaller; That is, the above-mentioned time difference should be inversely proportional to the transparency value of the information.

S130、根据各条信息的显示属性展示各条信息。S130. Display each piece of information according to the display attribute of each piece of information.

具体的,本发明实施例可以采用弹幕方式或者跑马灯方式或者文字列表方式等多种形式进行各条信息的展示,如终端设备向用户展示出的各条信息可以呈现出不同的透明度;由于越新的信息其显示效果越不透明,而越老的信息其显示效果越透明,因此,越新的信息越容易引起用户的关注,而越老的信息越不容易引起用户的关注,这对于时效性较强的信息而言,可以有效的突出信息的时间特性。Specifically, the embodiment of the present invention can display various pieces of information in various forms such as barrage mode, marquee mode, or text list mode. For example, each piece of information displayed by the terminal device to the user can present different transparency; The newer information has a more opaque display effect, and the older information has a more transparent display effect. Therefore, the newer information is more likely to attract users' attention, and the older information is less likely to attract users' attention. For information with strong characteristics, it can effectively highlight the time characteristics of the information.

一个具体的例子,终端设备将各条信息分设在多条文字轨道上,并设置各条文字轨道的滚动速度,这样,各条信息会按照其所在文字轨道对应的预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示,从而形成可以有效突出信息的时间属性的弹幕展示方式。As a specific example, the terminal device divides each piece of information on multiple text tracks, and sets the scrolling speed of each text track, so that each piece of information will be scrolled at the predetermined scrolling speed corresponding to the text track where it is located. The text track is scrolled and displayed with corresponding transparency, thus forming a barrage display method that can effectively highlight the time attribute of information.

实施例二、信息展示装置。下面结合图2对该装置进行详细说明。Embodiment 2, an information display device. The device will be described in detail below with reference to FIG. 2 .

图2中示出的装置可以设置于计算机、智能移动电话、平板电脑或者智能电视等终端设备中;且该装置主要包括:获取信息模块200、获取时间模块210、设置属性模块220以及显示模块230;其中,获取时间模块210与获取信息模块200以及设置属性模块220分别连接,显示模块230与获取信息模块200以及设置属性模块220分别连接。The device shown in Figure 2 can be set in terminal devices such as computers, smart mobile phones, tablet computers or smart TVs; and the device mainly includes: an information acquisition module 200, an acquisition time module 210, an attribute setting module 220 and a display module 230 Wherein, the time acquisition module 210 is connected to the information acquisition module 200 and the attribute setting module 220 respectively, and the display module 230 is connected to the information acquisition module 200 and the attribute setting module 220 respectively.

获取信息模块200主要适于获取需要展示的多条信息。The obtaining information module 200 is mainly adapted to obtain multiple pieces of information that need to be displayed.

具体的,获取信息模块200所获取的多条信息可以是具有较强时间性的信息,如用户发布的瞬时评论信息等。上述多条信息可以是获取信息模块200从服务器传输来的消息中获取的信息,一个具体的例子,获取信息模块200接收服务器发送来的推送消息,并从推送消息中获取多条用户发布信息。上述用户发布信息可以包括:发布信息的用户ID、用户发布内容以及用户发布的信息所针对的地区信息。Specifically, the multiple pieces of information acquired by the information acquiring module 200 may be information with strong timeliness, such as instantaneous comment information published by users. The above multiple pieces of information may be obtained by the information acquisition module 200 from messages transmitted from the server. In a specific example, the information acquisition module 200 receives a push message sent by the server, and acquires multiple pieces of user release information from the push message. The information released by the user may include: the ID of the user who released the information, the content published by the user, and the region information for which the information released by the user is targeted.

获取时间模块210主要适于获取各条信息的时间属性。The obtaining time module 210 is mainly adapted to obtain the time attribute of each piece of information.

具体的,本发明实施例中的每条信息都具有时间属性。信息的时间属性可以是信息的创建时间或者最近一次修改时间等;一个具体的例子,针对用户发布信息而言,信息的时间属性可以是用户发布信息的发布时间。Specifically, each piece of information in this embodiment of the present invention has a time attribute. The time attribute of the information may be the creation time or the last modification time of the information, etc.; as a specific example, for the information released by the user, the time attribute of the information may be the release time of the information released by the user.

在上述信息是获取信息模块200从服务器发送来的推送消息中获取的情况下,获取时间模块210可以从推送消息中获取信息的时间属性。In the case that the above information is obtained by the obtaining information module 200 from a push message sent by the server, the obtaining time module 210 may obtain the time attribute of the information from the push message.

设置属性模块220主要适于根据获取时间模块210获取的各条信息的时间属性分别设置各条信息的显示属性。The attribute setting module 220 is mainly adapted to respectively set the display attribute of each piece of information according to the time attribute of each piece of information acquired by the acquiring time module 210 .

具体的,上述显示属性可以为透明度;当然,上述显示属性也可以为其他形式,如字体大小、字体颜色的鲜艳程度以及字体线条的粗细程度等其中的至少一个。Specifically, the above-mentioned display attribute may be transparency; of course, the above-mentioned display attribute may also be in other forms, such as at least one of font size, font color vividness, and font line thickness.

在显示属性为透明度的情况下,设置属性模块220应根据信息的时间属性所表示出的时间和当前时间的差值来设置信息的透明度数值,且设置出的透明度数值应和上述差值成比例;也就是说,设置属性模块220所设置出的效果应呈现出越新的信息其显示效果越不透明,而越老的信息其显示效果越透明这一特点。In the case that the display attribute is transparency, the setting attribute module 220 should set the transparency value of the information according to the difference between the time indicated by the time attribute of the information and the current time, and the set transparency value should be proportional to the above difference That is to say, the effect set by the attribute setting module 220 should show that the newer the information, the more opaque the display effect, and the older the information, the more transparent the display effect is.

一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间且透明度的取值越大表示越透明的情况下,如果信息的时间属性所表示出的时间和当前时间的差值越小,则设置属性模块220应将该信息的透明度数值设置的越小,反之,如果信息的时间属性所表示出的时间和当前时间的差值越大,则设置属性模块220应将该信息的透明度数值设置的越大;即上述时间的差值应与设置属性模块220所设置出的信息的透明度数值成正比。As a specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more transparent it is, if the difference between the time indicated by the time attribute of the information and the current time The smaller the value, then the setting attribute module 220 should set the transparency value of the information smaller, on the contrary, if the difference between the time shown by the time attribute of the information and the current time is larger, then the setting attribute module 220 should set the The higher the transparency value of the information is set; that is, the above time difference should be proportional to the transparency value of the information set by the attribute setting module 220 .

另一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间且透明度的取值越大表示越不透明的情况下,如果信息的时间属性所表示出的时间和当前时间的差值越小,则设置属性模块220应将该信息的透明度数值设置的越大,反之,如果信息的时间属性所表示出的时间和当前时间的差值越大,则设置属性模块220应将该信息的透明度数值设置的越小;即上述时间的差值应与设置属性模块220所设置出的信息的透明度数值成反比。Another specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more opaque it is, if the time indicated by the time attribute of the information is equal to the current time The smaller the difference, the greater the transparency value of the information should be set by the setting attribute module 220; otherwise, if the difference between the time shown by the time attribute of the information and the current time is larger, the setting attribute module 220 should set The smaller the transparency value of the information is set; that is, the above-mentioned time difference should be inversely proportional to the transparency value of the information set by the attribute setting module 220 .

显示模块230主要适于根据各条信息的显示属性展示各条信息。The display module 230 is mainly adapted to display various pieces of information according to the display attributes of each piece of information.

具体的,显示模块230可以采用弹幕方式或者跑马灯方式或者文字列表方式等多种形式进行各条信息的展示,如显示模块230向用户展示出的各条信息可以呈现出不同的透明度;由于越新的信息其显示效果越不透明,而越老的信息其显示效果越透明,因此,越新的信息越容易引起用户的关注,而越老的信息越不容易引起用户的关注,这对于时效性较强的信息而言,可以有效的突出信息的时间特性。Specifically, the display module 230 can display various pieces of information in various forms such as barrage mode, marquee mode, or text list mode. For example, each piece of information displayed by the display module 230 to the user can present different transparency; The newer information has a more opaque display effect, and the older information has a more transparent display effect. Therefore, the newer information is more likely to attract users' attention, and the older information is less likely to attract users' attention. For information with strong characteristics, it can effectively highlight the time characteristics of the information.

一个具体的例子,显示模块230将各条信息分设在多条文字轨道上,并设置各条文字轨道的滚动速度,这样,各条信息会按照其所在文字轨道对应的预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示,从而形成可以有效突出信息的时间属性的弹幕展示方式。上述文字轨道是指信息在终端设备的显示屏上的行进轨迹。该文字轨道也可以称为信息行进轨迹。As a specific example, the display module 230 divides each piece of information into multiple text tracks, and sets the scrolling speed of each text track. Scrolling and displaying with corresponding transparency on the text track of the text, thus forming a barrage display method that can effectively highlight the time attribute of information. The above text track refers to the track of information traveling on the display screen of the terminal device. The text track may also be referred to as an information travel track.

实施例三、信息展示方法。下面结合图3对本实施例的方法进行说明。Embodiment 3, information display method. The method of this embodiment will be described below with reference to FIG. 3 .

图3中,S300、接收来自信息发布用户的用户发布信息。In FIG. 3, S300. Receive user release information from an information release user.

具体的,上述信息发布用户实际上对应用户设备中安装的一应用程序客户端。上述用户发布信息应具有位置特性,也就是说,一用户发布信息通常只会被信息发布用户所属地区(或称区域)的用户关注,而其他地区的用户通常并不会关注该用户发布信息。上述用户发布信息通常还具有较强的时效性,也就是说,在过了一定的时间(通常较短暂,有时候不超过1天甚至不超过几个小时)之后,该用户发布信息基本上不会再被用户所关注。Specifically, the above information publishing user actually corresponds to an application program client installed in the user equipment. The information posted by the above user should have location characteristics, that is to say, the information posted by a user is usually only followed by users in the area (or area) to which the user of the information release belongs, while users in other areas usually do not pay attention to the information posted by the user. The information published by the above-mentioned users usually has strong timeliness, that is to say, after a certain period of time (usually relatively short, sometimes no more than 1 day or even no more than a few hours), the information released by the user basically does not matter. will be followed by users.

上述用户发布信息可以包括:信息发布用户标识、用户发布的信息所针对的地区信息(即用户发布内容所针对的地区编码/标识)以及用户发布内容等。可选的,用户发布信息还可以包括:信息发布用户所在地理位置的经纬度信息和/或用户发布信息的时间戳等。The above user release information may include: information release user ID, region information of the information released by the user (that is, the region code/identification of the content released by the user), and the content of the user release. Optionally, the information released by the user may also include: the latitude and longitude information of the geographic location of the information publishing user and/or the time stamp of the information released by the user.

上述用户发布的信息所针对的地区信息可以具体为省标识信息,也可以为城市标识信息(citycode),还可以为城市标识信息和城市内的区标识信息等;而且用户发布的信息所针对的地区可以为信息发布用户当前所在的地区,也可以不是信息发布用户当前所在的地区,而是信息发布用户所选择的除其当前所在地区之外的其他地区(如信息发布用户的家庭所在的地区等)。地区的具体划分可以根据实际应用灵活确定。The region information targeted by the information published by the above users may specifically be provincial identification information, city identification information (citycode), city identification information and district identification information within the city, etc.; and the information issued by the user is aimed at The area may be the area where the information release user is currently located, or it may not be the area where the information release user is currently located, but an area other than the current area selected by the information release user (such as the area where the information release user's family is located) wait). The specific division of regions can be flexibly determined according to actual applications.

上述用户发布内容可以具体为针对天气预报的评论信息、针对天气实际情况的评论信息或者针对本地区市场的商品的评论信息等等。本发明实施例不限制用户发布内容所涉及的具体评论领域。The content posted by the above user may specifically be comment information on weather forecast, comment information on actual weather conditions, or comment information on commodities in the local market, and so on. The embodiment of the present invention does not limit the specific field of comments involved in the content published by the user.

S310、将上述接收到的用户发布信息存储在预定存储区内。S310. Store the received user release information in a predetermined storage area.

具体的,上述预定存储区可以设置于服务器的本地硬盘或者磁盘阵列等存储装置中。该预定存储区中所存储的存储记录主要包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容等。上述存储记录中还可以包括:信息发布用户所在地理位置的经纬度信息等。本发明实施例可以将上述存储记录以表或者数据库等形式存储在预定存储区中。Specifically, the aforementioned predetermined storage area may be set in a storage device such as a local hard disk or disk array of the server. The storage records stored in the predetermined storage area mainly include: information on the area targeted by the information released by the user, information release time, content released by the user, and the like. The above-mentioned storage records may also include: latitude and longitude information of the geographic location of the information publishing user, etc. In this embodiment of the present invention, the above-mentioned storage records may be stored in a predetermined storage area in the form of a table or a database.

上述信息发布时间可以是信息发布用户发送用户发布信息的时间(即上述时间戳),也可以是网络侧接收到用户发布信息的时间。另外,在接收到用户发布信息时,可以对该用户发布信息进行敏感词过滤处理,以决定该用户发布信息是否可以存储在预定存储区内,如果该用户发布信息包含敏感词,则可以直接丢弃该用户发布信息。The above information release time may be the time when the information release user sends the user release information (that is, the above timestamp), or the time when the user release information is received by the network side. In addition, when receiving user-published information, sensitive word filtering can be performed on the user-published information to determine whether the user-published information can be stored in a predetermined storage area, and if the user-published information contains sensitive words, it can be directly discarded This user posted a message.

在将用户发布信息存储在预定存储区的过程中,可以按照用户发布的信息所针对的地区信息将用户发布信息插入到相应的存储位置,以使针对同一地区的用户发布信息实现连续存储;而且,在用户发布信息的存储过程中,还可以参照信息发布时间来决定用户发布信息的存储位置,以便于使预定存储区中存储的存储记录可以按照信息发布时间进行顺序排序。需要特别说明的是,在用户发布信息的存储过程中,本发明实施例可以参照用户发布的信息所针对的地区信息和/或信息发布时间进行存储。In the process of storing user-published information in a predetermined storage area, the user-published information may be inserted into the corresponding storage location according to the region information for which the user-published information is targeted, so that the user-published information for the same region can be continuously stored; and , in the process of storing the information released by the user, the storage location of the information released by the user can also be determined by referring to the information release time, so that the storage records stored in the predetermined storage area can be sorted according to the information release time. It should be noted that, in the process of storing the information released by the user, the embodiment of the present invention may refer to the region information and/or the release time of the information released by the user for storage.

由于本发明实施例中的用户发布信息具有较强的时效性,因此,可以为预定存储区内的各存储记录设置存储时限,从而在一条存储记录在预定存储区内的存储时间达到其对应的预定存储时限的情况下,该条存储记录会从预定存储区中删除。另外,不同存储记录对应的预定存储时限可以相同,也可以不相同;一个具体的例子,针对用户发布信息相对较多的热点地区(如北京、深圳、广东以及上海等大城市),可以将这些热点地区的用户发布信息对应的预定存储时限设置的稍短一些,而针对用户发布信息相对较少的非热点地区,可以将这些非热点地区的用户发布信息对应的预定存储时限设置的稍长一些。Since the user release information in the embodiment of the present invention has strong timeliness, therefore, the storage time limit can be set for each storage record in the predetermined storage area, so that the storage time of a storage record in the predetermined storage area reaches its corresponding In the case of a predetermined storage time limit, the storage record will be deleted from the predetermined storage area. In addition, the scheduled storage time limits corresponding to different storage records can be the same or different; as a specific example, for hotspot areas where users publish relatively more information (such as Beijing, Shenzhen, Guangdong, Shanghai and other big cities), these The predetermined storage time limit corresponding to the information published by users in hotspot areas is set slightly shorter, and for non-hotspot areas where relatively few users publish information, the predetermined storage time limit corresponding to the information published by users in these non-hotspot areas can be set slightly longer .

S320、根据预定存储区中的存储记录为不同地区分别维护一缓存区。S320. Maintain a buffer area for different regions according to the storage records in the predetermined storage area.

具体的,上述维护操作主要包括:为不同地区分别设定一用于存储用户发布信息的缓存区,并为各缓存区分别动态设置缓存有效期,在存在缓存有效期失效的缓存区且需要更新其中的缓存记录的情况下,从预定存储区中获取该有效期失效的缓存区对应的地区的当前最新的预定数量的用户发布信息,从而可以利用获取到的当前最新的预定数量的用户发布信息来更新该缓存有效期失效的缓存区中的所有缓存记录。Specifically, the above-mentioned maintenance operations mainly include: setting up a cache area for storing user-published information for different regions, and dynamically setting the validity period of the cache for each cache area. In the case of cache records, the current latest predetermined number of user release information in the area corresponding to the cache area whose validity period expires is obtained from the predetermined storage area, so that the current latest predetermined amount of user release information can be used to update the All cache records in the cache area whose cache validity period expires.

上述动态设置缓存有效期是指针对一个缓存区而言,该缓存区的缓存有效期并不是一个常量,而是会随着实际情况的变化而发生变化,即本次为该缓存区设置的缓存有效期和上一次为该缓存区设置的缓存有效期很可能不相同。另外,不同地区对应的缓存区的缓存空间可以相同,也可以不相同。The above dynamic setting of the cache validity period means that for a cache area, the cache validity period of the cache area is not a constant, but will change as the actual situation changes, that is, the cache validity period set for the cache area this time and The cache validity period set last time for this cache area is likely to be different. In addition, the cache spaces of the cache areas corresponding to different regions may be the same or different.

为各缓存区分别动态设置缓存有效期的一种方式为:在每次更新缓存区中的缓存记录时,可根据不同地区的用户发布信息的发布速度以及不同地区的缓存区的缓存空间分别为各缓存区设置当前的缓存有效期。当然,本发明实施例也可以根据不同地区的用户发布信息的流量等参数来动态设置缓存有效期。One way to dynamically set the cache validity period for each cache area is: each time the cache records in the cache area are updated, according to the publishing speed of users in different regions and the cache space of the cache areas in different regions, each The cache area sets the current cache validity period. Of course, the embodiment of the present invention can also dynamically set the validity period of the cache according to parameters such as the traffic of information published by users in different regions.

针对某一个具体的缓存区而言,设置该缓存区的缓存有效期的一个具体例子为:如果该缓存区可以存储N(N为大于零的整数)条缓存记录,且在预定时间间隔T内该地区的用户发布信息的当前发布数量为X条,则该缓存区的缓存有效期P可以根据下述公式(1)来设置:For a specific cache area, a specific example of setting the cache validity period of the cache area is: if the cache area can store N (N is an integer greater than zero) cache records, and within a predetermined time interval T the The current number of information released by users in the region is X, then the cache validity period P of the cache can be set according to the following formula (1):

P=(N/X)T;                公式(1)P=(N/X)T; Formula (1)

需要说明的是,为了避免过于频繁的更新缓存区中的缓存记录以及缓存区中的缓存记录长时间得不到更新等现象,本发明实施例可以为缓存有效期P设置最小缓存有效期以及最大缓存有效期,也就是说,在当前计算出的P的数值小于最小缓存有效期时,可以将P的取值调整为最小缓存有效期,而在当前计算出的P的数值大于最大缓存有效期时,可以将P的取值调整为最大缓存有效期。It should be noted that, in order to avoid phenomena such as updating the cache records in the cache area too frequently and not updating the cache records in the cache area for a long time, the embodiment of the present invention can set the minimum cache validity period and the maximum cache validity period for the cache validity period P , that is to say, when the currently calculated value of P is less than the minimum cache validity period, the value of P can be adjusted to the minimum cache validity period, and when the currently calculated value of P is greater than the maximum cache validity period, the value of P can be adjusted to The value is adjusted to the maximum cache validity period.

另外,在本发明实施例中,可以在判断出缓存有效期失效时,即确定出需要更新该缓存区中的缓存记录;也可以在接收到信息接收用户发送来的发布信息请求消息,并判断出该信息请求消息对应的缓存区的缓存有效期已失效时,即确定出需要更新该缓存区中的缓存记录;也就是说,在接收到来自信息接收用户的发布信息请求消息时,判断该信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中存储的缓存时间是否达到缓存有效期,如果缓存时间已达到缓存有效期,则从预定存储区中获取该地区的当前最新发布的预定数量的存储记录,并利用这些存储记录更新该地区对应的缓存区中的所有缓存记录;而在没有接收到信息接收用户发送来的发布信息请求消息的情况下,即便是缓存区中的缓存记录在缓存区中存储的缓存时间已经达到了缓存有效期,也可以认为不需要更新该缓存区中的缓存记录,而不对该缓存区中的缓存记录进行更新。In addition, in the embodiment of the present invention, when it is judged that the validity period of the cache is invalid, it is determined that the cache record in the cache area needs to be updated; When the cache validity period of the cache area corresponding to the information request message has expired, it is determined that the cache record in the cache area needs to be updated; Whether the cache time of the cache records stored in the cache area corresponding to the region to which the user belongs has reached the cache validity period, if the cache time has reached the cache validity period, obtain the current latest release of the predetermined amount of storage in the region from the predetermined storage area records, and use these storage records to update all the cache records in the cache area corresponding to the region; and in the case of not receiving the release information request message sent by the information receiving user, even if the cache records in the cache area are in the cache area The cache time stored in the cache has reached the cache validity period, and it can also be considered that there is no need to update the cache records in the cache area, and the cache records in the cache area will not be updated.

还有,在更新信息接收用户所述地区对应的缓存区中的缓存记录的过程中,如果从预定存储区中获取到的用户发布的信息所针对的地区(如北京市的朝阳区)的当前最新存储记录的数量没有达到预定数量(如没有达到100条存储记录),则可以根据用户发布的信息所针对的地区的相邻地区(如北京市的海淀区和/或昌平区等)从预定存储区中获取当前最新的存储记录,以使获取到的总的存储记录达到预定数量(如达到100条存储记录)。上述相邻地区和用户发布的信息所针对的地区最好属于同一父地区。Also, during the process of updating the cache records in the cache area corresponding to the area mentioned by the user, if the information released by the user is obtained from the predetermined storage area (such as Chaoyang District of Beijing) for the current If the number of the latest stored records does not reach the preset number (for example, 100 stored records), you can start from the scheduled The latest storage records are obtained from the storage area, so that the total storage records obtained reach a predetermined number (for example, 100 storage records). It is preferable that the adjacent regions mentioned above and the regions targeted by the information published by the users belong to the same parent region.

S330、从信息接收用户所属地区相关联的缓存区中获取缓存记录,并生成包含有该缓存记录的推送消息。S330. Obtain the cache record from the cache area associated with the region to which the information receiving user belongs, and generate a push message including the cache record.

具体的,在接收到来自信息接收用户的发布信息请求消息且在判断出该信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中的缓存时间没有达到缓存有效期的情况下,可以从对应的缓存区中获取缓存记录,并利用该获取到的缓存记录生成推送消息即可;而在接收到来自信息接收用户的发布信息请求消息且在判断出该信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中的缓存时间已经达到缓存有效期的情况下,可以先从对应的缓冲区(即更新前的缓存区)中获取缓存记录,并生成推送消息;之后,在该缓存区中的缓存记录更新后,再从更新后的缓存区中获取缓存记录,并再次生成推送消息;先后生成的这两条推送消息会先后发送给信息接收用户。Specifically, when receiving an information release request message from an information receiving user and judging that the cache record in the buffer area corresponding to the area to which the information receiving user belongs has not reached the cache validity period, you can start from Obtain the cache record in the corresponding cache area, and use the acquired cache record to generate a push message; and after receiving the release information request message from the information receiving user and judging that the information receiving user belongs to the corresponding buffer area When the cache time of the cache records in the cache area has reached the cache validity period, you can first obtain the cache records from the corresponding buffer (that is, the cache area before the update) and generate a push message; after that, in the cache area After the cache record in , is updated, the cache record is obtained from the updated cache area, and the push message is generated again; the two push messages generated successively will be sent to the information receiving user successively.

上述推送消息主要包括:信息发布用户标识(即用户ID)、用户发布内容、用户发布的信息所针对的地区信息、信息发布用户所在地理位置的经纬度信息、信息发布时间以及本次推送的用户发布信息的有效期等;而且,本次推送的用户发布信息的有效期最好不小于当前的缓存有效期。The above-mentioned push messages mainly include: information release user identification (ie user ID), user release content, area information for which the user releases information, latitude and longitude information of the geographical location of the information release user, information release time, and the user release of this push. The validity period of the information, etc.; moreover, the validity period of the user-published information pushed this time is preferably not less than the current cache validity period.

上述信息接收用户所属地区通常为信息接收用户当前所在的地区,当然,信息接收用户所属地区也可以为信息接收用户所选择的地区,且信息接收用户所选择的地区可以不同于信息接收用户当前所在的地区。The region to which the information receiving user belongs is usually the region where the information receiving user is currently located. Of course, the region to which the information receiving user belongs may also be the region selected by the information receiving user, and the region selected by the information receiving user may be different from the current location of the information receiving user. area.

S340、将上述生成的推送消息发送给信息接收用户。S340. Send the push message generated above to the information receiving user.

具体的,可以将基于HTTP的推送消息通过互联网发送给信息接收用户(即终端设备)。Specifically, the HTTP-based push message may be sent to the information receiving user (ie, the terminal device) through the Internet.

S350、信息接收用户从接收到的推送消息中获取所有的缓存记录。S350. The information receiving user obtains all cache records from the received push message.

具体的,本发明实施例可以直接从推送消息中获取信息发布用户标识(即用户ID)、用户发布内容、用户发布的信息所针对的地区信息、信息发布用户所在地理位置的经纬度信息以及信息发布时间。Specifically, the embodiment of the present invention can directly obtain information release user identification (that is, user ID), user release content, area information for which information is released by the user, longitude and latitude information of the geographic location of the information release user, and information release information directly from the push message. time.

S360、信息接收用户根据各缓存记录中的信息发布时间分别设置各缓存记录的显示属性。S360. The information receiving user sets the display attributes of each cache record according to the information release time in each cache record.

具体的,上述显示属性可以为透明度;当然,上述显示属性也可以为其他形式,如字体大小、字体颜色的鲜艳程度以及字体线条的粗细程度等其中的至少一个。Specifically, the above-mentioned display attribute may be transparency; of course, the above-mentioned display attribute may also be in other forms, such as at least one of font size, font color vividness, and font line thickness.

在显示属性为透明度的情况下,应根据各缓存记录的时间属性所表示出的时间和当前时间的差值来设置各缓存记录的透明度数值,且设置出的透明度数值应和上述差值成比例;也就是说,其设置效果应呈现出越新的缓存记录中的信息的显示效果越不透明,而越老的缓存记录中的信息的显示效果越透明这一特点。When the display attribute is transparency, the transparency value of each cache record should be set according to the difference between the time indicated by the time attribute of each cache record and the current time, and the set transparency value should be proportional to the above difference ; That is to say, the setting effect should show that the display effect of the information in the newer cache record is more opaque, and the display effect of the information in the older cache record is more transparent.

一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间,且透明度的取值越大表示显示的信息越透明的情况下,如果缓存记录中的信息发布时间和当前时间的差值越小,则缓存记录对应的透明度数值应设置的越小,反之,如果缓存记录中的信息发布时间和当前时间的差值越大,则该缓存记录对应的透明度数值应设置的越大;即上述时间的差值应与缓存记录对应的透明度数值成正比。As a specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more transparent the information displayed, if the information release time and current time in the cache record The smaller the difference, the smaller the transparency value corresponding to the cache record should be set. Conversely, if the difference between the information release time in the cache record and the current time is larger, the transparency value corresponding to the cache record should be set smaller. large; that is, the above-mentioned time difference should be proportional to the transparency value corresponding to the cache record.

另一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间,且透明度的取值越大表示显示的信息越不透明的情况下,如果缓存记录中的信息发布时间和当前时间的差值越小,则该缓存记录对应的透明度数值应设置的越大,反之,如果缓存记录中的信息发布时间和当前时间的差值越大,则该缓存记录对应的透明度数值应设置的越小;即上述时间的差值应与信息的透明度数值成反比。Another specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more opaque the information displayed, if the release time of the information in the cache record and the current The smaller the time difference, the greater the transparency value corresponding to the cache record should be set. Conversely, if the difference between the information release time in the cache record and the current time is greater, the transparency value corresponding to the cache record should be set to The smaller it is; that is, the above-mentioned time difference should be inversely proportional to the transparency value of the information.

S370、根据各缓存记录的显示属性展示各缓存记录中的信息。S370. Display the information in each cache record according to the display attribute of each cache record.

具体的,本发明实施例可以采用弹幕方式或者跑马灯方式或者文字列表方式等多种形式进行各缓存记录中的信息的展示,如终端设备向用户展示出的各缓存记录中的信息可以呈现出不同的透明度;由于越新的信息其显示效果越不透明,而越老的信息其显示效果越透明,因此,越新的信息越容易引起用户的关注,而越老的信息越不容易引起用户的关注,这对于时效性较强的信息而言,可以有效的突出用户发布信息的时间特性。本发明实施例所展示的信息主要包括:用户发布内容;另外,该展示的信息还可以包括:发布信息的用户ID、用户发布的信息所针对的地区信息以及信息发布时间中的至少一个。Specifically, in this embodiment of the present invention, the information in each cache record can be displayed in various forms such as barrage, marquee, or text list. For example, the information in each cache record displayed by the terminal device to the user can be presented Different transparency; because the newer information is more opaque, and the older information is more transparent, therefore, the newer information is more likely to attract the attention of users, while the older information is less likely to attract users’ attention. attention, which can effectively highlight the time characteristics of information released by users for information with strong timeliness. The displayed information in the embodiment of the present invention mainly includes: content released by the user; in addition, the displayed information may also include: at least one of: ID of the user who released the information, information on the area targeted by the information released by the user, and information release time.

一个具体的例子,终端设备将各缓存记录中的用户发布内容分设在多条文字轨道上,并设置各条文字轨道的滚动速度,这样,各缓存记录中的用户发布内容会按照其所在文字轨道对应的预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示,从而形成可以有效突出用户发布内容的时间属性的弹幕展示方式。As a specific example, the terminal device divides the user-published content in each cache record into multiple text tracks, and sets the scrolling speed of each text track, so that the user-published content in each cache record will be displayed according to the text track where it is located. The corresponding preset scrolling speed is scrolled and displayed with corresponding transparency on the text track where it is located, thus forming a barrage display method that can effectively highlight the time attribute of the content posted by the user.

针对本实施例三需要说明的是:信息接收用户在接收到推送消息后,可以针对推送消息中承载的本次推送的用户发布信息的有效期进行计时,在计时值达到本次推送的用户发布信息的有效期,且信息接收用户仍持续处于运行状态(即客户端始终在运行)的情况下,信息接收用户会主动生成推送用户发布信息请求消息,并向网络侧发送该请求消息,以使信息接收用户可以获得新的用户发布信息;然而,在上述计时过程中,如果信息接收用户退出客户端后又再次运行该客户端,则应计算出再次运行该客户端的当前时间与信息接收用户前次接收到的推送消息中的信息发布时间(任一信息发布时间或者最新的一个信息发布时间)之间的时间差,并判定该时间差是否达到本次推送的用户发布信息的有效期,如果达到该有效期,则信息接收用户不但会显示其前次接收到的推送消息中承载的用户发布信息的画面,还会立即主动生成一条推送发布信息请求消息,并向网络侧发送该请求消息;如果没有达到该有效期,则信息接收用户可以仅显示其前次接收到的推送消息中承载的用户发布信息的画面,而不会执行前述的立即主动生成一条推送发布信息请求消息的操作。What needs to be explained for the third embodiment is: after receiving the push message, the information receiving user can time the validity period of the user-published information carried in the push message, and when the timing value reaches the user-published information pushed this time When the validity period of the information is valid and the information receiving user is still running (that is, the client is always running), the information receiving user will actively generate a push user release information request message, and send the request message to the network side, so that the information receiving Users can obtain new user-published information; however, in the above timing process, if the information receiving user quits the client and runs the client again, the current time of running the client again should be calculated to be the same as the time the information receiving user received last time. The time difference between the information release times in the received push messages (any information release time or the latest information release time), and determine whether the time difference reaches the validity period of the information released by the user this time. If it reaches the validity period, then The information receiving user will not only display the screen of the user’s release information contained in the push message received last time, but also immediately actively generate a push release information request message and send the request message to the network side; if the validity period is not reached, Then the information receiving user may only display the screen of the user publishing information carried in the push message received last time, without performing the aforementioned operation of immediately actively generating a request message for pushing and publishing information.

另外,本发明实施例可以为用户提供用户发布信息的纠错窗口,信息接收用户和信息发布用户均可以利用该纠错窗口产生相应的用户发布信息,例如,无论是信息接收用户还是信息发布用户,在通过其用户发布信息纠错窗口获取到用户输入的纠错信息后,将该纠错信息作为信息发布信息中的用户发布内容,并基于此生成完整的用户发布信息,之后,向网络侧发送该用户发布信息。In addition, the embodiments of the present invention can provide users with an error correction window for users to publish information. Both information receiving users and information publishing users can use this error correction window to generate corresponding user publishing information. For example, whether it is an information receiving user or an information publishing user , after obtaining the error correction information input by the user through its user release information error correction window, use the error correction information as the user release content in the information release information, and generate complete user release information based on this, and then send to the network side Send the user posting information.

还有,在上述实施例三的描述中,虽然步骤S300至S330是按照S300到S330的先后顺序依次说明的,但是,在实际应用中,步骤S300、S310、S320和S330之间是相互并行的操作。In addition, in the description of the third embodiment above, although steps S300 to S330 are described sequentially according to the order of S300 to S330, in practical applications, steps S300, S310, S320 and S330 are parallel to each other operate.

实施例四、基于位置的天气评论信息的展示方法。本实施例是实施例三的一个具体的应用,下面结合图4、图5和图6对该方法进行说明。Embodiment 4: A method for displaying location-based weather commentary information. This embodiment is a specific application of the third embodiment, and the method will be described below with reference to FIG. 4 , FIG. 5 and FIG. 6 .

天气评论信息具有非常明显的位置特性。由于不同地区(如城市)的用户通常只希望获取或者发布其所在地区或者所选择的地区(如城市)的天气评论(如对天气预报的评论以及对实际天气情况的评论等),而不希望获取或者发布除此之外的其他地区(如城市)的天气评论,因此,本实施例应针对天气评论信息进行地理位置的区分,如可以为每个城市设立一个单独的“频道”或者“版块”等。Weather commentary information has very obvious location characteristics. Because users in different regions (such as cities) usually only want to obtain or publish weather comments (such as comments on weather forecasts and comments on actual weather conditions) in their regions or selected regions (such as cities), they do not want to Obtain or publish weather comments in other regions (such as cities) besides this. Therefore, this embodiment should differentiate the geographical location of weather comment information, such as setting up a separate "channel" or "section" for each city "wait.

天气评论信息还具有非常明显的实时性(即时效性)。由于天气情况瞬息万变,而用户通常只关注最近一段时间的天气评论信息,因此,用户发布的天气评论信息具有较强的时效性,从而本发明实施例应记录每条天气评论信息的发布时间,并应将最具时效性的若干条天气评论信息发送给用户。Weather commentary information also has a very obvious real-time (immediate effect). Because the weather conditions are changing rapidly, and users usually only pay attention to the weather comment information in the latest period, the weather comment information released by users has strong timeliness, so the embodiment of the present invention should record the release time of each weather comment information, and Several pieces of weather commentary information with the most timeliness should be sent to the user.

由于不同地区(如城市)的活跃用户的数量千差万别,因此,不同地区的天气评论信息的发布密度存在区别,且即使是在同一个城市内,由于天气现象的突发性,天气评论信息的发布密度也会随时发生变化;因此,在向用户发送天气评论信息过程中,如果所有地区在所有时段均使用相同的信息筛选策略,那么会出现大幅增加网络侧(如服务器)负载或者浪费网络资源的现象。本发明实施例提供的技术方案可以尽量避免上述不良现象的发生。Since the number of active users in different regions (such as cities) varies widely, the release density of weather comment information in different regions is different, and even in the same city, due to the suddenness of weather phenomena, the release of weather comment information The density will also change at any time; therefore, in the process of sending weather commentary information to users, if all regions use the same information filtering strategy at all time periods, there will be a problem of greatly increasing the load on the network side (such as server) or wasting network resources. Phenomenon. The technical solutions provided by the embodiments of the present invention can avoid the occurrence of the above undesirable phenomena as far as possible.

在本发明的实施例中,移动设备(如智能型移动电话或者IPAD或者笔记本电脑)中安装有客户端,用户可以利用客户端提供的界面输入天气评论信息,在用户点击发送按钮后,客户端向服务器发送包含该天气评论信息的消息,用户的本次输入操作结束(如图4的左侧流程所示)。In an embodiment of the present invention, a client is installed in a mobile device (such as a smart mobile phone or an IPAD or a notebook computer), and the user can utilize the interface provided by the client to input weather comment information. After the user clicks the send button, the client A message containing the weather comment information is sent to the server, and the user's current input operation ends (as shown in the left process of Figure 4).

客户端向服务器发送的天气评论信息可以包括如下内容:The weather comment information sent by the client to the server may include the following content:

Uid,用户ID;Uid, user ID;

Citycode,天气评论所针对的城市编码;Citycode, the city code for the weather review;

Lon,lat,移动设备在发送天气评论信息时所在的地理位置的经纬度;Lon, lat, the latitude and longitude of the geographic location where the mobile device is when sending weather commentary information;

Comment,天气评论内容;Comment, weather comment content;

服务器在接收到移动设备发送来的该消息后,先对消息中的天气评论内容进行敏感词过滤处理,在天气评论内容不包含敏感词的情况下,服务器执行天气评论信息的入库操作,如按照天气评论信息中的citycode将该条天气评论信息插入到数据库中;在天气评论内容不包含敏感词的情况下,服务器可以直接将该天气评论信息丢弃;本次接收存储过程结束(如图4的右侧流程所示)。After the server receives the message sent by the mobile device, it first performs sensitive word filtering on the weather comment content in the message. If the weather comment content does not contain sensitive words, the server performs the operation of storing weather comment information, such Insert the weather comment information into the database according to the citycode in the weather comment information; if the weather comment content does not contain sensitive words, the server can directly discard the weather comment information; the receiving storage process ends (as shown in Figure 4 shown in the flow chart on the right).

在客户端需要获取本城市的天气评论内容时,向服务器发起请求。考虑到并发效应,为了减轻服务器的负担,服务器并不会直接从其数据库中为该请求提供相应的天气评论信息,而是利用缓存机制为该请求提供相应的天气评论信息;具体的,服务器可以为每个城市生成缓存快照,并为每个缓存快照分别动态维护缓存有效期,从而服务器可以基于缓存有效期对各缓存快照进行更新操作,这样,服务器可以直接从相应的缓存快照中为上述请求提供相应的天气评论信息。When the client needs to obtain the weather commentary content of the city, it initiates a request to the server. Considering the concurrency effect, in order to reduce the burden on the server, the server does not directly provide the corresponding weather comment information for the request from its database, but uses the cache mechanism to provide the corresponding weather comment information for the request; specifically, the server can Generate a cache snapshot for each city, and dynamically maintain the cache validity period for each cache snapshot, so that the server can update each cache snapshot based on the cache validity period. In this way, the server can provide the above request directly from the corresponding cache snapshot. weather commentary information.

上述动态维护缓存有效期的一个具体的例子为:设定服务器为一城市设置的缓存区可以存储N=100条天气评论信息,设定最近1个小时(60分钟)内该城市已经积累了X条天气评论信息,则表示每积累N条评论需要时间P,且P=(N/X)×60分钟。A specific example of the validity period of the above-mentioned dynamic maintenance cache is: set the cache area set by the server for a city to store N=100 pieces of weather comment information, set that the city has accumulated X pieces of weather comment information in the last 1 hour (60 minutes) Weather comment information means that it takes time P to accumulate N comments, and P=(N/X)×60 minutes.

考虑到特殊情况,可以对P值进行限制,即:5min<=P<=6hour;也就是说,P的最小取值为5分钟,P的最大取值为6小时(6小时以前的天气评论信息已失去了存在的意义),从而当该城市每小时积累的天气评论信息的数量超过1200条时,服务器应该将该城市对应的缓存区的缓存有效期设置为5分钟;而6小时以前的天气评论信息应从服务器中彻底删除。Considering special circumstances, the value of P can be limited, namely: 5min<=P<=6hour; that is to say, the minimum value of P is 5 minutes, and the maximum value of P is 6 hours (weather comments 6 hours ago The information has lost the meaning of existence), so when the number of weather comment information accumulated per hour in the city exceeds 1200, the server should set the cache validity period of the cache area corresponding to the city to 5 minutes; and the weather comment information 6 hours ago Comment information should be completely deleted from the server.

客户端从服务器处获取天气评论信息的过程如图5所示。The process of the client obtaining weather comment information from the server is shown in Figure 5.

图5中,客户端的操作如左侧的流程所示,具体的,在用户开机并首次启动客户端时,客户端会进行初始化操作,如为本次推送的用户发布信息的有效期(即下述的validtime)对应的定时器设置定时时长(如设置定时时长为0),如果不是用户开机后的首次启动客户端,则可以不进行初始化操作,且为本次推送的用户发布信息的有效期对应的定时器的定时时长通常为上次用户退出客户端时的定时时长;客户端检查该定时器的计时值以及当前时间与天气评论发布时间(即下述的createtime)的差值是否超过了该组天气评论信息的有效期(即下述的validtime),以判断有效期是否失效(定时器超时或者差值超过了有效期),如果有效期已经失效,则客户端向服务器发送请求消息,以请求新的天气评论信息;如果有效期没有失效,则等待该定时器超时,在定时器的计时值达到上述有效期时,返回到上述客户端检查该定时器的计时值的步骤;客户端在接收到服务器传输来的天气评论信息后,刷新其显示界面,并判断用户是否退出该客户端,如果用户没有退出客户端,则客户端根据天气评论信息中携带的本次推送的用户发布信息的有效期来设置定时器的定时时长,并到等待定时器超时的步骤;如果用户退出客户端,则客户端可以进行相应的参数保存操作,且客户端本次操作结束。In Figure 5, the operation of the client is shown in the process on the left. Specifically, when the user starts up the client and starts the client for the first time, the client will perform initialization operations, such as issuing the validity period of the information to the user this time (that is, the following validtime) corresponding to the timer setting timing duration (for example, setting the timing duration to 0), if it is not the first time the user starts the client after booting up, the initialization operation does not need to be performed, and the validity period of the information published by the user for this push corresponds to The timing duration of the timer is usually the timing duration when the user exited the client last time; the client checks whether the timing value of the timer and the difference between the current time and the weather comment release time (namely, the createtime below) exceed this set The validity period of the weather comment information (that is, the validtime below), to determine whether the validity period is invalid (the timer expires or the difference exceeds the validity period), if the validity period has expired, the client sends a request message to the server to request a new weather comment information; if the validity period has not expired, wait for the timer to expire, and when the timer’s timing value reaches the above-mentioned validity period, return to the above-mentioned steps of the client checking the timing value of the timer; the client receives the weather information transmitted by the server After the comment information, refresh its display interface and judge whether the user exits the client. If the user does not exit the client, the client sets the timing of the timer according to the validity period of the user's release information carried in the weather comment information. duration, and wait for the timer to expire; if the user exits the client, the client can perform the corresponding parameter saving operation, and the operation of the client ends.

另外,客户端在显示天气评论信息时可以以弹幕、跑马灯或者文字列表等形式来显示。以弹幕方式显示的一个具体例子如图6所示。具体的,100条天气评论信息被均匀的散落在若干条文字轨道上,这些文字信息可以按照不同的速度沿着预定轨道从屏幕的右侧滚动到屏幕的左侧。文字的滚动速度以及文字大小等可以与该条天气评论内容的字数相关。文字的颜色以及透明程度可以与该条天气评论的新旧程度相关,如最新的天气评论内容为不透明白色,而最旧的天气评论内容为半透明白色,其他时间的天气评论内容的透明程度应介于不透明白色与半透明白色之间。这样,用户可以直观地感知某条天气评论信息的实时程度。In addition, when the client displays weather commentary information, it can be displayed in the form of barrage, marquee, or text list. A specific example of displaying in the form of barrage is shown in Figure 6. Specifically, 100 pieces of weather commentary information are evenly scattered on several text tracks, and these text information can scroll from the right side of the screen to the left side of the screen along the predetermined track at different speeds. The scrolling speed and size of the text may be related to the word count of the weather comment. The color and transparency of the text can be related to the newness and oldness of the weather comment. For example, the latest weather comment is opaque white, while the oldest weather comment is translucent white. The transparency of the weather comment at other times should be between Between opaque white and translucent white. In this way, the user can intuitively perceive the real-time degree of a certain piece of weather commentary information.

图5中,服务器的操作如右侧的流程所示,具体的,服务器运行天气评论信息发布的主线程,在接收到用户发送来的请求消息后,判断用户所属城市对应的缓存区是否已失效(及缓存记录的缓存时间是否超时),如果已经失效,则服务器从数据库中获取该城市最新的100条存储记录(如果不足100条存储记录的话,则可以获取相邻城市的最新的存储记录,以凑足100条存储记录),之后,一方面应为该最新的100条存储记录设置缓存有效期,并利用最新的存储记录覆盖缓存区中存储的旧的缓存记录,另一方面,服务器应将旧的缓存记录承载在推送消息中发送给客户端,并在缓存区更新后,将新的缓存记录承载在推送消息中发送给客户端。服务器的本次推送天气评论信息的过程结束。In Figure 5, the operation of the server is shown in the process on the right. Specifically, the server runs the main thread for publishing weather commentary information. After receiving the request message sent by the user, it determines whether the cache area corresponding to the city to which the user belongs has expired. (and whether the cache time of the cache record has expired), if it has expired, the server will obtain the latest 100 storage records of the city from the database (if there are less than 100 storage records, you can obtain the latest storage records of adjacent cities, to make up 100 storage records), and then, on the one hand, set the cache validity period for the latest 100 storage records, and use the latest storage records to overwrite the old cache records stored in the cache area; on the other hand, the server should set the The old cache record is sent to the client in a push message, and after the cache area is updated, the new cache record is sent to the client in a push message. The process of the server pushing the weather commentary information is over.

其中,服务器可以将100条缓存记录以天气评论数组的形式承载在送的推送消息中,该天气评论数组的结构可以为:Among them, the server can carry 100 cache records in the sent push message in the form of an array of weather comments, and the structure of the array of weather comments can be:

comment[100],天气评论数组;comment[100], an array of weather comments;

uid:用户ID;uid: user ID;

comment:天气评论内容;comment: weather comment content;

citycode:天气评论所针对的城市编码;citycode: the city code for the weather comment;

lon,lat:移动设备在发送天气评论信息时所在的地理位置的经纬度;lon, lat: the latitude and longitude of the geographic location where the mobile device is when sending weather commentary information;

creatTime:天气评论信息发布时间;creatTime: release time of weather comment information;

extra:其他信息;extra: other information;

validtime:该组天气评论信息的有效期(即本次推送的用户发布信息的有效期);validtime: the validity period of this group of weather comment information (that is, the validity period of the information released by the user pushed this time);

timestamp:该组天气评论信息对应的缓存有效期。timestamp: The validity period of the cache corresponding to this group of weather comment information.

另外,服务器可以定期(例如每天闲时)启动线程来对其数据库进行清理操作,以删除数据库中已经过时(超过6小时)的历史数据,以保持充足的存储空间。In addition, the server can start a thread periodically (for example, when it is idle every day) to clean up its database, so as to delete outdated (more than 6 hours) historical data in the database, so as to maintain sufficient storage space.

实施例五、信息展示系统。下面结合图7对该系统进行说明。Embodiment 5, information display system. The system will be described below with reference to FIG. 7 .

图7中的信息展示系统主要包括:服务器700和与服务器700连接的至少一个终端设备710(图7中仅示意性的示出了一个终端设备710);其中的服务器700主要包括:接收模块701、存储模块702、维护模块703、消息生成模块704、发送模块705、预定存储区706以及多个缓存区707;且存储模块702与接收模块701和预定存储区706分别连接,维护模块703与预定存储区706以及多个缓存区707分别连接,消息生成模块704与多个缓存区707以及发送模块705分别连接;其中的终端设备710主要包括:获取缓存记录模块711、设置显示属性模块712以及显示模块713;且获取缓存记录模块711与设置显示属性模块712连接,显示模块713与获取缓存记录模块711以及设置显示属性模块712分别连接。The information presentation system in FIG. 7 mainly includes: a server 700 and at least one terminal device 710 connected to the server 700 (only one terminal device 710 is schematically shown in FIG. 7 ); the server 700 mainly includes: a receiving module 701 , a storage module 702, a maintenance module 703, a message generating module 704, a sending module 705, a predetermined storage area 706, and a plurality of buffer areas 707; The storage area 706 and a plurality of buffer areas 707 are respectively connected, and the message generation module 704 is respectively connected with a plurality of buffer areas 707 and a sending module 705; wherein the terminal device 710 mainly includes: an acquisition cache record module 711, a display attribute setting module 712 and a display module 713; and the obtaining cache record module 711 is connected to the setting display attribute module 712, and the display module 713 is respectively connected to the obtaining cache record module 711 and the setting display attribute module 712.

接收模块701主要适于接收来自信息发布用户的用户发布信息。The receiving module 701 is mainly adapted to receive user-published information from information-publishing users.

接收模块701接收到的用户发布信息通常包括:信息发布用户标识、用户发布的信息所针对的地区信息以及用户发布内容等。可选的,用户发布信息还可以包括:信息发布用户所在地理位置的经纬度信息和/或用户发布信息的时间戳等。The user release information received by the receiving module 701 generally includes: information release user identification, region information for which the user releases information, user release content, and the like. Optionally, the information released by the user may also include: the latitude and longitude information of the geographic location of the information publishing user and/or the time stamp of the information released by the user.

上述用户发布的信息所针对的地区信息可以具体为省标识信息,也可以为城市标识信息(citycode),还可以为城市标识信息和城市内的区标识信息等;而且用户发布的信息所针对的地区可以为信息发布用户当前所在的地区,也可以不是信息发布用户当前所在的地区,而是信息发布用户所选择的除其当前所在地区之外的其他地区(如信息发布用户的家庭所在的地区等)。The region information targeted by the information published by the above users may specifically be provincial identification information, city identification information (citycode), city identification information and district identification information within the city, etc.; and the information issued by the user is aimed at The area may be the area where the information release user is currently located, or it may not be the area where the information release user is currently located, but an area other than the current area selected by the information release user (such as the area where the information release user's family is located) wait).

上述用户发布内容可以具体为针对天气预报的评论信息、针对天气实际情况的评论信息或者针对本地区市场的商品的评论信息等等。The content posted by the above user may specifically be comment information on weather forecast, comment information on actual weather conditions, or comment information on commodities in the local market, and so on.

存储模块702主要适于将接收模块701接收到的用户发布信息存储在预定存储区706内,且预定存储区706存储的存储记录主要包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容等。上述存储记录中还可以包括:信息发布用户所在地理位置的经纬度信息等。存储模块702可以将上述存储记录以表或者数据库等形式存储在预定存储区706中。The storage module 702 is mainly adapted to store the information published by the user received by the receiving module 701 in the predetermined storage area 706, and the storage records stored in the predetermined storage area 706 mainly include: the information of the area that the information released by the user is aimed at, the information release time and User Posted Content, etc. The above-mentioned storage records may also include: latitude and longitude information of the geographic location of the information publishing user, etc. The storage module 702 may store the above-mentioned storage records in the predetermined storage area 706 in the form of a table or a database.

上述信息发布时间可以是信息发布用户发送用户发布信息的时间(即上述时间戳),也可以是接收模块701接收到用户发布信息的时间。另外,存储模块702可以对接收模块701接收到的用户发布信息进行敏感词过滤处理,以决定该用户发布信息是否可以存储在预定存储区706内,如果该用户发布信息包含敏感词,则存储模块702可以直接丢弃该用户发布信息。The above information release time may be the time when the information release user sends the user release information (that is, the above timestamp), or the time when the receiving module 701 receives the user release information. In addition, the storage module 702 can perform sensitive word filtering on the information posted by the user received by the receiving module 701 to determine whether the information posted by the user can be stored in the predetermined storage area 706. If the information posted by the user contains sensitive words, the storage module Step 702 may directly discard the information published by the user.

在将用户发布信息存储在预定存储区706的过程中,存储模块702可以按照用户发布的信息所针对的地区信息将用户发布信息插入到相应的存储位置,以使针对同一地区的用户发布信息实现连续存储;而且,在用户发布信息的存储过程中,存储模块702还可以参照信息发布时间来决定用户发布信息的存储位置,以便于使预定存储区706中存储的存储记录可以按照信息发布时间进行顺序排序。需要特别说明的是,在用户发布信息的存储过程中,存储模块702可以参照用户发布的信息所针对的地区信息和/或信息发布时间进行存储。In the process of storing the user-published information in the predetermined storage area 706, the storage module 702 can insert the user-published information into the corresponding storage location according to the area information targeted by the user-published information, so that the user-published information for the same area can be realized Continuous storage; moreover, during the storage process of the information released by the user, the storage module 702 can also refer to the information release time to determine the storage location of the user's release information, so that the storage records stored in the predetermined storage area 706 can be carried out according to the information release time Sort sequentially. It should be noted that, during the storage process of the information released by the user, the storage module 702 may store it with reference to the region information and/or the release time of the information released by the user.

由于本发明实施例中的用户发布信息具有较强的时效性,因此,存储模块702可以为预定存储区706内的各存储记录设置存储时限,从而在一条存储记录在预定存储区706内的存储时间达到其对应的预定存储时限的情况下,存储模块702会将该条存储记录从预定存储区706中删除。Since the information released by the user in the embodiment of the present invention has strong timeliness, therefore, the storage module 702 can set a storage time limit for each storage record in the predetermined storage area 706, so that when a storage record is stored in the predetermined storage area 706 When the time reaches the corresponding predetermined storage time limit, the storage module 702 will delete the stored record from the predetermined storage area 706 .

维护模块703主要适于根据预定存储区706中的存储记录为不同地区分别维护一缓存区。The maintenance module 703 is mainly adapted to maintain a cache area for different regions according to the storage records in the predetermined storage area 706 .

具体的,维护模块703所执行的维护操作主要包括:维护模块703为不同地区分别设定一适于存储用户发布信息的缓存区707,并为各缓存区707分别动态设置缓存有效期,在存在缓存有效期失效的缓存区且需要更新其中的缓存记录的情况下,维护模块703从预定存储区706中获取该有效期失效的缓存区707对应的地区的当前最新的预定数量的用户发布信息,从而维护模块703可以利用获取到的当前最新的预定数量的用户发布信息来更新该缓存有效期失效的缓存区707中的所有缓存记录。Specifically, the maintenance operation performed by the maintenance module 703 mainly includes: the maintenance module 703 respectively sets a cache area 707 suitable for storing information published by users for different regions, and dynamically sets the validity period of the cache for each cache area 707 respectively. In the case of a cache area whose validity period has expired and the cache records therein need to be updated, the maintenance module 703 obtains the latest predetermined number of user release information in the region corresponding to the cache area 707 whose validity period expires from the predetermined storage area 706, so that the maintenance module 703 may update all the cache records in the cache area 707 whose validity period of the cache has expired by using the latest predetermined amount of information released by the user.

上述动态设置缓存有效期是指针对一个缓存区707而言,该缓存区707的缓存有效期并不是一个常量,而是会随着实际情况的变化而发生变化,即本次维护模块703为该缓存区707设置的缓存有效期和上一次维护模块703为该缓存区707设置的缓存有效期很可能不相同。另外,维护模块703为不同地区设置的缓存区707的缓存空间可以相同,也可以不相同。The above dynamic setting of the cache validity period means that for a cache area 707, the cache validity period of the cache area 707 is not a constant, but will change as the actual situation changes, that is, this maintenance module 703 is the The cache validity period set in 707 is likely to be different from the cache validity period set for the cache area 707 by the maintenance module 703 last time. In addition, the cache spaces of the cache areas 707 set by the maintenance module 703 for different regions may be the same or different.

维护模块703为各缓存区707分别动态设置缓存有效期的一种失效方式为:在每次更新缓存区中的缓存记录时,维护模块703可根据不同地区的用户发布信息的发布速度以及不同地区的缓存区的缓存空间分别为各缓存区设置当前的缓存有效期,具体设置方式的一个具体例子如上述实施例一中针对公式(1)及相关内容的描述,在此不再重复说明。当然,维护模块703也可以根据不同地区的用户发布信息的流量等参数来动态设置缓存有效期。A way for the maintenance module 703 to dynamically set the validity period of the cache for each cache area 707 is: when updating the cache records in the cache area each time, the maintenance module 703 can release information according to the release speed of users in different regions and the information released by users in different regions. The cache space of the cache area sets the current cache validity period for each cache area. A specific example of the specific setting method is as described in the first embodiment above for formula (1) and related content, and will not be repeated here. Of course, the maintenance module 703 can also dynamically set the validity period of the cache according to parameters such as the flow of information published by users in different regions.

另外,在本发明实施例中,维护模块703可以在判断出缓存有效期失效时,即确定出需要更新该缓存区中的缓存记录;维护模块703也可以在接收模块701接收到信息接收用户发送来的发布信息请求消息,并判断出该信息请求消息对应的缓存区的缓存有效期已失效时,即确定出需要更新该缓存区中的缓存记录;也就是说,在接收模块701接收到来自信息接收用户的发布信息请求消息时,维护模块703判断该信息接收用户所属地区对应的缓存区707中的缓存记录在缓存区707中存储的缓存时间是否达到缓存有效期,如果缓存时间已达到缓存有效期,则维护模块703从预定存储区706中获取该地区的当前最新发布的预定数量的存储记录,并利用这些存储记录更新该地区对应的缓存区707中的所有缓存记录;而在接收模块701没有接收到信息接收用户发送来的发布信息请求消息的情况下,即便是缓存区中的缓存记录在缓存区中存储的缓存时间已经达到了缓存有效期,维护模块703也可以认为不需要更新该缓存区707中的缓存记录,而不对该缓存区707中的缓存记录进行更新。In addition, in the embodiment of the present invention, the maintenance module 703 can determine that the cache records in the cache area need to be updated when it is judged that the validity period of the cache is invalid; the maintenance module 703 can also receive the information sent by the receiving module 701 When it is determined that the cache validity period of the cache area corresponding to the information request message has expired, it is determined that the cache record in the cache area needs to be updated; When the user releases an information request message, the maintenance module 703 judges whether the cache record stored in the buffer area 707 corresponding to the area where the information is received by the user has reached the cache validity period. If the cache time has reached the cache validity period, then The maintenance module 703 obtains a predetermined number of storage records currently released in the area from the predetermined storage area 706, and uses these storage records to update all cache records in the corresponding buffer area 707 of the area; while the receiving module 701 does not receive In the case of an information release request message sent by an information receiving user, even if the cache record stored in the cache has reached the cache validity period, the maintenance module 703 may consider that there is no need to update the cache record in the cache 707. The cache records in the cache area 707 are not updated.

还有,在更新信息接收用户所述地区对应的缓存区707中的缓存记录的过程中,如果维护模块703从预定存储区706中获取到的用户发布的信息所针对的地区(如北京市的朝阳区)的当前最新存储记录的数量没有达到预定数量(如没有达到100条存储记录),则维护模块703可以根据用户发布的信息所针对的地区的相邻地区(如北京市的海淀区和/或昌平区等)从预定存储区706中获取当前最新的存储记录,以使获取到的总的存储记录达到预定数量(如达到100条存储记录)。上述相邻地区和用户发布的信息所针对的地区最好属于同一父地区。In addition, during the process of updating the cache records in the cache area 707 corresponding to the region where the information is received by the user, if the information released by the user obtained by the maintenance module 703 from the predetermined storage area 706 is targeted at the region (such as Beijing's Chaoyang District), the number of current latest storage records does not reach the predetermined number (for example, does not reach 100 storage records), then the maintenance module 703 can be based on the adjacent areas of the area targeted by the information released by the user (such as Haidian District and Beijing Municipality) (or Changping District, etc.) obtain the latest storage records from the predetermined storage area 706, so that the total number of stored records obtained reaches a predetermined number (for example, 100 storage records). It is preferable that the adjacent regions mentioned above and the regions targeted by the information published by the users belong to the same parent region.

消息生成模块704主要适于从信息接收用户所属地区对应的缓存区中获取缓存记录,并生成包含有缓存记录的推送消息。The message generating module 704 is mainly adapted to obtain cache records from the cache area corresponding to the region to which the information receiving user belongs, and generate a push message including the cache records.

具体的,在接收模块701接收到来自信息接收用户的发布信息请求消息且在维护模块703判断出该信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中的缓存时间没有达到缓存有效期的情况下,消息生成模块704可以从对应的缓存区707中获取缓存记录,并利用该获取到的缓存记录生成推送消息即可;而在接收模块701接收到来自信息接收用户的发布信息请求消息且在维护模块703判断出该信息接收用户所属地区对应的缓存区707中的缓存记录在缓存区707中的缓存时间已经达到缓存有效期的情况下,消息生成模块704可以先从对应的缓冲区(即更新前的缓存区)210中获取缓存记录,并生成推送消息;之后,在该缓存区707中的缓存记录更新后,消息生成模块704再从更新后的缓存区707中获取缓存记录,并再次生成推送消息;消息生成模块704先后生成的这两条推送消息会由发送模块705先后发送给信息接收用户。Specifically, the receiving module 701 receives an information release request message from the information receiving user and the maintenance module 703 judges that the cache time of the cache record in the cache area corresponding to the region to which the information receiving user belongs has not reached the cache validity period In the case of , the message generating module 704 can acquire the cache record from the corresponding cache area 707, and use the acquired cache record to generate a push message; and the receiving module 701 receives the release information request message from the information receiving user And when the maintenance module 703 judges that the cache record in the cache area 707 corresponding to the area to which the information receiving user belongs has reached the cache validity period, the message generation module 704 can start from the corresponding buffer zone ( That is, the cache record before updating) 210 is obtained, and a push message is generated; afterward, after the cache record in the cache area 707 is updated, the message generation module 704 obtains the cache record from the updated cache area 707, and The push message is generated again; the two push messages successively generated by the message generation module 704 will be successively sent to the information receiving user by the sending module 705 .

上述推送消息主要包括:信息发布用户标识(即用户ID)、用户发布内容、用户发布的信息所针对的地区信息、信息发布用户所在地理位置的经纬度信息、信息发布时间以及本次推送的用户发布信息的有效期等;而且,本次推送的用户发布信息的有效期最好不小于当前的缓存有效期。The above-mentioned push messages mainly include: information release user identification (ie user ID), user release content, area information for which the user releases information, latitude and longitude information of the geographical location of the information release user, information release time, and the user release of this push. The validity period of the information, etc.; moreover, the validity period of the user-published information pushed this time is preferably not less than the current cache validity period.

上述信息接收用户所属地区通常为信息接收用户当前所在的地区,当然,信息接收用户所属地区也可以为信息接收用户所选择的地区,且信息接收用户所选择的地区可以不同于信息接收用户当前所在的地区。The region to which the information receiving user belongs is usually the region where the information receiving user is currently located. Of course, the region to which the information receiving user belongs may also be the region selected by the information receiving user, and the region selected by the information receiving user may be different from the current location of the information receiving user. area.

发送模块705主要适于将消息生成模块704生成的推送消息发送给信息接收用户,以使信息接收用户可以显示推送消息中所包含的具体内容。The sending module 705 is mainly adapted to send the push message generated by the message generating module 704 to the information receiving user, so that the information receiving user can display the specific content contained in the push message.

获取缓存记录模块711主要适于从服务器700发送来的推送消息中获取各缓存记录。The obtaining cache record module 711 is mainly adapted to obtain each cache record from the push message sent by the server 700 .

具体的,获取缓存记录模块711可以从推送消息中获取信息发布用户标识(即用户ID)、用户发布内容、用户发布的信息所针对的地区信息、信息发布用户所在地理位置的经纬度信息以及信息发布时间。Specifically, the obtaining cache record module 711 may obtain information publishing user identification (ie, user ID), content published by the user, region information for which the information is published by the user, latitude and longitude information of the geographic location of the information publishing user, and information publishing information from the push message. time.

设置显示属性模块712主要适于根据获取缓存记录模块711获取的各缓存记录中的信息发布时间分别设置各缓存记录的显示属性。The display attribute setting module 712 is mainly adapted to respectively set the display attribute of each cache record according to the release time of information in each cache record acquired by the acquire cache record module 711 .

具体的,上述显示属性可以为透明度;当然,上述显示属性也可以为其他形式,如字体大小、字体颜色的鲜艳程度以及字体线条的粗细程度等其中的至少一个。Specifically, the above-mentioned display attribute may be transparency; of course, the above-mentioned display attribute may also be in other forms, such as at least one of font size, font color vividness, and font line thickness.

在显示属性为透明度的情况下,设置显示属性模块712应根据信息发布时间和当前时间的差值来设置信息的透明度数值,且设置出的透明度数值应和上述差值成比例;也就是说,设置显示属性模块712所设置出的效果应呈现出越新的用户发布内容其显示效果越不透明,而越老的用户发布内容其显示效果越透明这一特点。In the case that the display attribute is transparency, the setting display attribute module 712 should set the transparency value of the information according to the difference between the information release time and the current time, and the set transparency value should be proportional to the above difference; that is, The effect set by the display attribute setting module 712 should show that the display effect of the content posted by the newer user is more opaque, and the display effect of the content posted by the older user is more transparent.

一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间且透明度的取值越大表示越透明的情况下,如果信息发布时间和当前时间的差值越小,则设置显示属性模块712应将对应的用户发布内容的透明度数值设置的越小,反之,如果信息发布时间和当前时间的差值越大,则设置显示属性模块712应将对应的用户发布内容的透明度数值设置的越大;即上述时间的差值应与设置显示属性模块712所设置的用户发布内容的透明度数值成正比。As a specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more transparent it is, if the difference between the information release time and the current time is smaller, set The display attribute module 712 should set the transparency value of the content posted by the corresponding user to be smaller. On the contrary, if the difference between the information release time and the current time is larger, the display attribute module 712 should set the transparency value of the content posted by the corresponding user to The larger the setting is; that is, the above-mentioned time difference should be proportional to the transparency value of the content posted by the user set by the display attribute setting module 712 .

另一个具体的例子,在透明度的取值范围为0.5(半透明)至1之间且透明度的取值越大表示越不透明的情况下,如果信息发布时间和当前时间的差值越小,则设置显示属性模块712应将对应的用户发布内容的透明度数值设置的越大,反之,如果信息发布时间和当前时间的差值越大,则设置显示属性模块712应将对应的用户发布内容的透明度数值设置的越小;即上述时间的差值应与设置显示属性模块712所设置的用户发布内容的透明度数值成反比。Another specific example, when the value of transparency ranges from 0.5 (semi-transparent) to 1, and the greater the value of transparency, the more opaque it is, if the difference between the information release time and the current time is smaller, then The display attribute setting module 712 should set the greater the transparency value of the content posted by the corresponding user. On the contrary, if the difference between the information release time and the current time is larger, the display attribute setting module 712 should set the transparency value of the content posted by the corresponding user to The smaller the value is set; that is, the above-mentioned time difference should be inversely proportional to the transparency value of the content posted by the user set by the display attribute setting module 712 .

显示模块713主要适于根据各缓存记录的显示属性展示各缓存记录中的信息。The display module 713 is mainly adapted to display the information in each cache record according to the display attributes of each cache record.

具体的,显示模块713可以采用弹幕方式或者跑马灯方式或者文字列表方式等多种形式进行各条信息的展示,如显示模块713向用户展示出的各条用户发布内容可以呈现出不同的透明度;由于越新的用户发布内容其显示效果越不透明,而越老的用户发布内容其显示效果越透明,因此,越新的用户发布内容越容易引起用户的关注,而越老的用户发布内容越不容易引起用户的关注,这对于时效性较强的用户发布内容而言,可以有效的突出用户发布内容的时间特性。Specifically, the display module 713 can display various pieces of information in various forms such as barrage, marquee, or text list. For example, the content posted by the user displayed by the display module 713 to the user can show different transparency. ; Since the display effect of the content posted by the newer user is more opaque, and the content posted by the older user is more transparent, therefore, the content posted by the newer user is easier to attract the attention of the user, while the content posted by the older user is more It is not easy to attract the attention of users, which can effectively highlight the time characteristics of user-published content for highly time-sensitive user-published content.

一个具体的例子,显示模块713将各用户发布内容分设在多条文字轨道上,并设置各条文字轨道的滚动速度,这样,各用户发布内容会按照其所在文字轨道对应的预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示,从而形成可以有效突出各用户发布内容的时间属性的弹幕展示方式。As a specific example, the display module 713 divides the content posted by each user on multiple text tracks, and sets the scrolling speed of each text track, so that the content posted by each user will be displayed according to the predetermined scrolling speed corresponding to the text track where it is located. The text track where it is located is scrolled and displayed with corresponding transparency, thus forming a barrage display method that can effectively highlight the time attribute of the content posted by each user.

A1、一种信息展示方法,其包括:A1. An information display method, which includes:

获取需要展示的多条信息;Obtain multiple pieces of information that need to be displayed;

获取各条信息的时间属性;Obtain the time attribute of each piece of information;

根据所述各条信息的时间属性分别设置所述各条信息的显示属性;Setting the display attributes of each piece of information respectively according to the time attribute of each piece of information;

根据所述各条信息的显示属性展示所述各条信息。The various pieces of information are displayed according to the display attributes of the various pieces of information.

A2、如A1所述的方法,其中,所述显示属性包括:透明度;A2. The method as described in A1, wherein the display attributes include: transparency;

且所述信息的时间属性所表示出的时间和当前时间的差值与所述信息的透明度数值成比例。And the difference between the time indicated by the time attribute of the information and the current time is proportional to the transparency value of the information.

A3、如A2所述的方法,其中,所述展示所述各条信息包括:A3. The method as described in A2, wherein the displaying the pieces of information includes:

将所述各条信息分设在多条文字轨道上,所述各条信息按照预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示。The various pieces of information are divided into multiple text tracks, and the various pieces of information are scrolled and displayed on the text tracks where they are located at a predetermined scrolling speed with corresponding transparency.

A4、如A1或A2或A3所述的方法,其中,所述获取需要展示的多条信息包括:A4. The method as described in A1 or A2 or A3, wherein the acquisition of multiple pieces of information to be displayed includes:

接收服务器传输来的推送消息,并从所述推送消息中获取多条用户发布信息;receiving a push message transmitted by the server, and obtaining multiple pieces of user release information from the push message;

且所述信息的时间属性包括:用户发布信息的发布时间。And the time attribute of the information includes: the release time of the information released by the user.

A5、一种信息展示装置,其包括:A5. An information display device comprising:

获取信息模块,适于获取需要展示的多条信息;Obtain information module, suitable for obtaining multiple pieces of information that need to be displayed;

获取时间模块,适于获取各条信息的时间属性;Obtaining a time module, suitable for obtaining the time attribute of each piece of information;

设置属性模块,适于根据所述各条信息的时间属性分别设置所述各条信息的显示属性;An attribute setting module, adapted to respectively set the display attributes of each piece of information according to the time attribute of each piece of information;

显示模块,适于根据所述各条信息的显示属性展示所述各条信息。The display module is adapted to display the various pieces of information according to the display attributes of the various pieces of information.

A6、如A5所述的装置,其中,所述显示属性包括:透明度;A6. The device according to A5, wherein the display attributes include: transparency;

且所述信息的时间属性所表示出的时间和当前时间的差值与所述信息的透明度数值成比例。And the difference between the time indicated by the time attribute of the information and the current time is proportional to the transparency value of the information.

A7、如A6所述的装置,其中,所述显示模块还适于:A7. The device according to A6, wherein the display module is further adapted to:

将所述各条信息分设在多条文字轨道上,所述各条信息按照预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示。The various pieces of information are divided into multiple text tracks, and the various pieces of information are scrolled and displayed on the text tracks where they are located at a predetermined scrolling speed with corresponding transparency.

A8、如A5或A6或A7所述的装置,其中,所述获取信息模块还适于:A8. The device as described in A5 or A6 or A7, wherein the information acquisition module is further adapted to:

接收服务器传输来的推送消息,并从所述推送消息中获取多条用户发布信息;且所述信息的时间属性包括:用户发布信息的发布时间。receiving a push message transmitted by the server, and obtaining multiple pieces of user release information from the push message; and the time attribute of the information includes: release time of the user release information.

B9、一种信息展示方法,其包括:B9. A method for displaying information, comprising:

接收来自信息发布用户的用户发布信息;Receive user-published information from information-publishing users;

将所述用户发布信息存储在预定存储区内,且所述预定存储区存储的存储记录包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容;storing the information released by the user in a predetermined storage area, and the storage records stored in the predetermined storage area include: information on the region to which the information released by the user is targeted, information release time, and user release content;

根据所述预定存储区中的存储记录为不同地区分别维护一缓存区,且所述维护包括:为各缓存区分别动态设置缓存有效期,在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录;Maintain a cache area for different regions according to the storage records in the predetermined storage area, and the maintenance includes: dynamically setting the cache validity period for each cache area, and when it is necessary to update the cache record in the cache area whose cache validity period expires, Obtaining user release information in the corresponding region from the predetermined storage area, so as to update the cache record in the cache area where the validity period of the cache expires;

从信息接收用户所属地区对应的缓存区中获取缓存记录并生成包含有所述缓存记录的推送消息;Obtain the cache record from the cache area corresponding to the region to which the information receiving user belongs and generate a push message containing the cache record;

将所述推送消息发送给所述信息接收用户;sending the push message to the information receiving user;

信息接收用户从接收到的推送消息中获取所有的缓存记录;The information receiving user obtains all cache records from the received push message;

信息接收用户根据所述所有的缓存记录中的信息发布时间分别设置所述所有的缓存记录的显示属性;The information receiving user sets the display attributes of all the cache records respectively according to the information release time in all the cache records;

根据所述所有的缓存记录的显示属性展示所有的缓存记录中的信息。The information in all cache records is displayed according to the display attributes of all cache records.

B10、如B9所述的方法,其中,所述为各缓存区分别动态设置缓存有效期包括:B10, the method as described in B9, wherein, described respectively for each cache area dynamic setting cache valid period comprises:

根据不同地区的用户发布信息的发布速度以及不同地区的缓存区的缓存空间分别为各缓存区动态设置缓存有效期。According to the release speed of information released by users in different regions and the cache space of the cache areas in different regions, the cache validity period is dynamically set for each cache area.

B11、如B10所述的方法,其中,所述根据不同地区的用户发布信息的发布速度以及不同地区的缓存区的缓存空间分别为各缓存区动态设置缓存有效期包括:B11, the method as described in B10, wherein, according to the publishing speed of the information released by users in different regions and the buffer space of the buffer regions in different regions, dynamically setting the cache validity period for each buffer region respectively includes:

设定一地区对应的缓存区的缓存空间为存储N条缓存记录所需的缓存空间,且在预定时间间隔T内该地区的用户发布信息的当前发布数量为X条,则将该地区对应的缓存区的缓存有效期动态设置为P,且P=(N/X)T;Set the cache space of the cache area corresponding to a region as the cache space required to store N cache records, and the current number of information published by users in this region within a predetermined time interval T is X, then the region corresponding to The cache validity period of the cache area is dynamically set to P, and P=(N/X)T;

其中,N为大于零的整数,且P在小于最小缓存有效期时,将P的取值调整为最小缓存有效期,P在大于最大缓存有效期时,将P的取值调整为最大缓存有效期。Wherein, N is an integer greater than zero, and when P is less than the minimum cache validity period, the value of P is adjusted to the minimum cache validity period, and when P is greater than the maximum cache validity period, the value of P is adjusted to the maximum cache validity period.

B12、如B9所述的方法,其中,所述在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录包括:B12. The method as described in B9, wherein, when it is necessary to update the cache records in the cache area where the validity period of the cache expires, the information released by users in the corresponding region is obtained from the predetermined storage area to update the expiration date of the cache The cache records in the cache area include:

在接收到来自信息接收用户的发布信息请求消息时,判断所述信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中的缓存时间是否达到缓存有效期,如果缓存时间达到缓存有效期,则从所述预定存储区中获取相应地区的发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录。When receiving the release information request message from the information receiving user, it is judged whether the cache time of the cache record in the buffer area corresponding to the region to which the information receiving user belongs reaches the cache validity period, and if the cache time reaches the cache validity period, then The release information of the corresponding area is obtained from the predetermined storage area, so as to update the cache record in the cache area whose validity period of the cache expires.

B13、如B12所述的方法,其中,所述从与信息接收用户所属地区相关联的缓存区中获取缓存记录并生成包含有所述缓存记录的推送消息包括:B13. The method as described in B12, wherein said obtaining the cache record from the cache area associated with the region to which the information receiving user belongs and generating a push message containing the cache record comprises:

在接收到来自信息接收用户的发布信息请求消息且在判断出所述信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中的缓存时间达到缓存有效期的情况下,从更新前的缓存区中获取缓存记录并生成推送消息;之后,从更新后的缓存区中获取缓存记录并再次生成推送消息。When receiving an information release request message from an information receiving user and judging that the cache record in the cache corresponding to the region to which the information receiving user belongs has reached the cache validity period, the cache before updating Obtain cache records from the cache area and generate a push message; after that, acquire cache records from the updated cache area and generate a push message again.

B14、如B9所述的方法,其中,所述从所述预定存储区中获取相应地区的用户发布信息包括:B14. The method as described in B9, wherein said obtaining user release information in the corresponding region from the predetermined storage area includes:

根据所述信息接收用户所属地区从预定存储区中获取预定数量的最新存储记录,且在本次获取到的最新存储记录的数量没有达到预定数量的情况下,根据所述信息接收用户所属地区的相邻地区从预定存储区中获取最新存储记录,以使获取的总的存储记录达到所述预定数量。Acquire a predetermined number of latest stored records from a predetermined storage area according to the area to which the user belongs according to the information, and if the number of the latest stored records acquired this time does not reach the predetermined number, receive the information of the area to which the user belongs according to the information The adjacent area obtains the latest storage records from the predetermined storage area, so that the total storage records obtained reach the predetermined number.

B15、如B9所述的方法,其中,所述推送消息包括:发布信息的用户ID、用户发布内容、用户发布的信息所针对的地区信息、信息发布时间以及本次推送的用户发布信息的有效期。B15. The method as described in B9, wherein the push message includes: the ID of the user who released the information, the content published by the user, the area information for which the information released by the user, the time of information release, and the validity period of the information released by the user pushed this time .

B16、如B15所述的方法,其中,所述方法还包括:B16, the method as described in B15, wherein, described method also comprises:

信息接收用户在接收到所述推送消息后,针对所述推送消息中的本次推送的用户发布信息的有效期进行计时,并在计时值达到本次推送的用户发布信息的有效期且所述信息接收用户仍持续处于运行状态下,所述信息接收用户生成推送用户发布信息请求消息并发送。After receiving the push message, the information receiving user counts the validity period of the information released by the user pushed this time in the push message, and when the timing value reaches the validity period of the information released by the user pushed this time and the information is received When the user is still in the running state, the information receiving user generates and sends a push user release information request message.

B17、如B15所述的方法,其中,所述方法还包括:B17, the method as described in B15, wherein, described method also comprises:

信息接收用户在确定出信息接收用户退出后又再次运行,且确定出当前时间与其前次接收到的推送消息中的信息发布时间的时间差达到本次推送的用户发布信息的有效期时,所述信息接收用户生成推送发布信息请求消息并发送。When the information receiving user confirms that the information receiving user quits and runs again, and determines that the time difference between the current time and the information release time in the push message received last time reaches the validity period of the user's release information pushed this time, the information The receiving user generates a push release information request message and sends it.

B18、如B9至B17中任一所述的方法,其中,所述方法还包括:B18. The method according to any one of B9 to B17, wherein the method further comprises:

所述预定存储区内的各存储记录在其存储时间达到预定存储时限时,被删除。Each storage record in the predetermined storage area is deleted when its storage time reaches the predetermined storage time limit.

B19、如B9至B17中任一所述的方法,其中,所述方法还包括:B19. The method according to any one of B9 to B17, wherein the method further comprises:

提供用户发布信息的纠错窗口,且所述信息接收用户/信息发布用户在通过所述用户发布信息纠错窗口接收到用户输入的纠错信息后,产生用户发布信息,并发送。Provide an error correction window for user release information, and the information receiving user/information release user generates user release information and sends it after receiving the error correction information input by the user through the user release information error correction window.

C20、一种信息展示系统,其包括:C20, an information display system, which includes:

接收模块,设置于服务器中,适于接收来自信息发布用户的用户发布信息;The receiving module is set in the server and is suitable for receiving user-published information from information-publishing users;

存储模块,设置于服务器中,适于将所述用户发布信息存储在预定存储区内,且所述预定存储区存储的存储记录包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容;The storage module is set in the server and is adapted to store the information released by the user in a predetermined storage area, and the storage records stored in the predetermined storage area include: information on the area targeted by the information released by the user, information release time, and user publish content;

维护模块,设置于服务器中,适于根据所述预定存储区中的存储记录为不同地区分别维护一缓存区,且所述维护包括:为各缓存区分别动态设置缓存有效期,在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录;The maintenance module is arranged in the server and is adapted to maintain a cache area for different regions according to the storage records in the predetermined storage area, and the maintenance includes: dynamically setting the validity period of the cache for each cache area, and updating the validity period of the cache when necessary When the cache record in the invalid cache area is obtained, the user release information in the corresponding region is obtained from the predetermined storage area, so as to update the cache record in the cache area whose validity period of the cache expires;

消息生成模块,设置于服务器中,适于从信息接收用户所属地区对应的缓存区中获取缓存记录并生成包含有所述缓存记录的推送消息;The message generation module is set in the server and is adapted to obtain cache records from the cache area corresponding to the region to which the information receiving user belongs and generate a push message containing the cache records;

发送模块,设置于服务器中,适于将所述推送消息发送给所述信息接收用户;The sending module is set in the server and is suitable for sending the push message to the information receiving user;

获取缓存记录模块,设置于终端设备中,适于从信息接收用户接收到的推送消息中获取所有的缓存记录;The obtaining cache record module is set in the terminal device and is suitable for obtaining all cache records from the push message received by the information receiving user;

设置显示属性模块,设置于终端设备中,适于根据所述所有的缓存记录中的信息发布时间分别设置所述所有的缓存记录的显示属性;The display attribute setting module is set in the terminal device and is suitable for setting the display attributes of all the cache records respectively according to the information release time in all the cache records;

显示模块,设置于终端设备中,适于根据所述所有的缓存记录的显示属性展示所有的缓存记录中的信息。The display module is set in the terminal device and is adapted to display the information in all the cache records according to the display attributes of all the cache records.

C21、如C20所述的系统,其中,所述为各缓存区分别动态设置缓存有效期包括:C21. The system as described in C20, wherein the dynamic setting of the cache validity period for each cache area includes:

所述维护模块根据不同地区的用户发布信息的发布速度以及不同地区的缓存区的缓存空间分别为各缓存区动态设置缓存有效期。The maintenance module dynamically sets the cache validity period for each cache area according to the publishing speed of user information in different areas and the cache space of the cache areas in different areas.

C22、如C20所述的系统,其中,所述维护模块根据不同地区的用户发布信息的发布速度以及不同地区的缓存区的缓存空间分别为各缓存区动态设置缓存有效期包括:C22. The system as described in C20, wherein, the maintenance module dynamically sets the validity period of the cache for each cache area according to the release speed of the information released by users in different regions and the cache space of the cache areas in different regions, including:

所述维护模块设定一地区对应的缓存区的缓存空间为存储N条缓存记录所需的缓存空间,且在预定时间间隔T内该地区的用户发布信息的当前发布数量为X条,则所述维护模块将该地区对应的缓存区的缓存有效期动态设置为P,且P=(N/X)T;The maintenance module sets the cache space of the cache area corresponding to a region as the cache space required to store N cache records, and the current number of information released by users in this region within the predetermined time interval T is X, then the The above maintenance module dynamically sets the cache validity period of the corresponding cache area to P, and P=(N/X)T;

其中,N为大于零的整数,且P在小于最小缓存有效期时,将P的取值调整为最小缓存有效期,P在大于最大缓存有效期时,将P的取值调整为最大缓存有效期。Wherein, N is an integer greater than zero, and when P is less than the minimum cache validity period, the value of P is adjusted to the minimum cache validity period, and when P is greater than the maximum cache validity period, the value of P is adjusted to the maximum cache validity period.

C23、如C20所述的系统,其中,所述在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录包括:C23. The system as described in C20, wherein when it is necessary to update the cache record in the cache area where the validity period of the cache expires, the information published by the user in the corresponding region is obtained from the predetermined storage area to update the expiration date of the cache The cache records in the cache area include:

在所述接收模块接收到来自信息接收用户的发布信息请求消息时,维护模块判断所述信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中的缓存时间是否达到缓存有效期,如果缓存时间达到缓存有效期,则维护模块从所述预定存储区中获取相应地区的发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录。When the receiving module receives the release information request message from the information receiving user, the maintenance module judges whether the cache record in the cache area corresponding to the region to which the information receiving user belongs has reached the cache validity period. When the time reaches the validity period of the cache, the maintenance module obtains the release information of the corresponding area from the predetermined storage area, so as to update the cache record in the cache area whose validity period of the cache expires.

C24、如C23所述的系统,其中,所述发布模块还适于:C24. The system as described in C23, wherein the publishing module is further adapted to:

在所述接收模块接收到来自信息接收用户的发布信息请求消息且在维护模块判断出所述信息接收用户所属地区对应的缓存区中的缓存记录在缓存区中的缓存时间达到缓存有效期的情况下,消息生成模块从更新前的缓存区中获取缓存记录并生成推送消息;之后,消息生成模块从更新后的缓存区中获取缓存记录并再次生成推送消息。When the receiving module receives an information release request message from the information receiving user and the maintenance module judges that the cache record in the cache corresponding to the region to which the information receiving user belongs has a cache time that reaches the cache validity period , the message generation module obtains the cache record from the cache area before updating and generates a push message; after that, the message generation module obtains the cache record from the updated cache area and generates a push message again.

C25、如C20所述的系统,其中,所述从所述预定存储区中获取相应地区的用户发布信息包括:C25. The system as described in C20, wherein said obtaining the user release information of the corresponding region from the predetermined storage area includes:

所述维护模块根据所述信息接收用户所属地区从预定存储区中获取预定数量的最新存储记录,且在本次获取到的最新存储记录的数量没有达到预定数量的情况下,根据所述信息接收用户所属地区的相邻地区从预定存储区中获取最新存储记录,以使获取的总的存储记录达到所述预定值。The maintenance module obtains a predetermined number of latest stored records from a predetermined storage area according to the area to which the information receiving user belongs, and if the number of the latest stored records acquired this time does not reach the predetermined number, according to the information received The adjacent regions of the user's region obtain the latest stored records from the predetermined storage area, so that the total stored records obtained reach the predetermined value.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings), as well as any method or method so disclosed, may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的信息展示装置和系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the information display device and system according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是,上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, third, etc. does not indicate any order. These words can be interpreted as names.

Claims (10)

1.一种信息展示方法,其包括:1. A method for displaying information, comprising: 获取需要展示的多条信息;Obtain multiple pieces of information that need to be displayed; 获取各条信息的时间属性;Obtain the time attribute of each piece of information; 根据所述各条信息的时间属性分别设置所述各条信息的显示属性;Setting the display attributes of each piece of information respectively according to the time attribute of each piece of information; 根据所述各条信息的显示属性展示所述各条信息。The various pieces of information are displayed according to the display attributes of the various pieces of information. 2.如权利要求1所述的方法,其中,所述显示属性包括:透明度;2. The method of claim 1, wherein the display attributes comprise: transparency; 且所述信息的时间属性所表示出的时间和当前时间的差值与所述信息的透明度数值成比例。And the difference between the time indicated by the time attribute of the information and the current time is proportional to the transparency value of the information. 3.如权利要求2所述的方法,其中,所述展示所述各条信息包括:3. The method according to claim 2, wherein said displaying said pieces of information comprises: 将所述各条信息分设在多条文字轨道上,所述各条信息按照预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示。The various pieces of information are divided into multiple text tracks, and the various pieces of information are scrolled and displayed on the text tracks where they are located at a predetermined scrolling speed with corresponding transparency. 4.如权利要求1或2或3所述的方法,其中,所述获取需要展示的多条信息包括:4. The method according to claim 1, 2 or 3, wherein said obtaining multiple pieces of information to be displayed comprises: 接收服务器传输来的推送消息,并从所述推送消息中获取多条用户发布信息;receiving a push message transmitted by the server, and obtaining multiple pieces of user release information from the push message; 且所述信息的时间属性包括:用户发布信息的发布时间。And the time attribute of the information includes: the release time of the information released by the user. 5.一种信息展示装置,其包括:5. An information display device, comprising: 获取信息模块,适于获取需要展示的多条信息;Obtain information module, suitable for obtaining multiple pieces of information that need to be displayed; 获取时间模块,适于获取各条信息的时间属性;Obtaining a time module, suitable for obtaining the time attribute of each piece of information; 设置属性模块,适于根据所述各条信息的时间属性分别设置所述各条信息的显示属性;An attribute setting module, adapted to respectively set the display attributes of each piece of information according to the time attribute of each piece of information; 显示模块,适于根据所述各条信息的显示属性展示所述各条信息。The display module is adapted to display the various pieces of information according to the display attributes of the various pieces of information. 6.如权利要求5所述的装置,其中,所述显示属性包括:透明度;6. The apparatus of claim 5, wherein the display properties comprise: transparency; 且所述信息的时间属性所表示出的时间和当前时间的差值与所述信息的透明度数值成比例。And the difference between the time indicated by the time attribute of the information and the current time is proportional to the transparency value of the information. 7.如权利要求6所述的装置,其中,所述显示模块还适于:7. The apparatus of claim 6, wherein the display module is further adapted to: 将所述各条信息分设在多条文字轨道上,所述各条信息按照预定的滚动速度在其所在的文字轨道上以相应的透明度滚动展示。The various pieces of information are divided into multiple text tracks, and the various pieces of information are scrolled and displayed on the text tracks where they are located at a predetermined scrolling speed with corresponding transparency. 8.如权利要求5或6或7所述的装置,其中,所述获取信息模块还适于:8. The device according to claim 5 or 6 or 7, wherein the information acquisition module is further adapted to: 接收服务器传输来的推送消息,并从所述推送消息中获取多条用户发布信息;且所述信息的时间属性包括:用户发布信息的发布时间。receiving a push message transmitted by the server, and obtaining multiple pieces of user release information from the push message; and the time attribute of the information includes: release time of the user release information. 9.一种信息展示方法,其包括:9. A method for displaying information, comprising: 接收来自信息发布用户的用户发布信息;Receive user-published information from information-publishing users; 将所述用户发布信息存储在预定存储区内,且所述预定存储区存储的存储记录包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容;storing the information released by the user in a predetermined storage area, and the storage records stored in the predetermined storage area include: information on the region to which the information released by the user is targeted, information release time, and user release content; 根据所述预定存储区中的存储记录为不同地区分别维护一缓存区,且所述维护包括:为各缓存区分别动态设置缓存有效期,在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录;Maintain a cache area for different regions according to the storage records in the predetermined storage area, and the maintenance includes: dynamically setting the cache validity period for each cache area, and when it is necessary to update the cache record in the cache area whose cache validity period expires, Obtaining user release information in the corresponding region from the predetermined storage area, so as to update the cache record in the cache area where the validity period of the cache expires; 从信息接收用户所属地区对应的缓存区中获取缓存记录并生成包含有所述缓存记录的推送消息;Obtain the cache record from the cache area corresponding to the region to which the information receiving user belongs and generate a push message containing the cache record; 将所述推送消息发送给所述信息接收用户;sending the push message to the information receiving user; 信息接收用户从接收到的推送消息中获取所有的缓存记录;The information receiving user obtains all cache records from the received push message; 信息接收用户根据所述所有的缓存记录中的信息发布时间分别设置所述所有的缓存记录的显示属性;The information receiving user sets the display attributes of all the cache records respectively according to the information release time in all the cache records; 根据所述所有的缓存记录的显示属性展示所有的缓存记录中的信息。The information in all cache records is displayed according to the display attributes of all cache records. 10.一种信息展示系统,其包括:10. An information display system, comprising: 接收模块,设置于服务器中,适于接收来自信息发布用户的用户发布信息;The receiving module is set in the server and is suitable for receiving user-published information from information-publishing users; 存储模块,设置于服务器中,适于将所述用户发布信息存储在预定存储区内,且所述预定存储区存储的存储记录包括:用户发布的信息所针对的地区信息、信息发布时间以及用户发布内容;The storage module is set in the server and is adapted to store the information released by the user in a predetermined storage area, and the storage records stored in the predetermined storage area include: information on the area targeted by the information released by the user, information release time, and user publish content; 维护模块,设置于服务器中,适于根据所述预定存储区中的存储记录为不同地区分别维护一缓存区,且所述维护包括:为各缓存区分别动态设置缓存有效期,在需要更新缓存有效期失效的缓存区中的缓存记录时,从所述预定存储区中获取相应地区的用户发布信息,以更新所述缓存有效期失效的缓存区中的缓存记录;The maintenance module is arranged in the server and is adapted to maintain a cache area for different regions according to the storage records in the predetermined storage area, and the maintenance includes: dynamically setting the validity period of the cache for each cache area, and updating the validity period of the cache when necessary When the cache record in the invalid cache area is obtained, the user release information in the corresponding region is obtained from the predetermined storage area, so as to update the cache record in the cache area whose validity period of the cache expires; 消息生成模块,设置于服务器中,适于从信息接收用户所属地区对应的缓存区中获取缓存记录并生成包含有所述缓存记录的推送消息;The message generation module is set in the server and is adapted to obtain cache records from the cache area corresponding to the region to which the information receiving user belongs and generate a push message containing the cache records; 发送模块,设置于服务器中,适于将所述推送消息发送给所述信息接收用户;The sending module is set in the server and is suitable for sending the push message to the information receiving user; 获取缓存记录模块,设置于终端设备中,适于从信息接收用户接收到的推送消息中获取所有的缓存记录;The obtaining cache record module is set in the terminal device and is suitable for obtaining all cache records from the push message received by the information receiving user; 设置显示属性模块,设置于终端设备中,适于根据所述所有的缓存记录中的信息发布时间分别设置所述所有的缓存记录的显示属性;The display attribute setting module is set in the terminal device and is suitable for setting the display attributes of all the cache records respectively according to the information release time in all the cache records; 显示模块,设置于终端设备中,适于根据所述所有的缓存记录的显示属性展示所有的缓存记录中的信息。The display module is set in the terminal device and is adapted to display the information in all the cache records according to the display attributes of all the cache records.
CN201310471227.XA 2013-10-10 2013-10-10 information display method, device and system Active CN103500218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310471227.XA CN103500218B (en) 2013-10-10 2013-10-10 information display method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310471227.XA CN103500218B (en) 2013-10-10 2013-10-10 information display method, device and system

Publications (2)

Publication Number Publication Date
CN103500218A true CN103500218A (en) 2014-01-08
CN103500218B CN103500218B (en) 2017-05-10

Family

ID=49865429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310471227.XA Active CN103500218B (en) 2013-10-10 2013-10-10 information display method, device and system

Country Status (1)

Country Link
CN (1) CN103500218B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143000A (en) * 2014-08-01 2014-11-12 可牛网络技术(北京)有限公司 Information displaying method and device
CN104216867A (en) * 2014-08-11 2014-12-17 联想(北京)有限公司 Information processing method and electronic equipment
CN104240096A (en) * 2014-08-27 2014-12-24 小米科技有限责任公司 Information display method and device and electronic equipment
CN104767832A (en) * 2015-04-30 2015-07-08 西安电子科技大学 A display screen interactive display method
CN104869437A (en) * 2015-03-20 2015-08-26 四川长虹电器股份有限公司 Digital television conditional access-based bidirectional terminal barrage realizing method
CN105205164A (en) * 2015-09-30 2015-12-30 北京奇虎科技有限公司 Comment information interaction method and device as well as information interaction method and device
CN105916057A (en) * 2016-04-18 2016-08-31 乐视控股(北京)有限公司 Video barrage display method and device
CN106156240A (en) * 2015-04-27 2016-11-23 北京智谷睿拓技术服务有限公司 Information processing method, information processor and subscriber equipment
CN106210288A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Short message display method and device
CN106227819A (en) * 2016-07-22 2016-12-14 乐视控股(北京)有限公司 A kind of method and device obtaining comment data
CN106302095A (en) * 2015-06-04 2017-01-04 深圳市腾讯计算机系统有限公司 A kind of message display control method, device and terminal
CN106469165A (en) * 2015-08-18 2017-03-01 腾讯科技(深圳)有限公司 Barrage methods of exhibiting and barrage exhibiting device
CN106792248A (en) * 2016-12-28 2017-05-31 广州华多网络科技有限公司 A kind of methods of exhibiting and device of living broadcast interactive information
CN107885561A (en) * 2016-09-30 2018-04-06 阿里巴巴集团控股有限公司 The method and device of message interface information is provided
CN107911751A (en) * 2017-11-10 2018-04-13 深圳市华阅文化传媒有限公司 Read the voice interface method and apparatus of word content
CN108268198A (en) * 2017-03-14 2018-07-10 广州市动景计算机科技有限公司 The method and device of interactive information showing
CN108305051A (en) * 2018-02-09 2018-07-20 网易(杭州)网络有限公司 Mail methods of exhibiting, medium, system and electronic equipment
WO2018157720A1 (en) * 2017-03-01 2018-09-07 腾讯科技(深圳)有限公司 Method and device for processing instant communication information
CN114912049A (en) * 2022-05-17 2022-08-16 维沃移动通信有限公司 Information display method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7971136B2 (en) * 2007-03-21 2011-06-28 Endless Spaces Ltd. System and method for dynamic message placement
CN102843306B (en) * 2011-06-21 2016-06-22 腾讯科技(深圳)有限公司 Micro-blog information dissemination method and system

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143000A (en) * 2014-08-01 2014-11-12 可牛网络技术(北京)有限公司 Information displaying method and device
CN104216867A (en) * 2014-08-11 2014-12-17 联想(北京)有限公司 Information processing method and electronic equipment
CN104216867B (en) * 2014-08-11 2018-08-07 联想(北京)有限公司 Information processing method and electronic equipment
CN104240096A (en) * 2014-08-27 2014-12-24 小米科技有限责任公司 Information display method and device and electronic equipment
CN104869437A (en) * 2015-03-20 2015-08-26 四川长虹电器股份有限公司 Digital television conditional access-based bidirectional terminal barrage realizing method
CN104869437B (en) * 2015-03-20 2018-01-12 四川长虹电器股份有限公司 Bidirectional terminal barrage implementation method based on Conditional Access of Digital Television
CN106156240B (en) * 2015-04-27 2020-07-28 北京智谷睿拓技术服务有限公司 Information processing method, information processing device and user equipment
CN106156240A (en) * 2015-04-27 2016-11-23 北京智谷睿拓技术服务有限公司 Information processing method, information processor and subscriber equipment
CN104767832A (en) * 2015-04-30 2015-07-08 西安电子科技大学 A display screen interactive display method
CN106302095A (en) * 2015-06-04 2017-01-04 深圳市腾讯计算机系统有限公司 A kind of message display control method, device and terminal
CN106469165A (en) * 2015-08-18 2017-03-01 腾讯科技(深圳)有限公司 Barrage methods of exhibiting and barrage exhibiting device
CN105205164A (en) * 2015-09-30 2015-12-30 北京奇虎科技有限公司 Comment information interaction method and device as well as information interaction method and device
CN105916057A (en) * 2016-04-18 2016-08-31 乐视控股(北京)有限公司 Video barrage display method and device
CN106210288A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Short message display method and device
CN106227819A (en) * 2016-07-22 2016-12-14 乐视控股(北京)有限公司 A kind of method and device obtaining comment data
CN107885561A (en) * 2016-09-30 2018-04-06 阿里巴巴集团控股有限公司 The method and device of message interface information is provided
CN106792248A (en) * 2016-12-28 2017-05-31 广州华多网络科技有限公司 A kind of methods of exhibiting and device of living broadcast interactive information
CN106792248B (en) * 2016-12-28 2019-11-12 广州华多网络科技有限公司 A kind of methods of exhibiting and device of living broadcast interactive information
WO2018157720A1 (en) * 2017-03-01 2018-09-07 腾讯科技(深圳)有限公司 Method and device for processing instant communication information
CN108268198A (en) * 2017-03-14 2018-07-10 广州市动景计算机科技有限公司 The method and device of interactive information showing
CN107911751A (en) * 2017-11-10 2018-04-13 深圳市华阅文化传媒有限公司 Read the voice interface method and apparatus of word content
CN108305051A (en) * 2018-02-09 2018-07-20 网易(杭州)网络有限公司 Mail methods of exhibiting, medium, system and electronic equipment
CN114912049A (en) * 2022-05-17 2022-08-16 维沃移动通信有限公司 Information display method and device and electronic equipment

Also Published As

Publication number Publication date
CN103500218B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN103500218B (en) information display method, device and system
CN103533042B (en) Location-based information issuing method and device
US10917377B2 (en) Managing an ephemeral post in a social networking system
US10178139B2 (en) Providing event data to a group of contacts
US8140621B2 (en) Providing event data to a group of contacts
US8880996B1 (en) System for reconfiguring a web site or web page based on real-time analytics data
CA2928714C (en) Aggregating and presenting event information
US9485640B2 (en) Smart cache warming
US20100100845A1 (en) Organization and Delivery of Information Updates
US20140032473A1 (en) Estimating potential message viewing rates of tweets
US20140136612A1 (en) Providing social context to calendar events
US20180018707A1 (en) Creating customized audiences based on messaging signals
CN113127774B (en) Content pre-caching method and device for mobile application
US10630624B2 (en) Predicting viewing activity of a posting to an activity stream
CN103390014B (en) The dissemination method of a kind of community post and system
JP6449843B2 (en) Postponing heavy movements when scrolling
US9667678B2 (en) Providing social context to calendar events
CN114579021A (en) Information interaction method, device and equipment
TW201828052A (en) Information display method and apparatus quickly displaying the service information of interest to the user
CN103164224B (en) A kind of layering context aware method for network configuration software system structure evolution
CN102932446A (en) Communication system
CN110347714A (en) Film supplying system and method
CA2809014A1 (en) A location-time based social network
CN116170399A (en) Information processing method, apparatus, electronic device and storage medium
KR20150020664A (en) Organization of inputs for online service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220727

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.