Information pushing method, electronic equipment and computer readable storage medium
By designing an interactive push interface on electronic devices, using scroll display and random screening technology of push windows and controls, the problem of limited push information and reduced accuracy due to display screen and resolution limitations is solved, and the effect of pushing more effective information to users in a limited space is achieved.
Patent Information
- Application Number
- CN202311583493.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2043-11-23
AI Technical Summary
Due to the limitations of the display screen and resolution size of the electronic device, the push information is limited, which reduces the accuracy of push.
By designing an information push method, using the display interface of the first electronic device, including a push window and a control, the user can scroll through the push information list by clicking the control, determine the target push information based on the weight and random number of the push information, and display its overview information in the form of a pop-up window.
Within the limited display screen, more and more effective information can be pushed to users, improve the accuracy of information push, and provide more next-level information through pop-up windows.
Smart Images

Figure CN120066368A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the technical field of electronic devices, and in particular, to an information push method, an electronic device, and a computer-readable storage medium. Background Art
[0002] Currently, in order for users to better understand the relevant function information of electronic devices, relevant function information of the electronic devices can be targeted and pushed and displayed on the electronic devices, thereby enhancing the user product experience. For example, when newly launched electronic devices are sold in stores, the newly launched or newly added function information of the product can be pushed and displayed on the electronic devices so that users can make better product selections.
[0003] However, due to the limitations of the display screen and resolution of the electronic device, the push information that can be intuitively displayed to users on one screen of the electronic device is usually limited. As a result, some function information may not be displayed to users in a timely manner, and the push of the next-level information is likely to be reduced, resulting in a decrease in the accuracy of the push. Summary of the Invention
[0004] Embodiments of the present application provide an information push method, an electronic device, and a computer-readable storage medium for solving the problem of reducing the push accuracy due to limited push information caused by the limitations of the display screen and resolution.
[0005] To achieve the above object, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, an information push method is provided. The method is applied to a first electronic device and includes:
[0007] The first electronic device displays a first interface; the first interface includes a first push area, and the first push area includes a first control and at least one push window; wherein, one push information in a first push information list is displayed in each push window in the first interface, and different push windows display different push information. Then, in response to a click operation of the user on the first control, the first electronic device scrolls and displays the push information in the first push information list within the push window; when the push window stops scrolling and displaying, the first electronic device displays a second interface; the second interface includes at least one push window and a push pop-up window; wherein, target push information is displayed in each push window in the second interface, and the push pop-up window includes an overview information of the target push information; the target push information is determined from the push information scrolled and displayed in the push window based on the push weight and random number of each push information.
[0008] In a first aspect, the first electronic device can interact with the user through the first control and the push window set in the above-mentioned first push area. Through this form of interaction, the user's interest in information push can be increased, the user's stay time on the first interface can be prolonged, and the possibility of user operations can be increased. Furthermore, the first electronic device continuously responds to user operations and filters target push information for pushing during the scrolling display process, so that more and more effective information can be pushed to the user within the limited display screen, thereby improving the accuracy of information push. At the same time, by pushing the overview information of the target push information in the form of a push pop-up window, more information about the next and deeper levels of the target push information can be pushed to the user.
[0009] In a possible implementation manner of the first aspect, since some electronic devices without a display screen, or small-screen electronic devices have too small a display screen to display the complete first interface and second interface, it is easy to cause small-screen electronic devices to be unable to smoothly push relevant information to users. Especially in the product selection scenario, if electronic devices without a display screen (such as smart speakers) or small-screen electronic devices (such as smart watches) cannot push the product functions they possess to users through the display screen, it is easy to reduce the accuracy of their product function push, resulting in a poor experience for users when selecting products such as electronic devices without a display screen and small-screen electronic devices. In this case, the help of a large-screen electronic device can be further utilized to achieve information push.
[0010] Based on this, each push information in the first push information list of the first electronic device can correspond to a product function of the second electronic device; wherein, the first electronic device is connected to the second electronic device, and the display screen of the first electronic device is larger than that of the second electronic device, or the second electronic device has no display screen. It can be understood that the first electronic device is a large-screen electronic device, and the second electronic device is a small-screen electronic device or an electronic device without a display screen. Or, the above-mentioned second electronic device can also be the first electronic device. That is to say, the first electronic device can push its own product functions.
[0011] In another possible implementation manner of the first aspect, in order for the first electronic device to push more in-depth detail information compared to the overview information to the user and facilitate closing the push pop-up window, the push pop-up window in the second interface includes a second control and a third control. Based on this, the information push method can further include: the first electronic device displays a third interface in response to the user's click operation on the second control, wherein the third interface includes the detail information of the target push information. And, the first electronic device closes the push pop-up window in response to the user's click operation on the third control.
[0012] In a possible implementation of the first aspect, displaying the first interface may include: the first electronic device displays the first interface in response to a first operation; wherein, the first operation includes an operation to start a preset application and an operation of the user to lift the first electronic device; the preset application is an application program installed in the first electronic device for pushing the product functions of the second electronic device. In this implementation, for different information push application scenarios, the first electronic device may display the first interface in response to an operation to start a preset application (such as an information push application). Alternatively, the first electronic device may also display the first interface in response to the lift operation when it senses the lift operation of picking up the electronic device.
[0013] In a possible implementation of the first aspect, to improve the reading efficiency of the pushed information, the information push method may further include: the first electronic device loads the first push information list into the cache in response to the first operation. Further, the first electronic device scrolls and displays the push information in the first push information list within the push window in response to a click operation of the user on the first control, which may include: the first electronic device scrolls and displays the push information in the first push information list in the cache within the push window in response to a click operation of the user on the first control.
[0014] In this implementation, since the access speed of the cache is relatively fast, after loading the first push information list into the cache, reading the push information from the cache for scrolling display can ensure the reading efficiency of the push information and cooperate with the scrolling display speed to ensure the smoothness of the scrolling display.
[0015] In a possible implementation of the first aspect, after the first push information list is loaded into the cache, the information push method may further include: the first electronic device deletes the target push information from the cache in response to a click operation of the user on the second control in the push pop-up window. In this implementation, the first electronic device deletes the target push information that has already pushed detailed information to the user from the cache. When determining the next target push information by scrolling and displaying the push information in the cache later, it can avoid pushing the same target push information to the user, thereby avoiding repeated pushes, increasing the number of pushes, and ensuring that the first electronic device pushes more information to the user under limited conditions.
[0016] In a possible implementation of the first aspect, the first interface may further include a second push area, and the second push area includes at least one push information and the product information of the second electronic device. In this implementation, adding a second push area that displays a fixed number of push information can increase the push rate of important push information and improve the push accuracy of important push information.
[0017] In a possible implementation of the first aspect, from the push messages scrolled and displayed in the push window, determining a target push message based on the push weight and random number of each push message includes: calculating the total sum of the push weights of each push message scrolled and displayed in the push window to obtain the total weight sum; generating a random number within the range of the total weight sum; traversing the push messages in the first push message list, if the difference between the random number and the push weight of the currently traversed push message is less than 0, taking the corresponding push message as the target push message; if the difference between the random number and the push weight of the currently traversed push message is greater than or equal to 0, taking the difference as the new random number and continuing to traverse the next push message until the difference is less than or equal to 0.
[0018] In this implementation, by selecting the target push message through the difference between the random number and the push weight, the randomness of information push can be improved, thereby ensuring that as many different messages as possible are pushed to users within a limited display screen and limited time.
[0019] In a possible implementation of the first aspect, the information push method may further include: receiving a second push message list pushed by the cloud server; updating the local first push message list according to the second push message list. In this implementation, by automatically updating and configuring the first push message list in the first electronic device through cloud push, it can be ensured that the first electronic device timely pushes information to users in accordance with the actual push service requirements.
[0020] In a possible implementation of the first aspect, in order to ensure that as many messages as possible can be pushed to each user, the information push method may further include: after the first electronic device displays the fourth interface, if no operation of the user is received within the preset time, closing the fourth interface and clearing the first information push list in the cache; where the fourth interface is any one of the first interface, the second interface, or the third interface; it can be understood that closing the fourth interface means that the first electronic device directly exits the preset application if no operation of the user is received within the preset time.
[0021] Alternatively, the first electronic device receives a second operation triggered by the user to close the fourth interface, and in response to the second operation, closes the fourth interface and clears the first information push list in the cache.
[0022] In this implementation, the first electronic device regards each trigger to display the first interface as a new user trigger message push. Therefore, after determining that the user has no further operations on the first interface and the next-level interface of the first interface, the interface display is exited and the first message push list in the cache is cleared. Subsequently, if the first electronic device is triggered to display the first interface again, a new first message push list can be reloaded into the cache. The reloaded first message push list will include the push messages for which the detailed information has been pushed before, so as to ensure that all information is pushed to different users.
[0023] In a second aspect, the present application provides an electronic device, including: a display screen, one or more processors and a memory, the display screen and the memory are respectively coupled to the processor; the display screen is used to display an interface including push messages; one or more computer program codes are stored in the memory, and the computer program codes include computer instructions; when the processor executes the computer instructions, the electronic device is caused to perform the following steps:
[0024] Display a first interface; the first interface includes a first push area, and the first push area includes a first control and at least one push window; wherein, one push message in the first push message list is displayed in each push window in the first interface, and different push messages are displayed in different push windows; in response to a click operation of the user on the first control, the push messages in the first push message list are scrolled and displayed within the push window; when the scrolling display of the push window stops, display a second interface; the second interface includes at least one push window and a push pop-up window; wherein, the target push message is displayed in each push window in the second interface, and the push pop-up window includes an overview information of the target push message; the target push message is determined from the push messages scrolled and displayed in the push window based on the push weight and random number of each push message.
[0025] In a possible implementation manner of the second aspect, the push pop-up window in the second interface includes a second control and a third control. When the above computer instructions are executed by the processor, the electronic device is further caused to perform the following steps: in response to a click operation of the user on the second control, display a third interface, wherein the third interface includes the detailed information of the target push message. And, in response to a click operation of the user on the third control, close the push pop-up window.
[0026] In a possible implementation manner of the second aspect, when the above computer instructions are executed by the processor, the electronic device is further caused to perform the following steps: in response to a first operation, display the first interface; wherein, the first operation includes an operation to start a preset application and an operation of the user to lift the electronic device; the preset application is an application program installed in the electronic device for pushing the product functions of itself or other electronic devices.
[0027] In a possible implementation of the second aspect, when the above computer instructions are executed by a processor, the electronic device is further caused to perform the following steps: in response to a first operation, load a first push information list into a cache; in response to a click operation of a user on a first control, scroll and display in a push window the push information in the first push information list in the cache.
[0028] In a possible implementation of the second aspect, when the above computer instructions are executed by a processor, the electronic device is further caused to perform the following steps: in response to a click operation of a user on a second control in a push pop-up window, delete a target push information from the cache.
[0029] In a possible implementation of the second aspect, when the above computer instructions are executed by a processor, the electronic device is further caused to perform the following steps: display a first interface that further includes a second push area, where the second push area includes at least one push information and product information of a second electronic device.
[0030] In a possible implementation of the second aspect, when the above computer instructions are executed by a processor, the electronic device is further caused to perform the following steps: calculate the sum of the push weights of each push information scrolled and displayed in the push window to obtain a weight sum; generate a random number within the range of the weight sum; traverse the push information in the first push information list, if the difference between the random number and the push weight of the currently traversed push information is less than 0, use the corresponding push information as the target push information; if the difference between the random number and the push weight of the currently traversed push information is greater than or equal to 0, use the difference as a new random number, and continue to traverse the next push information until the difference is less than or equal to 0.
[0031] In a possible implementation of the second aspect, when the above computer instructions are executed by a processor, the electronic device is further caused to perform the following steps: receive a second push information list pushed by a cloud server; update the local first push information list according to the second push information list.
[0032] In a possible implementation of the second aspect, when the above computer instructions are executed by a processor, the electronic device is further caused to perform the following steps: after displaying a fourth interface, if no operation of the user is received within a preset time, close the fourth interface and clear the first information push list in the cache; where the fourth interface is any one of the first interface, the second interface, or the third interface. It can be understood that if no operation of the user is received within the preset time, closing the fourth interface means that the electronic device directly exits the preset application.
[0033] Alternatively, receive a second operation by the user to trigger closing the fourth interface, and in response to the second operation, close the fourth interface and clear the first information push list in the cache.
[0034] In a third aspect, a computer-readable storage medium of the present application stores a computer program, which, when executed by a processor in an electronic device, causes the electronic device to execute the information push method as described in the first aspect and any possible implementation thereof.
[0035] In a fourth aspect, the present application provides a computer program product, which, when running on a computer, causes the computer to execute the method as described in the first aspect and any possible implementation thereof. The computer may be the above-mentioned electronic device.
[0036] It can be understood that the beneficial effects achievable by the electronic device in any possible implementation of the second aspect, the computer-readable storage medium in the third aspect, and the computer program product in the fourth aspect can refer to the beneficial effects in the first aspect and any possible implementation thereof, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a schematic diagram of the interface of a traditional push interface provided by an embodiment of the present application;
[0038] Figure 2 It is a schematic diagram of the interface of a first interface 200 provided by an embodiment of the present application;
[0039] Figure 3 It is a schematic diagram of the interface of a second interface 300 provided by an embodiment of the present application;
[0040] Figure 4 It is a schematic diagram of the interface of a second interface 400 provided by an embodiment of the present application;
[0041] Figure 5 It is a schematic diagram of the interface of a first interface 500 provided by an embodiment of the present application;
[0042] Figure 6 It is a schematic diagram of the interface of a second interface 600 provided by an embodiment of the present application;
[0043] Figure 7 It is a schematic diagram of the scenario for triggering the display of the first interface provided by an embodiment of the present application Figure 1 ;
[0044] Figure 8 It is a schematic diagram of the scenario for triggering the display of the first interface provided by an embodiment of the present application Figure 2 ;
[0045] Figure 9 It is a schematic diagram of the structure of an electronic device 100 provided by an embodiment of the present application;
[0046] Figure 10Schematic diagram of the interaction process of an information push method provided by an embodiment of the present application;
[0047] Figure 11 Schematic diagram of the method flow for determining target push information provided by an embodiment of the present application;
[0048] Figure 12 Schematic diagram of the data structure of a push information list provided by an embodiment of the present application;
[0049] Figure 13 Schematic diagram of the structure of a chip system provided by an embodiment of the present application. Detailed implementation manners
[0050] Next, the technical solutions of the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the present application. In addition, in order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the terms "first", "second", etc. do not limit the quantity and execution order, and the terms "first", "second", etc. do not necessarily limit to be different. Also, in the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" means two or more.
[0051] Currently, in order for users to better understand the function information related to electronic devices, relevant function information of the electronic device can be targeted and pushed and displayed on the electronic device, thereby enhancing the user product experience. For example, when a newly launched electronic device is sold in a store, the newly launched or newly added function information of the product can be pushed and displayed on the electronic device so that users can better select products and enhance the user product selection experience. Or, after a user purchases a product, during the process of using the product by the user, in response to the user's operation, relevant information related to the product functions included in the product can be pushed and displayed to the user to guide the user on how to use the product functions and enhance the user product usage experience.
[0052] However, due to the limitations of the display screen and resolution of the electronic device, usually the push information that can be intuitively displayed to the user on one screen of the electronic device is limited. Therefore, currently, usually n pieces of information (such as pushing and displaying n product functions) are fixedly pushed and displayed on the push interface, and specifically which n pieces are usually determined based on the actual push service requirements.
[0053] Therefore, when there is a large amount of information to be pushed, the existing information push method can only push part of the information, which may cause some functional information not to be displayed to the user in a timely manner, and it is easy to reduce the push of the detailed information at the next level, resulting in a decrease in the accuracy of the push.
[0054] Exemplarily, as Figure 1 shown, taking the electronic device as a mobile phone as an example, a schematic diagram of an interface of a traditional push interface is provided. Figure 1 As shown, the push interface fixedly displays 6 push messages, and these 6 push messages are the top 6 selected based on actual business requirements. If the electronic device wants to push other push messages other than these 6 push messages to the user, it needs to respond to the user's click operation on the "more push message entry" to push the messages other than these 6 to the user. Figure 1 The product information shown may include the product name, product dissemination name, etc., and the embodiments of the present application do not impose any restrictions on this.
[0055] At the same time, if the electronic device wants to push the information at the next level of these 6 push messages to the user, the electronic device needs to respond to the user's click operation on the push message to push and display the information at the next level of the corresponding push message. It can be seen that in the traditional information push method, the electronic device can only push a limited number of information to the user, and without the user's operation, it cannot trigger the push of the information at the next level, which is easy to reduce the push of the information at the next level, thereby reducing the push accuracy.
[0056] Based on this, in order to avoid the problem of reducing the push accuracy due to the limited push information caused by the display screen and resolution size limitations. The embodiments of the present application provide an information push method.
[0057] This information push method is applied to the first electronic device, and its principle is mainly: design an interactive push area on the first interface (which can be understood as a push interface or a push information display interface) of the first electronic device. The push area includes a push window for displaying push information and a control for triggering the push window to scroll and display push information.
[0058] After the user clicks the control in the push area, the electronic device responds to this click operation and controls the push window to scroll and display different push information. During the process of the push information scrolling and displaying, the electronic device determines a push information as the target push information based on the push weight and random number of the push information. After the electronic device determines the target push information, it controls the push window to stop scrolling and displaying, and displays the overview information of the target push information in the form of a pop-up window.
[0059] The information push method can achieve interaction with users through the push window and controls set in the above-mentioned push area. By means of this interactive game form, it can increase users' interest in information push, extend the stay time of users on the first interface, and increase the possibility of user operations. Furthermore, the electronic device continuously responds to user operations and filters target push information for pushing during the scrolling display process, so that more and more effective information can be pushed to users within the limited display screen, thereby improving the accuracy of information push. At the same time, by pushing and displaying the overview information of the target push information in the form of a pop-up window, more information about the next layer and deeper levels of the target push information can be pushed to users.
[0060] As Figures 2 - 3 shown, a schematic diagram of the first interface 200 and the second interface 300 is provided. In the embodiments of the present application Figure 2 and Figure 3 shown, the first electronic device is taken as an example of a mobile phone. Hereinafter, the information push method provided by the embodiments of the present application will be described by taking the interface diagrams shown in Figure 2 and Figure 3 as an example.
[0061] Referring to Figure 2 , the first electronic device displays the first interface 200. The first interface 200 can be understood as a push interface or a push information display interface. In the embodiments of the present application, the first interface 200 includes a first push area 201. At the same time, the first push area 201 includes a first control 202 and at least one push window 203. For example, Figure 2 shown are 6 push windows 203.
[0062] Among them, the first control 202 in the first interface 200 is a control for triggering the first electronic device to filter target push information. And in each push window 203 of the first interface 200, the push information 204 in the first push information list is displayed. The push information 204 displayed in the push window 203 corresponds to the actual information push application scenario.
[0063] For example, in the product selection scenario, the push information 204 can be the product functions corresponding to the first electronic device. Or, in the game scenario, the push information 204 can be game rewards. Or, in the social platform scenario, the push information 204 can be news events, hot topics, etc. And it should be noted that the form of the push information 204 displayed in the push window 203 can be a thumbnail, a description, a name, etc., and the embodiments of the present application do not make any restrictions on this.
[0064] Meanwhile, in order to push as much different information as possible to the user (for example, push several product functions to the user as much as possible), the first electronic device may display different push messages 204 in each push window 203 in the first interface 200 ( Figure 2 The push messages 204 shown are replaced by numbers). Of course, if based on the actual push service requirements, the first electronic device needs to focus on pushing a certain message to the user (for example, highlighting a certain product function), it can also make the first electronic device display the same push message 204 in different push windows 203 in the first interface 200.
[0065] The above first push message list is a list configured and saved locally on the first electronic device, which includes several push messages 204 and can be configured and changed according to the actual push service requirements.
[0066] After the user clicks the first control 202, the first electronic device responds to the click operation 205 of the user on the first control 202 and scrolls to display the push messages 204 in the first push message list within the push window 203. For example, when the first interface 200 includes 3 push windows 203, these 3 push windows 203 all scroll to display the push messages 204 in the first push message list.
[0067] Among them, the scrolling display direction of the push window 203 can be set according to actual needs, and the embodiments of the present application do not limit this. For example, the first electronic device can display the push messages in a scrolling manner from bottom to top, or it can also be displayed in a scrolling manner from top to bottom (as Figure 2 shown by the arrow direction).
[0068] It can be understood that the first electronic device scrolling to display the push messages 204 within the push window 203 is equivalent to continuously switching and displaying different push messages 204 within the push window 203, and the switched and displayed push messages 204 are all the push messages in the first push message list.
[0069] During the scrolling display process, the first electronic device filters out a push message as the target push message from the scrolling display push messages 204 based on the push weight of the push message 204 and a random number. Among them, the push weight is a weight configured based on the importance of the push message, and the specific weight is set according to the actual push service requirements, and the embodiments of the present application do not limit this.
[0070] After the first electronic device filters out the target push message, it controls the push window 203 to stop scrolling display and displays the second interface 300 as Figure 3 shown. In the embodiments of the present application, in addition to including as Figure 2In addition to the first push area 201, the first control 202, and at least one push window 202 shown, a push pop-up window 301 is further included.
[0071] In the second interface 300, each push window 203 displays the target push information determined by the first electronic device. Meanwhile, the push pop-up window 301 includes an overview of the target push information.
[0072] Reference Figure 3 , and the target push information shown therein is "2". Therefore, Figure 3 the push information displayed in the 6 push windows 203 in
[0073] is all "2", and the overview information displayed in the push pop-up window 301 is the overview of "2". Exemplarily, assuming that in a product selection scenario, the push information is the product function of the first electronic device, each push window 203 in the second interface 300 displays the same product function of the first electronic device, and the push pop-up window 301 includes the function overview information of this product function.
[0074] In the embodiments of the present application, the overview information displayed in the push pop-up window can also be an overview diagram, overview introduction text, etc., which can be set according to the actual push service requirements, and the embodiments of the present application do not limit this.
[0075] The push weight of the above push information and the overview information can be configured in the first push information list together. The first electronic device can directly obtain the push weight corresponding to the push information from the first push information list. And after the first electronic device determines the target push information, the first electronic device can directly load the corresponding overview information from the first push information list and display it in the form of the push pop-up window 301. In some embodiments, the first push information list can be json data. That is, the first push information list is stored in a specified directory in json format.
[0076] In some embodiments, since the display screens of some electronic devices are small (such as smart watches), these electronic devices may not be able to fully display the first interface as shown in Figure 2 or the second interface as shown in Figure 3 . Especially in the product selection scenario, these electronic devices cannot display the product functions through their own display screens, so they cannot push their own product functions for users to select and reference. To solve this problem, the embodiments of the present application can use large-screen electronic devices to help small-screen electronic devices realize the push of product functions.
[0077] Based on this, when the second electronic device cannot execute the above information push method to implement product function push due to its small display screen, it can be connected to the first electronic device, and the first electronic device can implement the product function push of the second electronic device.
[0078] Then, each push message in the first push message list configured and stored in the first electronic device can be the push message corresponding to the second electronic device. For example, in the product selection scenario, each push message in the first push message list in the first electronic device can be the product function corresponding to the second electronic device. Among them, the display screen of the first electronic device is larger than that of the second electronic device. In the embodiments of the present application, the first electronic device can be understood as a large-screen electronic device, and the second electronic device can be understood as a small-screen electronic device. For example, the first electronic device can be a mobile phone, and the second electronic device is a smart watch.
[0079] It should be noted that the second electronic device can also be the first electronic device. That is to say, in the product selection scenario, the first electronic device can push its own product functions to the user through its own display screen.
[0080] In some embodiments, as Figure 4 shown, a schematic diagram of another second interface 400 is provided.
[0081] Refer to Figure 4 , the push pop-up window 301 in the second interface 400 includes a second control 401 and a third control 402.
[0082] Among them, the second control 401 is a control used to trigger the first electronic device to display the detailed information of the target push message. Figure 4 As shown in
[0083] "Click to enter details". The third control 402 is a close control used to trigger the first electronic device to close the push pop-up window 301.
[0084] Therefore, the first electronic device can also display a third interface in response to the user's click operation on the second control 401. The third interface in the embodiments of the present application includes the detailed information of the target push message. In addition, the first electronic device can also close the push pop-up window 301 in response to the user's click operation on the third control 402. Figure 5 shown, a schematic diagram of another first interface 500 is provided.
[0085] Refer to Figure 5In the embodiment of the present application, the first interface 500 may include a second push area 501 in addition to the first push area 201. The second push area 501 may include at least one push information 502 and product information 503 for fixed push display. The second push area 501 may preferentially display more important push information. Figure 5 It is shown that 6 important push information 502 are fixedly displayed. The push information 502 can also be a thumbnail, an introduction, a name, etc., and the product information 503 can be a product name, a product promotion name, etc., and the embodiment of the present application does not impose any limitation on this.
[0086] It is understandable that if the information push application scenario actually applied by the information push method provided in this application is not a product purchase scenario, then the area 503 in the first interface 500 displayed by the first electronic device may not display product information. Specifically, other information may be displayed according to the actual information push application scenario, and this embodiment of the application is not limited to this.
[0087] In addition, since the second push area 501 in the first interface 500 needs to occupy a certain display space, the number of push windows 203 in the first push area 201 can be reduced accordingly, and the specific number can be set according to actual needs. Figure 5 The first push area 201 shown includes three push windows 203. Figure 5 In the first interface 500 shown in FIG. 1 , the first control in the first push area 201 is clicked, and the first electronic device, in response to the user's click operation on the first control, may display the following Figure 6 The second interface 600 is shown.
[0088] By comparing Figure 1 , Figure 2 and Figure 5 It can be seen that in the embodiment of this application Figure 5 The first interface 500 shown is an embodiment of the present application Figure 2 The first interface 200 provided is Figure 1 Thus, the embodiment of the present application can ensure that more and more effective information is pushed to the user within a limited display screen to improve the accuracy of information push, and can also increase the push rate of important push information.
[0089] In some embodiments, the electronic device may display a display such as Figure 2 or Figure 5The first interface shown. Optionally, the first operation may be an operation to open a preset application, that is, the first interface may be an interface displayed by the first electronic device triggered by the user opening the preset application. Among them, the preset application can be understood as an application program installed in the first electronic device for pushing the corresponding push information of the second electronic device. Specifically, the preset application can be an application program installed in the first electronic device for pushing the product functions of the second electronic device. The second electronic device may be another electronic device connected to the first electronic device, or the first electronic device itself.
[0090] For special information push scenarios, the first operation may also be the user's lifting operation on the first electronic device. That is, the first interface may also be an interface displayed after the first electronic device senses a lifting event.
[0091] For example, in the product purchase scenario, when a user needs to understand the first electronic device, they usually pick up the corresponding first electronic device for operation. Therefore, when the first electronic device senses that it has been picked up by the user, in order for the user to better understand the newly launched function information of the product, the first electronic device displays the first interface.
[0092] Or, when the first electronic device is connected to the second electronic device, and the user picks up the connected first electronic device to understand the second electronic device, the first electronic device displays the first interface to push the product functions to the user from the second electronic device. Of course, it is also possible that when the second electronic device is picked up by the user, the second electronic device sends the sensed lifting operation to the connected first electronic device, thereby triggering the first electronic device to display the first interface to push the product functions from the second electronic device.
[0093] Exemplarily, as Figure 7 shown, taking the first electronic device as a mobile phone as an example, a schematic diagram of a scenario where the user opens a preset application to trigger the first electronic device to display the first interface is provided. Refer to Figure 7 , when the mobile phone is in the boot state or the unlocked state, it can display the main interface 700 as shown in Figure 7 . The main interface 700 may include application icons such as "Clock", "Calendar", "Camera", "Gallery", "Memo"... and "Settings", "Preset Application", etc.
[0094] The mobile phone responds to the user's click operation on the "Preset Application" application icon 701 in the main interface 700, enters the preset application, and displays the first interface 702. Among them, the first interface 702 may be Figure 2 the first interface 200 shown in Figure 5 or Figure 7 the first interface 500 shown in Figure 5 In the embodiments of the present application, the first interface 702 shown is Figure 5 the first interface 500 shown in
[0095] Exemplarily, as Figure 8 shown, taking the first electronic device as a mobile phone for example, a schematic diagram of a scenario where a lifting operation triggers the first electronic device to display a first interface is provided. Refer to Figure 8 , when the mobile phone senses that it is picked up by the user, the mobile phone can turn on the screen and display the first interface 200 as shown in Figure 2 or the first interface 500 as shown in Figure 5 .
[0096] In some embodiments, the above-mentioned "preset application" may be a system application configured in the first electronic device when it leaves the factory. The first electronic device may be a prototype used to display to users in an exhibition hall. The first electronic device can display the product functions of the second electronic device through the above-mentioned "preset application". The second electronic device may be a device with a smaller display screen size, and its display screen size is smaller than that of the first electronic device. Or, this second electronic device may not have a display screen, so the first electronic device displays the product functions of the second electronic device. For example, the first electronic device may be a mobile phone or a tablet computer, and the second electronic device may be a smart watch, a smart speaker, or a smart table lamp, etc.
[0097] For example, the first electronic device (such as a mobile phone) can be displayed as a prototype on a booth. When the mobile phone detects that it is picked up by the user, it can turn on the screen and display the above-mentioned first interface to recommend the product functions of the mobile phone to the user. Of course, when the first electronic device is not picked up by the user on the booth, it can also display the relevant product information of the second electronic device, and the embodiments of the present application do not limit this.
[0098] It should be understood that in addition to the first electronic device being a mobile phone and the second electronic device being a smart watch, the first electronic device may also be at least one of a foldable electronic device with a display screen, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, or a smart city device. The embodiments of the present application do not impose special restrictions on the specific type of this electronic device.
[0099] As Figure 9As shown, a schematic structural diagram of an electronic device 100 is provided. Among them, this electronic device 100 can be the above-mentioned first electronic device or the above-mentioned second electronic device.
[0100] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera module 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0101] Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0102] Exemplarily, the first electronic device in the embodiments of the present application can detect the user's click operation on the control and the opening operation of the user to open the application through the pressure sensor 180A or the touch sensor 180K. The first electronic device can also detect the user's lifting operation on the electronic device through the gyroscope sensor 180B, the acceleration sensor 180E, or the magnetic sensor 180D, etc.
[0103] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.
[0104] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0105] The processor may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions. Exemplarily, the above information pushing method may be implemented by the processor 110.
[0106] A memory may also be provided in the processor 110 for storing instructions and data, such as storing the configured first push information list. In some embodiments, the memory in the processor 110 may be a cache memory (i.e., cache). This memory may save the instructions or data used by the processor 110 or with a relatively high usage frequency. If the processor 110 needs to use this instruction or data, it can directly call it from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system. For example, in the embodiments of the present application, the processor 110 may load the first push information list into the cache, and the processor 110 reads the push information from this cache.
[0107] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The processor 110 may be connected to modules such as a touch sensor, an audio module, a wireless communication module, a display screen, a camera module, etc. through at least one of the above interfaces.
[0108] It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only for illustrative purposes and does not constitute a structural limitation on the electronic device 100. In some other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0109] The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to implement the storage capacity expansion of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, music, video and other files are saved in the external memory card. Or music, video and other files are transferred from the electronic device to the external memory card.
[0110] The internal memory 121 can be used to store computer-executable program code, which includes instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.). In addition, the internal memory 121 can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional methods or data processing of the electronic device 100 by running the instructions stored in the internal memory 121 and / or the instructions stored in the memory provided in the processor.
[0111] The electronic device 100 can implement a display function through a GPU, a display screen 194, an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0112] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 can include one or more display screens 194.
[0113] The electronic device 100 can implement a camera function through a camera module 193, an ISP, a video codec, a GPU, the display screen 194, an application processor AP, a neural network processor NPU, etc. For example, the generation of the second image in the embodiments of the present application is realized by using the camera module 193 and the ISP.
[0114] The camera module 193 can be used to collect color image data and depth data of a photographed object. The ISP can be used to process the color image data collected by the camera module 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera sensor (i.e., the image sensor), where the optical signal is converted into an electrical signal. The camera sensor transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image through algorithms. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be disposed in the camera module 193. The camera module 193 can be composed of a color camera module and a 3D sensing module. Among them, the sensor of the camera in the color camera module can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The sensor converts the optical signal into an electrical signal and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, etc. formats. The 3D sensing module can be a time of flight (TOF) 3D sensing module or a structured light 3D sensing module.
[0115] In some embodiments, the camera module 193 can also be composed of two or more cameras. These two or more cameras can include a color camera, which can be used to collect color image data of the photographed object.
[0116] In some embodiments, the electronic device 100 can include one or more camera modules 193. Specifically, the electronic device 100 can include one front camera module 193 and one rear camera module 193. Among them, the front camera module 193 is generally used to collect color image data and depth data of the photographer facing the display screen 194, and the rear camera module can be used to collect color image data and depth data of the photographed object (such as a person, a landscape, etc.) that the photographer faces.
[0117] In some embodiments, the CPU, GPU, or NPU in the processor 110 can process the color image data and depth data collected by the camera module 193.
[0118] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0119] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, controls the reverse movement of the lens to offset the shaking of the electronic device 100, and achieves anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0120] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0121] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. When the electronic device is a foldable electronic device, the magnetic sensor 180D can be used to detect the folding or unfolding of the electronic device, or the folding angle. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip, the automatic unlocking of the flip and other features are set.
[0122] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0123] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0124] The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device 100 emits infrared light outward through the light-emitting diode. The electronic device 100 uses the photodiode to detect the infrared reflected light from nearby objects. When the intensity of the detected reflected light is greater than the threshold, it can be determined that there is an object near the electronic device 100. When the intensity of the detected reflected light is less than the threshold, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect when the user holds the electronic device 100 close to the ear for a call, so as to automatically turn off the screen to achieve power saving. The proximity light sensor 180G can also be used for automatic unlocking and locking of the leather case mode and pocket mode.
[0125] The ambient light sensor 180L can be used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is blocked, for example, when the electronic device is in the pocket. When it is detected that the electronic device is blocked or in the pocket, some functions (such as the touch function) can be disabled to prevent misoperation.
[0126] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
[0127] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 utilizes the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature detected by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor in order to reduce the power consumption of the electronic device to implement thermal protection. In some other embodiments, when the temperature detected by the temperature sensor 180J is lower than another threshold, the electronic device 100 heats the battery 142. In some other embodiments, when the temperature is lower than yet another threshold, the electronic device 100 can boost the output voltage of the battery 142.
[0128] The touch sensor 180K, also known as a "touch control device". The touch sensor 180K can be disposed on the display screen 194, and together with the display screen 194 forms a touch screen, also known as a "touch control screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from that of the display screen 194.
[0129] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signals of the vibrating bone mass of the human vocal part. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulsation signals. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone to form a bone conduction earphone. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bone mass of the human vocal part acquired by the bone conduction sensor 180M to implement the voice function. The application processor can parse out heart rate information based on the blood pressure pulsation signals acquired by the bone conduction sensor 180M to implement the heart rate detection function.
[0130] The USB connector 130 is an interface that conforms to the USB standard specification and can be used to connect the electronic device 100 and peripheral devices, specifically it can be a Mini USB connector, a Micro USB connector, a USB Type C connector, etc. The charging management module 140 is used to receive the charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
[0131] The wireless communication function of the electronic device 100 can be implemented through antenna 1, antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[0132] The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor, etc. For example, music playback, recording, etc.
[0133] The keys 190 can include a power-on key, volume keys, etc. The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card.
[0134] It should be noted that the information push methods described in the following embodiments can all be implemented in the electronic device 100 with the above hardware structure.
[0135] In some embodiments, since the access speed of the cache is faster than that of a general random access memory (RAM), in order to match the speed of the scrolling display of the push information 204 in the push window 203 in the first interface, the first electronic device can also load the first push information list stored locally into the cache in response to a first operation that triggers the display of the first interface.
[0136] Furthermore, when the first electronic device responds to a click operation of the user on the first control 202 and scrolls to display the push information 204 in the push window 203, it can scroll to display the push information 204 loaded into the cache. In the embodiments of the present application, by loading the first push information list into the cache for reading, a faster reading speed can be ensured, thereby improving the efficiency of information push.
[0137] In some embodiments, if the first electronic device loads the first push information list into the cache in response to the first operation, then after the first electronic device determines the target push information and displays the target push information in the form of a push pop-up window 301, if the user clicks the second control 401 in the push pop-up window 301, the first electronic device is triggered to push the detailed information of the target push information. At this time, while the first electronic device responds to the click operation of the user on the second control 401 and displays the third interface including the detailed information of the target push information, it deletes this target push information from the cache.
[0138] Furthermore, when the subsequent push window 203 scrolls to display the push information in the cache, it can effectively avoid pushing this target push information to the user again, thereby completely avoiding the possibility of repeatedly pushing the same information to the user, so as to ensure that more different information can be pushed to the user and improve the accuracy of the push.
[0139] In some embodiments, after the first electronic device pushes the detailed information to the user, in order to avoid repeatedly pushing the same information to the same user, the push information corresponding to the detailed information will be deleted from the cache. Therefore, if the cache is not cleared and the first push information list is not reloaded after the user's operation on the first electronic device ends, it may cause the first electronic device to be unable to push the same information to the next user, resulting in the first electronic device being unable to push the same information to multiple users.
[0140] Based on this, in order to ensure that as many information can be pushed to each user as possible, in the embodiments of the present application, after the first electronic device displays the fourth interface, if no operation of the user is received within a preset time (for example, 15 seconds), the first electronic device may close the fourth interface and clear the first information push list in the cache. Among them, since it includes the next-level interface that needs to be entered through the first interface, such as the second interface and the third interface mentioned above. Therefore, the fourth interface in the embodiments of the present application can be understood as the first interface, or the next-level interface of this first interface. That is to say, the fourth interface includes any one of the first interface, the second interface, or the third interface.
[0141] Therefore, if the first electronic device does not receive the operation of the user within the preset time in the state of displaying the fourth interface, the fourth interface is closed and the first information push list in the cache is cleared.
[0142] Alternatively, when the first electronic device receives the second operation triggered by the user to close the fourth interface, the first electronic device responds to this second operation, closes the fourth interface, and clears the first information push list in the cache.
[0143] Simply put, not receiving the operation trigger to close the fourth interface within the preset time, or the user manually triggering to close the fourth interface can be understood as that no matter whether the first electronic device currently displays the first interface, the second interface, or the third interface, the preset application started by the first operation is directly exited.
[0144] It can be understood that no matter whether the fourth interface is the first interface, the second interface, or the third interface, closing the fourth interface recorded in the embodiments of the present application means directly exiting the interface-related application, rather than returning to the previous interface. For example, closing the second interface means exiting the preset application, rather than exiting the second interface and returning to the previous interface corresponding to the second interface (i.e., the first interface). Closing the third interface means exiting the preset application, rather than exiting the third interface and returning to the previous interface corresponding to the third interface (i.e., the second interface).
[0145] Exemplarily, for information push in the product selection scenario, after the first electronic device exits the preset application, it can trigger the first electronic device to play product promotion slides, promotional videos, etc.
[0146] Furthermore, when the first electronic device exits the state of the preset application (the state where the first interface and the lower-level interface of the first interface are not displayed), it needs to respond to the first operation to re-trigger the entry into the first interface. Therefore, it can trigger the reloading of the first push information list into the cache, so as to ensure that the first electronic device can push all information to different users.
[0147] That is to say, in the embodiments of the present application, the first electronic device regards each trigger of displaying the first interface as a new user triggering information push, so as to ensure that all information is pushed to different users. This method has a more significant effect on information push in the product purchase scenario, because in the product purchase scenario, users change relatively frequently, and most users will only trigger product function push a small number of times for the same electronic device.
[0148] In some embodiments, as Figure 10 shown, taking the product purchase scenario as an example, a schematic diagram of the interaction process of an information push method is provided. Hereinafter, the information push method provided by the embodiments of the present application will be described in detail in combination with Figure 10 the interaction process shown.
[0149] Referring to Figure 10 , when the first electronic device detects the first operation of the user, in response to this first operation, the first push information list is loaded into the cache, and the first interface is displayed.
[0150] Among them, the first operation can be an opening operation for the user to open the preset application installed in the first electronic device, or a lifting operation for picking up the second electronic device. This second electronic device can be the first electronic device itself, or other electronic devices connected to the first electronic device.
[0151] The first push information list includes several product functions of the second electronic device. This second electronic device can also be the first electronic device itself, or other electronic devices connected to the first electronic device.
[0152] The first interface includes a first push area and a second push area. The first push area includes a first control and at least one push window, and the push windows in the first push area display the product functions loaded into the cache. The second push area includes at least one product function and product information loaded into the cache.
[0153] Then, after the first electronic device detects that the user clicks on the first control in the first interface, the first electronic device responds to this click operation and scrolls to display the product functions loaded into the cache in the push window in the first interface. That is, the first electronic device reads the product functions from the cache and scrolls to display them in the push window.
[0154] While the first electronic device scrolls and displays product functions, it selects a target product function based on the push weight of the product function and a random number. Herein, the target product function can be understood as the product function that is currently selected based on the push weight and the random number and needs to push the next-level information to the user.
[0155] After the first electronic device determines the target product function, it controls the push window to stop scrolling and displaying, and the first electronic device displays a second interface including a push pop-up window. In the second interface, the determined target product function is displayed in all push windows. Also, the push pop-up window displays an overview information of the target product function.
[0156] In addition, the push pop-up window in the second interface includes, in addition to the overview information of the target product function, a second control and a third control. Therefore, the first electronic device can also respond to the user's click operation on the second control and display the detailed information at the next level of the target product function. At this time, since the deepest-level information of the target product function has been pushed to the user, the first electronic device can synchronously delete the target product function in the cache in response to the user's click operation on the second control, preventing the same product function from being repeatedly pushed to the same user. Also, if the user has no further need to understand the target product function after viewing the overview information of the target product function pushed to the user, the user can click the third control to trigger the first electronic device to respond to the user's click operation on the third control and close the push pop-up window.
[0157] It should be understood that after the push pop-up window is closed, it is equivalent to triggering the first electronic device to return to display the first interface. Furthermore, the first electronic device can respond again to the user's click operation on the first control in the first interface and push the next target product function to the user.
[0158] Thus, in the product purchase scenario, using the information push method provided in the embodiments of the present application can increase the user's interest in understanding product functions in the form of an interactive mini-game, thereby increasing the user's purchase duration. During this process, the first electronic device continuously responds to the user's operation to screen the target product function during the scrolling display of product functions and push it to the user for the main push, so that more and more effective product functions can be pushed to the user within the limited display screen to improve the accuracy of product function push. At the same time, pushing the overview information of the target product function to the user in the form of a push pop-up window can enable the user to better understand the target product function and enhance the user's product purchase experience.
[0159] In some embodiments, such as Figure 11As shown, determining the target push message from the first push message list based on the push weight and the random number (for example, in the product selection scenario, determining the target product function from the first push message list based on the push weight and the random number) may include steps S1101 - S1106.
[0160] S1101, calculate the sum of the push weights of each push message scrolled and displayed in the push window to obtain the weight sum.
[0161] S1102, generate a random number within the range of the weight sum.
[0162] S1103, traverse the push messages in the first push message list, and calculate the difference between the random number and the push weight of the currently traversed push message.
[0163] S1104, determine whether the difference is less than 0, that is, whether the difference < 0. If the difference between the random number and the push weight of the currently traversed push message is less than 0, that is, the difference < 0, then take this push message as the target push message, that is, enter step S1105.
[0164] If the difference between the random number and the push weight of the currently traversed push message is greater than or equal to 0, that is, the difference ≥ 0, then update the difference as the new random number and enter step S1106.
[0165] S1105, take the push message corresponding to the difference < 0 as the target push message.
[0166] S1106, take the difference as the new random number, return to S1103, and continue to traverse the next push message until the difference between the random number and the push weight of the push message < 0.
[0167] Exemplarily, assume that five push messages are configured in the first push message list. Among them, the push weight Weight corresponding to each push message is Weight1 = 1, Weight2 = 2, Weight3 = 3, Weight4 = 4, Weight5 = 5.
[0168] Then, the first electronic device calculates the weight sum sumWeight of the push weights corresponding to these five push messages, sumWeight = Weight1 + Weight2 + Weight3 + Weight4 + Weight5, then sumWeight is 15. Then, the first electronic device uses the random number algorithm to take a random number within 15.
[0169] In some embodiments, the Java random number algorithm can be used to take a random number within the range of the weight sum. Exemplarily, the following random number code function can be used to generate a random number:
[0170] Random random = new Random();
[0171] AtomicInteger randomWeight = new AtomicInteger(random.nextInt(bound: sumWeight - 1));
[0172] Below, assume that the randomly generated number randomWeight is 10. The first electronic device then starts traversing the five push messages in the first push message list starting from 10. The push weight of the first push message traversed is 1, and the difference minusCount between the random number 10 and it is 9, and 9 > 0. The calculation process can be expressed as: minusCount = randomWeight - Weight1 = 9, minusCount > 0.
[0173] Therefore, the first electronic device uses the difference minusCount = 9 as the new random number randomWeight and continues to traverse the second push message, thereby calculating the difference minusCount between the random number 9 and the push weight 2 corresponding to the second push message, resulting in 7. At this time, minusCount = 7, still greater than 0.
[0174] And so on. Finally, when traversing the fifth push message, the difference minusCount is less than 0. Then, this fifth push message is the target push message screened by the first electronic device. Furthermore, the first electronic device extracts the overview information of this target push message from the first push message list and displays it in the second interface in the form of a push pop-up window.
[0175] In the embodiment of the present application, by selecting the target push message based on the difference between the random number and the push weight, the randomness of information push can be improved, thereby ensuring that as many different messages as possible are pushed to the user within the limited display screen and limited time.
[0176] In some embodiments, the first push message list configured in the first electronic device can be remotely and automatically configured through cloud push in addition to being manually configured for the first electronic device alone.
[0177] Based on this, the information push method of the embodiment of the present application may further include: receiving the second push message list pushed by the cloud server; updating the local first push message list according to the second push message list.
[0178] Specifically, the second push message list refers to the push message list sent by the cloud server, indicating that the first electronic device needs to update the first push message list. Therefore, after receiving the second push message list sent by the cloud server, the first electronic device updates the local first push message list based on this second push message list.
[0179] Optionally, the first electronic device can directly delete the local first push message list and save the second push message list sent by the cloud server as the new first push message list locally. Or, the first electronic device can compare the first push message list with the second push message list. If there are duplicate push messages in the two push message lists, the first electronic device can continue to retain the duplicate push messages. Then, add the newly added push messages in the second push message list to the first push message list. At the same time, delete the push messages that do not exist in the second push message list from the first push message list, so as to complete the update of the first push message list.
[0180] It should be understood that in order to avoid affecting the push to the user by the first electronic device, the update of the first push message list can be performed after the user finishes the operation, that is, after the first electronic device completes the current information push. The specific update timing can be configured according to actual requirements, and the embodiments of the present application do not make any limitations in this regard.
[0181] In some embodiments, the first push message list and the second push message list can be json data. That is, the first push message list and the second push message list can be stored in a specified directory in json format.
[0182] Exemplarily, as Figure 12 shown, a schematic diagram of the data structure of the push message list is provided. Among them, functionId represents the push message Id, such as the product function Id. res represents the overview information of the push message, such as the product function overview diagram, Figure 12 The overview information of the three push messages shown is respectively expressed as "slot_machine_a, slot_machine_b, slot_machine_c". weight represents the push weight of the push message (such as the push weight of the product function), Figure 12 The weights of the three push messages shown are 5, 1, and 1 respectively.
[0183] In the embodiments of the present application, the remote automatic configuration of the first push message list is realized through cloud push, which is more efficient than manual configuration, and can also ensure that the first electronic device can timely cooperate with the actual push service requirements to push information to the user.
[0184] Another embodiment of the present application provides an electronic device, including: a display screen, one or more processors, and a memory. The display screen and the memory are respectively coupled to the processor; the display screen is used to display an interface including push information; one or more computer program codes are stored in the memory, and the computer program codes include computer instructions; when the processor executes the computer instructions, the electronic device implements the information push method described in any of the above embodiments.
[0185] Another embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor in an electronic device, the electronic device implements the information push method described in any of the above embodiments.
[0186] The embodiment of the present application further provides a computer program product. When the computer program product runs on a computer, the computer executes each function or step in the above method embodiment.
[0187] The embodiment of the present application further provides a chip system, as Figure 13 shown. The chip system 130 includes at least one processor 1301 and at least one interface circuit 1302. The processor 1301 and the interface circuit 1302 can be interconnected by a line. For example, the interface circuit 1302 can be used to receive signals from other devices (such as the memory of a computer). For another example, the interface circuit 1302 can be used to send signals to other devices (such as the processor 1301).
[0188] Exemplarily, the interface circuit 1302 can read the instructions stored in the memory and send the instructions to the processor 1301. When the instructions are executed by the processor 1301, the computer can execute each step in the above embodiment. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make specific limitations thereto.
[0189] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0190] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections between each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.
[0191] The units described as separate components may or may not be physically separated. The components displayed as units may be one physical unit or multiple physical units, that is, they can be located in one place, or they can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, in each embodiment of the present application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0193] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read only memory (ROM), random access memory (RAM), magnetic disks or optical discs that can store program codes.
[0194] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An information push method, characterized in that, applied to a first electronic device, the method comprising: displaying a first interface; the first interface includes a first push area, the first push area includes a first control and at least one push window; wherein, each of the push windows in the first interface displays one push message in a first push message list, and different push windows display different push messages; in response to a click operation of the user on the first control, scrolling and displaying the push messages in the first push message list within the push window; when the scrolling display in the push window stops, displaying a second interface; the second interface includes the at least one push window and a push pop-up window; wherein, each of the push windows in the second interface displays a target push message, and the push pop-up window includes an overview information of the target push message; the target push message is determined from the push messages scrolled and displayed in the push window based on the push weight and random number of each push message.
2. The method according to claim 1, characterized in that, each of the push messages in the first push message list corresponds to a product function of a second electronic device; wherein, the first electronic device is connected to the second electronic device, the display screen of the first electronic device is larger than the display screen of the second electronic device, or the second electronic device has no display screen; or, the second electronic device is the first electronic device.
3. The method according to claim 1 or 2, characterized in that, the push pop-up window includes a second control and a third control; the method further comprises: in response to a click operation of the user on the second control, displaying a third interface, wherein, the third interface includes the detailed information of the target push message; in response to a click operation of the user on the third control, closing the push pop-up window.
4. The method according to any one of claims 1-3, characterized in that, the displaying the first interface includes: in response to a first operation, displaying the first interface; wherein, the first operation includes an opening operation of a preset application and a lifting operation of the user on the first electronic device; the preset application is an application program installed in the first electronic device for pushing the product functions of the second electronic device.
5. The method according to claim 4, characterized in that, the method further comprises: in response to the first operation, loading the first push message list into a cache; the in response to a click operation of the user on the first control, scrolling and displaying the push messages in the first push message list within the push window, includes: in response to a click operation of the user on the first control, scrolling and displaying the push messages in the first push message list in the cache within the push window.
6. The method according to claim 5, characterized in that, the method further comprises: in response to a click operation of the user on the second control, deleting the target push message from the cache.
7. The method according to any one of claims 2-6, characterized in that, The first interface includes a second push area, and the second push area includes at least one of the push information and product information of the second electronic device.
8. The method according to any one of claims 1-7, wherein, determining the target push information from the push information scrolled and displayed in the push window based on the push weight and random number of each push information includes: calculating the sum of the push weights of each push information scrolled and displayed in the push window to obtain a total weight; generating a random number within the range of the total weight; traversing the push information in the first push information list, and if the difference between the random number and the push weight of the currently traversed push information is less than 0, using the corresponding push information as the target push information; if the difference between the random number and the push weight of the currently traversed push information is greater than or equal to 0, using the difference as a new random number and continuing to traverse the next push information until the difference is less than or equal to 0.
9. The method according to any one of claims 1-8, wherein, the method further includes: receiving a second push information list pushed by a cloud server; updating the local first push information list according to the second push information list.
10. The method according to any one of claims 5-9, wherein, the method further includes: after the fourth interface is displayed, if no operation of the user is received within a preset time, closing the fourth interface and clearing the first information push list in the cache; wherein, the fourth interface is any one of the first interface, the second interface or the third interface; alternatively, receiving a second operation by the user to trigger closing the fourth interface, and in response to the second operation, closing the fourth interface and clearing the first information push list in the cache.
11. An electronic device, wherein, comprising: a display screen, one or more processors and a memory, the display screen and the memory are respectively coupled to the processor; the display screen is configured to display an interface including push information; one or more computer program codes are stored in the memory, and the computer program codes include computer instructions; when the processor executes the computer instructions, the electronic device is caused to execute the information push method according to any one of claims 1-10.
12. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor of an electronic device, the electronic device is caused to execute the information push method according to any one of claims 1-10.
Citation Information
Patent Citations
Method for displaying unread messages and terminal equipment
CN106789599A
Push method and device of various travel products, electronic equipment and storage medium
CN107832365A
Notification message previewing method and electronic equipment
CN110351422A
Control data processing method and related equipment
CN112685111A
Terminal device and control method
US20180348881A1