CN111857907A - Pendant display control method, device and system, electronic equipment, server and storage medium - Google Patents

Pendant display control method, device and system, electronic equipment, server and storage medium Download PDF

Info

Publication number
CN111857907A
CN111857907A CN202010544435.8A CN202010544435A CN111857907A CN 111857907 A CN111857907 A CN 111857907A CN 202010544435 A CN202010544435 A CN 202010544435A CN 111857907 A CN111857907 A CN 111857907A
Authority
CN
China
Prior art keywords
pendant
display
display control
current page
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010544435.8A
Other languages
Chinese (zh)
Inventor
张一文
周静
朱超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010544435.8A priority Critical patent/CN111857907A/en
Publication of CN111857907A publication Critical patent/CN111857907A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application discloses a pendant display control method, a pendant display control device, a pendant display control system, electronic equipment, a server and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining display control parameters of pendants included in a current page, setting and displaying a first pendant in the current page when the current time accords with the effective starting time of the first pendant which is not displayed in the current page, and setting and closing the display of a second pendant in the current page when the current time accords with the effective finishing time of the second pendant which is displayed in the current page. The display method has the advantages that the display method can flexibly control the displayed hanging parts in real time to meet different page display requirements without redevelopment of the hanging parts, and the hanging part display efficiency is improved. The method is particularly suitable for application scenes with a large number of page display requirements or frequent changes of the page display requirements.

Description

Pendant display control method, device and system, electronic equipment, server and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a pendant display control method, device, system, electronic device, server, and storage medium.
Background
The pendant is an application function which is frequently used, and in the running process of the application, the pendant can be displayed in a page of the application, and specific information, such as notification information or advertisement information, can be displayed through the pendant, or the pendant can be used as a quick entry, so that a user can conveniently and quickly enter a related page.
At present, a pendant is used as a page display control of an application program, and usually needs to be developed and displayed in a targeted manner according to different page display requirements, so that for an application scene with a large number of different page display requirements or frequently changed page display requirements, the workload of pendant development is very large, and the application requirements cannot be met in real time.
Disclosure of Invention
The embodiment of the application provides a pendant display control method, a pendant display control device, a pendant display control system, electronic equipment, a server and a storage medium, and aims to solve the problem that the workload of pendant development is very large and the application requirements cannot be met in real time for application scenes with a large number of different page display requirements or frequently-changed page display requirements.
In view of this, a first aspect of the present application provides a pendant display control method, including:
obtaining display control parameters of at least one pendant included in a current page, wherein the display control parameters at least include an effective starting time and an effective ending time of the pendant;
Detecting that the current time accords with the effective starting time of a first pendant which is not displayed on the current page, and setting and displaying the first pendant in the current page;
and detecting that the current time accords with the effective finishing time of the second pendant displayed on the current page, and setting and closing to display the second pendant in the current page.
Optionally, the display control parameter further includes a policy identifier of the pendant;
when the current moment is detected to accord with the effective starting time of the first pendant which is not shown on the current page, and before the first pendant is set and shown on the current page, the method further comprises the following steps:
determining a control strategy of the first pendant from a plurality of preset control strategies according to the strategy identification of the first pendant;
after the detection that the current time accords with the effective starting time of the first pendant which is not shown on the current page and the first pendant is set and shown on the current page, the method further comprises the following steps:
and controlling the first pendant to be displayed in the current page according to a control strategy.
Optionally, the method further includes:
and displaying a closing button in a display interface of the first pendant under the condition that the first pendant is determined to be allowed to be closed according to the control strategy of the first pendant.
Optionally, the detecting that the current time accords with the effective starting time of the first pendant not shown on the current page, and setting and displaying the first pendant on the current page includes:
and if the current moment is detected to accord with the effective starting time of the first pendant which is not displayed on the current page, setting and displaying the first pendant in the current page under the condition of determining to display the first pendant according to a prestored operation record and a control strategy of the first pendant.
Optionally, the display control parameters further include state parameters of the pendant;
the detecting that the current time accords with the effective starting time of the first pendant which is not shown on the current page, and setting and displaying the first pendant on the current page comprises the following steps:
when the current moment is detected to be consistent with the effective starting time of the first pendant, generating pendant content to be displayed according to the state parameter of the first pendant;
and setting and displaying the first pendant in the current page according to the pendant content.
Optionally, the status parameter includes a resource link corresponding to the pendant;
generating the pendant content to be displayed according to the state parameter of the first pendant, comprising:
And acquiring a picture and/or a picture group corresponding to the first pendant according to the resource link corresponding to the first pendant, and determining the picture and/or the picture group as the pendant content.
Optionally, the state parameter includes a picture and/or a group of pictures corresponding to the pendant;
generating the pendant content to be displayed according to the state parameter of the first pendant, comprising:
and determining the picture and/or the picture group from the state parameters of the first pendant, and determining the picture and/or the picture group as the pendant content.
Optionally, the status parameter further includes a display identifier;
the setting and displaying of the first pendant in the current page according to the pendant content includes:
when the picture is determined to be displayed according to the display identifier, setting and displaying the first pendant in the current page according to the picture; alternatively, the first and second electrodes may be,
and when the pictures in the picture group are determined to be displayed according to the display identification, setting and displaying the first pendant in the current page according to the pictures in the picture group.
Optionally, the state parameters further include a height parameter and a width parameter of the pendant;
The setting and displaying of the first pendant in the current page according to the picture includes:
rendering the picture, and displaying the rendered picture in a display interface of the first pendant according to the height parameter and the width parameter.
Optionally, the state parameters further include a height parameter and a width parameter of the pendant, and a play frame rate of the group of pictures;
the setting and displaying of the first pendant in the current page according to the pictures in the picture group includes:
rendering the pictures in the picture group, and sequentially displaying the rendered pictures in a display interface of the first pendant according to the height parameter and the width parameter and the play frame rate.
Optionally, the obtaining of the display control parameter of at least one pendant included in the current page includes:
and periodically acquiring the display control parameters from the server.
Optionally, the periodically obtaining the display control parameter from the server includes:
periodically acquiring the version number of the display control parameter from a server;
and under the condition that the version number of the currently acquired display control parameter is inconsistent with the version number of the last acquired display control parameter, acquiring the display control parameter from the server.
A second aspect of the present application provides another pendant display control method, including:
receiving a display control parameter acquisition request sent by electronic equipment, wherein the display control parameter acquisition request comprises a pendant identifier of a pendant;
determining display control parameters of the pendant according to the pendant identifier; the display control parameters at least comprise effective starting time and effective ending time of the pendant;
and sending the display control parameter to the electronic equipment.
Optionally, before receiving the display control parameter acquisition request sent by the electronic device, the method further includes:
receiving a version number acquisition request sent by electronic equipment;
and responding to the version number acquisition request, and sending the version number of the display control parameter to the electronic equipment, so that the electronic equipment sends the display control parameter acquisition request under the condition that the version number of the display control parameter is determined to be inconsistent with the version number of the display control parameter acquired last time.
A third aspect of the embodiments of the present application provides a control device for pendant display, including:
the display control method comprises the steps that an obtaining module is configured to obtain display control parameters of at least one pendant included in a current page, wherein the display control parameters at least include effective starting time and effective ending time of the pendant;
The first detection module is configured to detect that the current time accords with the effective starting time of a first pendant which is not displayed on the current page, and set and display the first pendant on the current page;
and the second detection module is configured to detect that the current time accords with the effective finishing time of the second pendant displayed on the current page, and set to close the display of the second pendant in the current page.
Optionally, the display control parameter further includes a policy identifier of the pendant; the device further comprises:
the determining module is configured to determine a control strategy of the first pendant from a plurality of preset control strategies according to the strategy identification of the first pendant;
and the control module is configured to control the first pendant to be displayed in the current page according to a control strategy.
Optionally, the apparatus further comprises:
the display module is configured to display a closing button in a display interface of the first pendant if the first pendant is determined to be allowed to be closed according to the control strategy of the first pendant.
Optionally, the first detecting module is specifically configured to detect that the current time accords with an effective starting time of a first pendant not shown on the current page, and set and show the first pendant in the current page if the first pendant is determined to be shown according to a pre-stored operation record and a control policy of the first pendant.
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 pendant content to be displayed according to the state parameter of the first pendant when the current moment is detected to be consistent with the effective starting time of the first pendant;
and the display unit is configured to set and display the first pendant in the current page according to the pendant content.
Optionally, the status parameter includes a resource link corresponding to the pendant;
the generating unit is specifically configured to acquire a picture and/or a group of pictures corresponding to the first pendant according to the resource link corresponding to the first pendant, and determine the picture and/or the group of pictures as the pendant content.
Optionally, the state parameter includes a picture and/or a group of pictures corresponding to the pendant;
the generating unit is specifically configured to determine the picture and/or the group of pictures from the state parameters of the first pendant, and determine the picture and/or the group of pictures as the pendant 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 the picture is determined to be displayed according to the display identifier; or when the pictures in the picture group are determined to be displayed according to the display identification, setting and displaying the first pendant in the current page according to the pictures in the picture group.
Optionally, the state parameters further include 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 a display interface of the first pendant according to the height parameter and the width parameter.
Optionally, the state parameters further include a height parameter and a width parameter of the pendant, and a play frame rate of the group of pictures;
the display unit is specifically configured to render the pictures in the group of pictures, and sequentially display the rendered pictures in the display interface of the first pendant according to the playing frame rate and the height parameter and the width parameter.
Optionally, the obtaining module is specifically configured to periodically obtain the display control parameter from a server.
Optionally, the obtaining module is further specifically configured to periodically obtain, from a server, a version number of the presentation control parameter; and under the condition that the version number of the currently acquired display control parameter is inconsistent with the version number of the last acquired display control parameter, acquiring the display control parameter from the server.
A fourth aspect of the embodiments of the present application provides another control device for displaying a pendant, including:
the display control parameter acquisition module is configured to receive a display control parameter acquisition request sent by the electronic equipment, wherein the display control parameter acquisition request comprises a pendant identifier of a pendant;
the determining module is configured to determine display control parameters of the pendant according to the pendant identification; the display control parameters at least comprise effective starting time and effective ending time of the pendant;
a sending module configured to send the presentation control parameters to the electronic device.
Optionally, the receiving module is further configured to receive a version number obtaining request sent by the electronic device;
the determining module is further configured to send the version number of the exhibition control parameter to the electronic device in response to the version number obtaining request, so that the electronic device sends the exhibition control parameter obtaining request when determining that the version number of the exhibition control parameter is inconsistent with the version number of the exhibition control parameter obtained last time.
A fifth aspect of an embodiment of the present application provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the pendant presentation control method as described in any one of the optional implementations of the first aspect of the application.
A sixth aspect of embodiments of the present application provides a server, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the pendant presentation control method as described in any one of the optional implementations of the second aspect of the present application.
A seventh aspect of the present application provides a control system for pendant display, including:
an electronic device as claimed in the fifth aspect of the application, and
a server as claimed in the sixth aspect of the present application.
An eighth aspect of the embodiments of the present application provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a pendant presentation control method as described in any one of the optional implementations of the first aspect of the present application; alternatively, the first and second electrodes may be,
When executed by a processor of a server, the instructions in the storage medium enable the server to perform the pendant presentation control method as described in any one of the optional implementations of the second aspect of the present application.
A ninth aspect of an embodiment of the present application provides a computer program product including instructions, where when the computer program product runs on a server, the server executes a pendant presentation control method according to any one of the optional implementation manners of the first aspect of the present application; alternatively, the first and second electrodes may be,
when executed by a processor of a server, the instructions in the storage medium enable the server to perform the pendant presentation control method as described in any one of the optional implementations of the second aspect of the present application.
According to the technical scheme, the embodiment of the application has the following advantages:
in the embodiment of the application, display control parameters of pendants included in a current page are acquired through electronic equipment, when the current time accords with the effective starting time of a first pendant which is not displayed on the current page, the first pendant is set and displayed in the current page, and when the current time accords with the effective finishing time of a second pendant which is displayed on the current page, the second pendant is set and closed to be displayed in the current page. The display method has the advantages that the display method can flexibly control the displayed hanging parts in real time to meet different page display requirements without redevelopment of the hanging parts, and the hanging part display efficiency is improved. The method is particularly suitable for application scenes with a large number of page display requirements or frequent changes of the page display requirements.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.
FIG. 1 is a flow chart illustrating steps of a pendant presentation control method according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating steps of another pendant presentation control method in accordance with an exemplary embodiment;
FIG. 3 is a signaling interaction diagram illustrating a pendant presentation control method in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating the structure of a pendant presentation control device according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating the structure of another pendant presentation control device according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating a pendant presentation control system in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating the structure of an electronic device in accordance with an exemplary embodiment;
fig. 8 is a block diagram illustrating a structure of another pendant presentation control device according to an exemplary embodiment.
Detailed Description
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, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. The embodiments in the present application shall fall within the protection scope of the present application.
The technical solution in the embodiment of the present invention is described below with reference to the drawings in the embodiment of the present invention.
Fig. 1 is a flowchart illustrating steps of a pendant presentation control method according to an exemplary embodiment, and referring to fig. 1, the pendant presentation control method provided in this embodiment may be applied to adjustment of a pendant in an application program to flexibly and quickly adjust a presentation time of the pendant. The pendant display control method provided in this embodiment may be executed by a pendant control device, where the pendant control device is usually implemented in a software and/or hardware manner, and the pendant control device may be disposed in an electronic device, and the method may include the following steps:
101. and acquiring display control parameters of at least one pendant included in the current page.
The display control parameters at least comprise effective starting time and effective ending time of the pendant. The current page is a page in an application program displayed in a display screen of the electronic device, the pendant is a pendant which can be displayed in the current page, and the current page can include one or more pendants. For understanding the page and the pendant, reference may be made to the prior art, and this embodiment will not be described in detail. The electronic device may obtain the display control parameters of all the pendants in the current page, or may obtain only the display control parameters of some of the pendants in the current page, which is not limited in this embodiment.
In this embodiment, the effective starting time is the time when the pendant starts to be displayed, and when the effective starting time of the pendant arrives, the pendant starts to be displayed in the current page. The effective finishing time corresponds to the effective starting time, the effective finishing time is the time for finishing displaying the pendant, and when the effective finishing time of the pendant is reached, the pendant finishes displaying on the current page. For example, if the current page includes the pendant a, the effective starting time of the pendant a is 10 points at 18 days in 3 months, and the effective ending time of the pendant a is 12 points at 18 days in 3 months, the pendant a starts to be displayed in the current page from 10 points at 18 days in 3 months, and when the time reaches 12 points at 18 days in 3 months, the pendant a ends to be displayed in the current page. It should be noted that the pendant can be displayed in the current page only when the page is in the display state, that is, between 10 o 'clock in 18 th of 3 months and 12 o' clock in 18 th of 3 months, if the current page is displayed in the display screen of the electronic device, the pendant is displayed in the current page, and if the current page is not displayed in the display screen of the electronic device, the pendant is not displayed.
The electronic device can directly send a data request to the server to obtain the display control parameters returned by the server after responding to the data request. Alternatively, the electronic device may directly receive the presentation control parameters sent by the server. Still alternatively, the electronic device may obtain the pre-stored presentation control parameters, or obtain the presentation control parameters from other electronic devices. The method for acquiring the display control parameter by the electronic device may be set according to the requirement, and this embodiment does not limit this.
102. And detecting that the current time accords with the effective starting time of the first pendant which is not displayed on the current page, and setting and displaying the first pendant in the current page.
The first pendant is a pendant which is not displayed in the current page in the pendants included in the current page.
In this embodiment, after receiving the display control parameter, the electronic device may determine an effective start time of each pendant included in the display control parameter, start a timer according to the effective start time of the pendant to record a current time, and display the first pendant in the current page when the current time recorded by the timer is consistent with the effective start time of the first pendant.
With reference to the above example, if the effective starting time of the display control parameters of the pendant a obtained by the electronic device is 10 o' clock 18 th of 3 months, the electronic device may start a timer to record the current time according to the effective starting time of the pendant a. For example, the electronic device may set a timer according to the server time and the processor (CPU) time of the electronic device, and start the timer to time, and if the server time obtained from the server at the current time of the electronic device is 3 months, 18 days, 0 and the CPU time of the electronic device is determined to be 1, the server may determine that the current actual time is 3 months, 18 days, 1 (i.e., the sum of the server time and the CPU time), and may determine that the validation start time of the pendant a is 3 months, 18 days, 10 after 9 hours from the current time (the interval duration between the current actual time and the validation start time) is reached. At this time, the electronic device may establish a daemon (timer) corresponding to the pendant and start timing. When the current time recorded by the timer is consistent with the effective starting time of the pendant A (namely the current time recorded by the timer is 3 months, 18 days and 10 points), determining that the current time is consistent with the effective starting time of the pendant A. At this time, the electronic device may set a presentation pendant a (first pendant) in the current page.
It should be noted that the pendant a is displayed in the current page only after the effective start time is reached, and when the effective start time is not reached at the current moment, the pendant a is not displayed in the current page, and at this time, the pendant a is a first pendant that is not displayed.
In practical application, the electronic device can also directly read the CPU time of the electronic device, and a timer is set and started to record the current time according to the CPU time and the effective starting time of the pendant. For example, the electronic device may directly determine the CPU time (e.g., 1 point at 18 months and 3 days), and may determine that 10 points at 18 months and 18 days after 9 hours (the interval between the CPU time and the validation start time) from the current time, the validation start time of the pendant a is reached. For understanding the server time and the CPU time, reference may be made to the prior art, and details of this embodiment are not described herein.
103. And detecting that the current time accords with the effective finishing time of the second pendant displayed on the current page, and setting to close the display of the second pendant in the current page.
The second pendant is a pendant already shown in the current page in the pendants included in the current page. For example, the effective starting time of the pendant B is before the current time, the pendant B is already shown in the current page, and the pendant B is the second pendant.
In this embodiment, if the validation end time of the pendant B obtained by the electronic device is 10 points on 18 days in 3 months, in combination with step 102, when the current time recorded by the timer is 10 points on 18 days in 3 months, it may be determined that the current time is consistent with the validation end time of the pendant B (second pendant). At this time, if the pendant B is displayed in the current page, the electronic device may close the display pendant B in the current page.
It should be noted that the effective starting time corresponds to the effective ending time, the electronic device may control the timer to keep timing after the first pendant is displayed on the current page, and when it is detected that the current time is consistent with the effective ending time, the display of the first pendant (the first pendant at this time is the second pendant) on the current page is terminated. For example, the validation end time of the pendant a is 12 o 'clock in 18 th day in 3 months, when the current time is 10 o' clock in 18 th day in 3 months, the electronic device displays the pendant a on the current page, after 10 o 'clock in 18 th day in 3 months, the electronic device controls the timer to keep timing, when the current time is 12 o' clock in 18 th day in 3 months, the electronic device closes the display pendant a on the current page, and the pendant a at this time is already displayed on the current page and is the second pendant.
In summary, in this embodiment, the electronic device obtains the display control parameters of the pendants included in the current page, sets to display the first pendant in the current page when the current time meets the effective start time of the first pendant not displayed in the current page, and sets to close to display the second pendant in the current page when the current time meets the effective end time of the second pendant already displayed in the current page. The display method has the advantages that the display method can flexibly control the displayed hanging parts in real time to meet different page display requirements without redevelopment of the hanging parts, and the hanging part display efficiency is improved. The method is particularly suitable for application scenes with a large number of page display requirements or frequent changes of the page display requirements.
Fig. 2 is a flowchart illustrating steps of another pendant presentation control method according to an exemplary embodiment, which may include the steps of, as shown in fig. 2:
201. the electronic device periodically obtains the presentation control parameters from the server.
In this embodiment, the electronic device may send a display control parameter obtaining request to the server according to a preset period, where the display control parameter obtaining request may include a pendant identifier of the pendant (e.g., a name of the pendant). After receiving the display control parameter acquisition request sent by the electronic equipment, the server can analyze the display control parameter acquisition request, determine the display control parameters of the pendant according to the pendant identification included in the display control parameter acquisition request, and return the display control parameters to the electronic equipment. The preset period may be 1 second, 2 seconds or 3 seconds, and the length of the preset period may be set according to a requirement, which is not limited in this embodiment.
Optionally, step 201 may be implemented as follows:
periodically acquiring the version number of the display control parameter from the server;
and under the condition that the version number of the currently acquired display control parameter is inconsistent with the version number of the last acquired display control parameter, acquiring the display control parameter from the server.
Wherein the version number is used for uniquely identifying the version of the presentation control parameter. In practical application, when a user adjusts the pendant in the application program each time, the user can set corresponding display control parameters, and set a unique version number for the display control parameters during each adjustment. The specific form of the version number may be set according to requirements, and this embodiment does not limit this.
In this embodiment, before the electronic device obtains the presentation control parameter from the server, the electronic device may first obtain a version number of the presentation control parameter from the server, and after obtaining the version number of the presentation control parameter, may compare the version number of the currently obtained presentation control parameter with the version number of the presentation control parameter obtained last time, and if the version number of the currently obtained presentation control parameter is not consistent with the version number of the presentation control parameter obtained last time, it is determined that the presentation control parameter in the server is a new presentation control parameter. At this time, the electronic device may send a display control parameter acquisition request to the server to acquire a new display control parameter from the server, and control the pendant in the current page according to the new display control parameter. On the contrary, if the version number of the currently acquired display control parameter is consistent with the version number of the display control parameter acquired last time, it indicates that the display control parameter in the server has been acquired by the electronic device, and at this time, it is not necessary to repeatedly acquire the same display control parameter from the server.
In practical application, the electronic equipment acquires the display control parameters from the server according to a preset period, can acquire the latest display control parameters in time, and adjusts the display time of the pendant in time. In the process of obtaining the display control parameters, whether the display control parameters need to be obtained is determined according to the version number of the display control parameters, so that the same display control parameters can be prevented from being repeatedly obtained from a server, and the communication load of the electronic equipment is reduced.
Optionally, the electronic device may also send a request for obtaining the display control parameter to the server to obtain the version number of the display control parameter when the application program is started each time.
For example, the electronic device may send a request for obtaining the presentation control parameter to the server and obtain the version number of the presentation control parameter from the server when the application is started in a cold state and/or in a hot state. When the application program is started each time, the version number of the display control parameter is obtained from the server, the latest display control parameter can be obtained from the server in time, the display time of the pendant in the current page is adjusted according to the latest display control parameter, and the real-time requirement is met. For understanding the cold start and the hot start, and a process of the electronic device sending the display control parameter acquisition request to the server when the application program is started, reference may be made to the prior art, and details of this embodiment are not described herein.
The above is merely an exemplary example, and in practical application, the version number of the display control parameter may also be obtained in other manners, for example, the electronic device may obtain the version number of the display control parameter from the server while obtaining the interface data from the server, and a method for specifically 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.
In this embodiment, the electronic device may obtain the display control parameter from the server through a Content Delivery Network (CDN). Specifically, the display control parameters may be stored in a plurality of nodes of the CDN network, and the electronic device may obtain the display control parameters from the nodes of the CDN network, so as to reduce a load of the server. Specifically, the process of obtaining the display control parameter through the CDN network may refer to a process of obtaining data through the CDN network in the prior art, which is not described herein in detail.
202. And when the electronic equipment detects that the current moment is consistent with the effective starting time of the first pendant, generating pendant content to be displayed according to the state parameters of the first pendant.
The display control parameters can also comprise state parameters of the pendant, and the electronic equipment can generate pendant content to be displayed according to the state parameters so as to display the pendant according to the pendant content.
For example, in connection with step 102, after setting and starting the timer, the electronic device may detect the current time recorded by the timer to determine whether the validation start time is reached. For example, when the current time recorded by the timer is 3 months, 18 days, and 10 o' clock, it may be determined that the current time coincides with the effective start time of the pendant a. At this time, the electronic device may generate the pendant content to be displayed according to the state parameter of the pendant a.
Optionally, the state parameter may further include a picture and/or a group of pictures corresponding to the pendant, and generating the pendant content to be displayed may include:
and determining a picture and/or a picture group from the state parameters of the first pendant, and determining the picture and/or the picture group as the content of the pendant.
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), and when the electronic device detects that the current time is consistent with the effective starting time of the first pendant, the electronic device may directly determine the pictures and/or the picture groups included in the state parameters of the first pendant from the acquired display control parameters. With reference to the above example, when the electronic device determines that the current time is 3 months, 18 days, and 10 hours, if the state parameter of the pendant a includes the picture a, the electronic device may determine the picture a from the state parameter of the pendant a, and use the picture a as the pendant content to be displayed. Similarly, if the state parameter of the pendant a includes a picture group, the electronic device may determine the picture group from the state parameter of the pendant a, and use the picture group as the pendant content to be displayed.
In practical application, the state parameter may include a picture and/or a group of pictures, and the electronic device may generate the target pendant content corresponding to the target display state according to the picture and/or the group of pictures included in the state parameter, so as to display and update the pendant in the target display state according to the target pendant content, thereby implementing adjustment of the pendant display state.
Optionally, the state parameter includes a resource link corresponding to the pendant, and generating the pendant content to be displayed may include:
according to the resource link corresponding to the first pendant, acquiring a picture and/or a picture group corresponding to the first pendant, and determining the picture and/or the picture group as the pendant content.
In this embodiment, the state parameter may include a resource link corresponding to the pendant, and when the electronic device detects that the current time is consistent with the effective start time of the first pendant, the electronic device may obtain a picture and/or a group of pictures corresponding to the first pendant according to the resource link in the state parameter, and use the obtained picture and/or group of pictures as the content of the pendant. The Resource link may be, for example, a Uniform Resource Locator (URL) corresponding to the picture and/or the group of pictures, and the electronic device may obtain the picture and/or the group of pictures according to the URL. By combining the above example, if the status parameter of the pendant a includes a URL corresponding to a picture and/or a picture, the electronic device may obtain the picture and/or a group of pictures corresponding to the pendant a according to the URL in the status parameter, and use the obtained picture and/or group of pictures as the pendant content to be displayed. The specific type of the resource link may be selected according to a requirement, and the method for obtaining the picture and the picture group according to the resource link may refer to the prior art, which is not limited in this embodiment.
In practical application, if the state parameters of the hangers include the resource link, after the electronic device obtains the display control parameters, before it is detected that the current time accords with the effective starting time of the first hanger, the electronic device may obtain the picture and/or the picture group corresponding to the hanger according to the resource link. Correspondingly, after the fact that the current time accords with the effective starting time of the first pendant is detected, the pendant content to be displayed can be generated directly according to the obtained pictures and/or the picture groups. The picture and/or the picture group are/is acquired before the current moment is detected to be in accordance with the effective starting time of the first pendant, so that the situation that when the current moment is detected to be in accordance with the state effective time of the first pendant, the picture and/or the picture group cannot be acquired timely according to the resource link, and the display of the first pendant is influenced can be avoided.
Meanwhile, before the current moment is detected to accord with the effective starting time of the first pendant, the electronic equipment can flexibly acquire the picture and/or the picture group according to the network condition and the downloading task. For example, the electronic device may determine whether to download the picture and/or the group of pictures according to the connected network type, e.g., the electronic device may download the corresponding picture and/or group of pictures according to the resource link when determining that the connected network type is a Wireless-Fidelity (Wi-Fi). Or when the electronic equipment determines that the current downloading task is less, downloading the corresponding picture and/or the picture group according to the resource link. Specifically, the process of obtaining the picture and/or the group of pictures according to the resource link 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 pendant display state according to the target pendant content. When the state parameters include the resource links, the data size of the display control parameters can be reduced, and the electronic equipment can acquire the display control parameters more conveniently.
203. The electronic equipment sets and displays a first pendant in a current page according to the pendant content.
In this embodiment, after detecting that the current time accords with the effective starting 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. By combining the above example, after the current time is detected to be consistent with the effective starting time of the pendant a and the pendant content (picture a) corresponding to the pendant a is generated, the pendant a can be displayed in the current page according to the picture a.
Optionally, the status parameter may further include a display identifier;
accordingly, step 203 may comprise:
When the picture is determined to be displayed according to the display identifier, setting a display first pendant in a current page according to the picture; alternatively, the first and second electrodes may be,
and when the pictures in the picture group are determined to be displayed according to the display identification, setting a display first pendant in the current page according to the pictures in the picture group.
In combination with the above example, the pendant content may be a picture and/or a group of pictures, and when the pendant content includes the picture and the group of pictures, the electronic device may control the first pendant to display the picture or the group of pictures according to the display identifier. The presentation identifiers such as "0" and "1", "0" represents a presentation picture, and "1" represents a presentation picture group. After or before the electronic device generates the pendant content, the electronic device may determine a display identifier in the state parameter of the first pendant, and if the display identifier is "0", the electronic device may set a display pendant a according to a picture in the pendant content, and if the display identifier is "1", the electronic device may set the display pendant a according to a picture group in the pendant content. The specific form of the display identifier may be set according to the requirement, which is not limited in this embodiment.
In this embodiment, the state parameters include the display identifier, and the electronic device can control the display mode of the pendant according to the display identifier, so that the pendant can be displayed in different display modes in different target display states, and different page display requirements can be met.
Optionally, the state parameters may further include a height parameter and a width parameter of the pendant;
correspondingly, setting and displaying the first pendant in the current page according to the picture may include:
rendering the picture, and displaying the rendered picture in a display interface of the first pendant according to the height parameter and the width parameter.
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 the width of the first pendant according to the height parameter and the width parameter. With reference to the above example, after generating the pendant content (picture a) of the pendant a, the electronic device may render the picture a, and display the rendered picture a in the display interface of the pendant a according to the height parameter (e.g., 20 mm) and the width parameter (e.g., 30 mm). 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 is not described in detail in this embodiment.
In practical application, before the display control parameters are acquired, the height of the first pendant is 30 mm, and the width of the first pendant is 40 mm. After the display control parameters are obtained, the height of the first pendant can be adjusted to 20 mm, and the width of the first pendant can be adjusted to 30 mm, so that the height and the width of the first pendant can be adjusted.
Optionally, the state parameters may further include a height parameter and a width parameter of the pendant, and a play frame rate of the group of pictures.
Correspondingly, setting and displaying the first pendant in the current page according to the picture in the picture group may include:
rendering the pictures in the picture group, and sequentially displaying the rendered pictures in a display interface of the first pendant according to the height parameter and the width parameter and the play frame rate.
In this embodiment, the state parameters may further include a play frame rate, and the electronic device may control the height and the width of the first pendant according to the height parameter and the width parameter in the state parameters, and control the play rate of the animation in the display interface of the first pendant according to the play frame rate.
In combination with the above example, if the pendant content corresponding to the pendant a includes a group of pictures, after determining the display group of pictures according to the display identifier, the electronic device may render a plurality of pictures in the group of pictures first, and then circularly play the plurality of pictures in the group of pictures according to the height parameter (e.g., 20 millimeters) and the width parameter (e.g., 30 millimeters) in the display interface of the pendant a according to the play frame rate (e.g., 22 frames per second), so as to implement the animation display of the pendant a. The number of pictures in the group of pictures and the frame rate of playing can be set according to requirements, which is not limited in this embodiment.
In this embodiment, the state parameters may include parameters such as a height parameter, a width parameter, and a play frame rate, and the electronic device may control the pendant to display different states in different target display states according to the parameters such as the height parameter, the width parameter, and the play frame rate, so as to meet diversified page display requirements.
Optionally, the display control parameter may further include a policy identifier of the pendant;
prior to step 203, the method may further comprise:
determining a control strategy of the first pendant from a plurality of preset control strategies according to the strategy identification of the first pendant;
accordingly, after step 203, the method may further comprise: and controlling the first pendant to be displayed in the current page according to the control strategy.
In this embodiment, the application program may include at least one control policy, and each control policy corresponds to a unique policy identifier. For example, the application program includes a control policy X, a control policy Y, and a control policy Z, where a policy identifier of the control policy X is X, a policy identifier of the control policy Y is Y, and a policy identifier of the control policy Z is Z. The electronic equipment can control the display process of the pendant in the page according to the control strategy.
When the display control parameters include the policy identifier of the pendant, the electronic device may determine a corresponding control policy for the pendant from the plurality of control policies according to the policy identifier. For example, if the policy identifier of the pendant a included in the display control acquisition parameter is X, the electronic device may determine, according to the policy identifier X, that the control policy corresponding to the pendant a is the control policy X.
Correspondingly, after the display pendant a (first pendant) is set on the current page, the electronic device may control the display process of the pendant according to the control policy X. For example, if the control policy X is a control policy that prohibits closing of the pendant, when the pendant a is displayed in the current page, the control policy X may control the display interface of the pendant a not to display the close button, so as to prevent the user from operating the close button and closing the pendant a. Alternatively, after receiving an operation of the close button by the user, closing of the pendant a is prohibited. If the control strategy X supports the closing of the pendant, the pendant is not displayed any more after the pendant is closed and before the next starting of the application program, at the moment, if the pendant A is closed by a user, the electronic equipment can control the closing of the pendant A, the pendant A is not displayed any more in the current running process of the application program, and the pendant A is displayed again when the current page is in the display state after the next starting of the application program. The above is only an exemplary embodiment, and the specific principle of the control strategy and the control method may refer to the prior art, which is not limited by the embodiment.
In practical application, the display control parameters include the policy identifier of the pendant, and the electronic device can adjust the control policy of the pendant according to the policy identifier so as to flexibly control the display process of the pendant in the page according to different controls.
Optionally, the method may further include: and displaying a closing button in a display interface of the first pendant under the condition that the first pendant is determined to be allowed to be closed according to the control strategy of the first pendant.
In this embodiment, if it is determined that the first pendant is allowed to be closed according to the control policy, a close button is displayed in the display interface of the first pendant. With reference to the foregoing example, if the control policy X is a control policy that allows the pendant to be closed, when the pendant a is displayed in the current page, a close button may be displayed in the display interface of the pendant a. In the display process of the pendant A, if the user clicks the closing button, the electronic device can respond to the clicking operation of the user and close the display of the pendant A on the current page. The user can conveniently operate the pendant in the current page.
204. And the electronic equipment detects that the current time accords with the effective finishing time of the second pendant displayed on the current page, and sets the closing display of the second pendant in the current page.
In summary, in the embodiment, the state parameters of the target display state may include parameters such as a picture and/or a group of pictures (or a resource link), a height, a width, and a frame rate. When the pictures and/or the picture groups (or the resource links) included in each target display state are different, the electronic device may adjust the display content of the target pendant according to the pictures and/or the picture groups (or the resource links), and when the parameters such as the height, the width, the play frame rate and the like are different, the electronic device may adjust the height, the width, the play rate and the like of the target pendant in the display process. Through the setting of state parameters, the pendant can show different states in different time periods, and the show state of the pendant can be flexibly adjusted to meet different page show requirements.
Optionally, detecting that the current time accords with the effective starting time of the first pendant not shown on the current page, and setting and displaying the first pendant on the current page may include:
and if the current time is detected to accord with the effective starting time of the first pendant which is not displayed on the current page, setting and displaying the first pendant in the current page under the condition of determining to display the first pendant according to the prestored operation record and the control strategy of the first pendant.
In this embodiment, if the display control policy does not include the policy identifier of the pendant, the electronic device may control the display of the pendant on the current page according to a predetermined control policy in the process of displaying the pendant. For example, if the display control parameter does not include the policy identifier of the pendant a, and the predetermined control policy of the pendant a is the control policy Y, the electronic device may control the pendant a to be displayed in the current page according to the control policy Y when detecting that the current time conforms to the effective start time of the pendant a.
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 relevant information when the control strategy is executed, so that in the next display of the pendant, the control strategy is executed according to the relevant information in the operation record, and the display state of the pendant is controlled. For example, if the control principle of the control policy Y is that the pendant is not shown within 24 hours after the pendant is closed, during the showing process of the pendant a, if the electronic device receives a closing operation of the pendant a from the user at 12 o 'clock 30, the electronic device may execute the control policy Y in response to the closing operation of the user, and control the pendant a to close at 12 o' clock 30. At this time, the electronic device may generate an operation record including the policy identifier Y and the closing time (12 o 'clock and 30 o' clock) corresponding to the pendant a, and store the operation record in a disk of the electronic device. After 12 o 'clock and 30 min, if the effective starting time of the pendant A is reached, the electronic device can obtain a prestored operation record, and according to the closing time in the operation record, it can be determined that the pendant A is closed at 12 o' clock and 30 min in the last display process, at this time, 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 is not displayed, and if the current time is outside 24 hours, the pendant A is set to be displayed. On the contrary, if the corresponding control policy is not executed during the display 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 policy, which is not limited in this embodiment.
In practical application, when the control strategy of the pendant is not adjusted, the electronic device can control the display process of the pendant according to the predetermined control strategy and the stored operation record after adjusting the display state of the target pendant.
Fig. 3 is a signaling interaction diagram illustrating a pendant presentation control method according to an exemplary embodiment, where as shown in fig. 3, the method may include the following steps:
301. and the electronic equipment sends a version number acquisition request to the server.
302. And the server responds to the version number acquisition request and sends the version number of the display control parameter to the electronic equipment.
303. And the electronic equipment sends a display control parameter acquisition request to the server under the condition that the version number of the display control parameter is determined to be inconsistent with the version number of the display control parameter acquired last time.
304. The server receives a display control parameter acquisition request sent by the electronic equipment.
The display control parameter obtaining request comprises a pendant identification of the pendant.
305. And the server determines the display control parameters of the pendant according to the pendant identifier of the pendant.
306. The server sends the display control parameters to the electronic device.
307. The electronic device receives a presentation control parameter.
308. The electronic equipment detects that the current time accords with the effective starting time of a first pendant which is not displayed on a current page, and the first pendant is displayed in the current page; and detecting that the current time accords with the effective finishing time of the second pendant displayed on the current page, and setting to close the display of the second pendant in the current page.
Step 201 may be referred to for understanding of step 301 to step 308, which is not described in detail in this embodiment.
In summary, in this embodiment, the display control parameters of the pendants included in the current page are obtained through the electronic device, when the current time meets the effective starting time of the first pendant not shown in the current page, the first pendant is set to be displayed in the current page, and when the current time meets the effective ending time of the second pendant already shown in the current page, the second pendant is set to be closed to be displayed in the current page. The display method has the advantages that the display method can flexibly control the displayed hanging parts in real time to meet different page display requirements without redevelopment of the hanging parts, and the hanging part display efficiency is improved. The method is particularly suitable for application scenes with a large number of page display requirements or frequent changes of the page display requirements.
Fig. 4 is a block diagram illustrating a structure of a pendant presentation control apparatus according to an exemplary embodiment, and as shown in fig. 4, the apparatus 400 may include: an acquisition module 401, a first detection module 402 and a second detection module 403.
The obtaining module 401 is configured to obtain a display control parameter of at least one pendant included in the current page, where the display control parameter includes at least an effective start time and an effective end time of the pendant.
The first detecting module 402 is configured to detect that the current time corresponds to an effective starting time of a first pendant not shown on the current page, and set the first pendant to be shown on the current page.
The second detecting module 403 is configured to detect that the current time corresponds to the effective end time of the second pendant already displayed on the current page, and set to close displaying the second pendant in the current page.
Optionally, the display control parameter further includes a policy identifier of the pendant; the apparatus 400 may further comprise: the device comprises a determination module and a control module.
The determining module is configured to determine a control strategy of the first pendant from a plurality of preset control strategies according to the strategy identification of the first pendant.
The control module is configured to control the first pendant to be presented in the current page according to a control policy.
Optionally, the apparatus 400 may further include: and a display module.
The display module is configured to display a close button in a presentation interface of the first pendant if it is determined that closing of the first pendant is allowed according to a control policy of the first pendant.
Optionally, the first detecting module 402 is specifically configured to detect that the current time accords with the effective starting time of the first pendant not shown on the current page, and set and show the first pendant in the current page if the first pendant is determined to be shown according to the pre-stored operation record and the control policy of the first pendant.
Optionally, the display control parameter may further include a status parameter of the pendant, and the first detecting module 402 includes: the device comprises a generating unit and a display unit.
The generation unit is configured to generate the pendant content to be displayed according to the state parameter of the first pendant when detecting that the current time is consistent with the effective starting time of the first pendant.
The display unit is configured to set and display a first pendant in a current page according to the pendant content.
Optionally, the status parameter may include a resource link corresponding to the pendant.
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 pendant content.
Optionally, the status parameter may include a picture and/or a group of pictures corresponding to the pendant.
The generating unit is specifically configured to determine a picture and/or a group of pictures from the state parameters of the first pendant, and determine the picture and/or the group of pictures as the pendant content.
Optionally, the status parameter may further include a display identifier.
The display unit is specifically configured to set and display a first pendant in a current page according to the picture when the picture is determined to be displayed according to the display identifier; or when the pictures in the picture group are determined to be displayed according to the display identification, setting a display first pendant in the current page according to the pictures in the picture group.
Optionally, the state parameters may further include 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 a display interface of the first pendant according to the height parameter and the width parameter.
Optionally, the state parameters may further include a height parameter and a width parameter of the pendant, and a play frame rate of the group of pictures.
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 pendant according to the height parameter and the width parameter and the play frame rate.
Optionally, the obtaining module is specifically configured to periodically obtain the presentation control parameter from the server.
Optionally, the obtaining module is further specifically configured to periodically obtain, from the server, a version number of the presentation control parameter; and under the condition that the version number of the currently acquired display control parameter is inconsistent with the version number of the last acquired display control parameter, acquiring the display control parameter from the server.
In summary, in this embodiment, the electronic device obtains the display control parameters of the pendants included in the current page, sets to display the first pendant in the current page when the current time meets the effective start time of the first pendant not displayed in the current page, and sets to close to display the second pendant in the current page when the current time meets the effective end time of the second pendant already displayed in the current page. The display method has the advantages that the display method can flexibly control the displayed hanging parts in real time to meet different page display requirements without redevelopment of the hanging parts, and the hanging part display efficiency is improved. The method is particularly suitable for application scenes with a large number of page display requirements or frequent changes of the page display requirements.
Fig. 5 is a block diagram illustrating another example of a pendant display control apparatus according to an exemplary embodiment, and as shown in fig. 5, the apparatus 500 may include: a receiving module 501, a determining module 502 and a sending module 503.
The receiving module 501 is configured to receive a display control parameter obtaining request sent by an electronic device, where the display control parameter obtaining request includes a pendant identifier of a pendant.
The determining module 502 is configured to determine a display control parameter of the pendant according to the pendant identification; the display control parameters at least comprise the effective starting time and the effective ending time of the pendant.
The sending module 503 is configured to send the presentation control parameters to the electronic device.
Optionally, the receiving module 501 is further configured to receive a version number obtaining request sent by the electronic device;
the sending module 503 is further configured to send the version number of the exhibition control parameter to the electronic device in response to the version number obtaining request, so that the electronic device sends the exhibition control parameter obtaining request if it is determined that the version number of the exhibition control parameter is inconsistent with the version number of the exhibition control parameter obtained last time.
FIG. 6 is a block diagram illustrating a pendant presentation control system including an electronic device and a server, according to an example embodiment.
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.
The server is configured to perform the method performed by the server in the embodiment shown in fig. 3.
In summary, in this embodiment, the electronic device obtains the display control parameters of the pendants included in the current page, sets to display the first pendant in the current page when the current time meets the effective start time of the first pendant not displayed in the current page, and sets to close to display the second pendant in the current page when the current time meets the effective end time of the second pendant already displayed in the current page. The display method has the advantages that the display method can flexibly control the displayed hanging parts in real time to meet different page display requirements without redevelopment of the hanging parts, and the hanging part display efficiency is improved. The method is particularly suitable for application scenes with a large number of page display requirements or frequent changes of the page display requirements.
Fig. 7 is a block diagram illustrating a structure of an electronic device according to an example embodiment, where the electronic device 700 may include:
a processor 701;
a memory 702 for storing instructions executable by the processor 701;
wherein the processor 701 is configured to perform the method described in the embodiments shown in fig. 1, fig. 2 or fig. 3.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform a method performed by the electronic device in the embodiments shown in fig. 1, 2 or 3; alternatively, the first and second electrodes may be,
the instructions in the storage medium, when executed by a processor of a server, enable the server to perform the method performed by the server in the embodiment shown in fig. 3.
In an exemplary embodiment, there is also provided a computer program product comprising instructions which, when run on an electronic device, enable the electronic device to perform the method performed by the electronic device in the embodiment shown in fig. 1, fig. 2 or fig. 3; alternatively, the first and second electrodes may be,
which when run on a server enables the server to perform the method performed by the server in the embodiment shown in fig. 3.
Fig. 8 is a block diagram illustrating another example of a pendant display control device, according to an example embodiment, where the device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 813, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the audio data processing methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
I/O interface 813 provides an interface between processing component 802 and a peripheral interface module, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The apparatus 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described audio data processing methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the audio data processing method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the 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.

Claims (10)

1. A pendant display control method is characterized by comprising the following steps:
obtaining display control parameters of at least one pendant included in a current page, wherein the display control parameters at least include an effective starting time and an effective ending time of the pendant;
Detecting that the current time accords with the effective starting time of a first pendant which is not displayed on the current page, and setting and displaying the first pendant in the current page;
and detecting that the current time accords with the effective finishing time of the second pendant displayed on the current page, and setting and closing to display the second pendant in the current page.
2. The method of claim 1, wherein the show control parameters further comprise a policy identification of the pendant;
when the current moment is detected to accord with the effective starting time of the first pendant which is not shown on the current page, and before the first pendant is set and shown on the current page, the method further comprises the following steps:
determining a control strategy of the first pendant from a plurality of preset control strategies according to the strategy identification of the first pendant;
after the detection that the current time accords with the effective starting time of the first pendant which is not shown on the current page and the first pendant is set and shown on the current page, the method further comprises the following steps:
and controlling the first pendant to be displayed in the current page according to a control strategy.
3. The method of claim 2, further comprising:
And displaying a closing button in a display interface of the first pendant under the condition that the first pendant is determined to be allowed to be closed according to the control strategy of the first pendant.
4. A pendant display control method is characterized by comprising the following steps:
receiving a display control parameter acquisition request sent by electronic equipment, wherein the display control parameter acquisition request comprises a pendant identifier of a pendant;
determining display control parameters of the pendant according to the pendant identifier; the display control parameters at least comprise effective starting time and effective ending time of the pendant;
and sending the display control parameter to the electronic equipment.
5. A pendant display control device, comprising:
the display control method comprises the steps that an obtaining module is configured to obtain display control parameters of at least one pendant included in a current page, wherein the display control parameters at least include effective starting time and effective ending time of the pendant;
the first detection module is configured to detect that the current time accords with the effective starting time of a first pendant which is not displayed on the current page, and set and display the first pendant on the current page;
and the second detection module is configured to detect that the current time accords with the effective finishing time of the second pendant displayed on the current page, and set to close the display of the second pendant in the current page.
6. A control device for pendant display, comprising:
the display control parameter acquisition module is configured to receive a display control parameter acquisition request sent by the electronic equipment, wherein the display control parameter acquisition request comprises a pendant identifier of a pendant;
the determining module is configured to determine display control parameters of the pendant according to the pendant identification; the display control parameters at least comprise effective starting time and effective ending time of the pendant;
a sending module configured to send the presentation control parameters to the electronic device.
7. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the pendant presentation control method of any of claims 1-3.
8. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the pendant presentation control method of claim 4.
9. A pendant display control system, comprising:
The electronic device of claim 7, and
the server of claim 8.
10. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the pendant presentation control method of any one of claims 1 to 3 or; alternatively, the first and second electrodes may be,
the instructions in the storage medium, when executed by a processor of a server, enable the server to perform the pendant presentation control method of claim 4.
CN202010544435.8A 2020-06-15 2020-06-15 Pendant display control method, device and system, electronic equipment, server and storage medium Pending CN111857907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010544435.8A CN111857907A (en) 2020-06-15 2020-06-15 Pendant display control method, device and system, electronic equipment, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010544435.8A CN111857907A (en) 2020-06-15 2020-06-15 Pendant display control method, device and system, electronic equipment, server and storage medium

Publications (1)

Publication Number Publication Date
CN111857907A true CN111857907A (en) 2020-10-30

Family

ID=72986616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010544435.8A Pending CN111857907A (en) 2020-06-15 2020-06-15 Pendant display control method, device and system, electronic equipment, server and storage medium

Country Status (1)

Country Link
CN (1) CN111857907A (en)

Citations (9)

* Cited by examiner, † Cited by third party
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
WO2017024710A1 (en) Multimedia information display method and apparatus
CN107229711B (en) Webpage display method and device
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
CN110493629B (en) Live broadcast cover hanging part display method and device, electronic equipment and storage medium
CN106354571B (en) Message reminding method and device
CN107220059B (en) Application interface display method and device
US20180007420A1 (en) Method, device and system for recording television program
CN110769395A (en) Flow-free service synchronization method and device
CN111198706A (en) Method for updating system function, apparatus for updating system function and storage medium
CN111340808A (en) Screen display monitoring method and device, electronic equipment and storage medium
CN107316207B (en) Method and device for acquiring display effect information
CN107396149B (en) Method and device for playing advertisement
CN113259226A (en) Information synchronization method and device, electronic equipment and storage medium
CN111970561A (en) Video cover generation method, system and device and electronic equipment
CN105653320B (en) Display method and device for loading icons
CN107239307B (en) Version updating information display method and device
CN107172199B (en) State updating method and device of mobile terminal
CN111857907A (en) Pendant display control method, device and system, electronic equipment, server and storage medium
CN106060104B (en) Application management method and device
CN112733092B (en) Information processing method and device
CN110769282A (en) Short video generation method, terminal and server
CN113868562A (en) Resource acquisition method, device, system, electronic equipment and readable storage medium
CN111857908A (en) Pendant display control method, device and system, electronic equipment, server and storage medium
CN112102009A (en) Advertisement display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination