CN112130949A - Prompt resource display method and device and computer readable storage medium - Google Patents

Prompt resource display method and device and computer readable storage medium Download PDF

Info

Publication number
CN112130949A
CN112130949A CN202011036229.2A CN202011036229A CN112130949A CN 112130949 A CN112130949 A CN 112130949A CN 202011036229 A CN202011036229 A CN 202011036229A CN 112130949 A CN112130949 A CN 112130949A
Authority
CN
China
Prior art keywords
resource
target
display
prompt
prompt resource
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
CN202011036229.2A
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 CN202011036229.2A priority Critical patent/CN112130949A/en
Publication of CN112130949A publication Critical patent/CN112130949A/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)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a display method and device of prompt resources and a computer readable storage medium, relates to the technical field of networks, and solves the problems that the display effect of a page is poor and the user experience is influenced in the related technology. The display method comprises the following steps: the server determines at least one target prompt resource with display requirements; acquiring target information of a target prompt resource, and determining resource attribute information of the target prompt resource according to the target information and a preset evaluation rule; and sending a prompt resource display instruction to the electronic equipment. The electronic equipment responds to the prompt resource display instruction, determines a target page corresponding to the target prompt resource according to the display position identification, and acquires a prompt resource display state of the target page; and determining that the target page meets the preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource, and displaying the target prompt resource in the target page.

Description

Prompt resource display method and device and computer readable storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a method and an apparatus for displaying a prompt resource, and a computer-readable storage medium.
Background
Generally, in a certain display page of an application program, an electronic device may prompt a user that a pending service exists by displaying a red dot on an operation control of the display page. The user may trigger the electronic device to cancel displaying the red dot by clicking on the red dot.
However, if a display page of the electronic device includes many pending services, a plurality of red dots will be displayed in the page, so the display effect of the page is poor, and the user experience is poor.
Disclosure of Invention
The disclosure provides a display method and device of prompt resources and a computer readable storage medium, so as to solve at least the problems of poor display effect of pages and influence on user experience in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for displaying a prompt resource, which is applied to an electronic device, and includes: and receiving and responding to a prompt resource display instruction, determining a target page corresponding to the target prompt resource according to a display position identifier in the prompt resource display instruction, and acquiring a prompt resource display state of the target page. And then, according to the display state of the prompt resource and the display priority of the target prompt resource in the prompt resource display instruction, determining that the target page meets the preset prompt resource display condition, and displaying the target prompt resource in the target page.
The prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed; the resource attribute information at least comprises a display priority and a display position identifier. The prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resource are not displayed in the target page.
In a possible implementation manner, the method for determining that the target page meets the preset prompt resource display condition and displaying the target prompt resource in the target page according to the prompt resource display state and the display priority of the target prompt resource includes: and if the plurality of target prompt resources correspond to the same target page, selecting the target prompt resource with the highest display priority from the plurality of target prompt resources. And then according to the display state of the prompt resource and the display priority of the target prompt resource with the highest display priority, determining that the target page meets the preset prompt resource display condition, and displaying the target prompt resource with the highest display priority in the target page.
In a possible implementation manner, the attribute information further includes prompt resource type information. Correspondingly, the display method further comprises the following steps: and if the prompt resource type information indicates that the target prompt resource is a special type of prompt resource, displaying the target prompt resource in the target page.
In a possible implementation manner, the method for obtaining a prompt resource display state of a target page includes: and determining the display priority of the prompt resource currently displayed on the target page. And then, determining that the display state of the prompt resource comprises the display priority of the currently displayed prompt resource.
In one possible implementation manner, after the target prompt resource is displayed in the target page, a parent prompt resource of the target prompt resource is determined according to a preset hierarchical structure, and the parent prompt resource is displayed in a parent display page. And the parent prompt resource corresponds to a parent display page. And in the parent display page, after the control corresponding to the parent prompt resource is triggered to operate, displaying the target page.
In a possible implementation manner, the method for displaying the target prompt resource in the target page includes: and acquiring the display priority of the first prompt resource from the prompt resource display state. And then, if the display priority of the first prompt resource is lower than that of the target prompt resource, hiding the first prompt resource and displaying the target prompt resource.
In one possible implementation, the display method further includes: and sending a display success message to the server. Wherein the display success message is used to characterize the target prompt resource that has been displayed at the first time.
In one possible implementation, the display method further includes: and under the condition that the target prompt resource is displayed, if the hiding operation of the target prompt resource is received, hiding the target prompt resource. Or, under the condition that the target prompt resource is displayed, if the display duration is equal to the preset duration and the hiding operation of the target prompt resource is not received, hiding the target prompt resource. Or if a hiding instruction of the target prompt resource sent by the server is received, hiding the target prompt resource.
In one possible implementation, the display method further includes: and sending a hiding success message to the server. Wherein the hiding success message is used for representing the hidden target prompting resource.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the above scheme, the electronic device determines a target page corresponding to the target prompt resource according to the display position of the target prompt resource, and determines whether to display the target prompt resource on the target page according to the prompt resource display state of the target page and the display priority of the target prompt resource. Compared with the method for displaying all target prompt resources to be displayed on the target page, the method for displaying the target prompt resources on the target page reduces the number of the prompt resources displayed on the target page by using the display priority of the prompt resources, so that the display effect of the target page is improved, and the user experience is further improved.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for displaying a prompt resource, which is applied to a server, and includes: at least one target prompt resource for which a display requirement exists is determined. And then, acquiring target information of the target prompt resources, and determining the resource attribute information of each target prompt resource according to the target information and a preset evaluation rule. And finally, sending a prompt resource display instruction to the electronic equipment.
The resource attribute information at least comprises a display priority and a display position identifier. The display position identification is used for representing the page corresponding to the target prompt resource, and the display priority is used for representing the sequence of displaying the target prompt resource. The prompt resource display instruction includes resource attribute information of the target prompt resource.
In one possible implementation, the targeting information includes at least one of bid results, revenue assessment results, production order, and urgency of the targeting prompt resource.
In one possible implementation manner, the resource attribute information further includes prompt resource type information, and the resource type information is used to indicate whether the target prompt resource is a special type prompt resource.
In one possible implementation, the display method further includes: determining that the electronic device has successfully displayed the target prompt resource at the first time. And then, if the hiding success message sent by the electronic equipment is not received within the preset time length after the first time, sending a hiding instruction of the target prompt resource to the electronic equipment after the preset time length is finished. The target prompting resource hiding instruction is used for indicating to hide the target prompting resource.
In a possible implementation manner, the method for determining that the electronic device has successfully displayed the target prompt resource at the first time includes: and receiving a display success message sent by the electronic equipment. The display success message is used for representing that the target prompt resource is displayed by the electronic equipment at the first moment.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the scheme, the server determines the display position identifier and the display priority of each target prompt resource according to the target information of the target prompt resource and the preset evaluation rule, and guides the electronic equipment to display the target prompt resource on the target page in a mode of sending a prompt resource display instruction to the electronic equipment. Therefore, compared with the mode that all target prompt resources to be displayed are displayed on the target page, the mode that whether the target prompt resources are displayed on the target page is judged according to the priority of the target prompt resources determined by the server, the number of the prompt resources displayed on the target page is reduced, the display effect of the target page is improved, and the user experience is further improved.
According to a third aspect of the embodiments of the present disclosure, a display device for prompting resources is provided, which is applied to an electronic device and includes an obtaining module and a processing module. And the acquisition module is configured to execute the receiving prompt resource display instruction. And the acquisition module is also configured to execute responding to the prompt resource display instruction, determine a target page corresponding to the target prompt resource according to the display position identification in the prompt resource display instruction, and acquire the prompt resource display state of the target page. And the processing module is configured to execute the steps of determining that the target page meets the preset prompt resource display condition according to the prompt resource display state acquired by the acquisition module and the display priority of the target prompt resource in the prompt resource display instruction, and displaying the target prompt resource in the target page.
The prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed; the resource attribute information at least comprises a display priority and a display position identifier. The prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resource are not displayed in the target page.
In one possible implementation, the processing module is specifically configured to perform: and if the plurality of target prompt resources correspond to the same target page, selecting the target prompt resource with the highest display priority from the plurality of target prompt resources. And then according to the display state of the prompt resource and the display priority of the target prompt resource with the highest display priority, determining that the target page meets the preset prompt resource display condition, and displaying the target prompt resource with the highest display priority in the target page.
In a possible implementation manner, the attribute information further includes prompt resource type information. A processing module further configured to perform: and if the prompt resource type information indicates that the target prompt resource is a special type of prompt resource, displaying the target prompt resource in the target page.
In one possible implementation, the obtaining module is specifically configured to perform: and determining the display priority of the prompt resource currently displayed on the target page. And then, determining that the display state of the prompt resource comprises the display priority of the currently displayed prompt resource.
In one possible implementation, the display device further includes a determination module and a display module. A determination module configured to perform determining a parent cueing resource of a target cueing resource according to a preset hierarchical structure. A display module configured to perform displaying a parent prompt resource in a parent display page. And the parent prompt resource corresponds to a parent display page. And in the parent display page, after the control corresponding to the parent prompt resource is triggered to operate, displaying the target page.
In one possible implementation, the processing module is specifically configured to perform: and acquiring the display priority of the first prompt resource from the prompt resource display state. And then, if the display priority of the first prompt resource is lower than that of the target prompt resource, hiding the first prompt resource and displaying the target prompt resource.
In one possible implementation, the display device further includes a sending module. A sending module configured to execute sending a display success message to the server. Wherein the display success message is used to characterize the target prompt resource that has been displayed at the first time.
In one possible implementation manner, the processing module is further configured to perform, in a case where the target prompt resource is displayed, if a hiding operation for the target prompt resource is received, hiding the target prompt resource. Or, under the condition that the target prompt resource is displayed, if the display duration is equal to the preset duration and the hiding operation of the target prompt resource is not received, hiding the target prompt resource. Or if a hiding instruction of the target prompt resource sent by the server is received, hiding the target prompt resource.
In one possible implementation, the display device further includes a sending module. A sending module configured to execute sending a concealment success message to a server. Wherein the hiding success message is used for representing the hidden target prompting resource.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a display device for prompting a resource, which is applied to a server and includes a determining module and a sending module. A determination module configured to perform determining at least one target prompt resource for which a display requirement exists. The determining module is further configured to execute obtaining target information of the target prompt resources and determine resource attribute information of each target prompt resource according to the target information and a preset evaluation rule. And the sending module is configured to execute sending of a prompt resource display instruction to the electronic equipment.
The resource attribute information at least comprises a display priority and a display position identifier. The display position identification is used for representing the page corresponding to the target prompt resource, and the display priority is used for representing the sequence of displaying the target prompt resource. The prompt resource display instruction includes resource attribute information of the target prompt resource.
In one possible implementation, the targeting information includes at least one of bid results, revenue assessment results, production order, and urgency of the targeting prompt resource.
In one possible implementation manner, the resource attribute information further includes prompt resource type information, and the resource type information is used to indicate whether the target prompt resource is a special type prompt resource.
In one possible implementation, the determining module is further configured to perform determining that the target alert resource has been successfully displayed by the electronic device at the first time. The sending module is further configured to execute, if the hiding success message sent by the electronic device is not received within a preset time length after the first time, sending a hiding instruction of the target prompt resource to the electronic device after the preset time length is finished. The target prompting resource hiding instruction is used for indicating to hide the target prompting resource.
In one possible implementation, the determining module is specifically configured to perform receiving a display success message sent by the electronic device. The display success message is used for representing that the target prompt resource is displayed by the electronic equipment at the first moment.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of displaying the hint resource as described above in the first aspect or any one of its possible implementations.
According to a sixth aspect of embodiments of the present disclosure, there is provided 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 method for displaying the hint resource as described above in the second aspect or any one of its possible implementations.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a display system for prompting a resource, the display system including an electronic device and a server. The electronic device is configured to execute the method for displaying the hint resource according to any one of the possible implementations of the first aspect, and the server is configured to execute the method for displaying the hint resource according to any one of the possible implementations of the second aspect.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method for displaying a hint resource as described in any one of the possible implementations of the first aspect.
According to a ninth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the method for displaying a hint resource as described in any one of the possible implementations of the second aspect.
According to a tenth aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the method for displaying a hint resource as described in any one of the possible implementations of the first aspect.
According to an eleventh aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of a server, enable the server to perform the method for displaying a hint resource as any one of the possible implementations of the second aspect described above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram illustrating an implementation environment for a method for display of hint resources in accordance with an illustrative embodiment;
FIG. 2 is one of the flow diagrams illustrating a method for display of a hint resource in accordance with an exemplary embodiment;
FIG. 3 is a schematic illustration of a page showing an application of a display method for hinting resources in accordance with an illustrative embodiment;
FIG. 4 is a second flowchart illustrating a method of displaying a hint resource in accordance with an exemplary embodiment;
FIG. 5 is a third flowchart illustrating a method of displaying a hint resource in accordance with an exemplary embodiment;
FIG. 6 is a fourth flowchart illustrating a method of displaying a hint resource in accordance with an exemplary embodiment;
FIG. 7 is a fifth flowchart illustrating a method of displaying a hint resource in accordance with an exemplary embodiment;
FIG. 8 is a sixth flowchart illustrating a method of displaying a hint resource in accordance with an exemplary embodiment;
FIG. 9 is one of the schematic structural diagrams of a display device for prompting resources according to an exemplary embodiment;
FIG. 10 is a second schematic diagram illustrating a display device for prompting resources according to an exemplary embodiment;
FIG. 11 is a schematic diagram illustrating the structure of an electronic device in accordance with one illustrative embodiment;
fig. 12 is a schematic diagram illustrating a configuration of a server according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
At present, in a certain display page of an application program, an electronic device may prompt a user that a pending service exists in a manner of displaying a red dot on an operation control of the display page. The user may trigger the electronic device to cancel displaying the red dot by clicking on the red dot. However, if a display page of the electronic device includes many pending services, a plurality of red dots will be displayed in the page, so the display effect of the page is poor, and the user experience is poor.
In view of this, the present disclosure provides a method for displaying a prompt resource, in which a server determines target prompt resources for which display requirements exist, and sends a prompt resource display instruction to an electronic device after determining a display priority and a display position identifier of each target prompt resource. The electronic equipment responds to the prompt resource display instruction, determines a target page corresponding to the target prompt resource according to the display position identification in the prompt resource display instruction, acquires the prompt resource display state of the target page, then determines that the target page meets the preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource in the prompt resource display instruction, and displays the target prompt resource in the target page. In the scheme, the number of the prompt resources displayed in the target page is reduced by using the display priority of the prompt resources, the display effect of the target page is improved, and the user experience is improved.
First, an implementation environment of the embodiments of the present disclosure will be described.
Fig. 1 is an architecture diagram illustrating an implementation environment in which the below-described hint resource display method may be applied, as shown in fig. 1, according to an example embodiment. The implementation environment includes an electronic device 01 and a server 02. Wherein, the electronic device 01 and the server 02 may be interconnected and communicate through a network.
The electronic device 01 may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, a vehicle-mounted device, an ultra-mobile personal computer (UMPC), a netbook, or the like, and the embodiment of the disclosure is not limited to a specific form of the electronic device.
The server 02 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center. The server 02 may include a processor, memory, and a network interface, among others.
It will be understood by those skilled in the art that the foregoing electronic devices and servers are merely exemplary and that other existing or future electronic devices or servers may be suitable for use with the present disclosure and are intended to be included within the scope of the present disclosure and are hereby incorporated by reference.
The following describes an exemplary display method of a hint resource provided by an embodiment of the present disclosure with reference to various drawings.
The execution main body of the display method for prompting resources provided by the embodiment of the present disclosure may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the display method for prompting resources in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure is not limited. The following takes an electronic device as an example to exemplarily describe a display method of a prompt resource provided by the embodiment of the present disclosure.
The embodiment of the present disclosure provides a method for displaying a prompt resource, and as shown in fig. 2, the method is applied to an electronic device, and the method may specifically include the following steps S201 to S203.
S201, the electronic equipment receives a prompt resource display instruction.
The prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed. The resource attribute information at least comprises a display priority and a display position identifier.
Specifically, the electronic device receiving the prompt resource display instruction may include the following two implementation manners:
implementation mode 1: when the electronic equipment and the server are in a long connection state, the target application program in an active state can be in real-time communication with the server, and the electronic equipment can receive a prompt resource display instruction sent by the server in real time through the target application program.
Implementation mode 2: when the electronic device and the server are not in a long connection state, for example, when the electronic device performs foreground and background switching of a target application program or cold start of the target application program, the electronic device may send a prompt resource display instruction acquisition request to the server, where the prompt resource display instruction acquisition request includes an identifier of a prompt resource, and the server may send a prompt resource display instruction corresponding to the identifier of the prompt resource to the electronic device according to the prompt resource display instruction acquisition request. Accordingly, the electronic device can receive the prompt resource display instruction sent by the server.
S202, the electronic equipment responds to the prompt resource display instruction, determines a target page corresponding to the target prompt resource according to the display position identification, and acquires a prompt resource display state of the target page.
Firstly, the electronic equipment determines a target page corresponding to the target prompt resource according to the display position identifier. The target page comprises a sidebar page and a common display page.
Specifically, the display location identifier of the target prompt resource may be an identifier of the target prompt resource, for example, an Identity (ID) of the target prompt resource. In this way, the electronic device determines the page corresponding to the ID of the target prompt resource as the target page.
Further, the target prompt resource refers to a prompt resource which can be displayed on a target page due to the service reminding requirement. As shown in (a) in fig. 3, if the user wants to trigger the electronic device to display the target page, the user may perform a first input on the target control 31 while the electronic device displays the target control 31, so that the electronic device displays the target page 32 in response to the first input, as shown in (b) in fig. 3, and the target page 32 may display the prompt resource 33.
It should be noted that the target page refers to a display page containing a trigger control of a target application installed in the electronic device, and the trigger control may display a prompt resource. For example, the target page may include control 1, control 2, and control 3, where control 1 may be used to trigger the electronic device to display received system information or a message sent by a friend if user input is received, and control 2 may be used to trigger the electronic device to display friend dynamics if user input is received; the control 3 may be used to trigger the electronic device to display a stranger secret if user input is received.
And then, the electronic equipment acquires the prompt resource display state of the target page.
Specifically, the electronic device determines the display priority of the currently displayed prompt resource in the target page, and determines that the display state of the prompt resource includes the display priority of the currently displayed prompt resource. Illustratively, if the target page includes 5 prompt resources, the prompt resources are a prompt resource E, a prompt resource F, a prompt resource M, a prompt resource N, and a prompt resource S. The currently displayed prompt resources in the target page include a prompt resource E, a prompt resource F and a prompt resource M, and the hidden prompt resources include a prompt resource N and a prompt resource S. The electronic device determines that the prompt resource display status includes the display priority of prompt resource E, the display priority of prompt resource F, and the display priority of prompt resource M.
S203, the electronic equipment determines that the target page meets the preset prompting resource display condition according to the prompting resource display state and the display priority of the target prompting resource, and displays the target prompting resource in the target page.
The prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resources are not displayed in the target page.
Specifically, when no prompt resource higher than the display priority of the target prompt resource is displayed in the target page, the target prompt resource is displayed in the target page. And when the prompt resource with higher display priority than the target prompt resource is already displayed in the target page, not displaying the target prompt resource in the target page.
Of course, the electronic device may also determine the number of the display prompt resources in the target page according to the display number in the prompt resource display instruction. In this way, when the display number in the prompt resource display instruction is 2, the prompt resource with the highest display priority and the next highest display priority is displayed in the target page; and when the display quantity in the prompt resource display instruction is 3, displaying the prompt resources with the highest display priority, the second highest display priority and the third highest display priority in the target page, and so on to obtain the display result of the target page.
In one possible implementation manner, after the target prompt resource with the highest display priority is displayed in the target page, the electronic device determines a parent prompt resource of the target prompt resource according to a preset hierarchical structure, and displays the parent prompt resource in the parent display page. And the parent prompt resource corresponds to a parent display page. And in the parent display page, after the control corresponding to the parent prompt resource is triggered to operate, displaying the target page.
Illustratively, if the parent prompt resource of the target prompt resource E is determined to be the prompt resource B according to the preset hierarchical structure, the parent prompt resource of the prompt resource B is determined to be the prompt resource A; prompting resource A to correspond to the first page, prompting resource B to correspond to the second page, and target prompting resource E to correspond to the target page; displaying a second page after the control corresponding to the prompt resource A is triggered to operate; and after the control corresponding to the prompt resource B is triggered to operate, displaying a target page. Thus, when the target prompt resource E is displayed in the target page, the prompt resource B is displayed in the second page and the prompt resource a is displayed in the first page.
According to the method for displaying the prompt resource provided by the embodiment of the disclosure, whether the target prompt resource is displayed on the target page can be judged according to the prompt resource display state of the target page and the display priority of the target prompt resource. Compared with the method for displaying all target prompt resources to be displayed on the target page, the method for displaying the target prompt resources on the target page reduces the number of the prompt resources displayed on the target page by using the display priority of the prompt resources, so that the display effect of the target page is improved, and the user experience is further improved.
In a possible implementation manner, if a plurality of target prompt resources correspond to the same target page, the electronic device selects a target prompt resource with the highest display priority from the plurality of target prompt resources, determines that the target page meets a preset prompt resource display condition according to the display state of the prompt resource and the display priority of the target prompt resource with the highest display priority, and displays the target prompt resource with the highest display priority in the target page.
Illustratively, if the prompt resources a to C are target prompt resources, the prompt resource E is a prompt resource already displayed in the target page, and the display priorities of the prompt resources are ordered as follows: target prompt resource A > target prompt resource B > target prompt resource C > prompt resource E. It can be seen that the target prompt resource a has the highest display priority among the target prompt resources a-C, and the display priority of the prompt resource E already displayed in the target page is smaller than that of the target prompt resource a, then the target prompt resource a is displayed in the target page.
Further specifically, the manner in which the electronic device displays the target prompt resource with the highest display priority in the target page may be that the target prompt resource is displayed at a preset position on an operation control corresponding to the target prompt resource in the target page, where the preset position may be an upper right corner area of the operation control, and the target prompt resource may be a red far point identifier, a red circle identifier with a number (the number represents the number of the to-be-operated services corresponding to the operation control), or another identifier that can prompt the user that the to-be-operated services exist, which is not limited in this disclosure.
The prompt resource display method provided by the embodiment of the disclosure can display the target prompt resource with the highest priority in the target page. Therefore, compared with the method that all target prompt resources to be displayed are displayed on the target page, the number of the target prompt resources displayed on the target page is reduced, the display effect of the target page is improved, and the user experience is further improved.
In one possible implementation, the attribute information of the target prompt resource further includes prompt resource type information. And if the prompt resource type information indicates that the target prompt resource is a special type of prompt resource, the electronic equipment displays the target prompt resource in the target page.
Illustratively, if the prompt resources a-D are target prompt resources and the prompt resource type information in the attribute information of the target prompt resource D indicates that the target prompt resource D is a special type of prompt resource; the prompt resource E is a prompt resource displayed in the target page; the display priority of the prompt resource is ordered as: target prompt resource A > target prompt resource B > target prompt resource C > target prompt resource D > prompt resource E. It can be seen that the target prompt resource a has the highest display priority among the target prompt resources a-D, and the display priority of the prompt resource E shown in the target page is smaller than that of the target prompt resource a, and the target prompt resource D is a special type of prompt resource, then the target prompt resource a and the target prompt resource D are displayed in the target page.
The method for displaying the prompt resource provided by the embodiment of the disclosure can display the target prompt resource with the highest priority and the prompt resource with the type information of the prompt resource being a special type in the target page. Therefore, the loss caused by the fact that the user misses important service reminding due to the fact that emergency services cannot be displayed in some cases when only the target prompt resource with the highest priority is displayed can be avoided; the number of target prompt resources displayed in the target page can be reduced, and the display effect of the target page is improved.
In one possible implementation manner, the electronic device obtains the display priority of the first prompt resource from the prompt resource display state. And if the display priority of the first prompt resource is lower than that of the target prompt resource, hiding the first prompt resource and displaying the target prompt resource. The first prompt resource is any prompt resource displayed in the target page.
According to the prompt resource display method provided by the embodiment of the disclosure, the prompt resource with the highest priority is displayed in the target page, and other prompt resources displayed in the target page are hidden, so that the number of the prompt resources displayed in the target page is further reduced, and the display effect of the target page is improved.
In a possible implementation manner, with reference to fig. 2, as shown in fig. 4, after the electronic device executes the above S203, the method for displaying a prompt resource provided by the embodiment of the present disclosure may further include the following S204.
S204, the electronic equipment sends a display success message to the server.
Wherein the display success message is used to characterize the target prompt resource that has been displayed at the first time.
Since the server may configure the alert resource displayed by the electronic device, the server needs to determine the condition of the alert resource currently displayed by the electronic device. Based on this, the electronic device needs to send a display success message to the server after displaying the target prompt resource.
Optionally, the first time may be a time when the electronic device displays the target prompt resource, may also be a time when the electronic device sends a display success message to the server, and may also be a time when the server receives the display success message, which is not limited in this embodiment of the disclosure.
According to the method for displaying the prompt resource, the electronic equipment can send the display success message to the server, so that the server can determine the time for the electronic equipment to display the target prompt resource, and the server can control whether the electronic equipment continues to display the target prompt resource according to the time.
In a possible implementation manner, with reference to fig. 2, as shown in fig. 5, after the electronic device executes the above S203, the method for displaying a prompt resource provided by the embodiment of the present disclosure may further include the following S205.
S205, hiding the target prompt resource by the electronic equipment.
After the electronic device displays the target prompt resource, if the electronic device keeps displaying the target prompt resource all the time, after the electronic device determines a new target prompt resource, the prompt resource displayed in the target page is more and more, and therefore in the embodiment of the present disclosure, the electronic device may hide the target prompt resource through any one of the following three implementation manners. Specifically, the method comprises the following steps:
implementation mode 1: and under the condition that the target prompt resource is displayed, if the hiding operation of the target prompt resource is received, the electronic equipment hides the target prompt resource.
Implementation mode 2: under the condition that the target prompting resource is displayed, if the display duration is equal to the preset duration and the hiding operation of the target prompting resource is not received, the electronic equipment hides the target prompting resource. It should be noted that the preset duration refers to a preset duration after the second time, where the second time may be a time when the electronic device displays the target prompt resource, or a time when the electronic device sends a message of successful display to the server. For example, the preset time period is 72 hours after the second time.
Implementation mode 3: and if a hiding instruction of the target prompt resource sent by the server is received, the electronic equipment hides the target prompt resource.
Optionally, after the electronic device executes the foregoing S204, the server may send the hidden instruction of the target prompt resource to the electronic device after a preset time length after the first time.
It should be noted that, in the case that the hiding condition of at least one of the above three implementations is satisfied, the electronic device may perform an operation of hiding the target prompt resource.
According to the method for displaying the prompt resource provided by the embodiment of the disclosure, the electronic device can hide the target prompt resource in the target page under the condition that a certain condition is met, so that the display quantity of the prompt resource displayed in the target page can be reduced, and the display effect of the target page is improved.
In one possible implementation manner, with reference to fig. 5, as shown in fig. 6, after the electronic device executes the above S205, the method for displaying a prompt resource provided by the embodiment of the present disclosure may further include S206 described below.
S206, the electronic equipment sends a hiding success message to the server.
The hiding success message can be used for representing the hidden target prompting resource of the electronic device.
Optionally, the server may determine whether the target prompt resource has been hidden by the electronic device according to the hiding success message, and therefore, if the server does not receive the hiding success message within a preset time period after the first time, the server may send the hiding instruction to the electronic device.
According to the method for displaying the prompt resource, the server can instruct the electronic device to hide the target prompt resource through the hiding instruction, so that the server can send the hiding instruction to the electronic device under the condition that the electronic device does not send the hiding success message, and the electronic device can be prevented from receiving the hiding instruction sent by the server under the condition that the target prompt resource is hidden.
The execution main body of the display method for prompting resources provided by the embodiment of the present disclosure may be a server, or may also be a functional module and/or a functional entity capable of implementing the display method for prompting resources in the server, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure is not limited. Next, taking a server as an example, an exemplary description is given of a display method of a prompt resource provided in the embodiment of the present disclosure.
The embodiment of the present disclosure provides a method for displaying a prompt resource, and as shown in fig. 7, the method is applied to a server, and the method may specifically include the following steps S301 to S303.
S301, the server determines at least one target prompt resource with display requirements.
Specifically, when a service to be processed exists in a certain display page of the application program, the electronic device may prompt the user that the service to be processed exists in a manner of displaying a target prompt resource on an operation control of the display page. Therefore, the server can determine the target prompt resource with the display requirement according to the service to be processed.
S302, the server obtains target information of the target prompt resource and determines resource attribute information of the target prompt resource according to the target information and a preset evaluation rule.
The target information comprises at least one of bidding results, income evaluation results, production sequence and emergency degree of the target prompt resources and display position identification of the target prompt resources. Specifically, the bidding result of the target prompting resource is provided by the demander of the target prompting resource according to the internal condition thereof, for example, the demander provides the bidding result of the target prompting resource according to the amount of the internal resource; the income evaluation result of the target prompt resource can be obtained by carrying out income evaluation on historical prompt resource data at different positions, wherein the income is the number of clicks received by the controls of the pages in unit time when the prompt resources are displayed on the controls of different pages; the production sequence of the target prompt resource is determined according to the production time of the target prompt resource; and the emergency degree of the target prompt resource is determined according to the emergency degree of the service to be processed corresponding to the target prompt resource, wherein the emergency degree of the target prompt resource comprises emergency and common.
The resource attribute information at least comprises a display priority and a display position identifier. The display position identification is used for representing the page corresponding to the target prompt resource, and the display priority is used for representing the sequence of displaying the target prompt resource.
Specifically, the server may determine the resource attribute information of the target prompt resource through any one of the following implementation manners.
Implementation mode 1: the server determines the display priority of the target prompt resource according to any one of the bidding result, the income evaluation result, the production sequence and the emergency degree of the target prompt resource, and determines the resource attribute information of the target prompt resource according to the display priority of the target prompt resource and the display position identification of the target prompt resource.
Optionally, the server determines the display priority of the target prompt resource according to the size of the bid result, wherein the display priority of the prompt resource with a large bid result is higher than the display priority of the prompt resource with a small bid result. Or the server determines the display priority of the target prompt resource according to the income evaluation result of the target prompt resource, wherein the display priority of the prompt resource with a large income evaluation result is higher than the display priority of the prompt resource with a small income evaluation result. Or the server determines the display priority of the target prompt resource according to the production sequence of the target prompt resource, wherein the display priority of the prompt resource at the front of the production sequence is higher than the display priority of the prompt resource at the back of the production sequence. Or the server determines the display priority of the target prompt resource according to the emergency degree of the target prompt resource, wherein the display priority of the target prompt resource with the emergency degree is higher than the display priority of the target prompt resource with the emergency degree.
Implementation mode 2: the server determines the display priority of the target prompt resource according to at least one of the bidding result, the income evaluation result, the production sequence and the emergency degree of the target prompt resource, and determines the resource attribute information of the target prompt resource according to the display priority of the target prompt resource and the display position identification of the target prompt resource.
Specifically, when the server determines the display priority of the target prompt resource according to more than two items of the bidding result, the income evaluation result, the production sequence and the emergency degree, the display priority of the target prompt resource is determined according to the average value of the two items, wherein the display priority of the target prompt resource with the larger average value is higher than the display priority of the target prompt resource with the smaller average value. When the server determines the display priority of the target prompt resource according to one of the bidding result, the profit evaluation result, the production order, and the urgency level, the description is omitted, which is the same as that in embodiment 1.
In one possible implementation manner, the resource attribute information further includes prompt resource type information, and the resource type information is used to indicate whether the target prompt resource is a special type prompt resource. Specifically, when the urgency level of the target prompt resource is urgent, the target prompt resource is determined to be a special type prompt resource.
S303, the server sends a prompt resource display instruction to the electronic equipment.
And the prompt resource display instruction comprises resource attribute information of the target prompt resource.
In the scheme, the server determines the display position identifier and the display priority of each target prompt resource according to the target information of the target prompt resource and the preset evaluation rule, and guides the electronic equipment to display the target prompt resource on the target page in a mode of sending a prompt resource display instruction to the electronic equipment. Therefore, compared with the mode that all target prompt resources to be displayed are displayed on the target page, the mode that whether the target prompt resources are displayed on the target page is judged according to the priority of the target prompt resources determined by the server, the number of the prompt resources displayed on the target page is reduced, the display effect of the target page is improved, and the user experience is further improved.
In one possible implementation, the server determines that the electronic device has successfully displayed the target reminder resource at a first time. Specifically, the server receives a display success message sent by the electronic device, and then determines that the electronic device has successfully displayed the target prompt resource at the first moment. The display success message is used for representing that the target prompt resource is displayed by the electronic equipment at the first moment.
If the hiding success message sent by the electronic equipment is not received within the preset time length after the first time, the server sends a hiding instruction of the target prompting resource to the electronic equipment after the preset time length is finished, wherein the hiding instruction of the target prompting resource is used for indicating to hide the target prompting resource. For example, the preset time period is 72 hours after the first time.
Specifically, after the electronic device displays the target prompt resource, if the electronic device keeps displaying the target prompt resource all the time, after the electronic device determines a new target prompt resource, the prompt resource displayed in the target page is more and more, and therefore in the embodiment of the present disclosure, the electronic device may hide the target prompt resource when receiving a trigger operation of a user on the target prompt resource, or, when the display duration of the target prompt resource is equal to a preset duration, and send a hiding success message to the server, where the hiding success message may be used to represent that the target prompt resource has been hidden by the electronic device. However, if the hiding success message sent by the electronic device is not received within the preset time length after the first time, the server may send the hiding instruction of the target prompt resource to the electronic device after the preset time length is finished, so that the electronic device hides the target prompt resource according to the instruction of the hiding instruction.
According to the method for displaying the prompt resource provided by the embodiment of the disclosure, the server can send the hidden instruction of the prompt resource displayed by the electronic device to the electronic device under the condition that the hidden success message sent by the electronic device is not received within the preset time after the first time, so that the server can control the electronic device to reduce the number of the displayed prompt resource through the hidden instruction, the display effect of the page of the electronic device can be improved, and the user experience can be further improved.
Fig. 8 is a flowchart illustrating a method for displaying a hint resource, where the method is applied to a display system of a hint resource, where the display system includes an electronic device and a server, and the method may specifically include the following steps S401 to S403.
S401, the server determines at least one target prompting resource with a display requirement, acquires target information of the target prompting resource, and determines resource attribute information of the target prompting resource according to the target information and a preset evaluation rule.
The target information comprises at least one of bidding results, income evaluation results, production sequence and emergency degree of target prompt resources; the resource attribute information at least comprises a display priority and a display position identifier; the display position identification is used for representing the page corresponding to the target prompt resource, and the display priority is used for representing the sequence of displaying the target prompt resource.
Optionally, the resource attribute information further includes prompt resource type information, where the resource type information is used to indicate whether the target prompt resource is a special type of prompt resource.
S402, the server sends a prompt resource display instruction to the electronic equipment.
And the prompt resource display instruction comprises resource attribute information of the target prompt resource.
S403, the electronic equipment responds to the prompt resource display instruction, determines a target page corresponding to the target prompt resource according to the display position identification, and acquires a prompt resource display state of the target page; and determining that the target page meets the preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource, and displaying the target prompt resource in the target page.
The prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed; the resource attribute information at least comprises a display priority and a display position identifier; the prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resource are not displayed in the target page.
Optionally, obtaining the prompt resource display state of the target page, including determining the display priority of the currently displayed prompt resource of the target page; and determining that the prompt resource display state comprises the display priority of the currently displayed prompt resource.
Optionally, if multiple target prompt resources correspond to the same target page, selecting a target prompt resource with the highest display priority from the multiple target prompt resources; and according to the display state of the prompt resource and the display priority of the target prompt resource with the highest display priority, determining that the target page meets the preset prompt resource display condition, and displaying the target prompt resource with the highest display priority in the target page.
Optionally, the attribute information further includes prompt resource type information; the display method further comprises the following steps: and if the prompt resource type information indicates that the target prompt resource is a special type of prompt resource, displaying the target prompt resource in the target page.
Optionally, the display priority of the first prompt resource is obtained from the display state of the prompt resource; and if the display priority of the first prompt resource is lower than that of the target prompt resource, hiding the first prompt resource and displaying the target prompt resource.
In one possible implementation manner, after the display system for prompting resources performs S403 described above, the display method for prompting resources provided by the embodiment of the present disclosure may further include S404 described below.
S404, the electronic device determines a parent prompt resource of the target prompt resource according to the preset hierarchical structure, and displays the parent prompt resource in a parent display page.
In one possible implementation manner, after the display system of the prompt resource performs S403, the display method of the prompt resource provided by the embodiment of the present disclosure may further include S405 described below.
S405, the electronic equipment sends a display success message to the server.
In one possible implementation manner, after the display system of the prompt resource performs S405 described above, the display method of the prompt resource provided by the embodiment of the present disclosure may further include S406 and S407 described below.
S406, the server determines that the target prompt resource is successfully displayed by the electronic equipment at the first moment.
Specifically, a display success message sent by the electronic device is received, where the display success message is used to represent that the target prompt resource has been displayed by the electronic device at the first time.
S407, if the hiding success message sent by the electronic equipment is not received within the preset time length after the first time, sending a hiding instruction of the target prompt resource to the electronic equipment after the preset time length is finished.
The target prompting resource hiding instruction is used for indicating to hide the target prompting resource.
In one possible implementation manner, after the display system of the prompt resource performs S403, the display method of the prompt resource provided by the embodiment of the present disclosure may further include S408 described below.
S408, the electronic equipment sends a hiding success message to the server.
Specifically, under the condition that the target prompt resource is displayed, if the hiding operation of the target prompt resource is received, the target prompt resource is hidden; or, under the condition that the target prompting resource is displayed, if the display duration is equal to the preset duration and the hiding operation of the target prompting resource is not received, hiding the target prompting resource; or if a hiding instruction of the target prompt resource sent by the server is received, hiding the target prompt resource.
And after hiding the target prompt resource, the electronic equipment sends a hiding success message to the server.
According to the method for displaying the prompt resource provided by the embodiment of the disclosure, on one hand, the electronic device can judge whether the target prompt resource is displayed on the target page according to the prompt resource display state of the target page and the display priority of the target prompt resource. Compared with the method for displaying all target prompt resources to be displayed on the target page, the method for displaying the target prompt resources on the target page reduces the number of the prompt resources displayed on the target page by using the display priority of the prompt resources, so that the display effect of the target page is improved, and the user experience is further improved. On the other hand, the server determines the display position identifier and the display priority of each target prompt resource according to the target information of the target prompt resource and the preset evaluation rule, and guides the electronic equipment to display the target prompt resource on the target page in a mode of sending a prompt resource display instruction to the electronic equipment. Therefore, compared with the mode that all target prompt resources to be displayed are displayed on the target page, the mode that whether the target prompt resources are displayed on the target page is judged according to the priority of the target prompt resources determined by the server, the number of the prompt resources displayed on the target page is reduced, the display effect of the target page is improved, and the user experience is further improved.
It will be appreciated that the above method may be implemented by a display device that prompts for a resource. The display device for presenting resources includes a hardware structure and/or a software module for performing each function in order to realize the above-described functions. Those of skill in the art will readily appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments.
The display device of the prompt resource and the like may be divided into functional modules according to the method example, for example, each functional module may be divided for each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiments of the present disclosure is illustrative, and is only one division of logic functions, and there may be another division in actual implementation.
The embodiment of the application also provides a display device for prompting the resources. The display device may be an electronic device, a chip in the electronic device, a control module for processing a prompt resource in the electronic device, or a client for processing the prompt resource in the electronic device.
Fig. 9 is a schematic structural diagram of a display apparatus for prompting a resource according to an embodiment of the present disclosure, and the display apparatus is applied to an electronic device, and the display apparatus may include an obtaining module 901 and a processing module 902.
An obtaining module 901 configured to execute a receive prompt resource display instruction. The prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed. The resource attribute information at least comprises a display priority and a display position identifier. For example, referring to fig. 2, the obtaining module 901 is configured to execute step S201. The obtaining module 901 is further configured to execute responding to the prompt resource display instruction, determine a target page corresponding to the target prompt resource according to the display position identifier, and obtain a prompt resource display state of the target page. For example, referring to fig. 2, the obtaining module 901 is further configured to execute step S202. The processing module 902 is configured to execute determining that the target page meets the preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource acquired by the acquisition module 901, and display the target prompt resource in the target page. For example, referring to fig. 2, the processing module 902 is configured to execute step S203. The prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resources are not displayed in the target page.
In an embodiment, the processing module 902 is specifically configured to perform: and if the plurality of target prompt resources correspond to the same target page, selecting the target prompt resource with the highest display priority from the plurality of target prompt resources. And according to the display state of the prompt resource and the display priority of the target prompt resource with the highest display priority, determining that the target page meets the preset prompt resource display condition, and displaying the target prompt resource with the highest display priority in the target page.
In one embodiment, the attribute information further includes hint resource type information. The processing module 902 is further configured to execute displaying the target prompt resource in the target page if the prompt resource type information indicates that the target prompt resource is a special type of prompt resource.
In an embodiment, the obtaining module 901 is specifically configured to determine the display priority of the currently displayed prompt resource of the target page. And determining that the prompt resource display state comprises the display priority of the currently displayed prompt resource.
In one embodiment, the display device further includes: a determining module 903 configured to perform determining a parent hinting resource of a target hinting resource according to a preset hierarchical structure. And the parent prompt resource corresponds to a parent display page. And in the parent display page, after the control corresponding to the parent prompt resource is triggered to operate, displaying the target page. A display module 904 configured to perform displaying the parent prompt resource in a parent display page.
In an embodiment, the processing module 902 is specifically configured to perform: and acquiring the display priority of the first prompt resource from the prompt resource display state. And if the display priority of the first prompt resource is lower than that of the target prompt resource, hiding the first prompt resource and displaying the target prompt resource.
In one embodiment, the display device further includes: a sending module 905 configured to execute sending a display success message to the server, the display success message being used for representing that the target prompt resource has been displayed at the first time. For example, referring to fig. 4, the sending module 905 is configured to execute step S204.
In one embodiment, the processing module 902 is further configured to perform: and under the condition that the target prompt resource is displayed, if the hiding operation of the target prompt resource is received, hiding the target prompt resource. Or, under the condition that the target prompt resource is displayed, if the display duration is equal to the preset duration and the hiding operation of the target prompt resource is not received, hiding the target prompt resource. Or if a hiding instruction of the target prompt resource sent by the server is received, hiding the target prompt resource. For example, referring to fig. 5, the processing module 902 is further configured to execute step S205.
In one embodiment, the display device further includes: a sending module 905 configured to execute sending a hiding success message to the server, where the hiding success message is used to characterize the hidden target hint resource. For example, referring to fig. 6, the sending module 905 is further configured to execute step S206.
According to the display device for prompting resources provided by the embodiment of the disclosure, the device can determine the target page corresponding to the target prompting resources according to the display position of the target prompting resources, and judge whether the target prompting resources are displayed on the target page according to the display state of the prompting resources of the target page and the display priority of the target prompting resources. Compared with the method for displaying all target prompt resources to be displayed on the target page, the method for displaying the target prompt resources on the target page reduces the number of the prompt resources displayed on the target page by using the display priority of the prompt resources, so that the display effect of the target page is improved, and the user experience is further improved.
The embodiment of the application also provides a display device for prompting the resources. The display device may be a server, a chip in the server, a control module in the server for processing the prompt resource, or a client in the server for processing the prompt resource.
Fig. 10 is a schematic structural diagram of a display device for prompting a resource according to an embodiment of the present disclosure, and the display device is applied to a server and may include a determining module 1001 and a sending module 1002.
A determination module 1001 configured to perform the determination of at least one target prompt resource for which a display requirement exists. For example, referring to fig. 7, the determination module 1001 is configured to perform step S301. The determining module 1001 is further configured to perform obtaining target information of the target prompt resource, and determine resource attribute information of the target prompt resource according to the target information and a preset evaluation rule. The resource attribute information at least comprises a display priority and a display position identifier. The display position identification is used for representing the page corresponding to the target prompt resource, and the display priority is used for representing the sequence of displaying the target prompt resource. For example, referring to fig. 7, the determining module 1001 is further configured to execute step S302. The sending module 1002 is configured to execute sending a prompt resource display instruction to the electronic device. The prompt resource display instruction includes resource attribute information of the target prompt resource. For example, referring to fig. 7, the sending module 1002 is configured to execute step S303.
In one embodiment, the targeting information includes at least one of bid results, profit evaluation results, production order, and urgency of the targeting prompt resource and a display location identification of the targeting prompt resource.
In one embodiment, the resource attribute information further includes hint resource type information, where the resource type information is used to indicate whether the target hint resource is a special type of hint resource.
In one embodiment, the determining module 1001 is further configured to perform the determining that the electronic device has successfully displayed the target alert resource at the first time. The sending module 1002 is further configured to execute, if the hiding success message sent by the electronic device is not received within a preset time length after the first time, sending a hiding instruction of the target prompt resource to the electronic device after the preset time length is ended, where the target prompt resource hiding instruction is used to indicate to hide the target prompt resource.
In an embodiment, the determining module 1001 is specifically configured to receive a display success message sent by the electronic device, where the display success message is used to characterize that the electronic device has displayed the target prompt resource at the first time.
According to the display device for prompting resources provided by the embodiment of the disclosure, the display position identifier and the display priority of each target prompting resource can be determined according to the target information and the preset evaluation rule of the target prompting resource, and the electronic equipment is guided to display the target prompting resource on the target page by sending the prompting resource display instruction to the electronic equipment. Therefore, compared with the mode that all target prompt resources to be displayed are displayed on the target page, the mode that whether the target prompt resources are displayed on the target page is judged according to the priority of the target prompt resources determined by the server, the number of the prompt resources displayed on the target page is reduced, the display effect of the target page is improved, and the user experience is further improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a schematic structural diagram of an electronic device according to an exemplary embodiment. The electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like. As shown in fig. 11, electronic device 100 includes, but is not limited to: a processor 101, a memory 102, a display 103, an input unit 104, an output unit 105, a network unit 106, an interface unit 107, a radio frequency unit 108, a power supply 109, a sensor 110, and the like.
It should be noted that, as those skilled in the art can understand, the structure of the electronic device 100 shown in fig. 11 does not constitute a limitation to the electronic device 100, and the electronic device 100 may include more or less components than those shown in fig. 11, or combine some components, or arrange different components.
In the embodiment of the present disclosure, the radio frequency unit 108 is configured to receive a prompt resource display instruction. The prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed. The resource attribute information at least comprises a display priority and a display position identifier.
And the processor 101 is configured to, in response to the prompt resource display instruction, determine a target page corresponding to the target prompt resource according to the display position identifier, and acquire a prompt resource display state of the target page.
The processor 101 is further configured to determine that the target page meets a preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource. The prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resources are not displayed in the target page.
And the display 103 is used for displaying the target prompt resource in the target page.
It should be noted that the electronic device 100 can implement each process implemented by the electronic device in the foregoing method embodiments, and can achieve the same technical effect, and for avoiding repetition, detailed descriptions are not repeated here.
The processor 101 is a control center of the electronic device 100, connects various parts of the whole electronic device 100 by various interfaces and lines, and performs various functions of the electronic device 100 and processes data by running or executing software programs and/or modules stored in the memory 102 and calling data stored in the memory 102, thereby performing overall monitoring of the electronic device 100. Processor 101 may include one or more processing units; optionally, the processor 101 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user pages, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 101.
The memory 102 may be used to store software programs as well as various data. The memory 102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 102 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The display 103 is used to display information input by the user or information provided to the user. The Display 103 may include a Display panel, which may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The input unit 104 may be used to receive audio or video signals. The input Unit 104 may include a Graphics Processing Unit (GPU) that processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode, and a microphone. The processed image frames may be displayed on the display 103. The image frames processed by the graphics processor may be stored in the memory 102 (or other storage medium) or transmitted via the radio frequency unit 108 or the network unit 106. The microphone may receive sound and be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 108 in case of the phone call mode.
The input unit 104 may be a user input unit operable to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus 100. Specifically, the user input unit includes a touch panel and other input devices. A touch panel, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel (e.g., operations by a user on or near the touch panel using a finger, a stylus, or any other suitable object or attachment). The touch panel may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 101, receives a command from the processor 101, and executes the command. In addition, the touch panel may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit may include other input devices in addition to the touch panel. Specifically, the other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel may be overlaid on the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 101 to determine the type of the touch event, and then the processor 101 provides a corresponding visual output on the display panel according to the type of the touch event. The touch panel and the display panel 1061 may be used as two independent components to implement the input and output functions of the electronic device 100, or the touch panel and the display panel may be integrated to implement the input and output functions of the electronic device 100, which is not limited herein.
The output unit 105 may be an audio output unit, and may convert audio data received by the radio frequency unit 108 or the network unit 106 or stored in the memory 102 into an audio signal and output as sound. Also, the audio output unit may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit comprises a loudspeaker, a buzzer, a receiver and the like.
The electronic device 100 provides the user with wireless broadband internet access via the network unit 106, such as assisting the user in e-mailing, browsing web pages, and accessing streaming media.
The interface unit 107 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 107 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The radio frequency unit 108 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 101; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 108 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 108 can also communicate with a network and other devices through a wireless communication system.
A power supply 109 (e.g., a battery) may be used to supply power to the various components, and optionally, the power supply 109 may be logically connected to the processor 101 through a power management system, so as to manage charging, discharging, and power consumption through the power management system.
The sensor 110 may include at least one of a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 110 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
In addition, the electronic device 100 includes some functional modules (e.g., a camera) not shown, which are not described herein.
Fig. 12 is a block diagram of a server 1300 provided by the present disclosure, where the server 1300 may have a relatively large difference due to different configurations or performances, and may include one or more processors 1301 and one or more memories 1302, where the memory 1302 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1301 to implement the display method of the hint resource provided by the above-mentioned method embodiments. Certainly, the server 1300 may further include components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 1300 may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, the present disclosure further provides a display system of a prompt resource, which includes an electronic device executing to complete the display method of the prompt resource in the above steps S201 to S203, and a server executing to complete the display method of the prompt resource in the above steps S301 to S303.
In an exemplary embodiment, the disclosed embodiment further provides a computer-readable storage medium, for example, the memory 102, including instructions, which are executable by the processor 101 of the electronic device 100 to perform the method for displaying the prompt resource in the above steps S201 to S203. Alternatively, the memory 1302 may include instructions executable by the processor 1301 of the server 1300 to perform the method for displaying the cued resource in steps S301 to S303.
Alternatively, the computer-readable storage medium may be a non-transitory computer-readable storage medium, which may be, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, the present disclosure also provides a computer program product including one or more instructions, which may be executed by the processor 101 of the electronic device 100 to complete the display method of the prompt resource in the above steps S201 to S203, or may be executed by the processor 1301 of the server 1300 to complete the display method of the prompt resource in the above steps S301 to S303.
It should be noted that when executed by the processor 101 of the electronic device 100, the instructions in the computer-readable storage medium or one or more instructions in the computer program product implement the processes of the above-mentioned embodiment of the method for displaying a prompt resource, and can achieve the same technical effects as those of the above-mentioned method for displaying a prompt resource S201-S203, and for avoiding repetition, no further description is provided here. When executed by the processor 1301 of the server 1300, the instructions in the computer-readable storage medium or one or more instructions in the computer program product implement the processes of the above-mentioned embodiment of the method for displaying a hint resource, and can achieve the same technical effects as those of the above-mentioned method for displaying a hint resource S301-S303, and in order to avoid repetition, no further description is given here.
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 disclosure 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 display method for prompting resources is applied to electronic equipment, and comprises the following steps:
receiving a prompt resource display instruction; the prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed; the resource attribute information at least comprises a display priority and a display position identifier;
responding to the prompt resource display instruction, determining a target page corresponding to the target prompt resource according to the display position identification, and acquiring a prompt resource display state of the target page;
determining that the target page meets a preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource, and displaying the target prompt resource in the target page;
the prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resources are not displayed in the target page.
2. The display method according to claim 1, wherein the determining that the target page meets a preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource, and displaying the target prompt resource in the target page includes:
if a plurality of target prompt resources correspond to the same target page, selecting the target prompt resource with the highest display priority from the plurality of target prompt resources;
and determining that the target page meets a preset prompting resource display condition according to the prompting resource display state and the display priority of the target prompting resource with the highest display priority, and displaying the target prompting resource with the highest display priority in the target page.
3. A display method for prompting resources is applied to a server, and comprises the following steps:
determining at least one target prompt resource with display requirements;
acquiring target information of the target prompt resource, and determining resource attribute information of the target prompt resource according to the target information and a preset evaluation rule; the resource attribute information at least comprises a display priority and a display position identifier; the display position identification is used for representing a page corresponding to the target prompt resource, and the display priority is used for representing the sequence of displaying the target prompt resource;
sending a prompt resource display instruction to the electronic equipment; the prompt resource display instruction comprises resource attribute information of the target prompt resource.
4. The display method according to claim 3, wherein the target information includes at least one of a bid result, a profit evaluation result, a production order, and an urgency level of the target prompt resource and a display location identification of the target prompt resource.
5. A display device for prompting resources is applied to electronic equipment and comprises an acquisition module and a processing module;
the acquisition module is configured to execute a receiving prompt resource display instruction; the prompt resource display instruction comprises resource attribute information of at least one target prompt resource to be displayed; the resource attribute information at least comprises a display priority and a display position identifier;
the acquisition module is further configured to execute a prompt resource display instruction in response to the prompt resource, determine a target page corresponding to the target prompt resource according to the display position identifier, and acquire a prompt resource display state of the target page;
the processing module is configured to execute determining that the target page meets a preset prompt resource display condition according to the prompt resource display state and the display priority of the target prompt resource, which are acquired by the acquisition module, and display the target prompt resource in the target page;
the prompt resource display condition at least comprises that prompt resources with higher display priority than the target prompt resources are not displayed in the target page.
6. The display device for prompting resources is applied to a server and comprises a determining module and a sending module;
the determining module is configured to execute the determination of at least one target prompt resource with display requirement;
the determining module is further configured to execute obtaining of target information of the target prompt resource, and determine resource attribute information of the target prompt resource according to the target information and a preset evaluation rule; the resource attribute information at least comprises a display priority and a display position identifier; the display position identification is used for representing a page corresponding to the target prompt resource, and the display priority is used for representing the sequence of displaying the target prompt resource;
the sending module is configured to execute sending a prompt resource display instruction to the electronic equipment; the prompt resource display instruction comprises resource attribute information of the target prompt resource.
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 method of displaying a cueing resource as claimed in any of claims 1-2.
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 method of displaying a cueing resource as claimed in any of claims 3 to 4.
9. A prompt resource display system, comprising an electronic device and a server, wherein the electronic device is configured to execute the prompt resource display method according to any one of claims 1-2, and the server is configured to execute the prompt resource display method according to any one of claims 3-4.
10. A computer readable storage medium having stored thereon computer instructions for implementing any of claims 1-2 when the computer instructions are run on an electronic device or for implementing the method for displaying a reminder resource of any of claims 3-4 when the computer instructions are run on a server.
CN202011036229.2A 2020-09-27 2020-09-27 Prompt resource display method and device and computer readable storage medium Pending CN112130949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011036229.2A CN112130949A (en) 2020-09-27 2020-09-27 Prompt resource display method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011036229.2A CN112130949A (en) 2020-09-27 2020-09-27 Prompt resource display method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112130949A true CN112130949A (en) 2020-12-25

Family

ID=73840335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011036229.2A Pending CN112130949A (en) 2020-09-27 2020-09-27 Prompt resource display method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112130949A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094131A (en) * 2021-03-31 2021-07-09 北京达佳互联信息技术有限公司 Prompt resource display method, device, terminal, server and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731690A (en) * 2013-11-22 2014-04-16 乐视致新电子科技(天津)有限公司 Message display method and message configuration method
CN105227748A (en) * 2014-06-12 2016-01-06 腾讯科技(深圳)有限公司 Prompting message display packing and device
CN105278937A (en) * 2014-06-30 2016-01-27 腾讯科技(深圳)有限公司 Method and device for displaying pop-up box messages
CN105302590A (en) * 2014-07-22 2016-02-03 腾讯科技(北京)有限公司 Information processing method and apparatus
CN106445312A (en) * 2016-08-30 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Notification message display method and display apparatus, and terminal
CN106657589A (en) * 2016-10-10 2017-05-10 广东欧珀移动通信有限公司 Message alert method and message alert device for multi-open applications, and mobile terminal
CN106685790A (en) * 2015-11-05 2017-05-17 阿里巴巴集团控股有限公司 Instant messaging message prompt method and client side
CN106899517A (en) * 2017-04-21 2017-06-27 深圳市茁壮网络股份有限公司 The display methods and device of a kind of message
CN107580137A (en) * 2017-09-06 2018-01-12 深圳天珑无线科技有限公司 Processing method, terminal and the computer-readable recording medium of presentation of information
CN111432067A (en) * 2020-03-03 2020-07-17 上海掌门科技有限公司 Unread message number processing method, unread message number processing device, unread message number processing equipment and unread message number processing medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731690A (en) * 2013-11-22 2014-04-16 乐视致新电子科技(天津)有限公司 Message display method and message configuration method
CN105227748A (en) * 2014-06-12 2016-01-06 腾讯科技(深圳)有限公司 Prompting message display packing and device
CN105278937A (en) * 2014-06-30 2016-01-27 腾讯科技(深圳)有限公司 Method and device for displaying pop-up box messages
CN105302590A (en) * 2014-07-22 2016-02-03 腾讯科技(北京)有限公司 Information processing method and apparatus
CN106685790A (en) * 2015-11-05 2017-05-17 阿里巴巴集团控股有限公司 Instant messaging message prompt method and client side
CN106445312A (en) * 2016-08-30 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Notification message display method and display apparatus, and terminal
CN106657589A (en) * 2016-10-10 2017-05-10 广东欧珀移动通信有限公司 Message alert method and message alert device for multi-open applications, and mobile terminal
CN106899517A (en) * 2017-04-21 2017-06-27 深圳市茁壮网络股份有限公司 The display methods and device of a kind of message
CN107580137A (en) * 2017-09-06 2018-01-12 深圳天珑无线科技有限公司 Processing method, terminal and the computer-readable recording medium of presentation of information
CN111432067A (en) * 2020-03-03 2020-07-17 上海掌门科技有限公司 Unread message number processing method, unread message number processing device, unread message number processing equipment and unread message number processing medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094131A (en) * 2021-03-31 2021-07-09 北京达佳互联信息技术有限公司 Prompt resource display method, device, terminal, server and storage medium

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN110719402B (en) Image processing method and terminal equipment
CN111143005B (en) Application sharing method, electronic equipment and computer readable storage medium
CN110995923A (en) Screen projection control method and electronic equipment
CN107734175B (en) Notification message prompting method and mobile terminal
CN110913066A (en) Display method and electronic equipment
CN110062105B (en) Interface display method and terminal equipment
CN109857494B (en) Message prompting method and terminal equipment
CN110058836B (en) Audio signal output method and terminal equipment
CN108984066B (en) Application icon display method and mobile terminal
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN110445924B (en) Network task execution method and terminal equipment
CN110674490B (en) Application permission display method and device and mobile terminal
CN110049486B (en) SIM card selection method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN108681427B (en) Access right control method and terminal equipment
CN111030917B (en) Message display method and electronic equipment
CN111049980A (en) Application sharing method, electronic equipment and computer readable storage medium
CN111124706A (en) Application program sharing method and electronic equipment
CN111399792B (en) Content sharing method and electronic equipment
CN111090489A (en) Information control method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN109992192B (en) Interface display method and terminal equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN108200635B (en) Operation control method of application program and mobile terminal

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