Information push method, device, electronic device and storage medium
By obtaining and pushing environmental information on electronic devices, the problem of poor user experience when electronic devices share hot spots is solved, and relevant information is pushed to the target terminal, improving the processing effect and user experience.
Patent Information
- Application Number
- CN202010682878.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-07-15
AI Technical Summary
When existing electronic devices share wireless hotspots, they have a single processing method, poor user experience, and cannot effectively combine environmental information to push relevant information to the target terminal.
When the target terminal is connected to the wireless hotspot of the electronic device, the current environmental information is obtained, push information is generated based on the environmental information, and pushed to the target terminal, including location, weather, date, hot news and other information.
It improves the processing effect of electronic devices when sharing hot spots, enables the target terminal to obtain push information related to the current environment, improves user experience, and increases the acceptance and effect of push information.
Smart Images

Figure CN111784412B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to an information push method, device, electronic device and storage medium. Background Art
[0002] With the rapid advancement of technology and living standards, electronic devices (such as smart phones, tablet computers, etc.) have become one of the most commonly used consumer electronic products in people's daily lives. Current electronic devices can provide wireless hotspots for other terminals to access the Internet, but the processing method of electronic devices when sharing hotspots is relatively simple and the effect is not good. Summary of the invention
[0003] In view of the above problems, the present application proposes an information push method, device, electronic device and storage medium.
[0004] In a first aspect, an embodiment of the present application provides an information push method, which is applied to an electronic device, and the method includes: when a target terminal is connected to a wireless hotspot of the electronic device, obtaining current environmental information; generating push information based on the environmental information; and pushing the push information to the target terminal.
[0005] In the second aspect, an embodiment of the present application provides an information push device, which is applied to an electronic device, and the device includes: an information acquisition module, an information generation module and a push execution module, wherein the information acquisition module is used to obtain current environmental information when the target terminal is connected to the wireless hotspot of the electronic device; the information generation module is used to generate push information based on the environmental information; and the push execution module is used to push the push information to the target terminal.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the information push method provided in the first aspect above.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the information push method provided in the first aspect above.
[0008] The solution provided by the present application is that the electronic device obtains current environmental information when the target terminal is connected to the wireless hotspot of the electronic device, generates push information based on the obtained environmental information, and then pushes the push information to the target terminal. This allows the electronic device to push relevant information to the terminal in combination with the environmental information when sharing the hotspot, so that the target terminal can obtain push information related to the current environment for display when connecting to the hotspot of the electronic device, thereby improving the processing effect of the electronic device when sharing the hotspot. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flow chart of an information push method according to an embodiment of the present application is shown.
[0011] Figure 2 A flow chart of an information push method according to another embodiment of the present application is shown.
[0012] Figure 3 A flow chart of an information push method according to yet another embodiment of the present application is shown.
[0013] Figure 4 A flow chart of step S340 in the information push method provided in an embodiment of the present application is shown.
[0014] Figure 5 Another flow chart of step S340 in the information push method provided in an embodiment of the present application is shown.
[0015] Figure 6 A block diagram of an information push device according to an embodiment of the present application is shown.
[0016] Figure 7 It is a block diagram of an electronic device according to an embodiment of the present application for executing the information push method according to an embodiment of the present application.
[0017] Figure 8 It is a storage unit of an embodiment of the present application for storing or carrying program codes for implementing the information push method according to an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0019] When people use electronic devices, they usually share wireless hotspots with users around them. For example, when a user is out with friends and family, if the friend's electronic device has poor signal or insufficient free data traffic, the user may open the personal hotspot of his or her electronic device and share it with the friend so that the friend's electronic device can use the shared personal hotspot to access the Internet.
[0020] Among them, when electronic devices share wireless hotspots, they usually provide free traffic to devices connected to the wireless hotspots for the devices to access the Internet. When electronic devices provide wireless hotspots, they usually configure the name and password of the wireless hotspot based on the user's operation on the wireless hotspot configuration interface, and then other terminals perform password pairing when connecting. After pairing is completed, other terminals can use the connected wireless hotspot to access the Internet. However, this processing method of electronic devices is relatively simple, and users have a poor experience when using wireless hotspots.
[0021] In response to the above problems, the inventors have proposed the information push method, device, electronic device and storage medium provided in the embodiments of the present application, which can enable the electronic device to push relevant information to the terminal in combination with environmental information when sharing a hotspot, so that the target terminal can obtain push information related to the current environment for display when connecting to the hotspot of the electronic device, thereby improving the processing effect of the electronic device when sharing a hotspot, and thus improving the user experience. Among them, the specific information push method is described in detail in the subsequent embodiments.
[0022] See also Figure 1 , Figure 1 FIG. 1 is a flow chart showing an information push method provided by an embodiment of the present application. In a specific embodiment, the information push method is applied to Figure 6 The information push device 400 and the electronic device 100 ( Figure 7 ). The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment can be a smart phone, a tablet computer, a smart watch, etc., which is not limited here. Figure 1 The process shown is described in detail, and the information push method may specifically include the following steps:
[0023] Step S110: When the target terminal is connected to the wireless hotspot of the electronic device, current environment information is obtained.
[0024] In an embodiment of the present application, an electronic device can open a wireless hotspot to share the wireless hotspot with other terminals, so that other terminals can access the Internet after searching and accessing the wireless hotspot. When the electronic device detects that the target terminal is connected to the wireless hotspot opened by the electronic device, it can obtain the current environment information. The current environment information can be information about the environment in which the electronic device is currently located.
[0025] In some embodiments, the environmental information may include, but is not limited to: the current location information of the electronic device, the current weather information, the current date, and the hot news information of the current location of the electronic device. The current location information of the electronic device can be obtained through a positioning module provided in the electronic device, for example, through a global positioning system (GPS); the current weather information can be obtained from a server of a weather service platform; the current date can be determined by the system time of the electronic device; and the hot news information of the current location can be obtained from a server of a news service platform. Of course, the above methods of obtaining environmental information are not intended to be limiting.
[0026] In some embodiments, the electronic device may detect an instruction for instructing to turn on a hotspot, and when the instruction for instructing to turn on a hotspot is detected, the wireless hotspot is turned on for other terminals to use the wireless hotspot. The instruction for instructing to turn on a hotspot may be generated by a user touching an icon of a wireless hotspot on a display interface of the electronic device, or may be generated by a user inputting a voice instruction for turning on a hotspot, which is not limited here. As a way, the instruction may be a hotspot start instruction, and after receiving the hotspot start instruction, the electronic device may respond to the hotspot start instruction and start the wireless hotspot of the electronic device. Specifically, the electronic device may detect whether a hotspot start instruction is received and obtain a detection result. If the detection result indicates that a hotspot start instruction is received, the hotspot of the electronic device may be started in response to the hotspot start instruction, so that the target device can search and find the hotspot of the electronic device.
[0027] In some embodiments, the electronic device may display a hotspot switch control, which is used to start the hotspot of the electronic device or turn off the wireless hotspot of the electronic device based on the target operation. The target operation may include large-area pressing, continuous long pressing, continuous super-long pressing, two-finger long pressing, single-finger clicking, multi-finger continuous clicking, etc., wherein large-area pressing refers to the pressing area on the hotspot switch control exceeding the preset area, continuous long pressing refers to the continuous pressing duration on the hotspot switch control exceeding the preset duration, continuous super-long pressing refers to the pressing duration on the hotspot switch control exceeding the preset super-long duration, two-finger long pressing refers to the simultaneous pressing of two fingers on the hotspot switch control exceeding the preset duration, single-finger clicking refers to a single-finger single click on the thermoelectric switch control, and multi-finger continuous connection refers to the number of continuous clicks on the hotspot switch control exceeding the preset number of times. As an optional implementation, when the electronic device detects a pressing operation on the hotspot switch and the pressing duration exceeds a preset time, the wireless hotspot is controlled to be turned on; when the wireless hotspot is turned on, if a pressing operation on the hotspot switch is detected and the pressing duration exceeds a preset time, the wireless hotspot is controlled to be turned off.
[0028] Step S120: Generate push information according to the environmental information.
[0029] In the embodiment of the present application, after acquiring the current environmental information, the electronic device can generate push information that needs to be pushed to the target terminal according to the environmental information.
[0030] In some implementations, the electronic device may generate push information in combination with the current location of the electronic device, current weather information, current date, and hot news at the current location in the environmental information. The push information may include multiple types of push information.
[0031] As an implementation method, the electronic device can generate different types of push information according to different types of information in the environmental information. Specifically, commercial recommendation information can be generated according to the current location of the electronic device. For example, if there is a cinema at the current location, push information about the cinema and the movies can be generated; according to the current weather information, push information about travel recommendations can be generated. For example, when the current weather is rainy, push information about wearing an umbrella can be generated. For example, when the current weather is sunny and the ultraviolet intensity is greater than the set intensity, push information about sun protection can be generated; according to the current date, push information related to the date can be pushed. For example, according to the current date being a working day, work-related information can be pushed. For example, according to the current date being a non-working day, scenic spot information, commercial activity information, etc. can be pushed; according to the hot news at the current location, news push information can be generated. For example, breaking news in the surrounding area can be generated. Of course, the above push information of the corresponding types generated according to the various types of information in the environmental information is only an example and does not represent a limitation on the actual push information.
[0032] As an implementation method, the electronic device may also combine different types of information in the environmental information to generate multiple types of push information. For example, the electronic device may pre-store common locations such as home and workplace locations. When the electronic device determines that the current location is at home based on the current location, it may be that other users are visiting. When away from home, you may need to connect to the electronic device's wireless hotspot to take a taxi or other services. At this time, the electronic device can generate travel recommendation push information based on the current weather information. When the electronic device determines that the current location is at work based on the current location, it may be that a colleague needs to connect to a wireless hotspot. In a work scenario, turning on the hotspot for other users may mean that other users need to order takeout or make reservations for dinner parties through the Internet. If the electronic device determines that the current location is neither at home nor at work, it means that the user is not at a common location. At this time, the user may be traveling outdoors. At this time, combined with the date information, if it is determined to be a non-working day, commercial information can be pushed to the user, such as information about cinemas and supermarkets. In addition, when the user is traveling outdoors, the environmental information obtained can also include travel methods, etc. If the user travels by car, the pushed commercial information can also include information about hotels, gas stations, etc. Of course, the above method of generating push information in combination with different types of information in the environmental information is only an example and does not represent a limitation on the actual push information.
[0033] In some embodiments, when the electronic device generates push information based on environmental information, it can also determine whether the electronic device has recorded the identity information of the user corresponding to the target terminal. When the electronic device has recorded the identity information of the user corresponding to the target terminal, the electronic device can obtain the user portrait corresponding to the target terminal based on the identity information, and then generate push information matching the user based on the environmental information and the user portrait, thereby improving the acceptance of the push information pushed to the target terminal. It can be understood that when the electronic device historically opens the hotspot, it can record the terminals that have connected to the wireless hotspot, and can prompt the user to add the user information of these terminals. Based on the user information, the electronic device can obtain the user portrait corresponding to the user information from the user portrait server, which can be used to generate push information.
[0034] In some embodiments, the type of push information that the electronic device needs to generate can also be pre-configured by the user, that is, the type of information to be pushed can be determined by the user. In some scenarios, corresponding rewards can be exchanged for corresponding types of information pushed to other users. For example, when pushing commercial push information to other terminals, you can obtain coupons and points from merchants in the commercial push information. For example, by pushing hot news information, you can obtain points from related news applications. For example, by pushing travel recommendation information, if the travel recommendation information includes travel methods (taxi methods), you can also obtain coupons from taxi platforms. In such a scenario, users can set different types of push information according to their different needs to obtain the required rewards from related platforms.
[0035] Step S130: Push the push information to the target terminal.
[0036] In an embodiment of the present application, after generating push information, the electronic device can push the push information to the target terminal. After receiving the push information, the target terminal can display the push information, thereby completing the push of push information related to environmental information when sharing a wireless hotspot.
[0037] The information push method provided in the embodiment of the present application is that the electronic device obtains the current environmental information when the target terminal is connected to the wireless hotspot of the electronic device, generates push information based on the obtained environmental information, and then pushes the push information to the target terminal, so that when the electronic device shares the hotspot, it can push relevant information to the terminal in combination with the environmental information, so that when the target terminal is connected to the hotspot of the electronic device, it can obtain push information related to the current environment for display, thereby improving the processing effect of the electronic device when sharing the hotspot. In addition, since the electronic device generates push information based on the current environmental information, the acceptance of the push information is also increased, which improves the push effect of the push information when the hotspot is connected.
[0038] See also Figure 2 , Figure 2 A schematic diagram of a flow chart of an information push method provided by another embodiment of the present application is shown. The information push method is applied to the above electronic device. Figure 2 The process shown is described in detail, and the information push method may specifically include the following steps:
[0039] Step S210: When the target terminal is connected to the wireless hotspot of the electronic device, current environment information is obtained.
[0040] In the embodiment of the present application, step S210 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0041] Step S220: Obtain historical viewing results of push information pushed to the electronic device when the target terminal is historically connected to the wireless hotspot of the electronic device.
[0042] In the embodiment of the present application, the push information that the electronic device can generate according to the environmental information may include multiple types of push information, such as business recommendations, travel recommendations, news recommendations, etc. Since different users may have different interests and hobbies, the electronic device can also determine the type of push information to be pushed before generating the push information according to the environmental information.
[0043] In the embodiment of the present application, the electronic device can obtain the historical viewing results of the push information pushed historically when the target terminal has been historically connected to the wireless hotspot of the electronic device. Thus, the type of push information that meets the interests of the user corresponding to the target terminal can be determined based on the historical viewing results.
[0044] In some implementations, the historical viewing results may include: the number of times each type of push information is viewed, the viewing duration of each type of push information, etc., which are not limited here. It can be understood that the viewing results of the historical push information can reflect the user's interest in the push information to a certain extent, so based on the historical viewing results, the type of push information that meets the interests of the user corresponding to the target terminal can be determined.
[0045] In some embodiments, the electronic device can record and store the identification information of all terminals that have accessed the wireless hotspot shared by it, so the electronic device can obtain the identification information of the target terminal, which can be information used to identify the identity of the target device, such as a MAC address, etc. After obtaining the identification information of the target terminal, the identification information of the target terminal can be compared with the identification information of all terminals that have accessed the wireless hotspot shared by it stored in the electronic device to determine whether the target device has accessed the wireless hotspot of the electronic device. When the comparison result indicates that the identification information of the target terminal matches the identification information of any one of the identification information of all the terminals that have accessed the wireless hotspot shared by it, it can be determined that the target terminal has accessed the wireless hotspot of the electronic device, and when the comparison result indicates that the identification information of the target terminal is different from the identification information of all the devices that have accessed the wireless hotspot shared by it, it can be determined that the target terminal has not accessed the wireless hotspot of the electronic device.
[0046] In some embodiments, the electronic device may record the identification information of all terminals that have accessed the wireless hotspot shared by it, and store the identification information of all terminals that have accessed the wireless hotspot shared by it according to different access time periods. For example, the identification information of devices that have accessed the wireless hotspot shared by it within a period of nearly one week is stored together, the identification information of devices that have accessed expired shared wireless hotspots within a period of nearly one week to two weeks is stored together, the identification information of devices that have accessed expired shared wireless hotspots within a period of nearly two weeks to three weeks is stored together, and so on. Therefore, after obtaining the identification information of the target terminal, the identification information of the target terminal can be compared with the identification information of the terminals stored in the electronic device that have accessed the wireless hotspot shared by the electronic device within a specified time period to determine whether the target terminal has accessed the wireless hotspot of the electronic device. For example, the identification information of the target terminal can be compared with the identification information of the terminals stored in the electronic device that have accessed the expired shared wireless hotspot within the past week. When the comparison result indicates that the identification information of the target terminal matches the identification information of any one of the terminals in the identification information of the terminals that have accessed the wireless hotspot shared by the electronic device within the specified time period, it can be determined that the target terminal has accessed the wireless hotspot of the electronic device. When the comparison result indicates that the identification information of the target terminal and the identification information of the terminals that have accessed the wireless hotspot shared by the electronic device within the specified time period are different, it can be determined that the target terminal has not accessed the wireless hotspot of the electronic device.
[0047] In addition, the electronic device can also store the historical viewing results of the pushed information for the terminals that have connected to the wireless hotspot. Therefore, when the electronic device determines that the target terminal has connected to the wireless hotspot of the electronic device, the historical viewing results corresponding to the target terminal can be obtained from the recorded historical viewing results.
[0048] Step S230: According to the historical viewing result, a first target type that meets a preset viewing condition is obtained from multiple types of pushed information.
[0049] In the embodiment of the present application, the electronic device can determine the first target type that meets the preset viewing condition among the multiple types existing in the push information according to the historical viewing results. The preset viewing condition is used to filter the type that matches the viewing habits and preferences of the user corresponding to the target terminal for the push information.
[0050] In some embodiments, the preset viewing condition may include: the number of views is greater than the preset number of times. Wherein, when the electronic device determines that the number of views of the push information corresponding to any type is greater than the preset number of times according to the historical viewing result corresponding to the target terminal, the type may be used as the first target type that meets the preset viewing condition; when the number of views of the push information corresponding to no type is greater than the preset number of times, that is, the number of views corresponding to each type is less than or equal to the preset number of times, it means that there is no type that meets the preset viewing condition.
[0051] In other embodiments, the preset viewing condition may include: viewing time is greater than a specified time. In this case, when the electronic device determines that the total viewing time of the push information corresponding to any type is greater than the specified time based on the historical viewing results corresponding to the target terminal, the type may be used as the first target type that meets the preset viewing condition; when the total viewing time of the push information corresponding to no type is greater than the specified time, that is, the viewing time corresponding to each type is less than or equal to the specified time, it means that no type meets the preset viewing condition.
[0052] It can be understood that the first target type filtered out according to the preset viewing conditions may be one type or multiple types, and the specific number corresponding to the first target type depends on the actual situation.
[0053] Of course, there is no limitation on the specific preset viewing condition. For example, the preset viewing condition may also be: after sorting the types from high to low according to the viewing time or the number of views, the types in the top N positions.
[0054] In some embodiments, when the electronic device determines that the target terminal has not been connected to the wireless hotspot of the electronic device, it can determine the target type that meets the preset viewing condition based on the historical viewing results corresponding to other terminals, and then generate push information of the target type subsequently. As an embodiment, the electronic device can determine the target type that meets the preset viewing condition based on the historical viewing results of the terminal device whose number of connections to the wireless hotspot exceeds the preset number. It can be understood that the number of connections of the terminal device to the wireless hotspot is greater than the preset number, indicating that the number of wireless hotspots of the electronic device connected by the terminal device is large, and it also indicates that the user corresponding to the terminal device has a good acceptance of the push information pushed each time, so the historical viewing results corresponding to the terminal device can be selected to determine the target type that meets the preset viewing condition. As another embodiment, the electronic device can also determine the target type that meets the preset viewing condition based on the historical viewing results of the terminal device that has recently connected to the wireless hotspot. As another embodiment, the electronic device can also determine the target type that meets the preset viewing condition based on the historical viewing results of the terminal device whose connection frequency is greater than the preset frequency. The method of determining the target type based on the historical viewing results of other terminals may not be limited.
[0055] Step S240: Generate push information of the first target type according to the environmental information.
[0056] In the embodiment of the present application, after the electronic device determines the first target type, it can generate push information of the first target type according to the environmental information. Since the first target type is determined according to the historical viewing results of the push information by the target terminal, the type of push information that the user is accustomed to viewing can be screened out, which better meets the needs and interests of the user, and improves the acceptability of the push information pushed to the target terminal.
[0057] In some implementations, the electronic device may have certain requirements for the amount of information to be pushed each time, that is, it may need to push a certain amount of information, and according to the preset viewing conditions, the number of types in the first target type that may be selected may be small, and therefore cannot meet the requirement. Therefore, before generating the push information of the first target type according to the environmental information, the information push method may also include: determining whether the number of types corresponding to the first target type is greater than a specified number; when the number of types corresponding to the first target type is greater than the specified number, generating the push information of the first target type according to the environmental information.
[0058] It can be understood that the electronic device can determine the number of types in the first target type, and then compare the number of types with the specified number. If the number of types is greater than the specified number, it means that according to the first target type, the number of push information in the push information of the first target type can meet the push requirements; if the number of types is less than or equal to the specified number, it means that according to the first target type, the number of push information in the push information of the first target type cannot meet the push requirements. Therefore, when it is determined that the number of types corresponding to the first target type is greater than the specified number, push information of the target type can be generated according to the environmental information.
[0059] In addition, when it is determined that the number of types corresponding to the first target type is less than or equal to the specified number, the electronic device can also select a second target type of the target number from other types, wherein the total number of the target number and the number of types is greater than the specified number, and the other types are types other than the first target type among the multiple types, so that the generated push information can meet the push requirements. In addition, the heat value of the second target type meets the preset heat value condition, wherein the heat is the viewing heat of the historical push information by the user corresponding to the terminal connected to the wireless hotspot of the electronic device, and the preset heat value condition can include a heat value greater than a preset heat value, so that in addition to the selected type that meets the user's viewing habits for push information, the type in the push information can also include a type with higher heat, so that the subsequently generated push information has a higher acceptability.
[0060] Step S250: Push the push information to the target terminal.
[0061] In the embodiment of the present application, step S250 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0062] The information push method provided in the embodiment of the present application is that the electronic device obtains the current environment information when the target terminal is connected to the wireless hotspot of the electronic device, and then obtains the historical viewing results of the push information when the terminal device is historically connected to the wireless hotspot, and according to the historical viewing results, the first target type that meets the preset viewing conditions is screened, and then the push information of the first target type is generated according to the obtained environment information, and then the push information is pushed to the target terminal, so that when the electronic device shares the hotspot, it can push the relevant information to the terminal in combination with the environment information, so that when the target terminal is connected to the hotspot of the electronic device, it can obtain the push information related to the current environment for display, and improve the processing effect of the electronic device when sharing the hotspot. In addition, since the electronic device generates the push information according to the current environment information, the acceptance of the push information is also increased, and the push effect of the push information when the hotspot is connected is improved. Moreover, the generated push information is the information of the first target type, and the first target type is determined according to the historical viewing results of the user's historical viewing of the push information, so that the push information can meet the user's viewing needs and habits for the push information, and further improve the acceptability of the push information.
[0063] See also Figure 3 , Figure 3 A schematic diagram of a flow chart of an information push method provided by another embodiment of the present application is shown. The information push method is applied to the above electronic device. Figure 3 The process shown is described in detail, and the information push method may specifically include the following steps:
[0064] Step S310: When the target terminal is connected to the wireless hotspot of the electronic device, current environment information is obtained.
[0065] In the embodiment of the present application, step S310 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0066] Step S320: Generate push information according to the environmental information.
[0067] In an embodiment of the present application, before the electronic device generates push information according to the environmental information, it can also determine whether it is necessary to push information to the target terminal device. Specifically, a preset device whitelist may be pre-stored in the electronic device, and the device whitelist may include the device identification of the terminal that does not need to push information when connecting to a wireless hotspot. The electronic device can obtain the device identification of the target terminal, and then compare the device identification with the device identification in the device whitelist. If the device identification of the target terminal matches any device identification in the device whitelist, it means that the device identification of the target terminal is in the preset whitelist, so there is no need to push information to the target terminal; if the device identification of the target terminal does not match any device identification in the device whitelist, it means that the device identification of the target terminal is not in the preset whitelist, so it is necessary to push information to the target terminal, and then the electronic device generates push information according to the environmental information. It can be understood that the device whitelist can be used by the user to set the terminal that does not need to push information, and the terminal in the device whitelist does not need to display the push information, thereby meeting the needs of the user. For example, the device identification of the terminal of the family can be added to the device whitelist, so that the family does not need to view the push information, avoiding the push information from causing trouble to the family.
[0068] Step S330: Push the push information to the target terminal.
[0069] In the embodiment of the present application, step S330 can refer to the contents of the aforementioned embodiment and will not be repeated here.
[0070] Step S340: when it is detected that the target terminal has completed the designated processing of the push information, the target terminal is allowed to access the Internet through the wireless hotspot.
[0071] In the embodiment of the present application, after the electronic device pushes the push information to the target terminal, it can also allow or prevent the target terminal from accessing the Internet through the wireless hotspot according to the processing of the push information by the target terminal. When it is detected that the target terminal has completed the specified processing of the push information, the electronic device can allow the target terminal to access the Internet through the wireless hotspot of the electronic device.
[0072] In some embodiments, see Figure 4 , step S340 may include:
[0073] Step S341A: receiving the browsing time returned by the target terminal, where the browsing time includes the time for browsing the pushed information;
[0074] Step S342A: When the browsing time is greater than a preset time, the target terminal is allowed to access the Internet through the wireless hotspot.
[0075] In this embodiment, after receiving the push information, the target terminal can count the time the user browses the push information during the display process of the push information, and feed back the time to the electronic device. Accordingly, the electronic device can receive the browsing time of the push information fed back by the target terminal. Among them, the target terminal can feed back the browsing time to the electronic device at each interval set time, or it can feed back the browsing time in real time, which will not be repeated here. When the browsing time is greater than the preset time, it means that the user's browsing time requirement for the push information has met the viewing requirement for the push information, so the target terminal can be allowed to access the Internet through the wireless hotspot. When the browsing time is less than or equal to the preset time, it means that the user's browsing time for the push information does not meet the viewing requirement for the push information, and the electronic device can continue to wait for the target terminal to feedback the browsing time until the feedback browsing time is greater than the preset time, and then allow the target terminal to access the Internet through the wireless hotspot. By setting the browsing time of the push information, the user corresponding to the target terminal can use the wireless hotspot to access the Internet only after browsing the push information for a certain time, thereby improving the push effect of the push information.
[0076] In other implementations, the push information generated by the electronic device may include multiple push information. For example, different push information may be generated according to different types of push information. Figure 5 , step S340 may include:
[0077] Step S341B: receiving the viewing result returned by the target terminal, wherein the viewing result includes the viewing result of each of the plurality of push messages;
[0078] Step S342B: when it is determined based on the viewing result that the number of the multiple push messages that have been viewed is greater than a preset number, the target terminal is allowed to access the Internet through the wireless hotspot.
[0079] In this embodiment, after receiving the push information, the target terminal can detect the user's viewing of each push information in the push information during the display process of the push information, and feed back the viewing result to the electronic device. Accordingly, the electronic device can receive the viewing result of each push information fed back by the target terminal. Among them, the target terminal can feed back the viewing result to the electronic device at each interval set time, or it can feed back the viewing result in real time, which will not be repeated here. When it is determined that the number of viewed items in the multiple push information is greater than the preset number, it means that the user's viewing of the push information has met the viewing requirements for the push information, so the target terminal can be allowed to access the Internet through the wireless hotspot. When it is determined that the number of viewed items in the multiple push information is less than or equal to the preset number, the user's viewing of the push information does not meet the viewing requirements for the push information, and the electronic device can continue to wait for the target terminal to feed back the viewing result until the number of viewed push information in the feedback viewing result is greater than the preset number, and then the target terminal is allowed to access the Internet through the wireless hotspot. By setting the number of pushed information to be viewed, the user corresponding to the target terminal can use the wireless hotspot to access the Internet only after viewing a certain number of pushed information, thereby improving the push effect of the pushed information.
[0080] Step S350: determining the available flow of the target terminal according to the processing result of the push information by the target terminal.
[0081] In the embodiment of the present application, after the electronic device pushes the push information to the target terminal, it can also determine the available flow of the target terminal according to the processing result of the push information by the target terminal. The available flow is the flow that the target terminal can use when surfing the Internet using the wireless hotspot.
[0082] In some embodiments, the processing result of the push information by the target terminal may include the viewing completion of the push information. The viewing completion is the ratio of the information that has been viewed by the user corresponding to the target terminal to all the pushed information, which is used to indicate the viewing of the push information by the user corresponding to the target terminal. The electronic device determines the available traffic of the target terminal based on the processing result of the push information by the target terminal, which may include: obtaining the target traffic corresponding to the viewing completion according to a preset correspondence between the completion and the available traffic, and using the target traffic as the available traffic of the target terminal. In the preset correspondence between the completion and the available traffic, the available traffic may be positively correlated with the completion, for example, may be proportional, so the greater the viewing completion, the greater the available traffic.
[0083] In other embodiments, the electronic device may also determine the available traffic of the target terminal according to the viewing time (i.e., browsing time) of the push information by the target terminal. Specifically, the electronic device may pre-store the corresponding relationship between the viewing time and the available traffic, so that the electronic device may determine the available traffic corresponding to the viewing time of the push information by the target terminal according to the corresponding relationship. And the viewing time and the available traffic may also be positively correlated, for example, they may be proportional, so the longer the viewing time of the push information, the more available traffic is obtained.
[0084] After determining the available traffic of the target terminal, the electronic device can also feed back the available traffic to the target terminal, so that the user of the target terminal can know the currently available traffic. If the user needs more available traffic, he needs to check more push information, which has the effect of encouraging the user to check more push information.
[0085] Step S360: When the traffic consumed by the target terminal using the wireless hotspot is equal to the available traffic, prohibiting the target terminal from accessing the Internet through the wireless hotspot.
[0086] In an embodiment of the present application, after determining the available traffic, the electronic device may also monitor the traffic consumed by the target terminal using its wireless hotspot. When the traffic consumed by the target terminal using the wireless hotspot is equal to the available traffic determined above, it indicates that the target terminal has used up the available traffic previously obtained, and therefore the electronic device may prohibit the target terminal from continuing to use the wireless hotspot to access the Internet.
[0087] In some embodiments, when the traffic consumed by the target terminal using the wireless hotspot is equal to the available traffic determined above, the electronic device can push information again. The pushed information can be information regenerated based on environmental information, or it can be a payment code, personal recommendation code, etc., which is not limited here, so that the target terminal can obtain more available traffic after viewing the pushed information, so as to further use the wireless hotspot to access the Internet.
[0088] The information push method provided in the embodiment of the present application is that the electronic device obtains the current environment information when the target terminal is connected to the wireless hotspot of the electronic device, generates push information according to the obtained environment information, and then pushes the push information to the target terminal, and determines whether to allow the target terminal to use the wireless hotspot to surf the Internet according to the processing of the push information by the target terminal, and also determines the available traffic according to the processing situation, and prohibits the target terminal from using the wireless hotspot to surf the Internet when the consumed traffic is equal to the available traffic. Thus, when the electronic device shares the hotspot, it can push relevant information to the terminal in combination with the environment information, so that when the target terminal is connected to the hotspot of the electronic device, it can obtain the push information related to the current environment for display, and improve the processing effect of the electronic device when sharing the hotspot. In addition, since the electronic device generates the push information according to the current environment information, the acceptance of the push information is also increased, and the push effect of the push information when the hotspot is connected is improved. In addition, by setting the viewing completion of the push information, the user corresponding to the target terminal can use the wireless hotspot to surf the Internet only when viewing certain push information, which improves the push effect of the push information.
[0089] See also Figure 6 , which shows a structural block diagram of an information push device 400 provided in an embodiment of the present application. The information push device 400 applies the above-mentioned electronic device, and the information push device 400 includes: an information acquisition module 410, an information generation module 420 and a push execution module 430. Among them, the information acquisition module 410 is used to obtain the current environment information when the target terminal is connected to the wireless hotspot of the electronic device; the information generation module 420 is used to generate push information according to the environment information; the push execution module 430 is used to push the push information to the target terminal.
[0090] In some embodiments, the information generation module 420 may include: a result acquisition unit, a first type acquisition unit, and a first generation unit. The result acquisition unit is used to acquire the historical viewing result of the push information pushed to the electronic device when the target terminal is historically connected to the wireless hotspot of the electronic device; the first type acquisition unit is used to acquire the first target type that meets the preset viewing condition from multiple types of push information according to the historical viewing result; and the first generation unit is used to generate the push information of the first target type according to the environmental information.
[0091] In this implementation, the information generation module 420 may further include: a quantity determination unit. The quantity determination unit is used to determine whether the number of types corresponding to the first target type is greater than a specified number; and a generation execution unit is used to generate push information of the first target type according to the environment information when the number of types corresponding to the first target type is greater than the specified number.
[0092] Furthermore, the information generation module 420 may also include: a second type acquisition unit and a second generation unit. The second type acquisition unit is used to select a second target type with a target number from other types when the number of types corresponding to the first target type is less than or equal to the specified number, wherein the total number of the target number and the number of types is greater than the specified number, the heat value of the second target type meets the preset heat value condition, and the other type is a type other than the first target type among the multiple types; the second generation unit is used to generate push information of the first target type and the second target type according to the environmental information.
[0093] In some implementations, the information push device 400 may further include: a first control module. The first control module is used to allow the target terminal to access the Internet through the wireless hotspot after the push information is pushed to the target terminal and when it is detected that the target terminal completes a specified process on the push information.
[0094] As an implementation mode, the first control module can be specifically used to: receive the browsing time returned by the target terminal, the browsing time including the time for browsing the push information; when the browsing time is greater than the preset time, allow the target terminal to access the Internet through the wireless hotspot.
[0095] As another implementation, the push information includes multiple push messages, and the first control module can be specifically used to: receive the viewing result returned by the target terminal, the viewing result including the viewing result of each push message in the multiple push messages; when it is determined according to the viewing result that the number of viewed messages in the multiple push messages is greater than a preset number, allow the target terminal to access the Internet through the wireless hotspot.
[0096] In some implementations, the information push device 400 may further include: a traffic determination module and a second control module. The traffic determination module is used to determine the available traffic of the target terminal according to the processing result of the push information by the target terminal; the second control module is used to prohibit the target terminal from surfing the Internet through the wireless hotspot when the traffic consumed by the target terminal using the wireless hotspot is equal to the available traffic.
[0097] In this embodiment, the processing result includes: the viewing completion of viewing the push information. The flow determination module can be specifically used to: obtain the target flow corresponding to the viewing completion according to the preset correspondence between the completion and the available flow, and use the target flow as the available flow of the target terminal.
[0098] In some embodiments, the information push device 400 may further include: an identification acquisition module. The identification acquisition module is used to acquire the device identification of the target terminal before generating the push information according to the environmental information. The information generation module 420 may be specifically used to generate the push information according to the environmental information when the device identification is not in the preset device whitelist.
[0099] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0100] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0101] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0102] To summarize, the solution provided by the present application is that the electronic device obtains the current environmental information when the target terminal is connected to the wireless hotspot of the electronic device, generates push information based on the obtained environmental information, and then pushes the push information to the target terminal. This allows the electronic device to push relevant information to the terminal in combination with the environmental information when sharing the hotspot, so that the target terminal can obtain push information related to the current environment for display when connecting to the hotspot of the electronic device, thereby improving the processing effect of the electronic device when sharing the hotspot.
[0103] Please refer to Figure 7 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, a smart watch, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0104] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0105] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0106] Please refer to Figure 8 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0107] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.
[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An information push method, characterized in that: Applied to electronic equipment, the method comprises: When the target terminal is connected to the wireless hotspot of the electronic device, current environmental information is obtained, the environmental information including the current location information of the electronic device, the current weather information, the current date, and hot news information of the current location; If the target terminal has been connected to the wireless hotspot of the electronic device, obtaining the historical results of checking the push information pushed to the electronic device when the target terminal has been historically connected to the wireless hotspot of the electronic device; According to the historical viewing result corresponding to the target terminal, a first target type that meets a preset viewing condition is obtained from multiple types of push information, wherein the preset viewing condition includes at least one of: a viewing number greater than a preset number and a viewing duration greater than a specified duration; If the target terminal has not been connected to the wireless hotspot of the electronic device, determining a first target type that meets the preset viewing condition from the multiple types according to the historical viewing results corresponding to other terminals, wherein the number of times the other terminals have connected to the wireless hotspot is greater than the target number of times, or the connection frequency of the other terminals to the wireless hotspot is greater than the preset frequency; Determining whether the number of types corresponding to the first target type is greater than a specified number; When the number of types corresponding to the first target type is less than or equal to the specified number, a second target type of the target number is selected from other types, wherein the total number of the target number and the number of types is greater than the specified number, the heat value of the second target type satisfies a preset heat value condition, and the other types are types other than the first target type among the multiple types; Generate push information of the first target type and the second target type according to the environmental information; Pushing the push information to the target terminal; When it is detected that the target terminal has completed the specified processing of the push information, the target terminal is allowed to access the Internet through the wireless hotspot. The specified processing includes browsing the push information for a time period greater than a preset time period, or the number of pushed information viewed is greater than a preset number.
2. The method according to claim 1, characterized in that The method further comprises: When the number of types corresponding to the first target type is greater than the specified number, push information of the first target type is generated according to the environment information.
3. The method according to claim 1, characterized in that When it is detected that the target terminal completes the specified processing of the push information, allowing the target terminal to access the Internet through the wireless hotspot includes: receiving a browsing duration returned by the target terminal, wherein the browsing duration includes a duration for browsing the pushed information; When the browsing time is longer than a preset time, the target terminal is allowed to access the Internet through the wireless hotspot.
4. The method according to claim 1, characterized in that: The push information includes a plurality of push information, and when it is detected that the target terminal completes the specified processing of the push information, allowing the target terminal to access the Internet through the wireless hotspot includes: receiving a viewing result returned by the target terminal, wherein the viewing result includes a viewing result of each of the plurality of push messages; When it is determined according to the viewing result that the number of the multiple push messages that have been viewed is greater than a preset number, the target terminal is allowed to access the Internet through the wireless hotspot.
5. The method according to any one of claims 1 to 4, characterized in that: After pushing the push information to the target terminal, the method further includes: Determining the available flow of the target terminal according to the processing result of the push information by the target terminal; When the traffic consumed by the target terminal using the wireless hotspot is equal to the available traffic, the target terminal is prohibited from accessing the Internet through the wireless hotspot.
6. The method according to claim 5, characterized in that The processing result includes: a degree of completion of viewing the push information; and determining the available flow of the target terminal according to the processing result of the push information by the target terminal includes: According to a preset correspondence between the completion degree and the available flow, a target flow corresponding to the viewing completion degree is obtained, and the target flow is used as the available flow of the target terminal.
7. An information push device, characterized in that: Applied to electronic equipment, the device comprises: an information acquisition module, an information generation module, a push execution module and a first control module, wherein: The information acquisition module is used to acquire current environmental information when the target terminal is connected to the wireless hotspot of the electronic device, wherein the environmental information includes the current location information of the electronic device, the current weather information, the current date, and the hot news information of the current location; The information generation module is used to obtain the historical viewing results of the push information pushed to the electronic device when the target terminal has been connected to the wireless hotspot of the electronic device; obtain the first target type that meets the preset viewing condition from multiple types of push information according to the historical viewing results corresponding to the target terminal, and the preset viewing condition includes: at least one of the number of views greater than the preset number and the viewing time greater than the specified time; if the target terminal has not been connected to the wireless hotspot of the electronic device, determine the first target type that meets the preset viewing condition from the multiple types according to the historical viewing results corresponding to other terminals, wherein the The number of times other terminals connect to the wireless hotspot is greater than the target number, or the connection frequency of the other terminals connecting to the wireless hotspot is greater than the preset frequency; determining whether the number of types corresponding to the first target type is greater than the specified number; when the number of types corresponding to the first target type is less than or equal to the specified number, selecting a second target type with a target number from other types, wherein the total number of the target number and the number of types is greater than the specified number, the heat value of the second target type meets the preset heat value condition, and the other type is a type other than the first target type among the multiple types; generating push information of the first target type and the second target type according to the environmental information; The push execution module is used to push the push information to the target terminal; The first control module is used to allow the target terminal to access the Internet through the wireless hotspot when it is detected that the target terminal has completed specified processing on the push information, and the specified processing includes browsing the push information for a time period greater than a preset time period, or the number of push information viewed is greater than a preset number.
8. An electronic device, characterized in that: include: one or more processors; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Internet access method used for mobile terminal and free internet-access system
CN103369515A
Message push method and device
CN106792592A
Method and device for audio / video pushing, apparatus and storage medium
CN107832437A
