Information prompt method, device, electronic device and storage medium

The server quickly determines the number of component prompt information targets and sends it to the terminal, solving the server burden caused by frequent query of the terminal and improving query efficiency.

CN116233251BActive Publication Date: 2025-08-22CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211590409.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-12
Publication Date
2025-08-22
Estimated Expiration
2042-12-12

AI Technical Summary

Technical Problem

Every time the terminal enters or returns to the page, it querys the server for new messages in the page, resulting in too frequent server queries, increasing the burden on the server and reducing the efficiency of message query.

Method used

The server determines its type based on the identification of the component to be queried, and obtains the initial number of prompt information for the component and its corresponding relationship, calculates the target number and sends it to the terminal, and the terminal displays the corresponding number of prompt information according to the component type.

Benefits of technology

It reduces the query burden of the server and improves the efficiency of the server query component prompting information, so that the terminal no longer needs to send information query requests to the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116233251B_ABST
    Figure CN116233251B_ABST
Patent Text Reader

Abstract

The present invention provides an information prompt method, device, electronic device, and storage medium, relating to the field of Internet technology. The method comprises: receiving an information query request sent by a terminal, the information query request including an identifier of a component to be queried; determining the type of the component to be queried based on the identifier of the component to be queried; obtaining an initial number of prompt information corresponding to the component to be queried and an initial number of prompt information corresponding to a target component; determining a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component; and sending an information query response to the terminal, thereby improving the efficiency of a server in querying the number of prompt information corresponding to the component and reducing the query burden on the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to an information prompting method, device, electronic device and storage medium. Background Art

[0002] Currently, when a terminal enters a page, it can query the server whether there is a new message in the page, and when there is a new message in the page, the new message can be displayed.

[0003] However, in the above method, each time the terminal enters the page or returns to the page, it queries the server whether there is a new message on the page, resulting in too frequent server queries, increasing the server's burden and reducing the server's message query efficiency. Summary of the Invention

[0004] The present invention provides an information prompt method, device, electronic device and storage medium, which solves the technical problem in the related art that each time a terminal enters the page or returns to the page, it queries the server whether there is a new message on the page, resulting in too frequent server queries, increasing the burden on the server and reducing the server's message query efficiency.

[0005] In a first aspect, the present invention provides an information prompt method, comprising: receiving an information query request sent by a terminal, the information query request including an identifier of a component to be queried; determining a type of the component to be queried based on the identifier of the component to be queried, the type of the component to be queried being an acquisition component or an elimination component; obtaining an initial number of prompt information corresponding to the component to be queried and an initial number of prompt information corresponding to a target component, the component to be queried having a corresponding relationship with the target component; determining a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component; and sending an information query response to the terminal, the information query response including the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component.

[0006] Optionally, the above-mentioned determination of the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component specifically includes: when the type of the component to be queried is an elimination component, determining the identifier of the target component to be the first i characters in the identifier of the component to be queried, i is an integer greater than or equal to 1, and the type of the target component is an acquisition component; determining the difference between the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component, and determining the target number of prompt information corresponding to the component to be queried to be 0.

[0007] Optionally, the above-mentioned determination of the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component includes: when the type of the component to be queried is an acquisition component, determining the identifier of the component to be queried to be the first j characters in the identifier of the target component, j is an integer greater than or equal to 1, and the type of the target component is an elimination component; determining the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component; and determining the target number of prompt information corresponding to the component to be queried based on the target number of prompt information corresponding to the target component.

[0008] In a second aspect, the present invention provides an information prompt method, comprising: sending an information query request to a server, the information query request including an identifier of a component to be queried; receiving an information query response sent by the server, the information query response including a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to a target component, the component to be queried having a corresponding relationship with the target component; determining a type of the component to be queried according to the identifier of the component to be queried, the type of the component to be queried being an acquisition component or an elimination component; based on the type of the component to be queried, displaying the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component.

[0009] Optionally, the above-mentioned display of the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component based on the type of the component to be queried specifically includes: when the type of the component to be queried is an acquisition component, the target number of prompt information corresponding to the component to be queried is displayed in the first display interface, and the first display interface is the display interface corresponding to the component to be queried.

[0010] Optionally, based on the type of the component to be queried, the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component is displayed, specifically including: when the type of the component to be queried is an elimination component, the target number of prompt information corresponding to the target component is displayed on the first display interface or the second display interface, the first display interface being the display interface corresponding to the component to be queried, and the second display interface being the display interface corresponding to the target component.

[0011] In a third aspect, the present invention provides an information prompt device, comprising: a receiving module, a determining module, an acquiring module and a sending module; the receiving module is used to receive an information query request sent by a terminal, the information query request including an identifier of a component to be queried; the determining module is used to determine the type of the component to be queried based on the identifier of the component to be queried, the type of the component to be queried being an acquiring component or an eliminating component; the acquiring module is used to acquire an initial number of prompt information corresponding to the component to be queried and an initial number of prompt information corresponding to a target component, the component to be queried having a corresponding relationship with the target component; the determining module is also used to determine a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component; the sending module is used to send an information query response to the terminal, the information query response including the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component.

[0012] Optionally, the determination module is specifically used to determine, when the type of the component to be queried is an elimination component, that the identifier of the target component is the first i characters in the identifier of the component to be queried, i is an integer greater than or equal to 1, and the type of the target component is an acquisition component; the determination module is also specifically used to determine the difference between the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component, and determine that the target number of prompt information corresponding to the component to be queried is 0.

[0013] Optionally, the determination module is further specifically used to determine, when the type of the component to be queried is an acquisition component, that the identifier of the component to be queried is the first j characters in the identifier of the target component, j is an integer greater than or equal to 1, and the type of the target component is an elimination component; the determination module is further specifically used to determine the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component; the determination module is further specifically used to determine the target number of prompt information corresponding to the component to be queried based on the target number of prompt information corresponding to the target component.

[0014] In a fourth aspect, the present invention provides an information prompt device, comprising: a sending module, a receiving module, a determination module and a display module; the sending module is used to send an information query request to a server, the information query request including an identifier of a component to be queried; the receiving module is used to receive an information query response sent by the server, the information query response including a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to a target component, the component to be queried having a corresponding relationship with the target component; the determination module is used to determine a type of the component to be queried according to the identifier of the component to be queried, the type of the component to be queried being an acquisition component or an elimination component; the display module is used to display the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component based on the type of the component to be queried.

[0015] Optionally, the display module is specifically used to display a target number of prompt information corresponding to the component to be queried in the first display interface when the type of the component to be queried is an acquisition component. The first display interface is the display interface corresponding to the component to be queried.

[0016] Optionally, the display module is further used to display the target number of prompt information corresponding to the target component on the first display interface or the second display interface when the type of the component to be queried is an elimination component. The first display interface is the display interface corresponding to the component to be queried, and the second display interface is the display interface corresponding to the target component.

[0017] In a fifth aspect, the present invention provides an electronic device comprising: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional information prompt methods in the first aspect above, or to implement any one of the optional information prompt methods in the second aspect above.

[0018] In a sixth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon. When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is enabled to execute any one of the optional information prompting methods in the first aspect above, or execute any one of the optional information prompting methods in the second aspect above.

[0019] The information prompt method, device, electronic device and storage medium provided by the present invention are that the server can receive an information query request sent by the terminal, and the information query request includes the identification of the component to be queried. Then, the server determines the type of the component to be queried based on the identification of the component to be queried. Since the component to be queried has a corresponding relationship with the target component, the server can obtain the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component, and based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component, determine the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component, and then send an information query response to the terminal, so that the terminal can display the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component based on the type of the component to be queried. In the present invention, the server can quickly determine the target number of prompt information corresponding to the component to be queried based on the identification of the component to be queried. Since the target component has a corresponding relationship with the component to be queried, the server can also quickly determine the target number of prompt information corresponding to the target component, which can improve the efficiency of the server in querying the number of prompt information corresponding to the component. Since the server also sends the number of prompt information corresponding to the target component to the terminal, the terminal no longer needs to send an information query request to the server, reducing the query burden of the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for describing the embodiments or the prior art.

[0021] Figure 1 A schematic diagram of the network architecture of an information query system provided by an embodiment of the present invention;

[0022] Figure 2 A schematic diagram of a flow chart of an information prompting method provided by an embodiment of the present invention;

[0023] Figure 3 A schematic diagram of a terminal display interface provided by an embodiment of the present invention;

[0024] Figure 4 A schematic diagram of another terminal display interface provided by an embodiment of the present invention;

[0025] Figure 5 A schematic diagram of a data structure of server storage data provided by an embodiment of the present invention;

[0026] Figure 6A schematic diagram of a flow chart of another information prompting method provided by an embodiment of the present invention;

[0027] Figure 7 A schematic diagram of a flow chart of another information prompting method provided by an embodiment of the present invention;

[0028] Figure 8 A schematic diagram of a flow chart of another information prompting method provided by an embodiment of the present invention;

[0029] Figure 9 A schematic diagram of a flow chart of another information prompting method provided by an embodiment of the present invention;

[0030] Figure 10 A schematic structural diagram of an information prompting device provided by an embodiment of the present invention;

[0031] Figure 11 A schematic structural diagram of another information prompting device provided by an embodiment of the present invention;

[0032] Figure 12 A schematic structural diagram of another information prompting device provided by an embodiment of the present invention;

[0033] Figure 13 A schematic structural diagram of another information prompting device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The information prompting method, device, electronic device, and storage medium provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0035] The terms "first" and "second" in the specification and drawings of this application are used to distinguish different objects rather than to describe the specific order of objects. For example, the first display interface and the second display interface are used to distinguish different display interfaces rather than to describe the specific order of display interfaces.

[0036] Furthermore, the terms "including," "having," and any variations thereof, mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.

[0037] It should be noted that in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0038] The term "and / or" used in this application includes using either of the two methods or using both methods simultaneously.

[0039] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0040] Based on the description in the background technology, since in the related technology, each time the terminal enters the page or returns to the page, it will query the server whether there is a new message in the page, resulting in too frequent server queries, increasing the burden on the server and reducing the server's message query efficiency. Based on this, an embodiment of the present invention provides an information prompt method, device, electronic device and storage medium, and the server can quickly determine the target number of prompt information corresponding to the component to be queried based on the identifier of the component to be queried. Since the target component has a corresponding relationship with the component to be queried, the server can also quickly determine the target number of prompt information corresponding to the target component, which can improve the efficiency of the server query component corresponding to the number of prompt information, and since the server also sends the number of prompt information corresponding to the target component to the terminal, the terminal does not need to send an information query request to the server again, reducing the query burden on the server.

[0041] An information prompting method, device, electronic device and storage medium provided by the embodiments of the present invention can be applied to an information prompting system, such as Figure 1 As shown, the information prompt system includes a terminal 101 and a server 102. Generally, in practical applications, the connection between the above-mentioned various devices or service functions can be a wireless connection. In order to conveniently and intuitively represent the connection relationship between the various devices, Figure 1 Solid lines are used to indicate.

[0042] The terminal 101 may be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook computer, cellular phone, personal digital assistant (PDA), augmented reality (AR) or virtual reality (VR) device, etc. The present invention does not impose any special restrictions on the specific form of the terminal 101. It can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device. In an embodiment of the present invention, the terminal 101 may send an information query request to the server, the information query request including the identifier of the component to be queried, and the terminal 101 may display the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component based on the type of the component to be queried.

[0043] The server 102 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, network acceleration services (content delivery network, CDN), and big data and artificial intelligence platforms. In an embodiment of the present invention, the server 102 receives an information query request sent by a terminal, and then determines a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component.

[0044] The information prompt method, device, electronic device and storage medium provided by the embodiments of the present invention are applied to information prompt scenarios. After the terminal sends an information query request to the server, the server can determine the type of the component to be queried based on the identifier of the component to be queried, and then obtain the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component. Based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component, the server determines the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component, and then sends an information query response to the terminal.

[0045] Combined with the above Figure 1The information prompt system shown in the figure, the information prompt method provided by the embodiment of the present invention is fully described below from the perspective of the interaction between each device in the information prompt system, so as to illustrate the process of the terminal sending an information query request to the server, and the server determining the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component.

[0046] like Figure 2 As shown, the information prompting method provided by the embodiment of the present invention may include S101-S109.

[0047] S101. A terminal sends an information query request to a server.

[0048] The information query request includes the identifier of the component to be queried.

[0049] It should be understood that the information query request is used to request the amount of prompt information of the component to be queried.

[0050] In an embodiment of the present invention, the component to be queried is a component included in the display interface of the terminal. A display interface of the terminal may include multiple components. The terminal may display another display interface and the component included in the other display interface in response to a click operation of the user account on one of the multiple components.

[0051] It should be understood that when the end displays another display interface in response to a user account click operation on one of the multiple components, the number of prompt information corresponding to one of the components is the sum of the number of prompt information corresponding to each component in the components included in the other display interface.

[0052] For example, Figure 3 is a schematic diagram of a display interface of the terminal, such as Figure 3 As shown, the display interface 20 includes components 201, 202 and 203. The terminal can display another display interface in response to a click operation of the user account on any of the components 201, 202 and 203.

[0053] Combine Figure 3 ,like Figure 4 As shown, in response to the user account's click operation on the component 201, the terminal can display a display interface 30, which includes components 301 and 302. The number of prompt information corresponding to the component 201 is the sum of the number of prompt information corresponding to the component 301 and the number of prompt information corresponding to the component 302.

[0054] In the embodiment of the present invention, the prompt information of the component to be queried can also be understood as the red dot information of the component to be queried. When the component to be queried has red dot information, it indicates that the component to be queried has a red dot attribute.

[0055] It can be understood that the identifier of the component is the red dot identifier of the red dot attribute of the component.

[0056] Optionally, the component to be queried may be a component in an application included in the terminal.

[0057] In an implementation of the embodiment of the present invention, the terminal may send an information query request to the server in response to a click operation of the user account on the component to be queried.

[0058] S102: The server receives an information query request sent by the terminal.

[0059] The information query request includes the identifier of the component to be queried.

[0060] S103: The server determines the type of the component to be queried according to the identifier of the component to be queried.

[0061] The type of the component to be queried is an acquisition component or an elimination component.

[0062] In an embodiment of the present invention, the server can store a first correspondence relationship, which includes the identifiers of multiple components and the type of component corresponding to the identifier of each component in the multiple component identifiers. The server can determine the type of the component to be queried based on the identifier of the component to be queried.

[0063] Optionally, the type of the component may include an acquisition component, an elimination component, and a typeless component.

[0064] It should be understood that the type of the component to be queried is used to characterize the triggering function of the component to be queried. Specifically, when the component to be queried is triggered (for example, clicked), the server can implement the corresponding function. For example, when the type of the component to be queried is an acquisition component, it means that the server can obtain the number of prompt information corresponding to the component to be queried, and the number of prompt information corresponding to the target component that has a corresponding relationship with the component to be queried; when the component to be queried is an elimination component, the server can eliminate the number of prompt information corresponding to the component to be queried, and the number of prompt information corresponding to the component to be queried included in the number of prompt information corresponding to the target component.

[0065] Illustratively, the following Table 1 is an example of the first corresponding relationship stored in the server.

[0066] Table 1

[0067] Component identification Type of component Logo 1 Get Component Logo 2 Get Component Logo 3 Untyped components Logo 4 Eliminate components

[0068] As shown in Table 1, assuming that the identifier of the component to be queried is identifier 1, the server may determine that the type of the component to be queried is an acquisition component.

[0069] S104: The server obtains the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component.

[0070] The component to be queried has a corresponding relationship with the target component.

[0071] It can be understood that the initial number of prompt information corresponding to the component to be queried is the number of prompt information corresponding to the component to be queried stored by the server before the server receives the information query request sent by the terminal.

[0072] It should be understood that the target component is a component that has a corresponding relationship with the component to be queried, and the initial number of prompt information corresponding to the target component is the initial number of prompt information corresponding to the target component stored by the server before the server receives the information query request sent by the terminal.

[0073] It can be understood that the server stores the initial number of prompt information corresponding to the identification of each component in the identifications of the multiple components. The server can determine the initial number of prompt information corresponding to the component to be queried based on the identification of the component to be queried, and determine the initial number of prompt information corresponding to the target component based on the identification of the target component.

[0074] In one implementation of an embodiment of the present invention, the server can set the identifier of each component in the form of a file path, and then the server can determine the target component that has a corresponding relationship with the component to be queried based on the inclusion relationship between the identifier of the component to be queried and the identifiers of other components.

[0075] For example, the following Table 2 is an example of the identification of the server storage component in an embodiment of the present invention. Table 2 includes component 1, component 2, component 3, component 4, component 5, component 6, component 7, and component 8. The identification of component 1 is / a, the identification of component 2 is / a / b, the identification of component 3 is / a / c, the identification of component 4 is / a / d, the identification of component 5 is / a / b / e, the identification of component 6 is / a / b / f, the identification of component 7 is / a / b / e / g, and the identification of component 8 is / a / b / e / h.

[0076] Table 2

[0077] Components Component identification Component 1 / a Component 2 / a / b Component 3 / a / c Component 4 / a / d Component 5 / a / b / e Component 6 / a / b / f Component 7 / a / b / e / g Component 8 / a / b / e / h

[0078] Assuming that the component to be queried is component 2, the identifier of the component to be queried is / a / b. The server can determine that the identifiers of the target components prefixed with the identifier of the component to be queried are / a / b / e, / a / b / f, / a / b / g. The prefix included in the identifier of the component to be queried is / a, then the server can determine that the target components are component 1, component 5, component 6 and component 7.

[0079] In another implementation of an embodiment of the present invention, the server may also store the identifiers of the multiple components and the initial number of prompt information corresponding to each component in the multiple components in the form of a tree structure, and then determine the target component that has a corresponding relationship with the component to be queried based on the connection relationship between the tree structures.

[0080] For example, Figure 5 As shown, the tree structure includes components 401, 402, 403, 404, 405, 406, 407, and 408. The identifier of component 401 is / a, and the initial number of prompt information corresponding to component 401 is 4. The identifier of component 402 is / a / b, and the initial number of prompt information corresponding to component 402 is 3. The identifier of component 403 is / a / c, and the initial number of prompt information corresponding to component 403 is 1. The identifier of component 404 is / a / d, the initial number of prompt information corresponding to component 404 is 0, the identifier of component 405 is / a / b / e, and the initial number of prompt information corresponding to component 405 is 2, the identifier of component 406 is / a / b / f, and the initial number of prompt information corresponding to component 406 is 1, the identifier of component 407 is / a / b / e / g, and the initial number of prompt information corresponding to component 407 is 1, the identifier of component 408 is / a / b / e / h, and the initial number of prompt information corresponding to component 408 is 1. Assuming that the component to be queried is component 2, the server can determine that the target components that have a corresponding relationship with the component to be queried are component 1, component 5, component 6, component 7, and component 8, and determine that the initial number of prompt information corresponding to the component to be queried is 3, the initial number of prompt information corresponding to component 1 is 4, the initial number of prompt information corresponding to component 5 is 2, the initial number of prompt information corresponding to component 6 is 1, the initial number of prompt information corresponding to component 7 is 1, and the initial number of prompt information corresponding to component 8 is 1.

[0081] In an optional implementation, the information query request sent by the terminal to the server may include the identifier of the target component, and then the server may obtain the number of prompt information corresponding to the target component based on the identifier of the target component. Specifically, each time the terminal enters a display interface, it may render the display interface, and then obtain the identifier of the component included in the display interface, and add the identifier of the component included in the display interface to the rendered list. Then, the server may determine the target component that has a corresponding relationship with the component to be queried from the rendered list, and then send the identifier of the target component to the server.

[0082] Optionally, when the terminal returns from the current display interface to the previous displayed interface, the terminal may determine to delete the identifier of the component included in the current display interface from the rendered list.

[0083] For example, continue as Figure 3 As shown, assuming that the identifier of component 201 is / a / b, the identifier of component 202 is / a / c, and the identifier of component 203 is / a / d, after the terminal displays the display interface 20, the component 201, component 202 and component 203 can be added to the rendered list.

[0084] Table 3 below is an example of the rendered list.

[0085] Table 3

[0086] Components Component identification Component 201 / a / b Component 202 / a / c Component 203 / a / d

[0087] As shown in Table 3, the rendered list includes component 201, component 202, and component 203. The identifiers of the components included in the rendered list are / a / b, / a / c, and / a / d.

[0088] Exemplary, continue to combine Figure 3 ,like Figure 4 As shown, assuming that the identifier of component 301 is / a / b / e and the identifier of component 302 is / a / b / f, the terminal responds to the click operation on the component 201 and displays the display interface 30. Then, the identifier of component 301 and the identifier of component 302 can be added to the rendered list.

[0089] Table 4 below is another example of the rendered list.

[0090] Table 4

[0091] Components Component identification Component 201 / a / b Component 202 / a / c Component 203 / a / d Component 301 / a / b / e Component 302 / a / b / f

[0092] As shown in Table 4, the rendered list includes component 201, component 202, component 203, component 301, and component 302. The identifiers of the components included in the rendered list are / a / b, / a / c, / a / d, / a / b / e, and / a / b / f.

[0093] Assuming that the component to be queried is component 201, the terminal can determine that the target component is component 301 and component 302, and determine that the identifier of the target component is / a / b / e and / a / b / f, and then determine that the identifier of the component included in the information query request is / a / b, / a / b / e and / a / b / f; when the terminal returns from the display interface 30 to the display interface 20, the terminal can determine to delete the identifier of component 301 and the identifier of component 302 from the rendered list, and determine that the identifier of the component included in the information query request is / a / b, and then after the server receives the information query request, it can obtain the identifier of the component to be queried and the identifier of the target component, and obtain the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component.

[0094] S105. The server determines the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component.

[0095] It should be understood that the server determines the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component, which can be understood as the server updating the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component. The target number of prompt information corresponding to the component to be queried is the number of prompt information corresponding to the component to be queried calculated by the server after obtaining (or eliminating) the initial number of prompt information corresponding to the component to be queried and obtaining (or eliminating) the initial number of prompt information corresponding to the target component.

[0096] S106. The server sends an information query response to the terminal.

[0097] The information query response includes the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component.

[0098] It is understandable that the information query response may also include the identifier of the component to be queried and the identifier of the target component.

[0099] It should be understood that the target component may be one or more, and the server may determine the number of the target components based on the number of components that have a corresponding relationship with the component to be queried.

[0100] S107: The terminal receives an information query response sent by the server.

[0101] The information query response includes a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component, and the component to be queried has a corresponding relationship with the target component.

[0102] S108. The terminal determines the type of the component to be queried according to the identifier of the component to be queried.

[0103] The type of the component to be queried is an acquisition component or an elimination component.

[0104] It is understandable that the terminal may also store the first corresponding relationship, and then determine the type of the component to be queried based on the first corresponding relationship and the identifier of the component to be queried.

[0105] S109: The terminal displays the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component based on the type of the component to be queried.

[0106] It is understandable that the terminal may display the target number of prompt information corresponding to the component to be queried on the component to be queried, and display the target number of prompt information corresponding to the component to be queried on the target component.

[0107] Optionally, the target number of prompt information corresponding to the component to be queried (or target component) may be displayed on the component in the form of a red dot.

[0108] Optionally, the target number of prompt information corresponding to the component to be queried (or target component) may also be displayed in digital form on the component.

[0109] In an optional implementation, after the terminal receives the information query response, it can determine whether the target component is included in the terminal's rendered list. When the target component is included in the terminal's rendered list, the target number of prompt information corresponding to the target component is displayed on the target component.

[0110] The technical solution provided by the above embodiment can at least bring the following beneficial effects: It can be seen from S101-S109 that the server can receive an information query request sent by the terminal, and the information query request includes the identifier of the component to be queried, and then the server determines the type of the component to be queried based on the identifier of the component to be queried. Since the component to be queried has a corresponding relationship with the target component, the server can obtain the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component, and based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component, determine the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component, and then send an information query response to the terminal, so that the terminal can display the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component based on the type of the component to be queried. In the present invention, the server can quickly determine the target number of prompt information corresponding to the component to be queried based on the identification of the component to be queried. Since the target component has a corresponding relationship with the component to be queried, the server can also quickly determine the target number of prompt information corresponding to the target component, which can improve the efficiency of the server in querying the number of prompt information corresponding to the component. Since the server also sends the number of prompt information corresponding to the target component to the terminal, the terminal no longer needs to send an information query request to the server, reducing the query burden of the server.

[0111] Combine Figure 2 ,like Figure 6 As shown, the above-mentioned server determines the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component, specifically including S1051-S1052.

[0112] S1051. When the type of the component to be queried is an elimination component, the server determines that the identifier of the target component is the first i characters in the identifier of the component to be queried.

[0113] Wherein, i is an integer greater than or equal to 1, and the type of the target component is an acquisition component.

[0114] It should be understood that when the type of the component to be queried is an elimination component, it means that the server can eliminate the number of prompt information corresponding to the component to be queried, as well as the number of prompt information corresponding to the target component included in the number of prompt information corresponding to the target component. At this time, the server can determine that the number of prompt information corresponding to the target component includes the number of prompt information corresponding to the component to be queried.

[0115] It should be noted that a component's identifier consists of multiple characters.

[0116] In combination with the description of the above embodiment, the server can set the identifier of each component in the form of a file path. It can be understood that the identifier of the target component is the first i characters in the identifier of the component to be queried, or it can be understood that the identifier of the target component is the prefix of the identifier of the component to be queried.

[0117] For example, in combination with Table 2 above, assuming that the component to be queried is component 8, the identifier of component 8 is / a / b / e / h, and component 8 is an elimination component, at this time, the server can determine that the first i characters in the identifier of component 8 can be / a, / a / b, / a / b / e, and then the server can determine that the component corresponding to / a is component 1, the component corresponding to / a / b is component 2, and the component corresponding to / a / b / e is component 5, and then the server can determine that the target component is component 1, component 2 and component 5.

[0118] S1052. The server determines the difference between the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component, and determines that the target number of prompt information corresponding to the component to be queried is 0.

[0119] It can be understood that when the type of the component to be queried is an elimination component, it means that the server can eliminate the number of prompt information corresponding to the component to be queried. At this time, the server can determine that the target number of prompt information corresponding to the component to be queried is 0.

[0120] It should be understood that when the type of the component to be queried is an elimination component, the server can also eliminate the number of prompt information corresponding to the component to be queried included in the number of prompt information corresponding to the target component, that is, the difference between the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component is determined as the target number of prompt information corresponding to the target component.

[0121] For example, assuming that the initial number of prompt information corresponding to the component to be queried is 1, and the initial number of prompt information corresponding to the target component is 4, the server determines that the target number of prompt information corresponding to the component to be queried is 0, and determines that the number of prompt information corresponding to the target component is 3.

[0122] Combine Figure 2 ,like Figure 7As shown, the above-mentioned server determines the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component, specifically including S1053-S1055.

[0123] S1053. In the case that the type of the component to be queried is an acquisition component, the server determines that the identifier of the component to be queried is the first j characters in the identifier of the target component.

[0124] Wherein, i is an integer greater than or equal to 1, and the type of the target component is an elimination component.

[0125] It should be understood that when the type of the component to be queried is an acquisition component, it means that the server can obtain the number of prompt information corresponding to the component to be queried, and the number of prompt information corresponding to the target component. At this time, the server can determine that the number of prompt information corresponding to the component to be queried includes the number of prompt information corresponding to the target component.

[0126] It can be understood that the identifier of the component to be queried is the first j characters in the identifier of the target component, or it can be understood that the identifier of the component to be queried is the prefix of the identifier of the target component.

[0127] For example, continuing with Table 2 above, assuming that the component to be queried is component 2, the identifier of component 2 is / a / b, and component 2 is the acquisition component, at this time, the server can determine that the identifiers of the components prefixed with / a / b in Table 2 are / a / b / e, / a / b / f, / a / b / e / g and / a / b / e / h, and then determine that the target components are component 5, component 6, component 7 and component 8.

[0128] S1054. The server determines the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component.

[0129] In an embodiment of the present invention, since the type of the component to be queried is an acquisition component, the server does not need to delete the number of prompt information corresponding to the target component. At this time, the server can determine the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component.

[0130] In an optional implementation, the server can determine whether the target component has new prompt information. When the target component has new prompt information, the server can update the number of prompt information corresponding to the target component, specifically by adding the sum of the number of new prompt information corresponding to the target component and the initial number of prompt information corresponding to the target component, and determining it as the target number of prompt information corresponding to the target component.

[0131] S1055. The server determines the target number of prompt information corresponding to the component to be queried according to the target number of prompt information corresponding to the target component.

[0132] Specifically, the server determines the sum of the target quantities of prompt information corresponding to the target component as the target quantity of prompt information corresponding to the component to be queried.

[0133] Combine Figure 2 ,like Figure 8 As shown, the terminal displays the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component based on the type of the component to be queried, specifically including S1091.

[0134] S1091: When the type of the component to be queried is an acquisition component, the terminal displays a target number of prompt information corresponding to the component to be queried in the first display interface.

[0135] Among them, the first display interface is the display interface corresponding to the component to be queried.

[0136] It should be understood that when the component to be queried is an acquisition component, it indicates that the current interface displayed by the terminal is the first display interface. At this time, the server can display the target number of prompt information corresponding to the component to be queried in the first display interface.

[0137] In an optional implementation, when the first display interface includes the target component, the terminal may also display the target number of prompt information corresponding to the target component on the first display interface.

[0138] Combine Figure 2 ,like Figure 9 As shown, the terminal displays the target number of prompt information corresponding to the component to be queried or the target number of prompt information corresponding to the target component based on the type of the component to be queried, specifically including S1092.

[0139] S1092: When the type of the component to be queried is an elimination component, the terminal displays a target number of prompt information corresponding to the target component on the first display interface or the second display interface.

[0140] The first display interface is a display interface corresponding to the component to be queried, and the second display interface is a display interface corresponding to the target component.

[0141] It should be understood that when the target component is a component included in the first display interface, the terminal may also display the target number of prompt information corresponding to the target component on the first display interface.

[0142] In an optional implementation, the terminal may determine whether the rendered list includes the target component. When the rendered list includes the target component, the terminal may display the target number of the prompt information corresponding to the target component in the second display interface.

[0143] In the embodiments of the present invention, electronic devices, etc., can be divided into functional modules according to the above-mentioned method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into a processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present invention is schematic and is only a logical functional division. In actual implementation, other division methods may be used.

[0144] In the case of dividing each functional module into corresponding functional modules, Figure 10 A possible structural diagram of the information prompting device involved in the above embodiment is shown. Figure 10 As shown, the information prompting device 50 may include: a receiving module 501 , a determining module 502 , an acquiring module 503 and a sending module 504 .

[0145] The receiving module 501 is configured to receive an information query request sent by a terminal, where the information query request includes an identifier of a component to be queried.

[0146] The determination module 502 is configured to determine the type of the component to be queried according to the identifier of the component to be queried, where the type of the component to be queried is an acquisition component or an elimination component.

[0147] The acquisition module 503 is configured to acquire an initial number of prompt information corresponding to the component to be queried and an initial number of prompt information corresponding to the target component, the component to be queried having a corresponding relationship with the target component.

[0148] Determination module 502 is also used to determine the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component.

[0149] The sending module 504 is configured to send an information query response to the terminal, where the information query response includes a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component.

[0150] Optionally, the determination module 502 is specifically used to determine that when the type of the component to be queried is an elimination component, the identifier of the target component is the first i characters in the identifier of the component to be queried, i is an integer greater than or equal to 1, and the type of the target component is an acquisition component.

[0151] Determination module 502 is specifically used to determine the difference between the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component, and determine that the target number of prompt information corresponding to the component to be queried is 0.

[0152] Optionally, the determination module 502 is further used to determine that when the type of the component to be queried is an acquisition component, the identifier of the component to be queried is the first j characters in the identifier of the target component, j is an integer greater than or equal to 1, and the type of the target component is an elimination component.

[0153] The determination module 502 is further configured to determine the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component.

[0154] The determination module 502 is further configured to determine a target number of prompt information corresponding to the component to be queried according to a target number of prompt information corresponding to the target component.

[0155] In the case of an integrated unit, Figure 11 FIG. 1 shows a possible structural diagram of the information prompting device involved in the above embodiment. Figure 11 As shown, the information prompting device 60 may include: a processing module 601 and a communication module 602. The processing module 601 may be used to control and manage the actions of the information prompting device 60. The communication module 602 may be used to support the communication between the information prompting device 60 and other entities. Figure 7 As shown, the information prompting device 60 may further include a storage module 603 for storing program codes and data of the information prompting device 60 .

[0156] The processing module 601 may be a processor or a controller, the communication module 602 may be a transceiver, a transceiver circuit or a communication interface, etc., and the storage module 603 may be a memory.

[0157] When the processing module 601 is a processor, the communication module 602 is a transceiver, and the storage module 603 is a memory, the processor, the transceiver, and the memory can be connected via a bus. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like.

[0158] In the case of dividing each functional module into corresponding functional modules, Figure 12 A possible structural diagram of the information prompting device involved in the above embodiment is shown. Figure 12 As shown, the information prompting device 70 may include: a sending module 701 , a receiving module 702 , a determining module 703 and a display module 704 .

[0159] The sending module 701 is configured to send an information query request to a server, where the information query request includes an identifier of a component to be queried.

[0160] The receiving module 702 is used to receive the information query response sent by the server, which includes the target number of prompt information corresponding to the component to be queried and the target number of prompt information corresponding to the target component. The component to be queried has a corresponding relationship with the target component.

[0161] The determination module 703 is configured to determine the type of the component to be queried according to the identifier of the component to be queried, where the type of the component to be queried is an acquisition component or an elimination component.

[0162] The display module 704 is configured to display a target number of prompt information corresponding to the component to be queried or a target number of prompt information corresponding to the target component based on the type of the component to be queried.

[0163] Optionally, the display module 704 is specifically used to display the target number of prompt information corresponding to the component to be queried in the first display interface when the type of the component to be queried is an acquisition component. The first display interface is the display interface corresponding to the component to be queried.

[0164] Optionally, the display module 704 is further specifically used to display the target number of prompt information corresponding to the target component on the first display interface or the second display interface when the type of the component to be queried is an elimination component. The first display interface is the display interface corresponding to the component to be queried, and the second display interface is the display interface corresponding to the target component.

[0165] In the case of an integrated unit, Figure 13 FIG. 1 shows a possible structural diagram of the information prompting device involved in the above embodiment. Figure 13 As shown, the information prompting device 80 may include: a processing module 801 and a communication module 802. The processing module 801 may be used to control and manage the actions of the information prompting device 80. The communication module 802 may be used to support the communication between the information prompting device 80 and other entities. Figure 13 As shown, the information prompting device 80 may further include a storage module 803 for storing program codes and data of the information prompting device 80 .

[0166] The processing module 801 may be a processor or a controller, the communication module 802 may be a transceiver, a transceiver circuit or a communication interface, etc., and the storage module 803 may be a memory.

[0167] When the processing module 801 is a processor, the communication module 802 is a transceiver, and the storage module 803 is a memory, the processor, the transceiver, and the memory can be connected via a bus. The bus can be a PCI bus or an EISA bus. The bus can be divided into an address bus, a data bus, a control bus, and the like.

[0168] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0169] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0170] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0171] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0172] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more media integrated therewith. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0173] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. An information prompting method, characterized in that: Applied to a server, the method includes: Receiving an information query request sent by a terminal, wherein the information query request includes an identifier of a component to be queried; Determining the type of the component to be queried according to the identifier of the component to be queried, where the type of the component to be queried is an acquisition component or an elimination component; Acquire an initial number of prompt information corresponding to the component to be queried and an initial number of prompt information corresponding to a target component, wherein the component to be queried and the target component have a corresponding relationship; Determining a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component; An information query response is sent to the terminal, where the information query response includes a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component.

2. The information prompting method according to claim 1, characterized in that: The determining, based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component, a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component includes: In a case where the type of the component to be queried is an elimination component, determining the identifier of the target component to be the first i characters in the identifier of the component to be queried, where i is an integer greater than or equal to 1, and the type of the target component is an acquisition component; The difference between the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component is determined as the target number of prompt information corresponding to the target component, and the target number of prompt information corresponding to the component to be queried is determined to be 0.

3. The information prompting method according to claim 1, wherein: The determining, based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component, a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component includes: In a case where the type of the component to be queried is an acquisition component, determining that the identifier of the component to be queried is the first j characters of the identifier of the target component, where j is an integer greater than or equal to 1, and the type of the target component is an elimination component; determining an initial number of prompt information corresponding to the target component as a target number of prompt information corresponding to the target component; The target number of prompt information corresponding to the component to be queried is determined according to the target number of prompt information corresponding to the target component.

4. An information prompting method, characterized in that: Applied to a terminal, the method includes: Sending an information query request to the server, wherein the information query request includes an identifier of the component to be queried; receiving an information query response sent by the server, the information query response including a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to a target component, the component to be queried having a corresponding relationship with the target component; Determining the type of the component to be queried according to the identifier of the component to be queried, where the type of the component to be queried is an acquisition component or an elimination component; Based on the type of the component to be queried, a target number of prompt information corresponding to the component to be queried or a target number of prompt information corresponding to the target component is displayed.

5. The information prompting method according to claim 4, characterized in that: The displaying, based on the type of the component to be queried, a target number of prompt information corresponding to the component to be queried or a target number of prompt information corresponding to the target component includes: In the case where the type of the component to be queried is an acquisition component, a target number of prompt information corresponding to the component to be queried is displayed in a first display interface, and the first display interface is a display interface corresponding to the component to be queried.

6. The information prompting method according to claim 4, characterized in that: The displaying, based on the type of the component to be queried, a target number of prompt information corresponding to the component to be queried or a target number of prompt information corresponding to the target component includes: When the type of the component to be queried is an elimination component, the target number of prompt information corresponding to the target component is displayed on the first display interface or the second display interface, the first display interface is the display interface corresponding to the component to be queried, and the second display interface is the display interface corresponding to the target component.

7. An information prompting device, characterized in that: include: Receiving module, determining module, acquiring module and sending module; The receiving module is configured to receive an information query request sent by a terminal, wherein the information query request includes an identifier of a component to be queried; The determining module is configured to determine the type of the component to be queried according to the identifier of the component to be queried, where the type of the component to be queried is an acquisition component or an elimination component; The acquisition module is configured to acquire an initial number of prompt information corresponding to the component to be queried and an initial number of prompt information corresponding to the target component, wherein the component to be queried and the target component have a corresponding relationship; The determining module is further configured to determine a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component based on the type of the component to be queried, the initial number of prompt information corresponding to the component to be queried, and the initial number of prompt information corresponding to the target component; The sending module is configured to send an information query response to the terminal, wherein the information query response includes a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to the target component.

8. The information prompting device according to claim 7, characterized in that: The determining module is specifically configured to, when the type of the component to be queried is an elimination component, determine that the identifier of the target component is the first i characters of the identifier of the component to be queried, where i is an integer greater than or equal to 1, and the type of the target component is an acquisition component; The determination module is specifically used to determine the difference between the initial number of prompt information corresponding to the component to be queried and the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component, and determine that the target number of prompt information corresponding to the component to be queried is 0.

9. The information prompting device according to claim 7, characterized in that: The determining module is further configured to, when the type of the component to be queried is an acquisition component, determine that the identifier of the component to be queried is the first j characters of the identifier of the target component, where j is an integer greater than or equal to 1, and the type of the target component is an elimination component; The determining module is further configured to determine the initial number of prompt information corresponding to the target component as the target number of prompt information corresponding to the target component; The determining module is further configured to determine a target number of prompt information corresponding to the component to be queried according to a target number of prompt information corresponding to the target component.

10. An information prompting device, characterized in that: include: Sending module, receiving module, determining module and display module; The sending module is used to send an information query request to the server, wherein the information query request includes an identifier of the component to be queried; The receiving module is configured to receive an information query response sent by the server, the information query response including a target number of prompt information corresponding to the component to be queried and a target number of prompt information corresponding to a target component, the component to be queried having a corresponding relationship with the target component; The determining module is configured to determine the type of the component to be queried according to the identifier of the component to be queried, where the type of the component to be queried is an acquisition component or an elimination component; The display module is configured to display a target number of prompt information corresponding to the component to be queried or a target number of prompt information corresponding to the target component based on the type of the component to be queried.

11. The information prompting device according to claim 10, characterized in that: The display module is specifically used to display the target number of prompt information corresponding to the component to be queried in the first display interface when the type of the component to be queried is an acquisition component. The first display interface is the display interface corresponding to the component to be queried.

12. The information prompting device according to claim 10, characterized in that: The display module is specifically further used to display the target number of prompt information corresponding to the target component on the first display interface or the second display interface when the type of the component to be queried is an elimination component. The first display interface is the display interface corresponding to the component to be queried, and the second display interface is the display interface corresponding to the target component.

13. An electronic device, characterized in that: The electronic device comprises: processor; a memory configured to store instructions executable by the processor; The processor is configured to execute the instruction to implement the information prompt method according to any one of claims 1 to 3, or to implement the information prompt method according to any one of claims 4 to 6.

14. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is enabled to execute the information prompting method according to any one of claims 1 to 3, or the information prompting method according to any one of claims 4 to 6.

Citation Information

Patent Citations

  • A communication method, device, server and system for messages at Internet

    CN101079848A

  • Notification method, device and system based on new information

    CN102447647A