







技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种挂件展示控制方法、装置、系统、电子设备、服务器及存储介质。The present application relates to the field of computer technology, and in particular, to a method, device, system, electronic device, server, and storage medium for controlling the display of a pendant.
背景技术Background technique
挂件是经常使用到的一种应用程序功能,在应用程序的运行过程中,可以在应用程序的页面中显示挂件,通过挂件显示特定的信息,例如通知信息或广告信息,或者作为快速入口,方便用户快速的进入相关页面。Pendant is an application function that is often used. During the running process of the application, the pendant can be displayed on the page of the application, and specific information, such as notification information or advertisement information, can be displayed through the pendant, or it can be used as a quick entry for convenient Users quickly enter the relevant page.
目前,挂件作为应用程序的页面展示控件,通常需要根据不同的页面展示需求,针对性进行开发后展示,由此对于具有大量不同页面展示需求或者页面显示需求频繁变化的应用场景,挂件开发的工作量非常大,无法实时满足应用需求。At present, as a page display control of an application, widgets usually need to be displayed after development according to different page display requirements. Therefore, for application scenarios with a large number of different page display requirements or frequently changing page display requirements, the work of widget development The amount is very large and cannot meet the application requirements in real time.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种挂件展示控制方法、装置、系统、电子设备、服务器及存储介质,以解决对于具有大量不同页面展示需求或者页面显示需求频繁变化的应用场景,挂件开发的工作量非常大,无法实时满足应用需求的问题。The embodiments of the present application provide a pendant display control method, device, system, electronic device, server, and storage medium, so as to solve the application scenario with a large number of different page display requirements or frequent changes in page display requirements, and the workload of pendant development is very high. The problem is that it cannot meet the application requirements in real time.
有鉴于此,本申请第一方面提供了一种挂件展示控制方法,包括:In view of this, a first aspect of the present application provides a pendant display control method, including:
获取当前页面包括的至少一个挂件的展示控制参数,所述展示控制参数至少包括所述挂件的生效起始时间以及生效结束时间;Obtain the display control parameters of at least one widget included in the current page, where the display control parameters include at least the effective start time and the effective end time of the widget;
检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,在所述当前页面中设置展示所述第一挂件;It is detected that the current moment matches the effective start time of the first pendant not displayed on the current page, and the first pendant is set to be displayed in the current page;
检测到当前时刻符合所述当前页面已展示的第二挂件的生效结束时间,在所述当前页面中设置关闭展示所述第二挂件。It is detected that the current moment matches the effective end time of the second widget displayed on the current page, and the display of the second widget is set to be disabled on the current page.
可选的,所述展示控制参数还包括所述挂件的策略标识;Optionally, the display control parameter further includes a policy identifier of the pendant;
在所述检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,在所述当前页面中设置展示所述第一挂件之前,所述方法还包括:Before the detecting that the current moment matches the effective start time of the first widget not displayed on the current page, and before setting and displaying the first widget on the current page, the method further includes:
根据所述第一挂件的策略标识,从预先设置的多个控制策略中确定所述第一挂件的控制策略;determining the control strategy of the first pendant from a plurality of preset control strategies according to the strategy identifier of the first pendant;
在所述检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,在所述当前页面中设置展示所述第一挂件之后,所述方法还包括:After it is detected that the current moment matches the effective start time of the first widget not displayed on the current page, and after the first widget is set to be displayed on the current page, the method further includes:
根据控制策略,控制所述第一挂件在所述当前页面中展示。According to the control strategy, the first widget is controlled to be displayed on the current page.
可选的,还包括:Optionally, also include:
在根据所述第一挂件的控制策略确定允许关闭所述第一挂件的情况下,在所述第一挂件的展示界面中显示关闭按钮。When it is determined according to the control strategy of the first pendant that the first pendant is allowed to be closed, a close button is displayed on the display interface of the first pendant.
可选的,所述检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,在所述当前页面中设置展示所述第一挂件,包括:Optionally, the detecting that the current moment matches the effective start time of the first pendant not displayed on the current page, and setting and displaying the first pendant on the current page, including:
检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,若根据预先存储的操作记录、以及所述第一挂件的控制策略,确定展示所述第一挂件的情况下,在所述当前页面中设置展示所述第一挂件。It is detected that the current moment matches the effective start time of the first pendant not displayed on the current page, and if it is determined to display the first pendant according to the pre-stored operation record and the control strategy of the first pendant, The first widget is set to be displayed on the current page.
可选的,所述展示控制参数还包括所述挂件的状态参数;Optionally, the display control parameter further includes a state parameter of the pendant;
所述检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,在所述当前页面中设置展示所述第一挂件,包括:The detecting that the current moment matches the effective start time of the first pendant not displayed on the current page, and setting and displaying the first pendant on the current page, including:
检测到所述当前时刻与所述第一挂件的生效起始时间一致时,根据所述第一挂件的所述状态参数,生成待展示的挂件内容;When it is detected that the current time is consistent with the effective start time of the first pendant, the content of the pendant to be displayed is generated according to the state parameter of the first pendant;
根据所述挂件内容,在所述当前页面中设置展示所述第一挂件。According to the content of the pendant, the first pendant is set and displayed in the current page.
可选的,所述状态参数包括与所述挂件对应的资源链接;Optionally, the state parameter includes a resource link corresponding to the pendant;
所述根据所述第一挂件的所述状态参数,生成待展示的挂件内容,包括:The generating the content of the pendant to be displayed according to the state parameter of the first pendant includes:
根据所述第一挂件对应的资源链接,获取与所述第一挂件对应的一张图片和/或图片组,将所述图片和/或图片组确定为所述挂件内容。Acquire a picture and/or a picture group corresponding to the first pendant according to the resource link corresponding to the first pendant, and determine the picture and/or the picture group as the content of the pendant.
可选的,所述状态参数包括与所述挂件对应的一张图片和/或图片组;Optionally, the state parameter includes a picture and/or a picture group corresponding to the pendant;
所述根据所述第一挂件的所述状态参数,生成待展示的挂件内容,包括:The generating the content of the pendant to be displayed according to the state parameter of the first pendant includes:
从所述第一挂件的状态参数中确定所述图片和/或图片组,将所述图片和/或图片组确定为所述挂件内容。The picture and/or the picture group is determined from the state parameter of the first widget, and the picture and/or the picture group is determined as the widget content.
可选的,所述状态参数还包括展示标识;Optionally, the status parameter further includes a display identifier;
所述根据所述挂件内容,在所述当前页面中设置展示所述第一挂件,包括:The setting and displaying the first pendant in the current page according to the content of the pendant includes:
在根据所述展示标识确定展示所述图片时,根据所述图片在所述当前页面中设置展示所述第一挂件;或者,When it is determined to display the picture according to the display identifier, set and display the first pendant on the current page according to the picture; or,
在根据所述展示标识确定展示所述图片组中的图片时,根据所述图片组中的图片在所述当前页面中设置展示所述第一挂件。When it is determined to display the pictures in the picture group according to the display identifier, the first widget is set and displayed on the current page according to the pictures in the picture group.
可选的,所述状态参数还包括所述挂件的高度参数和宽度参数;Optionally, the state parameter further includes a height parameter and a width parameter of the pendant;
所述根据所述图片在所述当前页面中设置展示所述第一挂件,包括:The setting and displaying the first pendant in the current page according to the picture includes:
对所述图片进行渲染,并按照所述高度参数和宽度参数在所述第一挂件的展示界面中展示渲染后的图片。The picture is rendered, and the rendered picture is displayed in the display interface of the first pendant according to the height parameter and the width parameter.
可选的,所述状态参数还包括所述挂件的高度参数和宽度参数、以及所述图片组的播放帧率;Optionally, the state parameter further includes a height parameter and a width parameter of the pendant, and a playback frame rate of the picture group;
所述根据所述图片组中的图片在所述当前页面中设置展示所述第一挂件,包括:The setting and displaying the first pendant on the current page according to the pictures in the picture group, including:
对所述图片组中的图片进行渲染,按照所述高度参数和宽度参数,根据所述播放帧率依次在所述第一挂件的展示界面中展示渲染后的图片。The pictures in the picture group are rendered, and the rendered pictures are displayed in the display interface of the first widget in sequence according to the height parameter and the width parameter and according to the playback frame rate.
可选的,所述获取当前页面包括的至少一个挂件的展示控制参数,包括:Optionally, the obtaining the display control parameters of at least one widget included in the current page includes:
从服务器周期性获取所述展示控制参数。The presentation control parameters are periodically obtained from the server.
可选的,所述从服务器周期性获取所述展示控制参数,包括:Optionally, the periodic acquisition of the display control parameter from the server includes:
从服务器周期性获取所述展示控制参数的版本号;Periodically obtain the version number of the presentation control parameter from the server;
在当前获取的展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,从所述服务器获取所述展示控制参数。In the case that the version number of the presentation control parameter acquired currently is inconsistent with the version number of the presentation control parameter acquired last time, the presentation control parameter is acquired from the server.
本申请实施例第二方面提供了另一种挂件展示控制方法,包括:A second aspect of the embodiments of the present application provides another method for controlling display of pendants, including:
接收电子设备发送的展示控制参数获取请求,所述展示控制参数获取请求包括挂件的挂件标识;Receive a display control parameter acquisition request sent by the electronic device, where the display control parameter acquisition request includes a pendant identifier of the pendant;
根据所述挂件标识,确定所述挂件的展示控制参数;所述展示控制参数至少包括所述挂件的生效起始时间以及生效结束时间;Determine the display control parameters of the pendant according to the pendant identifier; the display control parameters include at least the effective start time and the effective end time of the pendant;
向所述电子设备发送所述展示控制参数。The presentation control parameters are sent to the electronic device.
可选的,在所述接收电子设备发送的展示控制参数获取请求之前,所述方法还包括:Optionally, before receiving the display control parameter acquisition request sent by the electronic device, the method further includes:
接收电子设备发送的版本号获取请求;Receive a version number acquisition request sent by an electronic device;
响应于所述版本号获取请求,向所述电子设备发送所述展示控制参数的版本号,以使所述电子设备在确定所述展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,发送所述展示控制参数获取请求。In response to the request for obtaining the version number, send the version number of the presentation control parameter to the electronic device, so that the electronic device determines the version number of the presentation control parameter and the version of the presentation control parameter acquired last time. If the numbers are inconsistent, send the display control parameter acquisition request.
本申请实施例第三方面提供了一种挂件展示的控制装置,包括:A third aspect of the embodiments of the present application provides a control device for pendant display, including:
获取模块,被配置为获取当前页面包括的至少一个挂件的展示控制参数,所述展示控制参数至少包括所述挂件的生效起始时间以及生效结束时间;an acquisition module, configured to acquire display control parameters of at least one widget included in the current page, where the display control parameters include at least the effective start time and the effective end time of the widget;
第一检测模块,被配置为检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,在所述当前页面中设置展示所述第一挂件;The first detection module is configured to detect that the current moment matches the effective start time of the first pendant not displayed on the current page, and to display the first pendant in the current page;
第二检测模块,被配置为检测到当前时刻符合所述当前页面已展示的第二挂件的生效结束时间,在所述当前页面中设置关闭展示所述第二挂件。The second detection module is configured to detect that the current moment matches the effective end time of the second widget displayed on the current page, and set the display of the second widget to be disabled on the current page.
可选的,所述展示控制参数还包括所述挂件的策略标识;所述装置还包括:Optionally, the display control parameter further includes a policy identifier of the pendant; the device further includes:
确定模块,被配置为根据所述第一挂件的策略标识,从预先设置的多个控制策略中确定所述第一挂件的控制策略;a determining module, configured to determine the control strategy of the first pendant from a plurality of preset control strategies according to the strategy identifier of the first pendant;
控制模块,被配置为根据控制策略,控制所述第一挂件在所述当前页面中展示。The control module is configured to control the first pendant to be displayed on the current page according to a control policy.
可选的,所述装置还包括:Optionally, the device further includes:
显示模块,被配置为在根据所述第一挂件的控制策略确定允许关闭所述第一挂件的情况下,在所述第一挂件的展示界面中显示关闭按钮。The display module is configured to display a close button in the display interface of the first pendant when it is determined that the first pendant is allowed to be closed according to the control strategy of the first pendant.
可选的,所述第一检测模块,具体被配置为检测到当前时刻符合所述当前页面未展示的第一挂件的生效起始时间,若根据预先存储的操作记录、以及所述第一挂件的控制策略,确定展示所述第一挂件的情况下,在所述当前页面中设置展示所述第一挂件。Optionally, the first detection module is specifically configured to detect that the current moment matches the effective start time of the first pendant not displayed on the current page. If it is determined to display the first pendant, set the display of the first pendant in the current page.
可选的,所述展示控制参数还包括所述挂件的状态参数,所述第一检测模块包括:Optionally, the display control parameter further includes a state parameter of the pendant, and the first detection module includes:
生成单元,被配置为检测到所述当前时刻与所述第一挂件的生效起始时间一致时,根据所述第一挂件的所述状态参数,生成待展示的挂件内容;The generating unit is configured to generate the content of the pendant to be displayed according to the state parameter of the first pendant when it is detected that the current moment is consistent with the effective start time of the first pendant;
展示单元,被配置为根据所述挂件内容,在所述当前页面中设置展示所述第一挂件。The display unit is configured to display the first pendant in the current page according to the content of the pendant.
可选的,所述状态参数包括与所述挂件对应的资源链接;Optionally, the state parameter includes a resource link corresponding to the pendant;
所述生成单元,具体被配置为根据所述第一挂件对应的资源链接,获取与所述第一挂件对应的一张图片和/或图片组,将所述图片和/或图片组确定为所述挂件内容。The generating unit is specifically configured to obtain a picture and/or a picture group corresponding to the first pendant according to the resource link corresponding to the first pendant, and determine the picture and/or the picture group as the the content of the pendant.
可选的,所述状态参数包括与所述挂件对应的一张图片和/或图片组;Optionally, the state parameter includes a picture and/or a picture group corresponding to the pendant;
所述生成单元,具体被配置为从所述第一挂件的状态参数中确定所述图片和/或图片组,将所述图片和/或图片组确定为所述挂件内容。The generating unit is specifically configured to determine the picture and/or the picture group from the state parameters of the first widget, and determine the picture and/or the picture group as the widget content.
可选的,所述状态参数还包括展示标识;Optionally, the status parameter further includes a display identifier;
所述展示单元,具体被配置为在根据所述展示标识确定展示所述图片时,根据所述图片在所述当前页面中设置展示所述第一挂件;或者,在根据所述展示标识确定展示所述图片组中的图片时,根据所述图片组中的图片在所述当前页面中设置展示所述第一挂件。The display unit is specifically configured to set and display the first pendant in the current page according to the picture when it is determined to display the picture according to the display identification; or, when the display is determined to be displayed according to the display identification In the case of the pictures in the picture group, the first widget is set and displayed in the current page according to the pictures in the picture group.
可选的,所述状态参数还包括所述挂件的高度参数和宽度参数;Optionally, the state parameter further includes a height parameter and a width parameter of the pendant;
所述展示单元,具体被配置为对所述图片进行渲染,并按照所述高度参数和宽度参数在所述第一挂件的展示界面中展示渲染后的图片。The display unit is specifically configured to render the picture, and display the rendered picture in the display interface of the first pendant according to the height parameter and the width parameter.
可选的,所述状态参数还包括所述挂件的高度参数和宽度参数、以及所述图片组的播放帧率;Optionally, the state parameter further includes a height parameter and a width parameter of the pendant, and a playback frame rate of the picture group;
所述展示单元,具体被配置为对所述图片组中的图片进行渲染,按照所述高度参数和宽度参数,根据所述播放帧率依次在所述第一挂件的展示界面中展示渲染后的图片。The display unit is specifically configured to render the pictures in the picture group, and according to the height parameter and the width parameter, according to the playback frame rate, sequentially display the rendered pictures in the display interface of the first pendant. picture.
可选的,所述获取模块,具体被配置为从服务器周期性获取所述展示控制参数。Optionally, the acquiring module is specifically configured to periodically acquire the presentation control parameter from a server.
可选的,所述获取模块,还具体被配置为从服务器周期性获取所述展示控制参数的版本号;在当前获取的展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,从所述服务器获取所述展示控制参数。Optionally, the obtaining module is also specifically configured to periodically obtain the version number of the display control parameter from the server; the version number of the display control parameter currently obtained is inconsistent with the version number of the display control parameter obtained last time. In the case of , obtain the presentation control parameter from the server.
本申请实施例第四方面提供了另一种挂件展示的控制装置,包括:A fourth aspect of the embodiments of the present application provides another control device for pendant display, including:
接收模块,被配置为接收电子设备发送的展示控制参数获取请求,所述展示控制参数获取请求包括挂件的挂件标识;a receiving module, configured to receive a display control parameter acquisition request sent by the electronic device, where the display control parameter acquisition request includes a pendant identifier of the pendant;
确定模块,被配置为根据所述挂件标识,确定所述挂件的展示控制参数;所述展示控制参数至少包括所述挂件的生效起始时间以及生效结束时间;a determining module, configured to determine the display control parameters of the pendant according to the pendant identifier; the display control parameters at least include the effective start time and the effective end time of the pendant;
发送模块,被配置为向所述电子设备发送所述展示控制参数。A sending module configured to send the presentation control parameter to the electronic device.
可选的,所述接收模块,还被配置为接收电子设备发送的版本号获取请求;Optionally, the receiving module is further configured to receive a version number acquisition request sent by the electronic device;
所述确定模块,还被配置为响应于所述版本号获取请求,向所述电子设备发送所述展示控制参数的版本号,以使所述电子设备在确定所述展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,发送所述展示控制参数获取请求。The determining module is further configured to send the version number of the presentation control parameter to the electronic device in response to the version number acquisition request, so that the electronic device determines that the version number of the presentation control parameter is the same as that of the electronic device. In the case that the version numbers of the display control parameters obtained last time are inconsistent, the request for obtaining the display control parameters is sent.
本申请实施例第五方面提供一种电子设备,包括:A fifth aspect of the embodiments of the present application provides an electronic device, including:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现如本申请第一方面任一可选实现方式中所述的挂件展示控制方法。Wherein, the processor is configured to execute the instructions, so as to implement the pendant display control method described in any optional implementation manner of the first aspect of the present application.
本申请实施例第六方面提供一种服务器,包括:A sixth aspect of the embodiments of the present application provides a server, including:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现如本申请第二方面任一可选实现方式中所述的挂件展示控制方法。Wherein, the processor is configured to execute the instructions, so as to implement the pendant display control method described in any optional implementation manner of the second aspect of the present application.
本申请实施例第七方面提供一种挂件展示的控制系统,包括:A seventh aspect of the embodiments of the present application provides a control system for pendant display, including:
如本申请第五方面所述的电子设备,以及The electronic device according to the fifth aspect of the present application, and
如本申请第六方面所述的服务器。The server according to the sixth aspect of the present application.
本申请实施例第八方面提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行如本申请第一方面任一可选实现方式中所述的挂件展示控制方法;或者,An eighth aspect of an embodiment of the present application provides a non-transitory computer-readable storage medium. When an instruction in the storage medium is executed by a processor of an electronic device, the electronic device can perform any of the operations in the first aspect of the present application. A pendant display control method described in an optional implementation; or,
当所述存储介质中的指令由服务器的处理器执行时,使得所述服务器能够执行如本申请第二方面任一可选实现方式中所述的挂件展示控制方法。When the instructions in the storage medium are executed by the processor of the server, the server is enabled to execute the widget display control method described in any optional implementation manner of the second aspect of the present application.
本申请实施例第九方面提供一种包含指令的计算机程序产品,当所述计算机程序产品在服务器上运行时,使得所述服务器执行如本申请第一方面任一可选实现方式中所述的挂件展示控制方法;或者,A ninth aspect of the embodiments of the present application provides a computer program product including instructions, when the computer program product runs on a server, the server is made to execute any of the optional implementation manners of the first aspect of the present application. Pendant display control method; or,
当所述存储介质中的指令由服务器的处理器执行时,使得所述服务器能够执行如本申请第二方面任一可选实现方式中所述的挂件展示控制方法。When the instructions in the storage medium are executed by the processor of the server, the server is enabled to execute the widget display control method described in any optional implementation manner of the second aspect of the present application.
从以上技术方案可以看出,本申请实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present application have the following advantages:
在本申请实施例中,通过电子设备获取当前页面包括的挂件的展示控制参数,在当前时刻符合当前页面未展示的第一挂件的生效起始时间时,在当前页面中设置展示第一挂件,在当前时刻符合当前页面已展示的第二挂件的生效结束时间时,在当前页面中设置关闭展示第二挂件。可以实现无需对挂件重新开发,就能灵活实时控制展示的挂件来满足不同的页面展示需求,提高挂件展示效率。尤其适用具有大量页面展示需求或者页面展示需求频繁变化的应用场景。In the embodiment of the present application, the display control parameters of the pendant included in the current page are obtained through the electronic device, and when the current moment matches the effective start time of the first pendant not displayed on the current page, the display of the first pendant is set in the current page, When the current moment matches the effective end time of the second widget displayed on the current page, the display of the second widget is disabled on the current page. It can realize the flexible real-time control of the displayed pendants without re-development of the pendants to meet different page display requirements and improve the efficiency of pendant display. It is especially suitable for application scenarios with a large number of page display requirements or frequent changes in page display requirements.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments and the prior art. Obviously, the drawings in the following description are only some implementations of the present application. For example, other drawings may also be obtained from these drawings.
图1是根据一示例性实施例示出的一种挂件展示控制方法的步骤流程图;FIG. 1 is a flow chart showing the steps of a method for controlling display of a pendant according to an exemplary embodiment;
图2是根据一示例性实施例示出的另一种挂件展示控制方法的步骤流程图;FIG. 2 is a flowchart showing the steps of another method for controlling display of pendants according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种挂件展示控制方法的信令交互图;3 is a signaling interaction diagram of a method for controlling display of widgets according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种挂件展示控制装置的结构框图;4 is a structural block diagram of a pendant display control device according to an exemplary embodiment;
图5是根据一示例性实施例示出的另一种挂件展示控制装置的结构框图;FIG. 5 is a structural block diagram of another pendant display control device according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种挂件展示控制系统的结构图;6 is a structural diagram of a pendant display control system according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种电子设备的结构框图;7 is a structural block diagram of an electronic device according to an exemplary embodiment;
图8是根据一示例性实施例示出的另一种挂件展示控制装置的结构框图。Fig. 8 is a structural block diagram of another pendant display control device according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only the Some, but not all, examples are claimed. Based on the embodiments in this application, all should belong to the scope of protection of this application.
下面结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention are described below with reference to the accompanying drawings in the embodiments of the present invention.
图1是根据一示例性实施例示出的一种挂件展示控制方法的步骤流程图,参照图1,本实施例提供的挂件展示控制方法可以适用于应用程序中挂件的调整,以灵活、快速的对挂件的展示时间进行调整。本实施例提供的挂件展示控制方法可以由挂件控制装置执行,挂件控制装置通常以软件和/或硬件的方式实现,挂件控制装置可以设置于电子设备,该方法可以包括以下步骤:FIG. 1 is a flowchart showing the steps of a method for controlling the display of a pendant according to an exemplary embodiment. Referring to FIG. 1 , the method for controlling the display of a pendant provided in this embodiment can be applied to the adjustment of a pendant in an application program, so as to flexibly and quickly Adjust the display time of the pendant. The pendant display control method provided in this embodiment may be executed by a pendant control device, which is usually implemented in software and/or hardware, and the pendant control device may be provided in an electronic device, and the method may include the following steps:
101、获取当前页面包括的至少一个挂件的展示控制参数。101. Acquire display control parameters of at least one widget included in the current page.
其中,展示控制参数至少包括挂件的生效起始时间以及生效结束时间。当前页面为在电子设备的显示屏中显示的应用程序中的一个页面,挂件是可以在当前页面中展示的挂件,当前页面中可以包括一个或多个挂件。对页面和挂件的理解可参考现有技术,本实施例对此不做赘述。电子设备可以获取当前页面中所有挂件的展示控制参数,也可以只获取其中部分挂件的展示控制参数,本实施例对此不做限制。The display control parameters include at least the effective start time and the effective end time of the widget. The current page is a page in an application program displayed on the display screen of the electronic device, the widget is a widget that can be displayed on the current page, and the current page may include one or more widgets. For the understanding of the page and the pendant, reference may be made to the prior art, which is not repeated in this embodiment. The electronic device may acquire the display control parameters of all the pendants on the current page, or may only acquire the display control parameters of some of the pendants, which is not limited in this embodiment.
本实施例中,生效起始时间为挂件开始展示的时间,当挂件的生效起始时间到达时,挂件开始在当前页面中展示。生效结束时间与生效起始时间对应,生效结束时间为挂件结束展示的时间,当挂件的生效结束时间到达时,挂件结束在当前页面的展示。例如,若当前页面包括挂件A,挂件A的生效起始时间为3月18日10点,生效结束时间为3月18日12点,则挂件A从3月18日10点开始在当前页面中展示,时间到达3月18日12点时,挂件A结束在当前页面的展示。需要说明的是,挂件需要在页面处于显示状态时,才能在当前页面中展示,即在3月18日10点至3月18日12点之间,若当前页面在电子设备的显示屏中显示,则挂件在当前页面中展示,若当前页面未在电子设备的显示屏中显示,则不展示挂件。In this embodiment, the effective start time is the time when the widget starts to be displayed. When the effective start time of the widget arrives, the widget starts to be displayed on the current page. The effective end time corresponds to the effective start time. The effective end time is the time when the widget ends display. When the effective end time of the widget arrives, the widget ends its display on the current page. For example, if the current page includes pendant A, the effective start time of pendant A is 10:00 on March 18, and the effective end time is 12:00 on March 18, then pendant A will be displayed on the current page from 10:00 on March 18 Display, when the time reaches 12:00 on March 18, the display of pendant A on the current page ends. It should be noted that the pendant can only be displayed on the current page when the page is displayed, that is, between 10:00 on March 18 and 12:00 on March 18, if the current page is displayed on the display screen of the electronic device , the pendant is displayed on the current page. If the current page is not displayed on the display screen of the electronic device, the pendant is not displayed.
电子设备可以直接向服务器发送数据请求,以获取服务器响应于数据请求之后,返回的展示控制参数。或者,电子设备可以直接接收服务器发送的展示控制参数。又或者,电子设备可以获取预先存储的展示控制参数,或者从其他电子设备中获取展示控制参数。电子设备获取展示控制参数的方法可以根据需求设置,本实施例对此不做限制。The electronic device may directly send a data request to the server to obtain the presentation control parameters returned by the server after the server responds to the data request. Alternatively, the electronic device may directly receive the presentation control parameters sent by the server. Alternatively, the electronic device may acquire pre-stored presentation control parameters, or acquire presentation control parameters from other electronic devices. The method for obtaining the display control parameter by the electronic device may be set according to requirements, which is not limited in this embodiment.
102、检测到当前时刻符合当前页面未展示的第一挂件的生效起始时间,在当前页面中设置展示第一挂件。102. Detecting that the current moment matches the effective start time of the first widget not displayed on the current page, and setting the display of the first widget on the current page.
其中,第一挂件为当前页面包括的挂件中,未在当前页面中展示的挂件。The first widget is a widget included in the current page that is not displayed on the current page.
本实施例中,电子设备在接收到展示控制参数之后,可以确定展示控制参数中包括的每个挂件的生效起始时间,并根据挂件的生效起始时间启动计时器记录当前时刻,在计时器记录的当前时刻与第一挂件的生效起始时间一致时,在当前页面中展示第一挂件。In this embodiment, after receiving the display control parameters, the electronic device may determine the effective start time of each pendant included in the display control parameters, and start a timer according to the effective start time of the pendant to record the current time. When the recorded current time is consistent with the effective start time of the first widget, the first widget is displayed on the current page.
结合上述举例,若电子设备获取的挂件A的展示控制参数中,生效起始时间为3月18日10点,电子设备可以根据挂件A的生效起始时间启动计时器记录当前时刻。例如,电子设备可以根据服务器时间和电子设备的处理器(CPU,Central Processing Unit)时间设置计时器,并启动计时器计时,若电子设备当前时刻从服务器获取的服务器时间为3月18日0点,并确定电子设备的CPU时间为1点,则服务器可以确定当前的实际时间为3月18日1点(即服务器时间与CPU时间之和),可以确定从当前时刻起的第9个小时(当前的实际时间与生效起始时间之间的间隔时长)之后,到达挂件A的生效起始时间3月18日10点。此时,电子设备可以建立与挂件对应的守护进程(计时器),开始计时。当计时器记录的当前时刻与挂件A的生效起始时间一致(即计时器记录的当前时刻为3月18日10点)时,确定当前时刻符合挂件A的生效起始时间。此时,电子设备可以在当前页面中设置展示挂件A(第一挂件)。Combining the above example, if the display control parameters of pendant A obtained by the electronic device have the effective start time at 10:00 on March 18, the electronic device can start the timer according to the effective start time of pendant A to record the current time. For example, the electronic device can set a timer according to the server time and the central processing unit (CPU, Central Processing Unit) time of the electronic device, and start the timer to count, if the server time obtained by the electronic device from the server at the current moment is 0:00 on March 18 , and determine that the CPU time of the electronic device is 1:00, then the server can determine that the current actual time is 1:00 on March 18 (that is, the sum of the server time and the CPU time), and can determine the 9th hour from the current moment ( After the interval between the current actual time and the effective start time), the effective start time of pendant A is reached at 10:00 on March 18th. At this time, the electronic device can establish a daemon process (timer) corresponding to the pendant and start timing. When the current time recorded by the timer is consistent with the effective start time of pendant A (that is, the current time recorded by the timer is 10:00 on March 18), it is determined that the current time conforms to the effective start time of pendant A. At this time, the electronic device can set the display pendant A (the first pendant) in the current page.
需要说明的是,挂件A只在生效起始时间到达之后,才在当前页面中显示,在当前时刻未到达生效起始时间时,挂件A并不在当前页面中显示,此时挂件A为未展示的第一挂件。It should be noted that pendant A is displayed on the current page only after the effective start time is reached. If the current time does not reach the effective start time, pendant A is not displayed on the current page, and pendant A is not displayed at this time. the first pendant.
实际应用中,电子设备也可以直接读取电子设备的CPU时间,根据CPU时间和挂件的生效起始时间,设置并启动计时器记录当前时刻。例如,电子设备可以直接确定CPU时间(如3月18日1点),可以确定从当前时刻起的第9个小时(CPU时间与生效起始时间之间的间隔时长)之后,到达挂件A的生效起始时间3月18日10点。对服务器时间和CPU时间的理解可参考现有技术,本实施例在此不做赘述。In practical applications, the electronic device can also directly read the CPU time of the electronic device, and set and start a timer to record the current time according to the CPU time and the effective start time of the pendant. For example, the electronic device can directly determine the CPU time (for example, at 1:00 on March 18), and can determine that after the ninth hour (the interval between the CPU time and the effective start time) from the current moment, the time when the device reaches pendant A Effective from 10:00 on March 18. For understanding of the server time and the CPU time, reference may be made to the prior art, which is not repeated in this embodiment.
103、检测到当前时刻符合当前页面已展示的第二挂件的生效结束时间,在当前页面中设置关闭展示第二挂件。103. It is detected that the current moment matches the effective end time of the second widget displayed on the current page, and the display of the second widget is set to be disabled on the current page.
其中,第二挂件为当前页面包括的挂件中,已经在当前页面中展示的挂件。例如,挂件B的生效起始时间在当前时刻之前,挂件B已经在当前页面中展示,则挂件B为第二挂件。Among them, the second widget is a widget that has been displayed on the current page among the widgets included in the current page. For example, if the effective start time of pendant B is before the current time, and pendant B has been displayed on the current page, pendant B is the second pendant.
本实施例中,若电子设备获取的挂件B的生效结束时间为3月18日10点,结合步骤102,在计时器记录的当前时刻为3月18日10点时,可以确定当前时刻与挂件B(第二挂件)的生效结束时间一致。此时,若当前页面中显示有挂件B,电子设备可以在当前页面中关闭展示挂件B。In this embodiment, if the effective end time of the pendant B obtained by the electronic device is 10:00 on March 18, in combination with
需要说明的是,生效起始时间与生效结束时间对应,电子设备在当前页面展示第一挂件之后,可以控制计时器持续计时,在检测到当前时刻与生效结束时间一致时,终止第一挂件(此时的第一挂件为第二挂件)在当前页面的展示。例如,挂件A的生效结束时间为3月18日12点,在检测到当前时刻为3月18日10点时,电子设备在当前页面展示挂件A,在3月18日10点之后,电子设备控制计时器持续计时,当检测到当前时刻为3月18日12点时,电子设备在当前页面中关闭展示挂件A,此时的挂件A已经在当前页面显示,为第二挂件。It should be noted that the effective start time corresponds to the effective end time. After the electronic device displays the first pendant on the current page, it can control the timer to keep timing, and terminate the first pendant when it detects that the current time is consistent with the effective end time ( At this time, the first pendant is the display of the second pendant) on the current page. For example, the effective end time of pendant A is 12:00 on March 18. When it is detected that the current time is 10:00 on March 18, the electronic device displays pendant A on the current page. After 10:00 on March 18, the electronic device will display pendant A on the current page. The timer is controlled to keep counting, and when it is detected that the current time is 12:00 on March 18, the electronic device closes the display pendant A on the current page, and the pendant A at this time has been displayed on the current page, which is the second pendant.
综上所述,本实施例中,电子设备获取当前页面包括的挂件的展示控制参数,在当前时刻符合当前页面未展示的第一挂件的生效起始时间时,在当前页面中设置展示第一挂件,在当前时刻符合当前页面已展示的第二挂件的生效结束时间时,在当前页面中设置关闭展示第二挂件。可以实现无需对挂件重新开发,就能灵活实时控制展示的挂件来满足不同的页面展示需求,提高挂件展示效率。尤其适用具有大量页面展示需求或者页面展示需求频繁变化的应用场景。To sum up, in this embodiment, the electronic device obtains the display control parameters of the widget included in the current page, and when the current moment matches the effective start time of the first widget not displayed on the current page, the display first widget is set on the current page. For the widget, when the current moment matches the effective end time of the second widget displayed on the current page, the second widget is set to be disabled on the current page. It can realize the flexible real-time control of the displayed pendants without re-development of the pendants to meet different page display requirements and improve the efficiency of pendant display. It is especially suitable for application scenarios with a large number of page display requirements or frequent changes in page display requirements.
图2是根据一示例性实施例示出的另一种挂件展示控制方法的步骤流程图,如图2所示,该方法可以包括如下步骤:Fig. 2 is a flowchart showing the steps of another method for controlling display of pendants according to an exemplary embodiment. As shown in Fig. 2, the method may include the following steps:
201、电子设备从服务器周期性获取展示控制参数。201. The electronic device periodically obtains display control parameters from the server.
本实施例中,电子设备可以按预设周期向服务器发送展示控制参数获取请求,展示控制参数获取请求中可以包括挂件的挂件标识(挂件标识例如挂件的名称)。服务器在接收到电子设备发送的展示控制参数获取请求之后,可以解析展示控制参数获取请求,根据展示控制参数获取请求中包括的挂件标识,确定挂件的展示控制参数,向电子设备返回展示控制参数。其中,预设周期可以为1秒、2秒或3秒,预设周期的长度可以根据需求设置,本实施例对此不做限制。In this embodiment, the electronic device may send a display control parameter acquisition request to the server according to a preset period, and the display control parameter acquisition request may include a pendant identifier of the pendant (the pendant identifier, such as the name of the pendant). After receiving the display control parameter acquisition request sent by the electronic device, the server can parse the display control parameter acquisition request, determine the display control parameters of the pendant according to the pendant identifier included in the display control parameter acquisition request, and return the display control parameters to the electronic device. The preset period may be 1 second, 2 seconds, or 3 seconds, and the length of the preset period may be set according to requirements, which is not limited in this embodiment.
可选的,步骤201可以通过如下方式实现:Optionally,
从服务器周期性获取展示控制参数的版本号;Periodically obtain the version number of the display control parameters from the server;
在当前获取的展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,从服务器获取展示控制参数。In the case that the version number of the display control parameter obtained currently is inconsistent with the version number of the display control parameter obtained last time, the display control parameter is obtained from the server.
其中,版本号用于唯一标识展示控制参数的版本。实际应用中,用户每次对应用程序中的挂件进行调整时,可以设置相应的展示控制参数,并为每次调整时的展示控制参数设置唯一的版本号。版本号的具体形式可以根据需求设置,本实施例对此不做限制。The version number is used to uniquely identify the version of the display control parameter. In practical applications, each time a user adjusts a pendant in an application program, a corresponding display control parameter can be set, and a unique version number can be set for the display control parameter during each adjustment. The specific form of the version number can be set according to requirements, which is not limited in this embodiment.
本实施例中,电子设备在从服务器获取展示控制参数之前,首先可以从服务器获取展示控制参数的版本号,在获取展示控制参数的版本号之后,可以比较当前获取的展示控制参数的版本号与上一次获取的展示控制参数的版本号,若当前获取的展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致,则说明服务器中的展示控制参数为新的展示控制参数。此时,电子设备可以向服务器发送展示控制参数获取请求,以从服务器获取新的展示控制参数,根据新的展示控制参数对当前页面中的挂件进行控制。相反的,若当前获取的展示控制参数的版本号与上一次获取的展示控制参数的版本号一致,则说明服务器中的展示控制参数已经被电子设备获取,此时并不需要重复从服务器获取相同的展示控制参数。In this embodiment, before acquiring the presentation control parameters from the server, the electronic device may first acquire the version number of the presentation control parameters from the server, and after acquiring the version number of the presentation control parameters, it may compare the currently acquired version number of the presentation control parameter with that of the presentation control parameter. The version number of the display control parameters obtained last time. If the version number of the display control parameters currently obtained is inconsistent with the version number of the display control parameters obtained last time, it means that the display control parameters in the server are new display control parameters. At this time, the electronic device may send a display control parameter acquisition request to the server to acquire new display control parameters from the server, and control the widget in the current page according to the new display control parameters. On the contrary, if the version number of the display control parameters currently obtained is the same as the version number of the display control parameters obtained last time, it means that the display control parameters in the server have been obtained by the electronic device, and there is no need to repeatedly obtain the same from the server. display control parameters.
实际应用中,电子设备按预设周期从服务器获取展示控制参数,可以及时获取最新的展示控制参数,以及时的对挂件的展示时间进行调整。在获取展示控制参数的过程中,首先根据展示控制参数的版本号确定是否需要获取展示控制参数,可以避免从服务器重复获取相同的展示控制参数,从而降低电子设备的通信负载。In practical applications, the electronic device obtains the display control parameters from the server according to a preset period, and can obtain the latest display control parameters in time, and adjust the display time of the pendant in time. In the process of obtaining the display control parameters, it is first determined whether the display control parameters need to be obtained according to the version number of the display control parameters, which can avoid repeatedly obtaining the same display control parameters from the server, thereby reducing the communication load of the electronic device.
可选的,电子设备也可以在每次启动应用程序时,向服务器发送展示控制参数获取请求,获取展示控制参数的版本号。Optionally, the electronic device may also send a request for obtaining the display control parameters to the server each time the application is started to obtain the version number of the display control parameters.
示例的,电子设备可以在应用程序冷启动和/或热启动时,向服务器发送展示控制参数获取请求,从服务器获取展示控制参数的版本号。在应用程序每次启动时,从服务器获取展示控制参数的版本号,可以及时从服务器获取最新的展示控制参数,根据最新的展示控制参数对当前页面中挂件的展示时间进行调整,满足实时性需求。对冷启动和热启动的理解,以及电子设备在应用程序启动时向服务器发送展示控制参数获取请求的过程可参考现有技术,本实施例在此不做赘述。For example, the electronic device may send a request for obtaining the presentation control parameters to the server, and obtain the version number of the presentation control parameters from the server when the application is cold started and/or warmly started. Each time the application starts, the version number of the display control parameters is obtained from the server, and the latest display control parameters can be obtained from the server in time, and the display time of the widgets in the current page can be adjusted according to the latest display control parameters to meet real-time requirements. . Reference may be made to the prior art for the understanding of the cold start and the warm start, and the process of the electronic device sending the display control parameter acquisition request to the server when the application is started, which will not be repeated in this embodiment.
以上仅为示例性举例,在实际应用中,也可以通过其他方式获取展示控制参数的版本号,例如,电子设备可以在从服务器获取接口数据的同时,从服务器获取展示控制参数的版本号,具体从服务器获取展示控制参数的版本号的方法可以根据需求设置,本实施例对此不做限制。The above is only an exemplary example. In practical applications, the version number of the display control parameter can also be obtained in other ways. For example, the electronic device can obtain the version number of the display control parameter from the server while obtaining the interface data from the server. Specifically, The method for obtaining the version number of the display control parameter from the server may be set according to requirements, which is not limited in this embodiment.
本实施例中,电子设备可以通过内容分发网络(CDN,Content Delivery Network)从服务器获取展示控制参数。具体的,可以将展示控制参数存储到CDN网络的多个节点中,电子设备可以从CDN网络的节点中获取展示控制参数,以降低服务器的负载。具体通过CDN网络获取展示控制参数的过程,可参考现有技术中通过CDN网络获取数据的过程,本实施在此不做赘述。In this embodiment, the electronic device may acquire the presentation control parameters from the server through a content distribution network (CDN, Content Delivery Network). Specifically, the presentation control parameters may be stored in multiple nodes of the CDN network, and the electronic device may acquire the presentation control parameters from the nodes of the CDN network, so as to reduce the load of the server. For the specific process of obtaining the display control parameters through the CDN network, reference may be made to the process of obtaining data through the CDN network in the prior art, and details are not described here in this implementation.
202、电子设备检测到当前时刻与第一挂件的生效起始时间一致时,根据第一挂件的状态参数,生成待展示的挂件内容。202. When the electronic device detects that the current time is consistent with the effective start time of the first pendant, it generates content of the pendant to be displayed according to the state parameter of the first pendant.
其中,展示控制参数中还可以包括挂件的状态参数,电子设备可以根据状态参数生成待展示的挂件内容,以根据挂件内容展示挂件。The display control parameters may further include a state parameter of the pendant, and the electronic device may generate content of the pendant to be displayed according to the state parameter, so as to display the pendant according to the content of the pendant.
示例的,结合步骤102,电子设备在设置并启动计时器之后,可以检测计时器记录的当前时刻,以确定是否到达生效起始时间。例如,当计时器记录的当前时刻为3月18日10点时,可以确定当前时刻与挂件A的生效起始时间一致。此时,电子设备可以根据挂件A的状态参数,生成待展示的挂件内容。For example, in conjunction with
可选的,状态参数还可以包括与挂件对应的一张图片和/或图片组,生成待展示的挂件内容可以包括:Optionally, the status parameter may also include a picture and/or picture group corresponding to the pendant, and generating the content of the pendant to be displayed may include:
从第一挂件的状态参数中确定图片和/或图片组,将图片和/或图片组确定为挂件内容。The picture and/or the picture group is determined from the state parameter of the first pendant, and the picture and/or the picture group is determined as the pendant content.
本实施例中,挂件的状态参数中可以包括图片和/或图片组(图片组中包括多张图片,例如20张),电子设备检测到当前时刻与第一挂件的生效起始时间一致时,可以直接从获取到的展示控制参数中,确定第一挂件的状态参数中包括的图片和/或图片组。结合上述举例,电子设备在确定当前时刻为3月18日10点时,若挂件A的状态参数中包括图片A,则电子设备可以从挂件A的状态参数中确定图片A,将图片A作为待展示的挂件内容。同理,若挂件A的状态参数中包括图片组,电子设备可以从挂件A的状态参数中确定图片组,将图片组作为待展示的挂件内容。In this embodiment, the state parameters of the pendant may include pictures and/or picture groups (the picture group includes multiple pictures, for example, 20 pictures). When the electronic device detects that the current moment is consistent with the effective start time of the first pendant, The picture and/or picture group included in the state parameter of the first pendant may be directly determined from the acquired display control parameters. Combining the above example, when the electronic device determines that the current time is 10:00 on March 18, if the state parameter of pendant A includes picture A, the electronic device can determine picture A from the state parameter of pendant A, and use picture A as the pending state parameter. Displayed pendant content. Similarly, if the state parameter of pendant A includes a picture group, the electronic device can determine the picture group from the state parameter of pendant A, and use the picture group as the content of the pendant to be displayed.
实际应用中,状态参数中可以包括图片和/或图片组,电子设备可以根据状态参数中包括的图片和/或图片组生成与目标展示状态对应的目标挂件内容,从而根据目标挂件内容展示更新为目标展示状态的挂件,实现对挂件展示状态的调整。In practical applications, the state parameters may include pictures and/or picture groups, and the electronic device may generate target pendant content corresponding to the target display state according to the pictures and/or picture groups included in the state parameters, so as to display and update the target pendant content as The pendant of the target display state, which realizes the adjustment of the display state of the pendant.
可选的,状态参数包括与挂件对应的资源链接,生成待展示的挂件内容可以包括:Optionally, the status parameter includes a resource link corresponding to the widget, and the content of the widget to be displayed may include:
根据第一挂件对应的资源链接,获取与第一挂件对应的一张图片和/或图片组,将图片和/或图片组确定为挂件内容。According to the resource link corresponding to the first pendant, a picture and/or a picture group corresponding to the first pendant is acquired, and the picture and/or the picture group is determined as the content of the pendant.
本实施例中,状态参数中可以包括与挂件对应的资源链接,电子设备检测到当前时刻与第一挂件的生效起始时间一致时,可以根据状态参数中的资源链接,获取与第一挂件对应图片和/或图片组,将获取到的图片和/或图片组作为挂件内容。资源链接例如可以为与图片和/或图片组对应的统一资源定位符(URL,Uniform Resource Location),电子设备可以根据URL获取图片和/或图片组。结合上述举例,若挂件A的状态参数中包括与图片和/或图片对应的URL,电子设备可以根据状态参数中的URL,获取与挂件A对应的图片和/或图片组,将获取到的图片和/或图片组作为待展示的挂件内容。资源链接的具体类型可以根据需求选择,根据资源链接获取图片和图片组的方法可参考现有技术,本实施例对此不做限制。In this embodiment, the status parameter may include a resource link corresponding to the pendant. When the electronic device detects that the current moment is consistent with the effective start time of the first pendant, it may obtain the resource link corresponding to the first pendant according to the resource link in the status parameter. Picture and/or picture group, use the obtained picture and/or picture group as the content of the pendant. The resource link may be, for example, a Uniform Resource Location (URL, Uniform Resource Location) corresponding to the picture and/or the picture group, and the electronic device may obtain the picture and/or the picture group according to the URL. Combining the above example, if the status parameter of pendant A includes a URL corresponding to the picture and/or the picture, the electronic device can obtain the picture and/or picture group corresponding to pendant A according to the URL in the status parameter, and the obtained picture and/or group of pictures as the content of the pendant to be displayed. The specific type of the resource link may be selected according to requirements, and the method for obtaining pictures and picture groups according to the resource link may refer to the prior art, which is not limited in this embodiment.
实际应用中,若挂件的状态参数中包括资源链接,电子设备在获取到展示控制参数之后,可以在检测到当前时刻符合第一挂件的生效起始时间之前,根据资源链接获取与挂件对应的图片和/或图片组。相应的,在检测到当前时刻符合第一挂件的生效起始时间之后,可以直接根据已经获取的图片和/或图片组,生成待展示的挂件内容。在检测到当前时刻符合第一挂件的生效起始时间之前获取图片和/或图片组,可以避免在检测到当前时刻符合第一挂件的状态生效时间时,无法及时的根据资源链接获取到图片/或图片组,影响第一挂件的展示。In practical applications, if the status parameter of the pendant includes a resource link, after obtaining the display control parameters, the electronic device can obtain the picture corresponding to the pendant according to the resource link before detecting that the current moment matches the effective start time of the first pendant. and/or groups of pictures. Correspondingly, after it is detected that the current moment matches the effective start time of the first widget, the content of the widget to be displayed can be generated directly according to the acquired pictures and/or picture groups. Obtaining pictures and/or picture groups before it is detected that the current moment matches the effective start time of the first pendant can avoid the inability to obtain pictures/ Or the picture group, which affects the display of the first pendant.
同时,在检测到当前时刻符合第一挂件的生效起始时间之前,电子设备可以根据网络状况和下载任务灵活的获取图片和/或图片组。例如,电子设备可以根据连接的网络类型确定是否下载图片和/或图片组,如电子设备在确定连接的网络类型为无线网络(Wi-Fi,Wireless-Fidelity)时,可以根据资源链接下载对应的图片和/或图片组。或者,电子设备在确定当前的下载任务较少时,根据资源链接下载对应的图片和/或图片组。具体根据资源链接获取图片和/或图片组的过程可以根据需求设置,本实施例对此不做限制。Meanwhile, before detecting that the current moment matches the effective start time of the first pendant, the electronic device can flexibly acquire pictures and/or picture groups according to network conditions and download tasks. For example, the electronic device may determine whether to download a picture and/or a picture group according to the type of the connected network. For example, when the electronic device determines that the type of the connected network is a wireless network (Wi-Fi, Wireless-Fidelity), it may download the corresponding resource link according to the resource link. Pictures and/or groups of pictures. Or, when the electronic device determines that the current download tasks are few, download the corresponding picture and/or picture group according to the resource link. The specific process of acquiring pictures and/or picture groups according to resource links may be set according to requirements, which is not limited in this embodiment.
本实施例中,状态参数中可以包括与目标展示状态对应的资源链接,电子设备可以根据资源链接获取图片和/或图片组,根据获取到的图片和/或图片组生成待展示的目标挂件内容,从而根据目标挂件内容实现对挂件展示状态的调整。状态参数中包括资源链接时,可以减少展示控制参数的数据量,可以方便电子设备更快的获取展示控制参数。In this embodiment, the state parameter may include a resource link corresponding to the target display state, the electronic device may obtain a picture and/or a picture group according to the resource link, and generate the target pendant content to be displayed according to the obtained picture and/or picture group , so as to adjust the display state of the pendant according to the content of the target pendant. When the resource link is included in the status parameter, the data amount of the display control parameter can be reduced, which can facilitate the electronic device to obtain the display control parameter more quickly.
203、电子设备根据挂件内容,在当前页面中设置展示第一挂件。203. The electronic device sets and displays the first pendant on the current page according to the content of the pendant.
本实施例中,在检测到当前时刻符合第一挂件的生效起始时间,以及生成对应的挂件内容之后,电子设备可以根据挂件内容,在当前页面展示第一挂件。结合上述举例,在检测到当前时刻与挂件A的生效起始时间一致,并生成与挂件A对应的挂件内容(图片A)之后,可以根据图片A,在当前页面中展示挂件A。In this embodiment, after detecting that the current moment matches the effective start time of the first pendant and generating the corresponding pendant content, the electronic device may display the first pendant on the current page according to the pendant content. Combining the above example, after it is detected that the current time is consistent with the effective start time of pendant A, and the pendant content (picture A) corresponding to pendant A is generated, pendant A can be displayed on the current page according to picture A.
可选的,状态参数中还可以包括展示标识;Optionally, the status parameter may also include a display identifier;
相应的,步骤203可以包括:Correspondingly, step 203 may include:
在根据展示标识确定展示图片时,根据图片在当前页面中设置展示第一挂件;或者,When determining the display picture according to the display identifier, set the display first pendant on the current page according to the picture; or,
在根据展示标识确定展示图片组中的图片时,根据图片组中的图片在当前页面中设置展示第一挂件。When it is determined to display the pictures in the picture group according to the display identifier, the display first pendant is set on the current page according to the pictures in the picture group.
结合上述举例,挂件内容可以为图片和/或图片组,当挂件内容中包括图片和图片组时,电子设备可以根据展示标识控制第一挂件展示图片或图片组。展示标识例如“0”和“1”,“0”表示展示图片,“1”表示展示图片组。电子设备在生成挂件内容之后或者之前,可以确定第一挂件的状态参数中的展示标识,若展示标识为“0”,则电子设备可以根据挂件内容中的图片设置展示挂件A,若展示标识为“1”,则电子设备可以根据挂件内容中的图片组设置展示挂件A。展示标识的具体形式可以根据需求设置,本实施例对此不做限制。Combining the above examples, the widget content may be a picture and/or a picture group. When the widget content includes a picture and a picture group, the electronic device can control the first widget to display the picture or the picture group according to the display identifier. The display identifiers are, for example, "0" and "1", "0" represents a display picture, and "1" represents a display picture group. After or before generating the content of the pendant, the electronic device can determine the display identifier in the state parameter of the first pendant. If the display identifier is "0", the electronic device can set the display pendant A according to the picture in the content of the pendant. If the display identifier is "1", the electronic device can set display pendant A according to the picture group in the pendant content. The specific form of the display logo can be set according to requirements, which is not limited in this embodiment.
本实施例中,状态参数包括展示标识,电子设备可以根据展示标识控制挂件的展示方式,可以使挂件在不同的目标展示状态下,以不同的展示方式展示,以满足不同的页面展示需求。In this embodiment, the state parameter includes a display ID, and the electronic device can control the display mode of the pendant according to the display ID, and can display the pendant in different display modes in different target display states to meet different page display requirements.
可选的,状态参数中还可以包括挂件的高度参数和宽度参数;Optionally, the state parameter may also include the height parameter and width parameter of the pendant;
相应的,根据图片在当前页面中设置展示第一挂件,可以包括:Correspondingly, setting and displaying the first pendant on the current page according to the picture may include:
对图片进行渲染,并按照高度参数和宽度参数在第一挂件的展示界面中展示渲染后的图片。Render the picture, and display the rendered picture in the display interface of the first widget according to the height parameter and the width parameter.
本实施中,状态参数中可以包括挂件的高度参数和宽度参数,电子设备可以根据高度参数和宽度参数,控制第一挂件的高度和宽度。结合上述举例,在生成挂件A的挂件内容(图片A)之后,电子设备可以对图片A进行渲染,并根据高度参数(例如20毫米)和宽度参数(例如30毫米),在挂件A的展示界面中展示渲染后的图片A。在挂件的展示界面中,渲染后的图片A的高度为20毫米,宽度为30毫米,也即将挂件A的高度调整为20毫米,宽度调整为30毫米。其中,对图片进行渲染和展示的过程可参考现有技术,本实施例对此不做赘述。In this implementation, the state parameters may include a height parameter and a width parameter of the pendant, and the electronic device may control the height and width of the first pendant according to the height parameter and the width parameter. Combining the above example, after generating the pendant content (picture A) of pendant A, the electronic device can render the picture A, and display it on the display interface of pendant A according to the height parameter (for example, 20 mm) and the width parameter (for example, 30 mm). The rendered image A is shown in . In the display interface of the pendant, the height of the rendered picture A is 20 mm and the width is 30 mm, that is, the height of the pendant A is adjusted to 20 mm and the width is adjusted to 30 mm. The process of rendering and displaying the picture may refer to the prior art, which will not be repeated in this embodiment.
实际应用中,若在获取到展示控制参数之前,第一挂件的高度为30毫米,宽度为40毫米。则在获取到展示控制参数之后,可以将第一挂件的高度调整为20毫米、宽度调整为30毫米,实现了对第一挂件高度和宽度的调整。In practical applications, before the display control parameters are acquired, the height of the first pendant is 30 mm and the width is 40 mm. Then, after the display control parameters are acquired, the height of the first pendant can be adjusted to 20 mm and the width to 30 mm, so that the height and width of the first pendant can be adjusted.
可选的,状态参数中还可以包括挂件的高度参数和宽度参数、以及图片组的播放帧率。Optionally, the state parameter may further include the height parameter and width parameter of the widget, and the playback frame rate of the picture group.
相应的,根据图片组中的图片在当前页面中设置展示第一挂件,可以包括:Correspondingly, setting and displaying the first pendant on the current page according to the pictures in the picture group may include:
对图片组中的图片进行渲染,按照高度参数和宽度参数,根据播放帧率依次在第一挂件的展示界面中展示渲染后的图片。Render the pictures in the picture group, and display the rendered pictures in the display interface of the first widget in sequence according to the height parameter and the width parameter, and according to the playback frame rate.
本实施例中,状态参数中还可以包括播放帧率,电子设备可以根据状态参数中的高度参数和宽度参数控制第一挂件的高度和宽度,并根据播放帧率控制第一挂件的展示界面中动画的播放速率。In this embodiment, the state parameter may further include a playback frame rate, and the electronic device may control the height and width of the first pendant according to the height parameter and the width parameter in the state parameter, and control the display interface of the first pendant according to the playback frame rate. The playback rate of the animation.
结合上述举例,若挂件A对应的挂件内容中包括图片组,在根据展示标识确定展示图片组之后,电子设备首先可以对图组中的多张图片进行渲染,然后按照播放帧率(播放帧率例如22帧每秒),在挂件A的展示界面中按高度参数(例如20毫米)和宽度参数(例如30毫米),循环播放图片组中的多张图片,实现挂件A的动画展示。图片组中的图片数量和播放帧率可以根据需求设置,本实施例对此不做限制。Combined with the above example, if the content of the pendant corresponding to pendant A includes a picture group, after determining the display picture group according to the display identifier, the electronic device can first render the multiple pictures in the picture group, and then according to the playback frame rate (playing frame rate) For example, 22 frames per second), in the display interface of pendant A, according to the height parameter (such as 20 mm) and width parameter (such as 30 mm), the multiple pictures in the picture group are played in a loop to realize the animation display of pendant A. The number of pictures in the picture group and the playback frame rate can be set according to requirements, which are not limited in this embodiment.
本实施例中,状态参数中可以包括高度参数、宽度参数和播放帧率等参数,电子设备可以根据高度参数、宽度参数和播放帧率等参数控制挂件在不同目标展示状态下展示不同的状态,以满足多样化的页面展示需求。In this embodiment, the state parameters may include parameters such as a height parameter, a width parameter, and a playback frame rate, and the electronic device may control the pendant to display different states under different target display states according to parameters such as the height parameter, width parameter, and playback frame rate. To meet diverse page display needs.
可选的,展示控制参数还可以包括挂件的策略标识;Optionally, the display control parameters may also include a policy identifier of the widget;
在步骤203之前,该方法还可以包括:Before
根据第一挂件的策略标识,从预先设置的多个控制策略中确定第一挂件的控制策略;determining the control strategy of the first pendant from a plurality of preset control strategies according to the strategy identifier of the first pendant;
相应的,在步骤203之后,该方法还可以包括:根据控制策略,控制第一挂件在当前页面中展示。Correspondingly, after
本实施例中,应用程序中可以包括至少一个控制策略,每个控制策略对应唯一的策略标识。例如,应用程序中包括控制策略X、控制策略Y和控制策略Z,控制策略X的策略标识为X,控制策略Y的策略标识为Y,控制策略Z的策略标识为Z。电子设备可以根据控制策略,对挂件在页面中的展示过程进行控制。In this embodiment, the application program may include at least one control strategy, and each control strategy corresponds to a unique strategy identifier. For example, the application program includes control strategy X, control strategy Y and control strategy Z, the strategy identification of control strategy X is X, the strategy identification of control strategy Y is Y, and the strategy identification of control strategy Z is Z. The electronic device can control the display process of the pendant on the page according to the control strategy.
其中,当展示控制参数中包括挂件的策略标识时,电子设备可以根据策略标识从多个控制策略中为挂件确定对应的控制策略。例如,若展示控制采参数中包括的挂件A的策略标识为X,则电子设备可以根据策略标识X确定挂件A对应的控制策略为控制策略X。Wherein, when the display control parameter includes a strategy identifier of the pendant, the electronic device may determine a corresponding control strategy for the pendant from a plurality of control strategies according to the strategy identifier. For example, if the strategy identifier of the pendant A included in the display control acquisition parameters is X, the electronic device may determine that the control strategy corresponding to the pendant A is the control strategy X according to the strategy identifier X.
相应的,在当前页面设置展示挂件A(第一挂件)之后,电子设备可以根据控制策略X对挂件的展示过程进行控制。例如,若控制策略X为禁止挂件关闭的控制策略,则当挂件A在当前页面中展示时,可以通过控制策略X控制挂件A的展示界面中不显示关闭按钮,避免用户操作关闭按钮,关闭挂件A。或者,在接收到用户对关闭按钮的操作之后,禁止关闭挂件A。若控制策略X为支持挂件关闭,并且在挂件关闭后、在应用程序下次启动之前不再展示挂件,此时若挂件A被用户关闭,电子设备可以控制关闭挂件A,在应用程序的本次运行过程中,不再展示挂件A,在应用程序下次启动后,当前页面处于显示状态时再次展示挂件A。以上仅为示例性实施例,控制策略的具体原理和控制方法可以参考现有技术,本实施例对此不做限制。Correspondingly, after the display pendant A (the first pendant) is set on the current page, the electronic device can control the display process of the pendant according to the control policy X. For example, if the control strategy X is a control strategy that prohibits the closing of the widget, when the widget A is displayed on the current page, the control strategy X can control the display interface of the widget A to not display the close button, so as to prevent the user from operating the close button and closing the widget. A. Alternatively, after receiving the user's operation of the close button, the pendant A is prohibited from being closed. If the control policy X is to support the closing of the pendant, and after the pendant is closed, the pendant will not be displayed until the next time the application is started. At this time, if the pendant A is closed by the user, the electronic device can control to close the pendant A. During the running process, pendant A is no longer displayed. After the application is launched next time, pendant A is displayed again when the current page is in the display state. The above are only exemplary embodiments, and the specific principles and control methods of the control strategy may refer to the prior art, which is not limited in this embodiment.
实际应用中,展示控制参数中包括挂件的策略标识,电子设备可以根据策略标识对挂件的控制策略进行调整,以根据不同的控制测了灵活的控制挂件在页面中的展示过程。In practical applications, the display control parameters include the strategy identification of the pendant, and the electronic device can adjust the control strategy of the pendant according to the strategy identification, so as to measure the display process of the flexible control pendant on the page according to different controls.
可选的,该方法还可以包括:在根据第一挂件的控制策略确定允许关闭第一挂件的情况下,在第一挂件的展示界面中显示关闭按钮。Optionally, the method may further include: when it is determined according to the control strategy of the first pendant that it is allowed to close the first pendant, displaying a close button in the display interface of the first pendant.
本实施例中,若根据控制策略确定允许关闭第一挂件,则在第一挂件的展示界面中显示关闭按钮。结合上述举例,若控制策略X为允许挂件关闭的控制策略,则在当前页面中显示挂件A时,可以在挂件A的展示界面中显示关闭按钮。在挂件A的展示过程中,若用户点击关闭按钮,电子设备可以响应于用户的点击操作,关闭挂件A在当前页面的展示。以方便用户对当前页面中的挂件进行操作。In this embodiment, if it is determined according to the control strategy that the first pendant is allowed to be closed, a close button is displayed on the display interface of the first pendant. Combining the above example, if the control policy X is a control policy that allows the widget to be closed, when widget A is displayed on the current page, a close button can be displayed on the display interface of widget A. During the display process of the pendant A, if the user clicks the close button, the electronic device may close the display of the pendant A on the current page in response to the user's click operation. In order to facilitate the user to operate the pendant in the current page.
204、电子设备检测到当前时刻符合当前页面已展示的第二挂件的生效结束时间,在当前页面中设置关闭展示第二挂件。204. The electronic device detects that the current moment matches the effective end time of the second widget displayed on the current page, and sets the display of the second widget to be disabled on the current page.
综上所述,本实施例中,目标展示状态的状态参数中可以包括图片/或图片组(或者资源链接),以及高度、宽度和播放帧率等参数。当每个目标展示状态中包括的图片/或图片组(或者资源链接)不同时,电子设备可以根据图片/或图片组(或者资源链接)对目标挂件的展示内容进行调整,当高度、宽度和播放帧率等参数不同时,电子设备可以对目标挂件展示过程中的高度、宽度和播放速率等进行调整。通过状态参数的设置,可以使挂件在不同的时间段展示不同的状态,可以灵活的调整挂件的展示状态,以满足不同的页面展示需求。To sum up, in this embodiment, the state parameters of the target display state may include pictures/or picture groups (or resource links), as well as parameters such as height, width, and playback frame rate. When the pictures/or picture groups (or resource links) included in each target display state are different, the electronic device can adjust the display content of the target widget according to the pictures/or picture groups (or resource links), when the height, width and When the parameters such as the playback frame rate are different, the electronic device can adjust the height, width and playback rate of the target pendant during the display process. By setting the state parameters, you can make the pendant display different states in different time periods, and you can flexibly adjust the display state of the pendant to meet different page display needs.
可选的,检测到当前时刻符合当前页面未展示的第一挂件的生效起始时间,在当前页面中设置展示第一挂件,可以包括:Optionally, it is detected that the current moment matches the effective start time of the first widget that is not displayed on the current page, and the first widget is set to be displayed on the current page, which may include:
检测到当前时刻符合当前页面未展示的第一挂件的生效起始时间,若根据预先存储的操作记录、以及第一挂件的控制策略,确定展示第一挂件的情况下,在当前页面中设置展示第一挂件。It is detected that the current moment matches the effective start time of the first widget that is not displayed on the current page. If it is determined to display the first widget according to the pre-stored operation record and the control strategy of the first widget, the display is set on the current page. The first pendant.
本实施例中,若展示控制策略中并不包括挂件的策略标识,电子设备在展示挂件的过程中,可以根据预先确定的控制策略,控制挂件在当前页面中的展示。例如,若展示控制参数中并不包括挂件A的策略标识,预先确定的挂件A的控制策略为控制策略Y,则电子设备在检测到当前时刻符合挂件A的生效起始时间时,可以根据控制策略Y控制挂件A在当前页面中展示。In this embodiment, if the display control strategy does not include the strategy identifier of the pendant, during the process of displaying the pendant, the electronic device can control the display of the pendant on the current page according to a predetermined control strategy. For example, if the display control parameters do not include the strategy identifier of pendant A, and the predetermined control strategy of pendant A is control strategy Y, then when the electronic device detects that the current moment matches the effective start time of pendant A, it can be controlled according to the control strategy. Policy Y controls widget A to be displayed on the current page.
其中,在挂件的展示过程中,若对应的控制策略被执行,电子设备可以生成与挂件对应的操作记录,记录控制策略被执行时的相关信息,以在挂件的下次显示中,根据操作记录中的相关信息执行控制策略,对挂件的显示状态进行控制。例如,若控制策略Y的控制原理为在挂件被关闭之后,24小时之内不再展示挂件,在挂件A的展示过程中,若电子设备在12点30分接收到用户对挂件A的关闭操作,电子设备可以响应于用户的关闭操作,执行控制策略Y,控制挂件A在12点30分关闭。此时,电子设备可以生成与挂件A对应的包括策略标识Y和关闭时间(12点30分)的操作记录,并将操作记录存储在电子设备的磁盘中。在12点30分之后,若挂件A的生效起始时间到达,电子设备可以获取预先存储的操作记录,根据操作记录中的关闭时间可以确定挂件A在上次显示过程中,在12点30分被关闭,此时电子设备可以获取当前时刻,确定当前时刻是否位于关闭时间的24小时之内,若当前时刻位于24小时之内,则不展示挂件A,若当前时刻位于24小时之外,则设置展示挂件A。相反的,若在挂件的显示过程中,对应的控制策略未被执行,则不生成与挂件对应的操作记录。操作记录的具体结构,以及操作记录中包括的具体内容可以根据控制策略设置,本实施例对此不做限制。Among them, in the display process of the pendant, if the corresponding control strategy is executed, the electronic device can generate an operation record corresponding to the pendant, and record the relevant information when the control strategy is executed, so that in the next display of the pendant, according to the operation record The relevant information in the control strategy is executed to control the display state of the pendant. For example, if the control principle of control strategy Y is that after the pendant is closed, the pendant will not be displayed within 24 hours. During the display of pendant A, if the electronic device receives the user's closing operation of pendant A at 12:30 , the electronic device can execute the control strategy Y in response to the closing operation of the user, and control the pendant A to close at 12:30. At this time, the electronic device may generate an operation record corresponding to the pendant A including the policy identifier Y and the closing time (12:30), and store the operation record in the disk of the electronic device. After 12:30, if the effective start time of pendant A arrives, the electronic device can obtain the pre-stored operation record. According to the closing time in the operation record, it can be determined that pendant A was displayed at 12:30 during the last display process. If it is closed, the electronic device can obtain the current time and determine whether the current time is within 24 hours of the closing time. If the current time is within 24 hours, the pendant A will not be displayed. Set display pendant A. On the contrary, if the corresponding control strategy is not executed during the display process of the pendant, the operation record corresponding to the pendant is not generated. The specific structure of the operation record and the specific content included in the operation record may be set according to the control strategy, which is not limited in this embodiment.
实际应用中,当挂件的控制策略并未调整时,电子设备在调整目标挂件的展示状态之后,可以根据预先确定的控制策略,以及存储的操作记录对挂件的展示过程进行控制。In practical applications, when the control strategy of the pendant is not adjusted, after adjusting the display state of the target pendant, the electronic device can control the display process of the pendant according to the predetermined control strategy and the stored operation record.
图3是根据一示例性实施例示出的一种挂件展示控制方法的信令交互图,如图3所示,该方法可以包括如下步骤:FIG. 3 is a signaling interaction diagram of a method for controlling display of widgets according to an exemplary embodiment. As shown in FIG. 3 , the method may include the following steps:
301、电子设备向服务器发送版本号获取请求。301. The electronic device sends a version number acquisition request to the server.
302、服务器响应于版本号获取请求,向电子设备发送展示控制参数的版本号。302. The server sends the version number of the display control parameter to the electronic device in response to the version number acquisition request.
303、电子设备在确定展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,向服务器发送展示控制参数获取请求。303. The electronic device sends a display control parameter acquisition request to the server in the case that it is determined that the version number of the presentation control parameter is inconsistent with the version number of the presentation control parameter acquired last time.
304、服务器接收电子设备发送的展示控制参数获取请求。304. The server receives the display control parameter acquisition request sent by the electronic device.
其中,展示控制参数获取请求包括挂件的挂件标识。The display control parameter acquisition request includes the widget identifier of the widget.
305、服务器根据挂件的挂件标识,确定挂件的展示控制参数。305. The server determines display control parameters of the pendant according to the pendant identifier of the pendant.
306、服务器向电子设备发送展示控制参数。306. The server sends the display control parameters to the electronic device.
307、电子设备接收展示控制参数。307. The electronic device receives display control parameters.
308、电子设备检测到当前时刻符合当前页面未展示的第一挂件的生效起始时间,在当前页面中设置展示第一挂件;检测到当前时刻符合当前页面已展示的第二挂件的生效结束时间,在当前页面中设置关闭展示第二挂件。308. The electronic device detects that the current moment matches the effective start time of the first widget not displayed on the current page, and sets the display of the first widget in the current page; detects that the current moment matches the effective end time of the second widget displayed on the current page , in the current page, set the second widget to turn off the display.
对步骤301至步骤308的理解可参考步骤201,本实施例对此不做赘述。For an understanding of
综上所述,本实施例中,通过电子设备获取当前页面包括的挂件的展示控制参数,在当前时刻符合当前页面未展示的第一挂件的生效起始时间时,在当前页面中设置展示第一挂件,在当前时刻符合当前页面已展示的第二挂件的生效结束时间时,在当前页面中设置关闭展示第二挂件。可以实现无需对挂件重新开发,就能灵活实时控制展示的挂件来满足不同的页面展示需求,提高挂件展示效率。尤其适用具有大量页面展示需求或者页面展示需求频繁变化的应用场景。To sum up, in this embodiment, the display control parameters of the widget included in the current page are obtained through the electronic device, and when the current moment matches the effective start time of the first widget not displayed on the current page, the display first widget is set on the current page. A widget, when the current moment matches the effective end time of the second widget displayed on the current page, the display of the second widget is set to be disabled on the current page. It can realize the flexible real-time control of the displayed pendants without re-development of the pendants to meet different page display requirements and improve the efficiency of pendant display. It is especially suitable for application scenarios with a large number of page display requirements or frequent changes in page display requirements.
图4是根据一示例性实施例示出的一种挂件展示控制装置的结构框图,如图4所示,装置400可以包括:获取模块401、第一检测模块402和第二检测模块403。FIG. 4 is a structural block diagram of a pendant display control apparatus according to an exemplary embodiment. As shown in FIG. 4 , the
获取模块401被配置为获取当前页面包括的至少一个挂件的展示控制参数,展示控制参数至少包括挂件的生效起始时间以及生效结束时间。The obtaining
第一检测模块402被配置为检测到当前时刻符合当前页面未展示的第一挂件的生效起始时间,在当前页面中设置展示第一挂件。The
第二检测模块403被配置为检测到当前时刻符合当前页面已展示的第二挂件的生效结束时间,在当前页面中设置关闭展示第二挂件。The
可选的,展示控制参数还包括挂件的策略标识;装置400还可以包括:确定模块和控制模块。Optionally, the display control parameter further includes a policy identifier of the pendant; the
确定模块被配置为根据第一挂件的策略标识,从预先设置的多个控制策略中确定第一挂件的控制策略。The determining module is configured to determine the control strategy of the first pendant from a plurality of preset control strategies according to the strategy identifier of the first pendant.
控制模块被配置为根据控制策略,控制第一挂件在当前页面中展示。The control module is configured to control the display of the first pendant on the current page according to the control strategy.
可选的,装置400还可以包括:显示模块。Optionally, the
显示模块被配置为在根据第一挂件的控制策略确定允许关闭第一挂件的情况下,在第一挂件的展示界面中显示关闭按钮。The display module is configured to display a close button in the display interface of the first pendant when it is determined according to the control strategy of the first pendant that it is allowed to close the first pendant.
可选的,第一检测模块402具体被配置为检测到当前时刻符合当前页面未展示的第一挂件的生效起始时间,若根据预先存储的操作记录、以及第一挂件的控制策略,确定展示第一挂件的情况下,在当前页面中设置展示第一挂件。Optionally, the
可选的,展示控制参数还可以包括挂件的状态参数,第一检测模块402包括:生成单元和展示单元。Optionally, the display control parameter may further include a state parameter of the pendant, and the
生成单元被配置为检测到当前时刻与第一挂件的生效起始时间一致时,根据第一挂件的状态参数,生成待展示的挂件内容。The generating unit is configured to generate the content of the pendant to be displayed according to the state parameter of the first pendant when it is detected that the current moment is consistent with the effective start time of the first pendant.
展示单元被配置为根据挂件内容,在当前页面中设置展示第一挂件。The display unit is configured to display the first widget in the current page according to the content of the widget.
可选的,状态参数可以包括与挂件对应的资源链接。Optionally, the state parameter may include a resource link corresponding to the widget.
生成单元具体被配置为根据第一挂件对应的资源链接,获取与第一挂件对应的一张图片和/或图片组,将图片和/或图片组确定为挂件内容。The generating unit is specifically configured to acquire a picture and/or a picture group corresponding to the first pendant according to the resource link corresponding to the first pendant, and determine the picture and/or the picture group as the content of the pendant.
可选的,状态参数可以包括与挂件对应的一张图片和/或图片组。Optionally, the state parameter may include a picture and/or picture group corresponding to the widget.
生成单元具体被配置为从第一挂件的状态参数中确定图片和/或图片组,将图片和/或图片组确定为挂件内容。The generating unit is specifically configured to determine the picture and/or the picture group from the state parameters of the first widget, and determine the picture and/or the picture group as the widget content.
可选的,状态参数中还可以包括展示标识。Optionally, the status parameter may also include a display identifier.
展示单元具体被配置为在根据展示标识确定展示图片时,根据图片在当前页面中设置展示第一挂件;或者,在根据展示标识确定展示图片组中的图片时,根据图片组中的图片在当前页面中设置展示第一挂件。The display unit is specifically configured to set the display first pendant in the current page according to the picture when the display picture is determined according to the display identifier; The first widget is set to display on the page.
可选的,状态参数中还可以包括挂件的高度参数和宽度参数。Optionally, the state parameters may also include height parameters and width parameters of the widget.
展示单元具体被配置为对图片进行渲染,并按照高度参数和宽度参数在第一挂件的展示界面中展示渲染后的图片。The display unit is specifically configured to render the picture, and display the rendered picture in the display interface of the first pendant according to the height parameter and the width parameter.
可选的,状态参数中还可以包括挂件的高度参数和宽度参数、以及图片组的播放帧率。Optionally, the state parameter may further include the height parameter and width parameter of the widget, and the playback frame rate of the picture group.
展示单元具体被配置为对图片组中的图片进行渲染,按照高度参数和宽度参数,根据播放帧率依次在第一挂件的展示界面中展示渲染后的图片。The display unit is specifically configured to render the pictures in the picture group, and sequentially display the rendered pictures in the display interface of the first widget according to the height parameter and the width parameter and according to the playback frame rate.
可选的,获取模块具体被配置为从服务器周期性获取展示控制参数。Optionally, the acquiring module is specifically configured to periodically acquire the presentation control parameters from the server.
可选的,获取模块还具体被配置为从服务器周期性获取展示控制参数的版本号;在当前获取的展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,从服务器获取展示控制参数。Optionally, the obtaining module is also specifically configured to periodically obtain the version number of the display control parameter from the server; in the case that the version number of the display control parameter currently obtained is inconsistent with the version number of the display control parameter obtained last time, The server obtains presentation control parameters.
综上所述,本实施例中,电子设备获取当前页面包括的挂件的展示控制参数,在当前时刻符合当前页面未展示的第一挂件的生效起始时间时,在当前页面中设置展示第一挂件,在当前时刻符合当前页面已展示的第二挂件的生效结束时间时,在当前页面中设置关闭展示第二挂件。可以实现无需对挂件重新开发,就能灵活实时控制展示的挂件来满足不同的页面展示需求,提高挂件展示效率。尤其适用具有大量页面展示需求或者页面展示需求频繁变化的应用场景。To sum up, in this embodiment, the electronic device obtains the display control parameters of the widget included in the current page, and when the current moment matches the effective start time of the first widget not displayed on the current page, the display first widget is set on the current page. For the widget, when the current moment matches the effective end time of the second widget displayed on the current page, the second widget is set to be disabled on the current page. It can realize the flexible real-time control of the displayed pendants without re-development of the pendants to meet different page display requirements and improve the efficiency of pendant display. It is especially suitable for application scenarios with a large number of page display requirements or frequent changes in page display requirements.
图5是根据一示例性实施例示出的另一种挂件展示控制装置的结构框图,如图5所示,装置500可以包括:接收模块501、确定模块502和发送模块503。FIG. 5 is a structural block diagram of another pendant display control apparatus according to an exemplary embodiment. As shown in FIG. 5 , the
接收模块501被配置为接收电子设备发送的展示控制参数获取请求,展示控制参数获取请求包括挂件的挂件标识。The receiving
确定模块502被配置为根据挂件标识,确定挂件的展示控制参数;展示控制参数至少包括挂件的生效起始时间以及生效结束时间。The determining
发送模块503被配置为向电子设备发送展示控制参数。The sending
可选的,接收模块501还被配置为接收电子设备发送的版本号获取请求;Optionally, the receiving
发送模块503还被配置为响应于版本号获取请求,向电子设备发送展示控制参数的版本号,以使电子设备在确定展示控制参数的版本号与上一次获取的展示控制参数的版本号不一致的情况下,发送展示控制参数获取请求。The sending
图6是根据一示例性实施例示出的一种挂件展示控制系统的结构图,该系统包括电子设备和服务器。Fig. 6 is a structural diagram of a pendant display control system according to an exemplary embodiment, where the system includes an electronic device and a server.
电子设备被配置为执行图1、图2或图3所示实施例中电子设备所执行的方法。The electronic device is configured to perform the method performed by the electronic device in the embodiment shown in FIG. 1 , FIG. 2 or FIG. 3 .
服务器被配置为执行图3所示实施例中服务器所执行的方法。The server is configured to perform the method performed by the server in the embodiment shown in FIG. 3 .
综上所述,本实施例中,电子设备获取当前页面包括的挂件的展示控制参数,在当前时刻符合当前页面未展示的第一挂件的生效起始时间时,在当前页面中设置展示第一挂件,在当前时刻符合当前页面已展示的第二挂件的生效结束时间时,在当前页面中设置关闭展示第二挂件。可以实现无需对挂件重新开发,就能灵活实时控制展示的挂件来满足不同的页面展示需求,提高挂件展示效率。尤其适用具有大量页面展示需求或者页面展示需求频繁变化的应用场景。To sum up, in this embodiment, the electronic device obtains the display control parameters of the widget included in the current page, and when the current moment matches the effective start time of the first widget not displayed on the current page, the display first widget is set on the current page. For the widget, when the current moment matches the effective end time of the second widget displayed on the current page, the second widget is set to be disabled on the current page. It can realize the flexible real-time control of the displayed pendants without re-development of the pendants to meet different page display requirements and improve the efficiency of pendant display. It is especially suitable for application scenarios with a large number of page display requirements or frequent changes in page display requirements.
图7是根据一示例性实施例示出的一种电子设备的结构框图,电子设备700可以包括:FIG. 7 is a structural block diagram of an electronic device according to an exemplary embodiment, and the
处理器701;
用于存储所述处理器701可执行指令的存储器702;a
其中,所述处理器701被配置为执行图1、图2或图3所示实施例中所述的方法。Wherein, the
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行图1、图2或图3所示实施例中电子设备所执行的方法;或者,In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the execution of FIG. 1 and FIG. 2 . Or the method performed by the electronic device in the embodiment shown in FIG. 3; or,
当所述存储介质中的指令由服务器的处理器执行时,使得所述服务器能够执行图3所示实施例中服务器所执行的方法。When the instructions in the storage medium are executed by the processor of the server, the server is enabled to execute the method executed by the server in the embodiment shown in FIG. 3 .
在示例性实施例中,还提供了一种包含指令的计算机程序产品,当其在电子设备上运行时,使得所述电子设备能够执行图1、图2或图3所示实施例中电子设备所执行的方法;或者,In an exemplary embodiment, there is also provided a computer program product comprising instructions which, when executed on an electronic device, enable the electronic device to execute the electronic device in the embodiment shown in FIG. 1 , FIG. 2 or FIG. 3 . the method performed; or,
当其在服务器上运行时,使得所述服务器能够执行图3所示实施例中服务器所执行的方法。When running on a server, the server is enabled to perform the method performed by the server in the embodiment shown in FIG. 3 .
图8是根据一示例性实施例示出的另一种挂件展示控制装置的结构框图,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口813,传感器组件814,以及通信组件816。Fig. 8 is a structural block diagram of another pendant display control device according to an exemplary embodiment. The
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的音频数据处理方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口813为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 813 provides an interface between the
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,运营商网络(如2G、3G、4G或5G),或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述音频数据处理方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述音频数据处理方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily suggest themselves to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that 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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010544435.8ACN111857907A (en) | 2020-06-15 | 2020-06-15 | Pendant display control method, device, system, electronic device, server and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010544435.8ACN111857907A (en) | 2020-06-15 | 2020-06-15 | Pendant display control method, device, system, electronic device, server and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN111857907Atrue CN111857907A (en) | 2020-10-30 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010544435.8APendingCN111857907A (en) | 2020-06-15 | 2020-06-15 | Pendant display control method, device, system, electronic device, server and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN111857907A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106296255A (en)* | 2015-06-11 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Page info methods of exhibiting and device |
| CN107832110A (en)* | 2017-10-18 | 2018-03-23 | 维沃移动通信有限公司 | A kind of information processing method and mobile terminal |
| CN109919683A (en)* | 2019-03-17 | 2019-06-21 | 中国建设银行股份有限公司 | A kind of system of advertisement pushing, method and device |
| CN110084635A (en)* | 2019-03-18 | 2019-08-02 | 努比亚技术有限公司 | Terminal advertisement management method, advertising management optimization system, terminal and storage medium |
| CN110493629A (en)* | 2019-08-22 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Cover pendant display methods, device, electronic equipment and storage medium is broadcast live |
| CN110597581A (en)* | 2019-08-02 | 2019-12-20 | 北京奇艺世纪科技有限公司 | External interaction method and device of dynamic UI system, electronic equipment and storage medium |
| CN110830839A (en)* | 2018-08-08 | 2020-02-21 | 腾讯科技(深圳)有限公司 | Multi-pendant display method and device and storage medium |
| CN110910203A (en)* | 2019-10-24 | 2020-03-24 | 苏宁云计算有限公司 | Method and device for displaying content of commodity page |
| CN111064987A (en)* | 2019-12-14 | 2020-04-24 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106296255A (en)* | 2015-06-11 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Page info methods of exhibiting and device |
| CN107832110A (en)* | 2017-10-18 | 2018-03-23 | 维沃移动通信有限公司 | A kind of information processing method and mobile terminal |
| CN110830839A (en)* | 2018-08-08 | 2020-02-21 | 腾讯科技(深圳)有限公司 | Multi-pendant display method and device and storage medium |
| CN109919683A (en)* | 2019-03-17 | 2019-06-21 | 中国建设银行股份有限公司 | A kind of system of advertisement pushing, method and device |
| CN110084635A (en)* | 2019-03-18 | 2019-08-02 | 努比亚技术有限公司 | Terminal advertisement management method, advertising management optimization system, terminal and storage medium |
| CN110597581A (en)* | 2019-08-02 | 2019-12-20 | 北京奇艺世纪科技有限公司 | External interaction method and device of dynamic UI system, electronic equipment and storage medium |
| CN110493629A (en)* | 2019-08-22 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Cover pendant display methods, device, electronic equipment and storage medium is broadcast live |
| CN110910203A (en)* | 2019-10-24 | 2020-03-24 | 苏宁云计算有限公司 | Method and device for displaying content of commodity page |
| CN111064987A (en)* | 2019-12-14 | 2020-04-24 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
| Publication | Publication Date | Title |
|---|---|---|
| CN108123855B (en) | Terminal control method and device | |
| CN106559712B (en) | Video playback processing method, device and terminal device | |
| WO2017113660A1 (en) | Application program management method and device | |
| CN106254467A (en) | Sharing files method and device | |
| CN106327607A (en) | Automobile data recorder video acquisition method and device, and automobile data recorder | |
| CN108804179B (en) | Method, device, terminal and storage medium for displaying notification bar message | |
| CN107333182A (en) | The player method and device of multimedia file | |
| US20180007420A1 (en) | Method, device and system for recording television program | |
| CN105956199B (en) | Information displaying method and device | |
| CN106095405B (en) | Icon updating method and device | |
| US20210165820A1 (en) | Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal | |
| CN105376410A (en) | Method and device for setting alarm clock | |
| CN109218510B (en) | Information screen display method, device and computer readable storage medium | |
| CN108028951A (en) | Control the method and device played | |
| CN106452916B (en) | Preparation method and device, the client and server of quality of service information | |
| CN107316207A (en) | A kind of method and apparatus for obtaining bandwagon effect information | |
| CN107423059A (en) | Display methods, device and the terminal of the page | |
| CN105959928A (en) | Traffic control method and device | |
| CN106535147B (en) | Communication signal processing method and device | |
| CN105786561B (en) | Method and device for calling process | |
| CN107247735A (en) | Document transmission method and device | |
| CN111859208A (en) | Display method, device and storage medium | |
| CN107846481B (en) | Account management method and device | |
| CN111857907A (en) | Pendant display control method, device, system, electronic device, server and storage medium | |
| CN111857908A (en) | Control method, device, system, electronic device, server and storage medium for pendant display |
| 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 | Application publication date:20201030 | |
| RJ01 | Rejection of invention patent application after publication |