CN107239278A - The method and device of presentation of information - Google Patents
The method and device of presentation of information Download PDFInfo
- Publication number
- CN107239278A CN107239278A CN201710385963.1A CN201710385963A CN107239278A CN 107239278 A CN107239278 A CN 107239278A CN 201710385963 A CN201710385963 A CN 201710385963A CN 107239278 A CN107239278 A CN 107239278A
- Authority
- CN
- China
- Prior art keywords
- information
- attention information
- preset
- window
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开是关于信息显示的方法及装置。该方法包括:周期性的获取目标应用APP的关注信息,所述关注信息包括用户预先设定的参数对应的信息;获取预设的播放窗口;在所述预设的播放窗口中显示所述关注信息。该技术方案中,可获取周期性的关注信息并在预设的播放窗口中显示,这样,可实现关注信息的自动播放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。
The present disclosure relates to a method and device for displaying information. The method includes: periodically acquiring attention information of a target application APP, the attention information including information corresponding to parameters preset by the user; acquiring a preset playback window; displaying the attention information in the preset playback window information. In this technical solution, periodic focused information can be obtained and displayed in a preset playback window, so that automatic playback of focused information can be realized, and the application effect and real-time performance of the information can be further improved. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information transmission and improves the user experience.
Description
技术领域technical field
本公开涉及智能终端技术领域,尤其涉及信息显示的方法及装置。The present disclosure relates to the technical field of smart terminals, and in particular, to a method and device for information display.
背景技术Background technique
目前,终端已成为人们日常生活的常用品,通过终端可进行各种应用。例如:新闻信息、股票信息等的浏览查询;语音通讯,即时通讯;游戏应用;多媒体播放应用;社交应用等等。At present, the terminal has become a common item in people's daily life, and various applications can be performed through the terminal. For example: browsing and inquiry of news information, stock information, etc.; voice communication, instant messaging; game application; multimedia playback application; social application and so on.
一般,终端用户需获知一些信息,例如:股票信息时,可通过互联网应用,从对应的网站或应用中,获知信息。即终端用户需操作对应的终端应用获知所关注的信息。Generally, when an end user needs to obtain some information, for example, stock information, the information can be obtained from a corresponding website or application through an Internet application. That is, the terminal user needs to operate the corresponding terminal application to obtain the concerned information.
发明内容Contents of the invention
本公开实施例提供了信息显示的方法及装置。所述技术方案如下:Embodiments of the present disclosure provide a method and device for information display. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供一种信息显示的方法,可包括:According to a first aspect of an embodiment of the present disclosure, there is provided a method for displaying information, which may include:
周期性的获取目标应用APP的关注信息,所述关注信息包括用户预先设定的参数对应的信息;Periodically acquire the attention information of the target application APP, where the attention information includes information corresponding to parameters preset by the user;
获取预设的播放窗口;Get the preset playback window;
在所述预设的播放窗口中显示所述关注信息。The attention information is displayed in the preset playing window.
可见,可获取周期性的关注信息并在预设的播放窗口中显示,这样,可实现关注信息的自动播放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。It can be seen that the periodic attention information can be acquired and displayed in the preset playback window, so that the automatic playback of the attention information can be realized, and the application effect and real-time performance of the information can be further improved. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information dissemination and improves user experience.
在一个实施例中,所述周期性的获取目标应用APP的关注信息包括:In one embodiment, the periodic acquisition of the attention information of the target application APP includes:
周期性通过所述目标APP程序编程接口API接口,从提供所述关注信息的服务器数据库中获取所述关注信息;或,Obtain the attention information from the server database that provides the attention information periodically through the target APP program programming interface API interface; or,
周期性接收提供所述关注信息的服务器发送的所述关注信息。The attention information sent by the server providing the attention information is periodically received.
该实施例中可周期性可获取关注信息,并且,可以主动索取或者被动接收,从而,获取方式灵活,简单易行。In this embodiment, the attention information can be acquired periodically, and can be actively requested or passively received, so the acquisition method is flexible and simple.
在一个实施例中,所述在所述预设的播放窗口中显示所述关注信息包括:In one embodiment, the displaying the attention information in the preset playback window includes:
当所述预设的播放窗口为消息栏时,将获取的所述关注信息确定为文本绘制显示接口的控制对象,并通过所述文本绘制显示接口,所述将所述控制对象加载到消息栏中进行绘制显示;When the preset playback window is a message bar, determining the acquired attention information as a control object of a text drawing display interface, and loading the control object into a message bar through the text drawing display interface in the drawing display;
当所述预设的播放窗口为位于显示屏幕最顶层的悬浮窗口时,将所述关注信息加载到所述悬浮窗口中进行显示。When the preset playing window is a floating window located at the topmost layer of the display screen, the attention information is loaded into the floating window for display.
该实施例中可利用消息栏来播放关注消息,简单易行,提高了信息显示的速度。还可通过悬浮窗口来播放显示关注信息,这样,可及时让终端用户获知关注信息,提高了用户体验。In this embodiment, the message bar can be used to play the attention message, which is simple and easy to implement, and improves the speed of information display. The attention information can also be played and displayed through the floating window. In this way, the end user can be informed of the attention information in a timely manner, thereby improving the user experience.
在一个实施例中,所述获取预设的播放窗口包括:In one embodiment, the acquiring a preset playback window includes:
将显示屏幕上显示的目标APP图标配置为预设的播放窗口并获取。Configure the target APP icon displayed on the display screen as a preset playback window and obtain it.
当然,通过应用图标对应的窗口可播放显示关注信息,增加了播放显示的方式,提高了播放显示的灵活性。Of course, the attention information can be played and displayed through the window corresponding to the application icon, which increases the way of playing and displaying and improves the flexibility of playing and displaying.
在一个实施例中,所述在所述预设的播放窗口中显示所述关注信息之前,还包括:In one embodiment, before displaying the attention information in the preset playback window, it further includes:
修改所述预设的播放窗口的播放参数,所述播放参数可包括以下至少一种参数:字体颜色,字体大小,字体格式,或背景颜色。Modifying the playback parameters of the preset playback window, the playback parameters may include at least one of the following parameters: font color, font size, font format, or background color.
可见,预设的播放窗口可采用不同播放格式的来播放显示满足设定条件的关注信息,从而,可进一步提醒用户进行查看,进一步提高了信息的实时性。It can be seen that the preset playing window can use different playing formats to play and display the attention information meeting the set conditions, so that the user can be further reminded to check, and the real-time performance of the information can be further improved.
根据本公开实施例的第二方面,提供一种信息显示的装置,可包括:According to the second aspect of the embodiments of the present disclosure, there is provided an information display device, which may include:
第一获取模块,用于周期性的获取目标应用APP的关注信息,所述关注信息包括用户预先设定的参数对应的信息;The first acquisition module is used to periodically acquire the attention information of the target application APP, and the attention information includes information corresponding to parameters preset by the user;
第二获取模块,用于获取预设的播放窗口。The second obtaining module is used to obtain a preset playback window.
显示模块,与所述第一获取模块以及第二获取模块连接,用于在所述预设的播放窗口中显示所述关注信息。The display module is connected with the first obtaining module and the second obtaining module, and is used for displaying the concerned information in the preset playing window.
可见,可获取周期性的关注信息并在预设的播放窗口中播放显示,这样,可实现关注信息的自动播放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。It can be seen that the periodic attention information can be obtained and played and displayed in the preset playback window, so that the automatic playback of the attention information can be realized, and the application effect and real-time performance of the information can be further improved. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information dissemination and improves user experience.
在一个实施例中,所述第一获取模块包括:第一获取子模块或第二获取子模块,其中,In one embodiment, the first acquisition module includes: a first acquisition submodule or a second acquisition submodule, wherein,
第一获取子模块,用于周期性通过所述目标APP程序编程接口API接口,从提供所述关注信息的服务器数据库中获取所述关注信息;The first obtaining submodule is used to periodically obtain the attention information from the server database that provides the attention information through the API interface of the target APP program programming interface;
第二获取子模块,用于周期性接收提供所述关注信息的服务器发送的所述关注信息。The second obtaining submodule is configured to periodically receive the attention information sent by the server providing the attention information.
该实施例中可定时可获取关注信息,并且,可以主动索取或者被动接收,从而,获取方式灵活,简单易行。In this embodiment, the concerned information can be acquired at regular intervals, and can be actively requested or passively received, so the acquisition method is flexible and simple.
在一个实施例中,所述显示模块包括:In one embodiment, the display module includes:
第一显示子模块,用于当所述预设的播放窗口为消息栏时,将获取的所述关注信息确定为文本绘制显示接口的控制对象,并通过所述文本绘制显示接口,所述将所述控制对象加载到消息栏中进行绘制显示;The first display submodule is configured to determine the acquired attention information as a control object of a text drawing display interface when the preset playing window is a message bar, and through the text drawing display interface, the will The control object is loaded into the message bar for drawing and displaying;
第二显示子模块,用于当所述预设的播放窗口为位于显示屏幕最顶层的悬浮窗口时,将所述关注信息加载到所述悬浮窗口中进行显示。The second display submodule is configured to load the attention information into the floating window for display when the preset playing window is the floating window at the topmost layer of the display screen.
该实施例中可利用消息栏来播放关注消息,简单易行,提高了信息显示的速度。或者,可通过悬浮窗口来播放显示关注信息,这样,可及时让终端用户获知关注信息,提高了用户体验。In this embodiment, the message bar can be used to play the attention message, which is simple and easy to implement, and improves the speed of information display. Or, the attention information can be played and displayed through the floating window, so that the terminal user can be informed of the attention information in time, and the user experience is improved.
在一个实施例中,所述第二获取模块包括:In one embodiment, the second acquisition module includes:
配置获取子模块,用于将显示屏幕上显示的目标APP图标配置为预设的播放窗口并获取。The configuration acquisition sub-module is configured to configure and acquire the target APP icon displayed on the display screen as a preset playback window.
当然,通过应用图标对应的窗口可播放显示关注信息,增加了播放显示的方式,提高了播放显示的灵活性。Of course, the attention information can be played and displayed through the window corresponding to the application icon, which increases the way of playing and displaying and improves the flexibility of playing and displaying.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
参数更新模块,用于修改所述预设的播放窗口的播放参数,所述播放参数可包括以下至少一种参数:字体颜色,字体大小,字体格式,或背景颜色。The parameter update module is used to modify the playback parameters of the preset playback window, and the playback parameters may include at least one of the following parameters: font color, font size, font format, or background color.
可见,预设的播放窗口可采用不同播放格式的来播放显示满足设定条件的关注信息,从而,可进一步提醒用户进行查看,进一步提高了信息的实时性。It can be seen that the preset playing window can use different playing formats to play and display the attention information meeting the set conditions, so that the user can be further reminded to check, and the real-time performance of the information can be further improved.
根据本公开实施例的第三方面,提供一种信息显示的装置,用于终端,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an information display device for a terminal, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
周期性的获取目标应用APP的关注信息,所述关注信息包括用户预先设定的参数对应的信息;Periodically acquire the attention information of the target application APP, where the attention information includes information corresponding to parameters preset by the user;
获取预设的播放窗口;Get the preset playback window;
在所述预设的播放窗口中显示所述关注信息。The attention information is displayed in the preset playing window.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现上述方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the above method are implemented.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
上述技术方案中,可获取周期性的关注信息并在预设的播放窗口中播放显示,这样,可实现关注信息的自动播放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。In the above technical solution, periodic attention information can be acquired and played and displayed in a preset playback window, thus realizing automatic playback of attention information, further improving the application effect and real-time performance of information. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information dissemination and improves user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的信息显示方法的流程图。Fig. 1 is a flow chart of an information display method according to an exemplary embodiment.
图2是根据一示例性实施例一示出的信息显示方法的流程图。Fig. 2 is a flow chart of an information display method according to a first exemplary embodiment.
图3是根据一示例性实施例二示出的信息显示方法的流程图。Fig. 3 is a flow chart of an information display method according to a second exemplary embodiment.
图4是根据一示例性实施例示出的信息显示装置的框图。Fig. 4 is a block diagram of an information display device according to an exemplary embodiment.
图5是根据一示例性实施例三示出的信息显示装置的框图。Fig. 5 is a block diagram of an information display device according to a third exemplary embodiment.
图6是根据一示例性实施例四示出的信息显示装置的框图。Fig. 6 is a block diagram of an information display device according to a fourth exemplary embodiment.
图7是根据一示例性实施例示出的一种用于信息显示的装置1200的框图。Fig. 7 is a block diagram of an apparatus 1200 for information display according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
本公开实施例提供的技术方案,可获取周期性的关注信息并在预设的播放窗口中播放显示,这样,可实现关注信息的自动播放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。The technical solution provided by the embodiments of the present disclosure can acquire periodic attention information and play and display it in a preset playback window. In this way, the automatic playback of attention information can be realized, and the application effect and real-time performance of information can be further improved. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information dissemination and improves user experience.
图1是根据一示例性实施例示出的信息显示方法的流程图,如图1所示,包括以下步骤S101-S103:Fig. 1 is a flowchart of an information display method according to an exemplary embodiment, as shown in Fig. 1 , including the following steps S101-S103:
在步骤S101中,周期性的获取目标应用APP的关注信息。In step S101, periodically acquire the attention information of the target application APP.
本公开实施例中,终端中都有股票,新闻、房产交易,微信等等应用(Application,APP),通过这些应用,终端用户可获知对应的信息。这些信息比较实时,是动态的。若终端用户需通过终端应用APP去获知这些信息时,可能会长期使用终端,影响了用户正常的工作学习状态。这里,终端可周期性获取关注信息,即周期性获取目标应用APP的关注信息,而不需通过运行目标APP去获取关注信息。In the embodiments of the present disclosure, there are applications (Applications, APPs) such as stocks, news, real estate transactions, WeChat, etc. in the terminal, through which the terminal user can learn the corresponding information. The information is relatively real-time and dynamic. If the terminal user needs to obtain the information through the terminal application APP, the terminal may be used for a long time, which affects the normal work and study status of the user. Here, the terminal may obtain the attention information periodically, that is, periodically obtain the attention information of the target application APP, without running the target APP to obtain the attention information.
关注信息为终端用户关注的目标应用APP的信息,包括用户预先设定的参数对应的信息,例如:用户预先设定参数为股票开盘时间,这样,到达股票开盘时间后,可周期性的获取股票应用的股票信息,该股票信息为用户预先设定的参数对应的信息,即为关注信息。或者,用户预先设定参数为开会时间,这样,在该参数对应的时间内,可周期性的获微信应用的微信信息,微信信息为用户预先设定的参数对应的信息,即为关注信息。The attention information is the information of the target application APP that the end user is concerned about, including the information corresponding to the parameters preset by the user, for example: the user presets the parameter as the stock opening time, so that after the stock opening time is reached, the stock can be obtained periodically The stock information of the application, the stock information is the information corresponding to the parameters preset by the user, that is, the attention information. Or, the user presets the parameter as the meeting time, so that within the time corresponding to the parameter, the WeChat information of the WeChat application can be obtained periodically, and the WeChat information is the information corresponding to the parameter preset by the user, that is, the attention information.
由于不需通过运行目标APP去获取关注信息,因此,周期性获取目标应用APP的关注信息可包括:周期性通过目标APP程序编程接口(Application Programming Interface,API),从提供关注信息的服务器数据库中获取关注信息;或,周期性接收提供关注信息的服务器发送的关注信息。Since there is no need to obtain the attention information by running the target APP, the periodic acquisition of the attention information of the target application APP may include: periodically through the target APP program programming interface (Application Programming Interface, API), from the server database that provides the attention information Obtain attention information; or, periodically receive attention information sent by a server that provides attention information.
例如:每隔三秒钟中,通过与财经网站的服务器对应的API接口,从该服务器数据库中获取关注的股票信息。具体,可通过API接口,向服务器发送关注的股票的标识信息,从而,通过API接口,接收服务器返回的对应的股票信息。For example: every three seconds, through the API interface corresponding to the server of the financial website, the information of the stocks concerned is obtained from the database of the server. Specifically, the identification information of the stock concerned may be sent to the server through the API interface, so that the corresponding stock information returned by the server may be received through the API interface.
或者,直接与提供关注信息的服务器进行网络通讯,每隔设定时间接收服务器发送的关注信息。例如,每隔十秒中,接收新闻网站服务器推送的头条信息。Or, directly communicate with the server that provides the attention information, and receive the attention information sent by the server every set time. For example, every ten seconds, the headline information pushed by the server of the news website is received.
在步骤S102中,获取预设的播放窗口。In step S102, a preset playback window is obtained.
本公开实施例中,关注信息可包括:股票信息、新闻信息、房产交易信息等等。这些信息一般为文本信息,因此,可采用多种方式播放显示关注信息。因此,需获取不同类型的预设的播放窗口。In the embodiment of the present disclosure, the concerned information may include: stock information, news information, real estate transaction information, and the like. The information is generally text information, therefore, the attention information can be played and displayed in various ways. Therefore, different types of preset playback windows need to be obtained.
预设的播放窗口可为消息栏或悬浮窗口,而消息栏可包括:通知消息栏或者电池状态消息栏。或者,将显示屏幕上显示的目标APP图标配置为预设的播放窗口并获取。The preset playback window can be a message bar or a floating window, and the message bar can include: a notification message bar or a battery status message bar. Alternatively, the target APP icon displayed on the display screen is configured as a preset playback window and obtained.
在步骤103中,在预设的播放窗口中显示关注信息。In step 103, the attention information is displayed in a preset playing window.
预设的播放窗口不同,显示关注信息的方式也不同。The preset playback windows are different, and the ways of displaying attention information are also different.
其中,在预设的播放窗口中显示关注信息包括:当预设的播放窗口为消息栏时,将获取的关注信息确定为文本绘制显示接口的控制对象;并通过文本绘制显示接口,将控制对象加载到消息栏中进行绘制播放。Wherein, displaying the attention information in the preset playback window includes: when the preset playback window is a message bar, determining the obtained attention information as the control object of the text drawing display interface; Loaded into the message bar for draw playback.
该实施例中可利用消息栏来播放关注消息,简单易行,提高了信息显示的速度。而消息栏可包括:通知消息栏或者电池状态消息栏。这样,利用现有的消息栏来播放显示关注消息,可节省资源,进一步提高显示速度。In this embodiment, the message bar can be used to play the attention message, which is simple and easy to implement, and improves the speed of information display. The message bar may include: a notification message bar or a battery status message bar. In this way, using the existing message bar to play and display the concerned message can save resources and further improve the display speed.
而本公开另一实施例中,在预设的播放窗口中显示关注信息可包括:当预设的播放窗口为位于显示屏幕最顶层的悬浮窗口时,将关注信息加载到悬浮窗口中进行播放显示。本实施例中通过悬浮窗口来播放显示关注信息,这样,可及时让终端用户获知关注信息,提高了用户体验。In another embodiment of the present disclosure, displaying the attention information in the preset playback window may include: when the preset playback window is a floating window located at the top of the display screen, loading the attention information into the floating window for playback and display . In this embodiment, the attention information is played and displayed through a floating window. In this way, the terminal user can be informed of the attention information in a timely manner, which improves user experience.
例如:通过终端的操作系统,配置一个悬浮窗口位于终端的屏幕最顶层,然后,将关注信息加载到悬浮窗口中进行播放显示。由于悬浮窗口始终位于终端的屏幕最顶层,这样,即使终端用户操作其他应用时,也可浏览到关注信息,从而可及时让终端用户获知关注信息,提高了用户体验。For example: through the operating system of the terminal, configure a floating window to be located at the top of the screen of the terminal, and then load the attention information into the floating window for playback and display. Since the floating window is always located at the top of the screen of the terminal, even when the terminal user is operating other applications, he can also browse the concerned information, so that the terminal user can be informed of the concerned information in time, and the user experience is improved.
当然,还可在APP图标对应的窗口可播放显示关注信息,即在预设的播放窗口中播放显示关注信息包括:将显示屏幕上显示的目标APP图标配置为预设的播放窗口并获取后,可将关注信息加载到显示窗口中进行播放显示。Of course, the attention information can also be played and displayed in the window corresponding to the APP icon, that is, playing and displaying the attention information in the preset playback window includes: after configuring and obtaining the target APP icon displayed on the display screen as a preset playback window, The following information can be loaded into the display window for playback and display.
例如:根据获取的窗口配置参数来修改终端的屏幕上终端应用图标对应位置的显示参数,将终端应用图标的显示配置为显示窗口,从而,在显示窗口中进行关注信息的播放显示。For example: according to the obtained window configuration parameters, modify the display parameters of the terminal application icon on the screen of the terminal, and configure the display of the terminal application icon as a display window, so that the attention information is played and displayed in the display window.
当然,其他播放显示文本信息的方式也可应用本公开示例中,就不一一列举了。Of course, other ways of playing and displaying text information can also be applied in the examples of the present disclosure, and will not be listed one by one.
可见,可获取周期性的关注信息并在预设的播放窗口中播放显示,这样,可实现关注信息的自动播放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。It can be seen that the periodic attention information can be obtained and played and displayed in the preset playback window, so that the automatic playback of the attention information can be realized, and the application effect and real-time performance of the information can be further improved. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information dissemination and improves user experience.
关注信息时动态的、实时的,可修改预设的播放窗口的播放参数,从而,预设的播放窗口的播放格式发生了变化,这样,每次预设的播放窗口可不完全一致。When paying attention to information, it is dynamic and real-time, and the playback parameters of the preset playback window can be modified, so that the playback format of the preset playback window changes, so that the preset playback windows may not be completely consistent each time.
较佳地,当关注信息满足设定条件时,修改预设的播放窗口的播放参数。这样,可进一步提醒用户进行查看,进一步提高了信息的实时性。因此,在终端的预设的播放窗口中播放显示关注信息之前,还包括:修改预设的播放窗口的播放参数。Preferably, when the attention information satisfies the set condition, the playback parameters of the preset playback window are modified. In this way, the user can be further reminded to check, further improving the real-time performance of information. Therefore, before playing and displaying the attention information in the preset playing window of the terminal, it further includes: modifying playing parameters of the preset playing window.
例如:股票信息时波动,当获取的股票信息中股票市值下跌的幅度超过设定值时,将预设的播放窗口显示字体的颜色修改为绿色,从而,在预设的播放窗口中显示字体为绿色的股票信息。或则,当获取的股票信息中股票市值上涨的幅度超过设定值时,将预设的播放窗口显示字体的颜色修改为红色,从而,在预设的播放窗口中显示字体为红色的股票信息。For example: when the stock information fluctuates, when the stock market value in the obtained stock information falls more than the set value, the color of the font displayed in the preset playback window is changed to green, so that the font displayed in the preset playback window is Green stock information. Or, when the increase in the stock market value in the obtained stock information exceeds the set value, the color of the font displayed in the preset playback window is changed to red, so that the stock information with the font in red is displayed in the preset playback window .
本公开实施例中,预设的播放窗口的播放参数可包括以下至少一种参数:字体颜色,字体大小,字体格式,或背景颜色。In the embodiment of the present disclosure, the preset playback parameters of the playback window may include at least one of the following parameters: font color, font size, font format, or background color.
当然,本公开实施例中,若当前周期获取的关注信息,与上一周期获取的关注信息匹配时,可不在预设的播放窗口中显示关注信息,即可不推送当前周期获取的关注信息,例如:当前周期获取的关注信息中股票价格信息,与上一周期获取的关注信息中股票价格信息一致,即两个周期的关注信息匹配,从而不需显示关注信息。Of course, in the embodiments of the present disclosure, if the attention information obtained in the current cycle matches the attention information obtained in the previous cycle, the attention information may not be displayed in the preset playback window, that is, the attention information obtained in the current cycle may not be pushed, for example : The stock price information in the attention information obtained in the current cycle is consistent with the stock price information in the attention information obtained in the previous cycle, that is, the attention information in the two cycles matches, so there is no need to display the attention information.
下面将操作流程集合到具体实施例中,举例说明本公开实施例提供的方法。The operation process is integrated into specific embodiments below to illustrate the methods provided by the embodiments of the present disclosure.
实施例一,本实施例中,关注信息为股票信息。Embodiment 1. In this embodiment, the attention information is stock information.
图2是根据一示例性实施例一示出的信息显示的流程图,如图2所示,包括以下步骤S201-S207:Fig. 2 is a flow chart of information display according to an exemplary embodiment 1. As shown in Fig. 2 , it includes the following steps S201-S207:
在步骤S201中,周期性通过与财经APP的网站服务器对应的API接口,从服务器数据库中获取关注的股票信息。In step S201, periodically obtain the concerned stock information from the server database through the API interface corresponding to the website server of the financial APP.
在步骤S202中,判断股票信息中股票价格的变化幅度是否超过设定值?若是,执行步骤S203,否则,执行步骤S204。In step S202, it is judged whether the change range of the stock price in the stock information exceeds the set value? If yes, execute step S203, otherwise, execute step S204.
股票价格的涨幅超过设定值时,可执行步骤S203,或者,股票价格的跌幅超过设定值时,也可执行步骤S203。When the increase of the stock price exceeds the set value, step S203 can be executed, or when the decline of the stock price exceeds the set value, step S203 can also be executed.
在步骤S203中,获取通知消息栏,并将通知消息栏的背景颜色从默认值修改为与红色对应的值,并重置计数器开始计时。转入步骤S204中。In step S203, the notification message bar is obtained, the background color of the notification message bar is changed from a default value to a value corresponding to red, and the counter is reset to start timing. Go to step S204.
这里,通知消息栏确定为预设的播放窗口。Here, the notification message bar is determined as a preset playback window.
在步骤S204中,将获取的关注信息确定为文本绘制显示接口的控制对象。In step S204, the acquired focus information is determined as a control object of the text drawing display interface.
在步骤S205中,通过文本绘制显示接口,将控制对象加载到通知消息栏中进行绘制显示。In step S205, the control object is loaded into the notification message bar for drawing and displaying through the text drawing display interface.
在步骤S206中,判断计数器所计的时间是否超过设定值?若是,执行步骤S207,否则,返回步骤S201。In step S206, it is determined whether the time counted by the counter exceeds the set value? If yes, execute step S207, otherwise, return to step S201.
在步骤S207中,将通知消息栏的背景颜色重置为默认值,返回步骤S201中。In step S207, reset the background color of the notification message bar to a default value, and return to step S201.
这样,当股票信息中股票价格的变化幅度超过设定值时,可用背景颜色为红色的通知消息栏来加载关注信息进行显示。并且,后续的变化幅度未超过设定值一段时间后,即可用默认背景颜色的通知消息栏来加载关注信息进行显示。而后续的变化幅度仍超过设定值,则可重新开始计时。In this way, when the change range of the stock price in the stock information exceeds the set value, the notification message bar with a red background color can be used to load the attention information for display. Moreover, after the subsequent change range does not exceed the set value for a period of time, the notification message bar with the default background color can be used to load the attention information for display. If the subsequent range of variation still exceeds the set value, the timing can be restarted.
可见,可在通知消息栏中自动播放股票信息,提高了信息的传播速度,也提高了用户体验。并且,根据通知消息栏的背景颜色可进一步提醒用户进行查看,进一步提高了信息的实时性。It can be seen that the stock information can be played automatically in the notification message bar, which increases the speed of information dissemination and improves user experience. Moreover, according to the background color of the notification message bar, the user can be further reminded to check, which further improves the real-time performance of the information.
实施例二、本实施例中,关注信息为新闻信息。Embodiment 2. In this embodiment, the attention information is news information.
图3是根据一示例性实施例二示出的信息显示方法的流程图,如图3所示,包括以下步骤S301-S303:Fig. 3 is a flowchart of an information display method according to a second exemplary embodiment, as shown in Fig. 3 , including the following steps S301-S303:
在步骤S301中,周期性接收新闻网站服务器推送的头条新闻信息。In step S301, periodically receive headline news information pushed by a news website server.
在步骤S302中,在终端的屏幕上配置悬浮窗口,悬浮窗口位于终端的屏幕最顶层。In step S302, a floating window is configured on the screen of the terminal, and the floating window is located at the topmost layer of the screen of the terminal.
这里,悬浮窗口为预设的播放窗口。Here, the floating window is a preset playback window.
在步骤S303中,将关注信息加载到悬浮窗口中进行显示。In step S303, the attention information is loaded into the floating window for display.
可见,本实施中,可直接接收服务器推送的头条新闻信息并在悬浮窗口中进行播放显示,可及时让终端用户获知关注信息,提高了用户体验。It can be seen that in this implementation, the headline news information pushed by the server can be directly received and played and displayed in the floating window, and the terminal user can be informed of the concerned information in a timely manner, thereby improving the user experience.
下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure.
图4是根据一示例性实施例示出的信息显示装置的框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图4所示,该信息显示装置包括:第一获取模块410、第二获取模块420和显示模块430。其中,Fig. 4 is a block diagram of an information display device according to an exemplary embodiment, and the device may be implemented as part or all of an electronic device through software, hardware or a combination of the two. As shown in FIG. 4 , the information display device includes: a first acquisition module 410 , a second acquisition module 420 and a display module 430 . in,
第一获取模块410,被配置为周期性的获取目标应用APP的关注信息,关注信息包括用户预先设定的参数对应的信息。The first obtaining module 410 is configured to periodically obtain attention information of the target application APP, and the attention information includes information corresponding to parameters preset by the user.
第二获取模块420,被配置为获取预设的播放窗口。The second obtaining module 420 is configured to obtain a preset playback window.
显示模块430,与第一获取模块410以及第二获取模块420连接,被配置为在预设的播放窗口中显示关注信息。The display module 430, connected with the first acquisition module 410 and the second acquisition module 420, is configured to display attention information in a preset playing window.
可见,可获取周期性的关注信息并在预设的播放窗口中播放显示,这样,可实现关注信息的自动播放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。It can be seen that the periodic attention information can be obtained and played and displayed in the preset playback window, so that the automatic playback of the attention information can be realized, and the application effect and real-time performance of the information can be further improved. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information transmission and improves the user experience.
在一个实施例中,第一获取模块410包括:第一获取子模块或第二获取子模块,其中,In one embodiment, the first acquisition module 410 includes: a first acquisition submodule or a second acquisition submodule, wherein,
第一获取子模块,被配置为周期性通过目标APP程序编程接口API接口,从提供关注信息的服务器数据库中获取关注信息。The first obtaining sub-module is configured to periodically obtain the attention information from the server database providing the attention information through the API interface of the target APP program programming interface.
第二获取子模块,被配置为周期性接收提供关注信息的服务器发送的关注信息。The second acquiring submodule is configured to periodically receive attention information sent by a server providing attention information.
该实施例中可定时可获取关注信息,并且,可以主动索取或者被动接收,从而,获取方式灵活,简单易行。In this embodiment, the concerned information can be acquired at regular intervals, and can be actively requested or passively received, so the acquisition method is flexible and simple.
在一个实施例中,显示模块430包括:In one embodiment, the display module 430 includes:
第一显示子模块,被配置为当预设的播放窗口为消息栏时,将获取的关注信息确定为文本绘制显示接口的控制对象,并通过文本绘制显示接口,将控制对象加载到消息栏中进行绘制显示。The first display submodule is configured to determine the obtained attention information as the control object of the text drawing display interface when the preset playback window is a message bar, and load the control object into the message bar through the text drawing display interface to draw the display.
第二显示子模块,被配置为当预设的播放窗口为位于显示屏幕最顶层的悬浮窗口时,将关注信息加载到悬浮窗口中进行显示。The second display submodule is configured to load the focus information into the floating window for display when the preset playing window is the floating window at the top of the display screen.
该实施例中可利用消息栏来播放关注消息,简单易行,提高了信息显示的速度。或者,可通过悬浮窗口来播放显示关注信息,这样,可及时让终端用户获知关注信息,提高了用户体验。In this embodiment, the message bar can be used to play the attention message, which is simple and easy to implement, and improves the speed of information display. Or, the attention information can be played and displayed through the floating window, so that the terminal user can be informed of the attention information in time, and the user experience is improved.
在一个实施例中,第二获取模块420包括:In one embodiment, the second acquisition module 420 includes:
配置获取子模块,被配置为将显示屏幕上显示的目标APP图标配置为预设的播放窗口并获取。The configuration acquisition sub-module is configured to configure and acquire the target APP icon displayed on the display screen as a preset playback window.
当然,通过应用图标对应的窗口可播放显示关注信息,增加了播放显示的方式,提高了播放显示的灵活性。Of course, the attention information can be played and displayed through the window corresponding to the application icon, which increases the way of playing and displaying and improves the flexibility of playing and displaying.
在一个实施例中,装置还包括:In one embodiment, the device also includes:
参数更新模块,被配置为修改预设的播放窗口的播放参数,播放参数可包括以下至少一种参数:字体颜色,字体大小,字体格式,或背景颜色。The parameter update module is configured to modify the playback parameters of the preset playback window, and the playback parameters may include at least one of the following parameters: font color, font size, font format, or background color.
下面举例说明本公开实施例提供的装置。The following examples illustrate the devices provided by the embodiments of the present disclosure.
实施例三,图5是根据一示例性实施例三示出的信息显示装置的框图,如图5所示,该装置包括:第一获取模块410、第二获取模块420和显示模块430。还可包括:参数更新模块440。其中,第一获取模块410包括第一获取子模块411,而显示模块430包括:第一显示子模块431。Embodiment 3, FIG. 5 is a block diagram of an information display device according to a third exemplary embodiment. As shown in FIG. 5 , the device includes: a first acquisition module 410 , a second acquisition module 420 and a display module 430 . It may also include: a parameter update module 440 . Wherein, the first acquisition module 410 includes a first acquisition submodule 411 , and the display module 430 includes: a first display submodule 431 .
其中,第一获取模块410中的第一获取子模块411周期性通过与财经APP的网站服务器对应的API接口,从服务器数据库中获取关注的股票信息。第二获获取模块420获取通知消息栏,即将通知消息栏确定为预设的播放窗口。Wherein, the first acquisition sub-module 411 of the first acquisition module 410 periodically acquires the concerned stock information from the server database through the API interface corresponding to the website server of the financial APP. The second acquiring module 420 acquires the notification message bar, that is, determines the notification message bar as a preset playback window.
这样,当股票信息中股票价格的变化幅度超过设定值时,参数更新模块440将通知消息栏的背景颜色从默认值修改为与红色对应的值。In this way, when the variation range of the stock price in the stock information exceeds the set value, the parameter update module 440 modifies the background color of the notification message bar from the default value to a value corresponding to red.
从而,显示模块430中的第一显示子模块431将获取的关注信息确定为文本绘制显示接口的控制对象,并通过文本绘制显示接口,将控制对象加载到通知消息栏中进行绘制显示。Therefore, the first display sub-module 431 in the display module 430 determines the acquired attention information as the control object of the text drawing display interface, and loads the control object into the notification message bar for drawing display through the text drawing display interface.
可见,该装置可在通知消息栏中自动显示股票信息,提高了信息的传播速度,也提高了用户体验。并且,根据通知消息栏的背景颜色可进一步提醒用户进行查看,进一步提高了信息的实时性。It can be seen that the device can automatically display stock information in the notification message column, which increases the speed of information transmission and improves user experience. Moreover, according to the background color of the notification message bar, the user can be further reminded to check, which further improves the real-time performance of the information.
实施例四,图6是根据一示例性实施例四示出的信息显示装置的框图,如图6所示,该装置包括:第一获取模块410、第二获取模块420和显示模块420。而第一获取模块410包括第二获取子模块412;显示模块430包括:第二显示子模块432。Embodiment 4, FIG. 6 is a block diagram of an information display device according to a fourth exemplary embodiment. As shown in FIG. 6 , the device includes: a first acquisition module 410 , a second acquisition module 420 and a display module 420 . The first acquisition module 410 includes a second acquisition submodule 412 ; the display module 430 includes a second display submodule 432 .
其中,第一获取模块410中的第二获取子模块412定时接收新闻网站服务器推送的头条新闻信息。而第二获取模块420可在终端的屏幕上配置悬浮窗口,悬浮窗口位于终端的屏幕最顶层。即悬浮窗口为预设的播放窗口。Wherein, the second acquisition sub-module 412 in the first acquisition module 410 regularly receives the headline news information pushed by the news website server. The second obtaining module 420 can configure a floating window on the screen of the terminal, and the floating window is located at the topmost layer of the screen of the terminal. That is, the floating window is the default playback window.
从而,显示模块430中的第二显示子模块432将关注信息加载到悬浮窗口中进行播放显示。Therefore, the second display sub-module 432 in the display module 430 loads the attention information into the floating window for playback and display.
可见,本实施中,该终端可直接接收服务器推送的头条新闻信息并在悬浮窗口中进行显示,可及时让终端用户获知关注信息,提高了用户体验。It can be seen that in this implementation, the terminal can directly receive the headline news information pushed by the server and display it in the floating window, which can let the terminal user know the concerned information in time and improve the user experience.
本公开实施例提供一种信息显示的装置,用于终端,包括:An embodiment of the present disclosure provides an information display device for a terminal, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
周期性的获取目标应用APP的关注信息,所述关注信息包括用户预先设定的参数对应的信息;Periodically acquire the attention information of the target application APP, where the attention information includes information corresponding to parameters preset by the user;
获取预设的播放窗口;Get the preset playback window;
在所述预设的播放窗口中显示所述关注信息。The attention information is displayed in the preset playing window.
本公开实施例提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现上述方法的步骤。An embodiment of the present disclosure provides a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the above method are implemented.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开的实施例提供的上述技术方案,可获取周期性的关注信息并在预设的播放窗口中显示,这样,可实现关注信息的自动显示放,进一步提高了信息的应用效果以及实时性。并且,不需终端用户操作对应的应用去获知信息,提高了信息的传播速度,也提高了用户体验。The above technical solution provided by the embodiments of the present disclosure can acquire periodic attention information and display it in a preset playback window. In this way, the automatic display of attention information can be realized, and the application effect and real-time performance of information can be further improved. Moreover, the end user does not need to operate the corresponding application to obtain the information, which increases the speed of information dissemination and improves user experience.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图7是根据一示例性实施例示出的一种用于信息显示的装置1200的框图,该装置适用于终端设备,并且该装置可以安装在交通工具上,形成车载终端。例如,装置1200可以是移动电话,计算机,数字广播终端,信息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a block diagram showing an apparatus 1200 for information display according to an exemplary embodiment, the apparatus is suitable for a terminal device, and the apparatus can be installed on a vehicle to form a vehicle-mounted terminal. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, an information sending and receiving device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图7,装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。7, device 1200 may include one or more of the following components: processing component 1202, memory 1204, power supply component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communication component 1216.
处理组件1202通常控制装置1200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理组件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。The processing component 1202 generally controls the overall operations of the device 1200, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1202 may include one or more modules that facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202 .
存储器1204被配置为存储各种类型的数据以支持在装置1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,信息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1204 is configured to store various types of data to support operations at the device 1200 . Examples of such data include instructions for any application or method operating on device 1200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1204 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1206为装置1200的各种组件提供电力。电源组件1206可以包括电源管理系统,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。The power supply component 1206 provides power to various components of the device 1200 . Power components 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1200 .
多媒体组件1208包括在装置1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间点和压力。在一些实施例中,多媒体组件1208包括一个前置摄像头和/或后置摄像头。当装置1200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect a duration point and pressure related to the touch or swipe operation. In some embodiments, the multimedia component 1208 includes a front camera and/or a rear camera. When the device 1200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当装置1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。The audio component 1210 is configured to output and/or input audio signals. For example, the audio component 1210 includes a microphone (MIC), which is configured to receive external audio signals when the device 1200 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1204 or sent via communication component 1216 . In some embodiments, the audio component 1210 also includes a speaker for outputting audio signals.
I/O接口1212为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1212 provides an interface between the processing component 1202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1214包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1214可以检测到装置1200的打开/关闭状态,组件的相对定位,例如组件为装置1200的显示器和小键盘,传感器组件1214还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1214 includes one or more sensors for providing status assessments of various aspects of device 1200 . For example, the sensor component 1214 can detect the open/closed state of the device 1200, the relative positioning of components, such as the display and keypad of the device 1200, the sensor component 1214 can also detect a change in the position of the device 1200 or a component of the device 1200, the user Presence or absence of contact with device 1200 , device 1200 orientation or acceleration/deceleration and temperature change of device 1200 . Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1214 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1216被配置为便于装置1200和其他终端之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1216 is configured to facilitate wired or wireless communication between the device 1200 and other terminals. The device 1200 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1200 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器1220执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1204 including instructions, which can be executed by the processor 1220 of the device 1200 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当存储介质中的指令由装置1200的处理器执行时,使得装置1200能够执行图1所示的方法,方法包括:A non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the device 1200, the device 1200 can execute the method shown in FIG. 1, the method includes:
周期性的获取目标应用APP的关注信息,所述关注信息包括用户预先设定的参数对应的信息;Periodically acquire the attention information of the target application APP, where the attention information includes information corresponding to parameters preset by the user;
获取预设的播放窗口;Get the preset playback window;
在所述预设的播放窗口中显示所述关注信息。The attention information is displayed in the preset playing window.
所述周期性的获取目标应用APP的关注信息包括:The periodic acquisition of the attention information of the target application APP includes:
周期性通过所述目标APP程序编程接口API接口,从提供所述关注信息的服务器数据库中获取所述关注信息;或,Obtain the attention information from the server database that provides the attention information periodically through the target APP program programming interface API interface; or,
周期性接收提供所述关注信息的服务器发送的所述关注信息。The attention information sent by the server providing the attention information is periodically received.
所述在所述预设的播放窗口中显示所述关注信息包括:The displaying the attention information in the preset playback window includes:
当所述预设的播放窗口为消息栏时,将获取的所述关注信息确定为文本绘制显示接口的控制对象,并通过所述文本绘制显示接口,所述将所述控制对象加载到消息栏中进行绘制显示;When the preset playback window is a message bar, determining the acquired attention information as a control object of a text drawing display interface, and loading the control object into a message bar through the text drawing display interface in the drawing display;
当所述预设的播放窗口为位于显示屏幕最顶层的悬浮窗口时,将所述关注信息加载到所述悬浮窗口中进行显示。When the preset playing window is a floating window located at the topmost layer of the display screen, the attention information is loaded into the floating window for display.
所述获取预设的播放窗口包括:The playback window for obtaining presets includes:
将显示屏幕上显示的目标APP图标配置为预设的播放窗口并获取。Configure the target APP icon displayed on the display screen as a preset playback window and obtain it.
所述在所述预设的播放窗口中显示所述关注信息之前,还包括:Before displaying the attention information in the preset playback window, it also includes:
修改所述预设的播放窗口的播放参数,所述播放参数可包括以下至少一种参数:字体颜色,字体大小,字体格式,或背景颜色。Modifying the playback parameters of the preset playback window, the playback parameters may include at least one of the following parameters: font color, font size, font format, or background color.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710385963.1A CN107239278A (en) | 2017-05-26 | 2017-05-26 | The method and device of presentation of information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710385963.1A CN107239278A (en) | 2017-05-26 | 2017-05-26 | The method and device of presentation of information |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107239278A true CN107239278A (en) | 2017-10-10 |
Family
ID=59985164
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710385963.1A Pending CN107239278A (en) | 2017-05-26 | 2017-05-26 | The method and device of presentation of information |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107239278A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3731088A1 (en) * | 2019-04-25 | 2020-10-28 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for displaying information and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102609877A (en) * | 2011-01-25 | 2012-07-25 | 腾讯科技(深圳)有限公司 | Method for jointly displaying quotation and negotiable securities information and system thereof |
| US20120191606A1 (en) * | 2011-01-25 | 2012-07-26 | Milne Benjamin P | Social network transaction processing system |
| CN103646105A (en) * | 2013-12-23 | 2014-03-19 | 北京奇虎科技有限公司 | Method for pushing message in browser and browser device |
| CN104735548A (en) * | 2015-02-28 | 2015-06-24 | 小米科技有限责任公司 | Event prompting method and device |
| CN105511724A (en) * | 2015-12-07 | 2016-04-20 | 魅族科技(中国)有限公司 | Operation interface display method and device |
| CN106289341A (en) * | 2015-05-13 | 2017-01-04 | 苏州普源精电科技有限公司 | A kind of measuring instrument with message notifying function |
-
2017
- 2017-05-26 CN CN201710385963.1A patent/CN107239278A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102609877A (en) * | 2011-01-25 | 2012-07-25 | 腾讯科技(深圳)有限公司 | Method for jointly displaying quotation and negotiable securities information and system thereof |
| US20120191606A1 (en) * | 2011-01-25 | 2012-07-26 | Milne Benjamin P | Social network transaction processing system |
| CN103646105A (en) * | 2013-12-23 | 2014-03-19 | 北京奇虎科技有限公司 | Method for pushing message in browser and browser device |
| CN104735548A (en) * | 2015-02-28 | 2015-06-24 | 小米科技有限责任公司 | Event prompting method and device |
| CN106289341A (en) * | 2015-05-13 | 2017-01-04 | 苏州普源精电科技有限公司 | A kind of measuring instrument with message notifying function |
| CN105511724A (en) * | 2015-12-07 | 2016-04-20 | 魅族科技(中国)有限公司 | Operation interface display method and device |
Non-Patent Citations (1)
| Title |
|---|
| 付刚 编著: "《网上炒股一点通》", 31 January 2008, 中国宇航出版社 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3731088A1 (en) * | 2019-04-25 | 2020-10-28 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for displaying information and storage medium |
| US11169702B2 (en) | 2019-04-25 | 2021-11-09 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for displaying information and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107608561B (en) | Touch screen control method and device | |
| CN106791921B (en) | Processing method and device for live video and storage medium | |
| KR20160077011A (en) | Method and apparatus for adjusting operating status of smart home device | |
| CN107908351A (en) | Display methods, device and the storage medium of application interface | |
| WO2017113666A1 (en) | Application interface switching method and device | |
| CN107943409A (en) | Touch-screen control method and device | |
| CN106204097A (en) | Information-pushing method, device and mobile terminal | |
| CN106453528B (en) | The method and device of PUSH message | |
| CN106547216A (en) | The method and device of intelligent scene trigger condition is set | |
| CN106528735A (en) | Method and device for controlling browser to play media resources | |
| CN107783715A (en) | Using startup method and device | |
| CN108200279A (en) | backlight adjusting method, device and equipment | |
| CN107529699A (en) | Control method of electronic device and device | |
| CN107402767B (en) | Method and apparatus for displaying push messages | |
| CN107147957A (en) | Video playback method and device | |
| CN107239351B (en) | Paste method and device | |
| CN110618783A (en) | Text broadcasting method, device and medium | |
| CN107943370A (en) | Advertisement display method, device and storage medium | |
| CN107423059A (en) | Display methods, device and the terminal of the page | |
| CN106912090A (en) | New information reminding method and equipment | |
| CN106331076A (en) | Advertisement push method and device | |
| CN106385470A (en) | Information push method and device | |
| CN105657325A (en) | Method, apparatus and system for video communication | |
| CN107247735A (en) | Document transmission method and device | |
| CN106648392A (en) | Data pasting method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171010 |