CN111784412A - Information push method, device, electronic device and storage medium - Google Patents
Information push method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN111784412A CN111784412A CN202010682878.3A CN202010682878A CN111784412A CN 111784412 A CN111784412 A CN 111784412A CN 202010682878 A CN202010682878 A CN 202010682878A CN 111784412 A CN111784412 A CN 111784412A
- Authority
- CN
- China
- Prior art keywords
- information
- push
- target terminal
- push information
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000012545 processing Methods 0.000 claims abstract description 34
- 230000007613 environmental effect Effects 0.000 claims abstract description 18
- 230000000694 effects Effects 0.000 abstract description 16
- 230000000875 corresponding effect Effects 0.000 description 43
- 230000008569 process Effects 0.000 description 10
- 230000004913 activation Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000037072 sun protection Effects 0.000 description 1
- 230000029305 taxis Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0251—Targeted advertisements
- G06Q30/0252—Targeted advertisements based on events or environment, e.g. weather or festivals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0251—Targeted advertisements
- G06Q30/0261—Targeted advertisements based on user location
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0251—Targeted advertisements
- G06Q30/0269—Targeted advertisements based on user profile or attribute
- G06Q30/0271—Personalized advertisement
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0277—Online advertisement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子设备技术领域,更具体地,涉及一种信息推送方法、装置、电子设备及存储介质。The present application relates to the technical field of electronic devices, and more particularly, to an information push method, apparatus, electronic device, and storage medium.
背景技术Background technique
随着科技水平和生活水平的快速进步,电子设备(例如智能手机、平板电脑等)已经成为人们日常生活中最常用的消费型电子产品之一。目前的电子设备可以提供无线热点供其他终端进行上网,但电子设备在分享热点时的处理方式较为单一,效果不佳。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. The current electronic device can provide a wireless hotspot for other terminals to access the Internet, but the electronic device has a relatively simple processing method when sharing the hotspot, and the effect is not good.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本申请提出了一种信息推送方法、装置、电子设备及存储介质。In view of the above problems, the present application proposes an information push method, device, electronic device and storage medium.
第一方面,本申请实施例提供了一种信息推送方法,应用于电子设备,所述方法包括:当目标终端连接所述电子设备的无线热点时,获取当前的环境信息;根据所述环境信息,生成推送信息;将所述推送信息推送至所述目标终端。In a first aspect, an embodiment of the present application provides an information push method, which is applied to an electronic device. The method includes: when a target terminal is connected to a wireless hotspot of the electronic device, acquiring current environmental information; according to the environmental information , generate push information; push the push information to the target terminal.
第二方面,本申请实施例提供了一种信息推送装置,应用于电子设备,所述装置包括:信息获取模块、信息生成模块以及推送执行模块,其中,所述信息获取模块用于当目标终端连接所述电子设备的无线热点时,获取当前的环境信息;所述信息生成模块用于根据所述环境信息,生成推送信息;所述推送执行模块用于将所述推送信息推送至所述目标终端。In a second aspect, an embodiment of the present application provides an information push apparatus, which is applied to an electronic device, and the apparatus includes: an information acquisition module, an information generation module, and a push execution module, wherein the information acquisition module is used to act as a target terminal When the wireless hotspot of the electronic device is connected, the current environment information is obtained; the information generation module is used to generate push information according to the environment information; the push execution module is used to push the push information to the target terminal.
第三方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述第一方面提供的信息推送方法。In a third aspect, embodiments of the present application provide an electronic device, comprising: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and The one or more programs are configured to be executed by the one or more processors, and the one or more programs are configured to execute the information pushing method provided by the first aspect.
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的信息推送方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the information provided in the first aspect above push method.
本申请提供的方案,电子设备通过在目标终端连接电子设备的无线热点时,获取当前的环境信息,根据获取的环境信息,生成推送信息,然后将推送信息推送至目标终端,从而可以实现电子设备在分享热点时,结合环境信息向该终端推送相关信息,使目标终端在连接电子设备的热点时,能够获得与当前环境相关的推送信息进行展示,提升电子设备在分享热点时的处理效果。In the solution provided by the present application, 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, thereby realizing the electronic device When sharing hotspots, relevant information is pushed to the terminal in combination with environmental 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.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了根据本申请一个实施例的信息推送方法流程图。FIG. 1 shows a flowchart of a method for pushing information according to an embodiment of the present application.
图2示出了根据本申请另一个实施例的信息推送方法流程图。Fig. 2 shows a flowchart of a method for pushing information according to another embodiment of the present application.
图3示出了根据本申请又一个实施例的信息推送方法流程图。FIG. 3 shows a flowchart of a method for pushing information according to yet another embodiment of the present application.
图4示出了本申请实施例提供的信息推送方法中步骤S340的一种流程图。FIG. 4 shows a flowchart of step S340 in the information push method provided by the embodiment of the present application.
图5示出了本申请实施例提供的信息推送方法中步骤S340的另一种流程图。FIG. 5 shows another flowchart of step S340 in the information push method provided by the embodiment of the present application.
图6示出了根据本申请一个实施例的信息推送装置的一种框图。Fig. 6 shows a block diagram of an information pushing apparatus according to an embodiment of the present application.
图7是本申请实施例的用于执行根据本申请实施例的信息推送方法的电子设备的框图。FIG. 7 is a block diagram of an electronic device for executing the information push method according to the embodiment of the present application according to the embodiment of the present application.
图8是本申请实施例的用于保存或者携带实现根据本申请实施例的信息推送方法的程序代码的存储单元。FIG. 8 is a storage unit for storing or carrying a program code for implementing the information pushing method according to the embodiment of the present application according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
人们在使用电子设备时,通常会存在向周围的用户分享无线热点的情况。例如,当用户与亲朋好友外出时,如果朋友的电子设备信号不佳、或者免费的数据流量不足时,可能会打开自己的电子设备的个人热点,以分享给朋友,让朋友的电子设备可以使用分享的个人热点进行上网。When people use electronic devices, they usually share wireless hotspots with surrounding users. For example, when a user goes out with relatives and friends, if the signal of the friend's electronic device is poor or the free data traffic is insufficient, the user may turn on the personal hotspot of his own electronic device to share with his friends, so that the friend's electronic device can be used. Shared personal hotspot for Internet access.
其中,电子设备在分享无线热点时,通常会向连接无线热点的设备提供免费流量以供设备上网。电子设备在提供无线热点时,通常是根据用户在无线热点的配置界面的操作,对无线热点的名称、密码等进行配置之后,由其他终端进行连接时的密码配对,在配对完成之后,其他终端即可使用连接的无线热点进行上网。但是,电子设备的这种处理方式,较为的单一,用户在使用无线热点的过程中的体验不佳。Among them, when the electronic device shares the wireless hotspot, it usually provides free data traffic to the device connected to the wireless hotspot for the device to surf the Internet. When an electronic device provides a wireless hotspot, it usually configures the name, password, etc. of the wireless hotspot according to the user's operation on the configuration interface of the wireless hotspot, and then uses the password paired by other terminals when connecting. You can use the connected wireless hotspot to surf the Internet. However, this processing method of the electronic device is relatively simple, and the user has a poor experience in the process of using the wireless hotspot.
针对上述问题,发明人提出了本申请实施例提供的信息推送方法、装置、电子设备以及存储介质,可以实现电子设备在分享热点时,结合环境信息向该终端推送相关信息,使目标终端在连接电子设备的热点时,能够获得与当前环境相关的推送信息进行展示,提升电子设备在分享热点时的处理效果,进而提升用户体验。其中,具体的信息推送方法在后续的实施例中进行详细的说明。In view of the above problems, the inventor proposes the information push method, device, electronic device and storage medium provided by the embodiments of the present application, which can realize that when the electronic device shares the hotspot, the relevant information is pushed to the terminal in combination with the environmental information, so that the target terminal is connected to the terminal. When the electronic device is a hotspot, push information related to the current environment can be obtained for display, which improves the processing effect of the electronic device when sharing the hotspot, thereby improving the user experience. The specific information pushing method will be described in detail in the following embodiments.
请参阅图1,图1示出了本申请一个实施例提供的信息推送方法的流程示意图。在具体的实施例中,所述信息推送方法应用于如图6所示的信息推送装置400以及配置有所述信息推送装置400的电子设备100(图7)。下面将以电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的电子设备可以为智能手机、平板电脑、智能手表等,在此不做限定。下面将针对图1所示的流程进行详细的阐述,所述信息推送方法具体可以包括以下步骤:Please refer to FIG. 1. FIG. 1 shows a schematic flowchart of an information push method provided by an embodiment of the present application. In a specific embodiment, the information pushing method is applied to the information pushing apparatus 400 shown in FIG. 6 and the electronic device 100 ( FIG. 7 ) configured with the information pushing apparatus 400 . The following will take an electronic device as an example to describe the specific process of this embodiment. Of course, it can be understood that the electronic device applied in this embodiment may be a smart phone, a tablet computer, a smart watch, etc., which is not limited here. The process shown in FIG. 1 will be described in detail below, and the information push method may specifically include the following steps:
步骤S110:当目标终端连接所述电子设备的无线热点时,获取当前的环境信息。Step S110: When the target terminal is connected to the wireless hotspot of the electronic device, obtain current environment information.
在本申请实施例中,电子设备可以开启无线热点,以分享无线热点至其他终端,供其他终端在搜索并接入到该无线热点后,进行上网。其中,电子设备在检测到目标终端连接电子设备开启的无线热点时,可以获取当前的环境信息。其中,当前的环境信息可以为该电子设备当前所处环境的信息。In this embodiment of the present application, the electronic device can enable a wireless hotspot to share the wireless hotspot with other terminals, so that other terminals can access the Internet after searching for and accessing the wireless hotspot. The electronic device may acquire current environment information when detecting that the target terminal is connected to a wireless hotspot opened by the electronic device. Wherein, the current environment information may be information of the current environment where the electronic device is located.
在一些实施方式中,环境信息可以包括但不限于:电子设备当前所处的位置信息、当前的天气信息、当前的日期以及电子设备当前所处位置的热点新闻信息。其中,电子设备当前所处的位置信息可以通过电子设备中设置的定位模块获取,例如,通过全球定位系统(GPS,Global Positioning System)获取;当前的天气信息可以通过从天气服务平台的服务器获取;当前的日期可以由电子设备的系统时间确定;当前所处位置的热点新闻信息可以从新闻服务平台的服务器获取。当然,以上环境信息的获取方式并不作为限定。In some embodiments, the environmental information may include, but is not limited to: current location information of the electronic device, current weather information, current date, and hot news information about the current location of the electronic device. Wherein, the current location information of the electronic device can be obtained through a positioning module set in the electronic device, for example, obtained through a global positioning system (GPS, Global Positioning System); the current weather information can be obtained from the server of the weather service platform; The current date can be determined by the system time of the electronic device; the hot news information of the current location can be obtained from the server of the news service platform. Of course, the manner of obtaining the above environmental information is not limited.
在一些实施方式中,电子设备可以对用于指示开启热点的指令进行检测,并在检测到用于指示开启热点的指令时,开启无线热点,以供其他终端使用无线热点。该用于指示开启热点的指令可以是用户对电子设备的显示界面上的无线热点的图标进行触控操作生成,也可以是用户输入指示开启热点的语音生成,在此不做限定。作为一种方式,该指令可以为热点启动指令,电子设备在接收到热点启动指令后,可以响应于热点启动指令,启动电子设备的无线热点。具体地,电子设备可以检测是否接收到热点启动指令并获得检测结果,如果检测结果表征接收到热点启动指令时,可以响应于该热点启动指令,启动电子设备的热点,以供目标设备搜索发现该电子设备的热点。In some embodiments, the electronic device may detect an instruction for instructing to turn on the hotspot, and upon detecting the instruction for instructing to turn on the hotspot, turn on the wireless hotspot for other terminals to use the wireless hotspot. The instruction for instructing to turn on the hotspot may be generated by the user's touch operation on the icon of the wireless hotspot on the display interface of the electronic device, or may be generated by the user's input of voice to instruct to turn on the hotspot, which is not limited herein. In one way, the instruction may be a hotspot activation instruction, and after receiving the hotspot activation instruction, the electronic device may activate the wireless hotspot of the electronic device in response to the hotspot activation instruction. Specifically, the electronic device can detect whether a hotspot activation instruction is received and obtain the detection result. If the detection result indicates that the hotspot activation instruction is received, the electronic device can activate the hotspot of the electronic device in response to the hotspot activation instruction, so that the target device can search and discover the hotspot activation instruction. Hotspots for electronic devices.
在一些实施方式中,电子设备可以显示有热点开关控件,该热点开关控件用于基于目标操作启动电子设备的热点或关闭电子设备的无线热点。其中,目标操作可以包括大面积按压、持续长按、持续超长按、双指长按、单指点击、多指连续点击等,其中,大面积按压是指作用于热点开关控件上的按压面积超过预设面积,持续长按是指作用于热点开关控件上的连续按压时长超过预设时长,持续超长按是指作用于热点开关控件上的按压时长超过预设超长时长,双指长按是指作用于热点开关控件上的双指同时按压时长超过预设时长,单指点击是指作用于热电开关控件上的单指单次点击,多指连续连接是指作用于热点开关控件上的连续点击的次数超过预设次数。作为一种可选的实施方式,当电子设备检测到对该热点开关的按压操作,并且按压时长超过预设时长时,控制无线热点开启;在无线热点开启时,如果检测到对该热点开关的按压操作,并且按压时长超过预设时长时,控制无线热点关闭。In some embodiments, the electronic device may display a hotspot switch control for enabling a hotspot of the electronic device or turning off a wireless hotspot of the electronic device based on a target operation. Among them, the target operation may include large area pressing, continuous long pressing, continuous super long pressing, two-finger long pressing, single-finger click, multi-finger continuous click, etc., wherein, large-area pressing refers to the pressing area acting on the hotspot switch control Exceeding the preset area, continuous long press means that the duration of continuous pressing on the hotspot switch control exceeds the preset duration, and continuous super-long pressing means that the pressing duration on the hotspot switch control exceeds the preset superlong duration, two fingers are long. Press means that the two-finger pressing on the hotspot switch control at the same time exceeds the preset time, single-finger click means a single-finger single click acting on the thermoelectric switch control, and multi-finger continuous connection means acting on the hotspot switch control The number of consecutive clicks exceeds the preset number of times. As an optional implementation manner, when the electronic device detects the pressing operation of the hotspot switch, and the pressing time exceeds the preset time, it controls the wireless hotspot to be turned on; when the wireless hotspot is turned on, if it detects that the hotspot switch is pressed Press the operation, and when the pressing time exceeds the preset time, control the wireless hotspot to turn off.
步骤S120:根据所述环境信息,生成推送信息。Step S120: Generate push information according to the environment information.
在本申请实施例中,电子设备在获取到当前的环境信息之后,则可以根据环境信息,生成需要推送至该目标终端的推送信息。In this embodiment of the present application, after acquiring the current environment information, the electronic device may generate push information that needs to be pushed to the target terminal according to the environment information.
在一些实施方式中,电子设备可以结合环境信息中电子设备当前所处的位置、当前的天气信息、当前的日期以及当前所处的位置的热点新闻,来生成推送信息。其中,推送信息可以包括多种类型的推送信息。In some embodiments, the electronic device may generate push information by combining 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 various types of push information.
作为一种实施方式,电子设备可以根据环境信息中不同类型的信息,分布生成不同类型的推送信息。具体地,根据电子设备当前所处的位置可以生成商业推荐信息,例如,如果当前所处的位置存在电影院,可以生成电影院、上映电影的推送信息;根据当前的天气信息,可以生成出行推荐的推送信息,例如,在当前的天气为雨天时,可以生成佩戴雨伞的推送信息,又例如,在当前的天气为晴天且紫外线强度大于设定强度,可以生成提示防晒的推送信息;根据当前的日期,可以推送与日期相关的推送信息,例如,可以根据当前日期为工作日,推送与工作相关的信息,又例如,根据当前日期为非工作日,可以推送景点信息、商业活动信息等;根据当前所处的位置的热点新闻,可以生成新闻推送信息,例如,可以生成周边的突发新闻等。当然,以上根据环境信息中各个类型的信息,所生成的相应类型的推送信息仅为举例,并不代表对实际的推送信息的限定。As an implementation manner, the electronic device may distribute and generate different types of push information according to different types of information in the environment information. Specifically, commercial recommendation information can be generated according to the current location of the electronic device. For example, if there is a movie theater at the current location, push information about movie theaters and movies can be generated; according to current weather information, a push of travel recommendation can be generated. information, for example, when the current weather is rainy, a push message for wearing an umbrella can be generated, and for example, when the current weather is sunny and the UV intensity is greater than the set intensity, a push message indicating sun protection can be generated; according to the current date, Date-related push information can be pushed. For example, work-related information can be pushed according to the current date being a working day. For example, scenic spot information, business activity information, etc. can be pushed according to the current date being a non-working day. The hot news of the location at the location can generate news push information, for example, the surrounding breaking news can be generated. Of course, the above-mentioned corresponding types of push information generated according to various types of information in the environment information are only examples, and do not represent limitations on the actual push information.
作为一种实施方式,电子设备也可以结合环境信息中不同类型的信息,来生成多种类型的推送信息。例如,电子设备中可以预先存储有家庭地位置、工作地位置等常用位置,电子设备根据当前的位置,确定当前位置处于家庭地位置时,此时可能是其他用户来做客,而在离家时可能需要连接电子设备的无线热点,以进行打车等服务,此时,电子设备可以根据当前天气信息,生成出行推荐的推送信息;电子设备根据当前的位置,确定当前位置处于工作地位置时,此时可能是同事需要连接无线热点,而在工作场景中,为其他用户开启热点,则可能是其他用户需要通过联网呼叫外卖、预约聚餐位置等,则电子设备可以根据当前位置附近的餐饮商业信息,生成外卖、饭店等商业推送信息;电子设备根据当前的位置,确定当前位置既不处于家庭地位置,也不处于工作地位置时,则表示用户不处于常用地的位置,此时用户可能处于户外出行,此时结合日期信息,确定为非工作日时,则可以为用户推送商业信息,例如,电影院、超市等信息,另外,用户处于户外出行时,获取的环境信息中还可以包括出行方式等,如果用户为自驾出行,推送的商业信息中还可以包括酒店、加油站等信息。当然,以上结合环境信息中不同类型的信息生成推送信息方式仅为举例,并不代表对对实际的推送信息的限定。As an implementation manner, the electronic device may also combine different types of information in the environment information to generate multiple types of push information. For example, common locations such as home location and work location may be pre-stored in the electronic device. When the electronic device determines that the current location is at the home location based on the current location, other users may be visiting at this time, and when leaving home It may be necessary to connect to the wireless hotspot of the electronic device for services such as taxis. At this time, the electronic device can generate travel recommendation push information according to the current weather information; when the electronic device determines that the current location is at the work place according to the current location, this When a colleague needs to connect to a wireless hotspot, in a work scenario, if the hotspot is turned on for other users, it may be that other users need to call for takeout, reserve a place for a dinner party, etc. through the Internet. Generate commercial push information such as takeaways and restaurants; when the electronic device determines that the current location is neither at home nor at work according to the current location, it means that the user is not at the commonly used location, and the user may be outdoors. When traveling, when it is determined to be a non-working day based on the date information, commercial information can be pushed to the user, such as movie theaters, supermarkets, etc. In addition, when the user is traveling outdoors, the obtained environmental information can also include travel methods, etc. , if the user travels by car, the pushed business information can also include information such as hotels and gas stations. Of course, the above manner of generating the push information in combination with different types of information in the environment information is only an example, and does not represent a limitation on the actual push information.
在一些实施方式中,电子设备在根据环境信息,生成推送信息时,还可以确定电子设备中是否记录有目标终端对应的用户的身份信息,在电子设备记录有目标终端对应的用户的身份信息时,电子设备可以根据该身份信息,获取目标终端对应的用户画像,然后根据环境信息以及用户画像,来生成与该用户匹配的推送信息,从而可以提升推送至目标终端的推送信息的接受度。可以理解地,电子设备在历史开启热点时,可以对连接过无线热点的终端进行记录,并且可以提示用户添加这些终端的用户信息,根据用户信息,电子设备可以从用户画像的服务器获取与用户信息对应的用户画像,从而可以用于推送信息的生成。In some embodiments, when generating push information according to the environment information, the electronic device may also determine whether the electronic device records the identity information of the user corresponding to the target terminal, and when the electronic device records the identity information of the user corresponding to the target terminal , the electronic device can obtain the user portrait corresponding to the target terminal according to the identity information, and then generate push information matching the user according to the environment information and the user portrait, so as to improve the acceptance of the push information pushed to the target terminal. It is understandable that when the electronic device opens the hotspot in the history, it can record the terminals connected to the wireless hotspot, and can prompt the user to add the user information of these terminals. According to the user information, the electronic device can obtain the user information from the server of the user portrait. The corresponding user portrait can be used to generate push information.
在一些实施方式中,电子设备需要生成的推送信息的类型,也可以由用户预先配置,也就是说,推送何种类型的信息可以由用户决定。在一些场景中,可以通过向其他用户推送相应的类型的信息,换取相应的奖励,例如,在推送商业推送信息至其他终端时,可以获得商业推送信息中的商家的优惠券、积分等,又例如,推送热点新闻信息,可以获得相关新闻应用的积分等,还例如,推送出行推荐信息,假如出行推荐信息中包括有出行方式(打车方式),还可以获得打车平台的优惠券等。在这样的场景下,用户根据自己的不同需求,可以设定不同类型的推送信息,以从相关平台获取需求的奖励。In some embodiments, the type of push information to be generated by the electronic device may also be pre-configured by the user, that is, the type of information to be pushed may be determined by the user. In some scenarios, you can push corresponding types of information to other users in exchange for corresponding rewards. For example, when pushing commercial push information to other terminals, you can obtain coupons, points, etc. of the merchants in the commercial push information. For example, by pushing hot news information, you can get points for related news applications, etc., and, for example, by pushing travel recommendation information, if the travel recommendation information includes travel mode (taxi mode), you can also get coupons for the taxi platform, etc. In such a scenario, users can set different types of push information according to their different needs, so as to obtain the required rewards from the relevant platforms.
步骤S130:将所述推送信息推送至所述目标终端。Step S130: Push the push information to the target terminal.
在本申请实施例中,电子设备在生成推送信息之后,则可以将推送信息推送至目标终端,目标终端在接收到推送信息之后,可以将推送信息进行显示,从而完成分享无线热点时,对与环境信息相关的推送信息的推送。In this embodiment of the present application, after the electronic device generates the push information, it can push the push information to the target terminal, and after receiving the push information, the target terminal can display the push information, so that when the wireless hotspot is shared, the target terminal can display the push information. Pushing of push information related to environmental information.
本申请实施例提供的信息推送方法,电子设备通过在目标终端连接电子设备的无线热点时,获取当前的环境信息,根据获取的环境信息,生成推送信息,然后将推送信息推送至目标终端,从而可以实现电子设备在分享热点时,结合环境信息向该终端推送相关信息,使目标终端在连接电子设备的热点时,能够获得与当前环境相关的推送信息进行展示,提升电子设备在分享热点时的处理效果。另外,由于电子设备是根据当前的环境信息来生成推送信息,也使得推送信息的接受度增加,提升了热点连接时的推送信息的推送效果。In the information push method provided by the embodiments of the present application, 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, thereby When the electronic device shares the hotspot, it can push relevant information to the terminal in combination with the environmental information, so that the target terminal can obtain the push information related to the current environment for display when connecting to the hotspot of the electronic device, and improve the electronic device's ability to share the hotspot. processing effect. 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.
请参阅图2,图2示出了本申请另一个实施例提供的信息推送方法的流程示意图。该信息推送方法应用于上述电子设备,下面将针对图2所示的流程进行详细的阐述,所述信息推送方法具体可以包括以下步骤:Referring to FIG. 2, FIG. 2 shows a schematic flowchart of an information push method provided by another embodiment of the present application. The information push method is applied to the above-mentioned electronic equipment. The following will describe the process shown in FIG. 2 in detail. The information push method may specifically include the following steps:
步骤S210:当目标终端连接所述电子设备的无线热点时,获取当前的环境信息。Step S210: When the target terminal is connected to the wireless hotspot of the electronic device, obtain current environment information.
在本申请实施例中,步骤S210可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, for step S210, reference may be made to the content of the foregoing embodiments, and details are not described herein again.
步骤S220:获取所述目标终端历史连接所述电子设备的无线热点时,对所述电子设备推送的推送信息的历史查看结果。Step S220: Obtain a historical viewing result of the push information pushed by the electronic device when the target terminal has historically connected to the wireless hotspot of the electronic device.
在本申请实施例中,电子设备根据环境信息可生成的推送信息中可以包括多种类型的推送信息,例如,商业推荐、出行推荐、新闻推荐等。由于不同的用户,可能存在不同的兴趣爱好,因此电子设备根据环境信息,生成推送信息之前,还可以确定需要推送的推送信息的类型。In this embodiment of the present application, the push information that can be generated by the electronic device according to the environment information may include various types of push information, for example, business recommendation, travel recommendation, news recommendation, and the like. Since different users may have different interests and hobbies, the electronic device may also determine the type of push information that needs to be pushed before generating the push information according to the environment information.
在本申请实施例中,电子设备可以获取该目标终端历史连接的该电子设备的无线热点时,对历史推送的推送信息的历史查看结果。从而,可以根据历史查看结果,确定符合该目标终端对应的用户的兴趣爱好的推送信息的类型。In this embodiment of the present application, the electronic device may obtain the historical viewing result of the historically pushed push information when the target terminal is historically connected to the wireless hotspot of the electronic device. Therefore, the type of push information that conforms to the interests and hobbies of the user corresponding to the target terminal can be determined according to the historical viewing result.
在一些实施方式中,历史查看结果可以包括:对各个类型的推送信息的查看次数、对各个类型的推送信息的查看时长等,在此不做限定。可以理解地,对历史推送信息的查看结果,可以一定程度上反映用户对推送信息的兴趣,因此基于历史查看结果,可以确定符合该目标终端对应的用户的兴趣爱好的推送信息的类型。In some embodiments, the historical viewing result may include: the number of times of viewing each type of push information, the viewing duration of each type of push information, etc., which are not limited herein. Understandably, the viewing result of the historical push information can reflect the user's interest in the push information to a certain extent. Therefore, based on the historical viewing result, the type of the push information that matches the user's hobby corresponding to the target terminal can be determined.
在一些实施方式中,电子设备可以记录并存储有所有已接入过其分享的无线热点的终端的标识信息,因此,电子设备可以获取目标终端的标识信息,该标识信息可以为用于标识该目标设备的身份的信息,例如MAC地址等,在获取目标终端的标识信息后,可以将目标终端的标识信息和电子设备存储的所有已接入过其分享的无线热点的终端的标识信息进行比较,以判断目标设备是否已接入过电子设备的无线热点。其中,当比较结果表征目标终端的标识信息和所有已接入过其分享的无线热点的终端的标识信息中的任意一个设备的标识信息匹配时,可以确定目标终端已接入过电子设备的无线热点,当比较结果表征目标终端的标识信息和所有已接入过其分享的无线热点的设备的标识信息均不相同时,可以确定目标终端没有接入过电子设备的无线热点。In some embodiments, the electronic device may record and store the identification information of all terminals that have accessed the wireless hotspot shared by the electronic device. Therefore, the electronic device may acquire the identification information of the target terminal, and the identification information may be used to identify the terminal. The identity information of the target device, such as the 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 the terminals stored in the electronic device that have accessed the wireless hotspot shared by the target terminal. to determine whether the target device has been connected to the wireless hotspot of the electronic device. Wherein, when the comparison result indicates that the identification information of the target terminal matches the identification information of any device in the identification information of all the terminals that have accessed the wireless hotspot shared by the target terminal, it can be determined that the target terminal has accessed the wireless hotspot of the electronic device. Hotspot, when the comparison result indicates that the identification information of the target terminal is different from the identification information of all devices that have accessed the shared wireless hotspot, it can be determined that the target terminal has not accessed the wireless hotspot of the electronic device.
在一些实施方式中,电子设备可以记录所有已接入过其分享的无线热点的终端的标识信息,并将所有已接入过其分享的无线热点的终端的标识信息按接入时间段的不同分别存储,例如,将近一周时间段内接入过其分享的无线热点的设备标识信息存储在一起,将近一周到近两周时间段内接入过期分享的无线热点的设备标识信息存储在一起,将近两周到近三周时间段内接入过期分享的无线热点的设备标识信息存储在一起等。因此,在获取目标终端的标识信息后,可以将目标终端的标识信息和电子设备存储的在指定时间段内接入过其分享的无线热点的终端的标识信息进行比较,以判断目标终端是否已接入过电子设备的无线热点,例如,可以将目标终端的标识信息和电子设备存储的近一周时间段内接入过期分享的无线热点的终端的标识信息进行比较,其中,当比较结果表征目标终端的标识信息和电子设备在指定时间段内接入过其分享的无线热点的终端的标识信息中的任意一个终端的标识信息匹配时,可以确定目标终端已接入过电子设备的无线热点,当比较结果表征目标终端的标识信息和电子设备在指定时间段内接入过其分享的无线热点的终端的标识信息均不相同时,可以确定目标终端没有接入过电子设备的无线热点。In some embodiments, the electronic device may record the identification information of all terminals that have accessed the wireless hotspot shared by it, and record the identification information of all the terminals that have accessed the wireless hotspot shared by it according to the different access time periods Store them separately. For example, the device identification information that has accessed the wireless hotspot shared by them within a period of nearly one week is stored together, and the identification information of the devices that have accessed the wireless hotspot that has been shared over a period of nearly one to two weeks is stored together. The identification information of the devices accessing the expired shared wireless hotspots within a period of nearly two weeks to nearly three weeks is stored together, and the like. 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 terminal that has accessed the wireless hotspot shared by the electronic device within the specified time period, so as to determine whether the target terminal has The wireless hotspot that has accessed the electronic device, for example, the identification information of the target terminal can be compared with the identification information of the terminal that has accessed the expired and shared wireless hotspot within a period of nearly a week stored in the electronic device, wherein, when the comparison result represents the target When the identification information of the terminal matches the identification information of any terminal in the identification information of the terminal that the electronic device has accessed to 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 is different from the identification information of the terminal whose electronic device has accessed the shared wireless hotspot within the specified time period, it can be determined that the target terminal has not accessed the wireless hotspot of the electronic device.
另外,电子设备中还可以对连接过无线热点的终端,对推送信息的历史查看结果进行存储。从而在电子设备确定出目标终端已连接过该电子设备的无线热点时,可以从记录的历史查看结果中,获取该目标终端所对应的历史查看结果。In addition, the electronic device may also store the historical viewing result of the push information for the terminal that has been connected to the wireless hotspot. Therefore, when the electronic device determines that the target terminal has been connected to the wireless hotspot of the electronic device, the historical viewing result corresponding to the target terminal can be obtained from the recorded historical viewing results.
步骤S230:根据所述历史查看结果,从推送信息的多种类型中获取满足预设查看条件的第一目标类型。Step S230: Acquire a first target type that satisfies a preset viewing condition from multiple types of push information according to the historical viewing result.
在本申请实施例中,电子设备可以根据历史查看结果,可以确定推送信息中存在的多种类型中,满足预设查看条件的第一目标类型。其中,预设查看条件用于筛选与目标终端对应的用户对推送信息的查看习惯和爱好相匹配的类型。In this embodiment of the present application, the electronic device may determine, according to the historical viewing result, the first target type that satisfies the preset viewing condition among the multiple types existing in the push information. The preset viewing conditions are used to filter the types that match the viewing habits and hobbies of the push information of the user corresponding to the target terminal.
在一些实施方式中,预设查看条件可以包括:查看次数大于预设次数。其中,电子设备根据目标终端对应的历史查看结果,在确定出任一类型对应的推送信息被查看的次数大于预设次数时,则可以将该类型作为满足预设查看条件的第一目标类型;在不存在任意类型对应的推送信息被查看的次数大于预设次数,也就是说,每个类型对应的查看次数都小于或等于预设次数,此时则表示不存在满足预设查看条件的类型。In some embodiments, the preset viewing conditions may include: the number of viewing times is greater than the preset number of times. Wherein, when the electronic device determines that the number of times the push information corresponding to any type has been viewed is greater than the preset number of times according to the historical viewing results corresponding to the target terminal, the type can be used as the first target type that satisfies the preset viewing conditions; There is no push information corresponding to any type that has been viewed more than the preset number of times, that is, the number of viewing times corresponding to each type is less than or equal to the preset number of times. In this case, it means that there is no type that meets the preset viewing conditions.
在另一些实施方式中,预设查看条件可以包括:查看时长大于指定时长。其中,电子设备根据目标终端对应的历史查看结果,在确定出任一类型对应的推送信息被查看的总时长大于指定时长时,则可以将该类型作为满足预设查看条件的第一目标类型;在不存在任意类型对应的推送信息被查看的总时长大于指定时长,也就是说,每个类型对应的查看时长都小于或等于指定时长,此时则表示不存在满足预设查看条件的类型。In other embodiments, the preset viewing conditions may include: viewing duration is greater than a specified duration. Wherein, when the electronic device determines, according to the historical viewing results corresponding to the target terminal, that the total duration of viewing of the push information corresponding to any type is greater than the specified duration, the type may be used as the first target type that satisfies the preset viewing conditions; There is no push information corresponding to any type for which the total viewing duration is greater than the specified duration, that is, the viewing duration corresponding to each type is less than or equal to the specified duration. In this case, it means that there is no type that meets the preset viewing conditions.
可以理解地,根据预设查看条件筛选出的第一目标类型,可能为1个类型,也可能为多个类型,具体第一目标类型对应的数量根据实际情况而定。It is understandable 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 is determined according to the actual situation.
当然,具体地预设查看条件可以不做限定,例如,预设查看条件还可以为:根据查看时长或者查看次数从高到低的顺序,对各个类型进行排序之后,位于前N位的类型。Of course, the specific preset viewing conditions may not be limited. For example, the preset viewing conditions may also be: the types located in the top N after sorting each type according to viewing duration or viewing times in descending order.
在一些实施方式中,电子设备在确定出目标终端未连接过该电子设备的无线热点时,则可以根据其他终端对应的历史查看结果,确定满足预设查看条件的目标类型,然后后续生成该目标类型的推送信息。作为一种实施方式,电子设备可以根据对无线热点的连接次数超过预设次数的终端设备的历史查看结果,确定满足预设查看条件的目标类型,可以理解地,该终端设备对无线热点的连接次数大于预设次数,表示该终端设备连接的电子设备的无线热点的次数较多,而也表示该终端设备对应的用户对每次进行推送的推送信息的接受度也较好,因此可以选取该终端设备对应的历史查看结果,来确定满足预设查看条件的目标类型。作为另一种实施方式,电子设备也可以根据近期连接过无线热点的终端设备的历史查看结果,确定满足预设查看条件的目标类型。作为又一种实施方式,电子设备也可以根据连接频率大于预设频率的终端设备的历史查看结果,确定满足预设查看条件的目标类型。具体根据其他终端的历史查看结果,确定目标类型的方式可以不做限定。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 satisfies the preset viewing conditions according to the historical viewing results corresponding to other terminals, and then generate the target subsequently. Type of push information. As an embodiment, the electronic device may determine the target type that satisfies the preset viewing condition according to the historical viewing results of the terminal device whose number of connections to the wireless hotspot exceeds the preset number of times. If the number of times is greater than the preset number of times, it means that the number of times the wireless hotspot of the electronic device connected to the terminal device is high, and it also means that the user corresponding to the terminal device also has a good acceptance of the push information pushed each time, so you can select the The historical viewing result corresponding to the terminal device is used to determine the target type that meets the preset viewing conditions. As another implementation manner, the electronic device may also determine the target type that satisfies the preset viewing condition according to the historical viewing result of the terminal device that has recently connected to the wireless hotspot. As another embodiment, the electronic device may also determine the target type that satisfies the preset viewing condition according to the historical viewing result of the terminal device whose connection frequency is greater than the preset frequency. Specifically, according to the historical viewing results of other terminals, the method of determining the target type may not be limited.
步骤S240:根据所述环境信息,生成所述第一目标类型的推送信息。Step S240: Generate push information of the first target type according to the environment information.
在本申请实施例中,电子设备在确定出第一目标类型之后,则可以根据环境信息,生成第一目标类型的推送信息。由于第一目标类型,是根据目标终端对推送信息的历史查看结果确定,因此可以筛选出用户习惯查看的推送信息的类型,更加满足用户的需求、兴趣等,使推送至目标终端的推送信息的可接受度提升。In this embodiment of the present application, after determining the first target type, the electronic device may generate push information of the first target type according to the environment 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 filtered out, which can better meet the needs and interests of the user, and make the push information pushed to the target terminal more efficient. Increased acceptability.
在一些实施方式中,电子设备可能每次进行推送的信息的数量有一定要求,即可能需要推送一定数量的信息,而根据预设查看条件,有可能选取出的第一目标类型中的类型数量可能较少,因此不能满足该需求。因此,在所述根据所述环境信息,生成所述第一目标类型的推送信息之前,该信息推送方法还可以包括:确定所述第一目标类型对应的类型数量是否大于指定数量;在所述第一目标类型对应的类型数量大于所述指定数量时,根据所述环境信息,生成所述第一目标类型的推送信息。In some implementations, the electronic device may have certain requirements on the quantity of information to be pushed each time, that is, a certain amount of information may need to be pushed, and according to preset viewing conditions, the number of types in the first target type may be selected. Possibly less, so this need is not met. Therefore, before generating the push information of the first target type according to the environment information, the information push method may further 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, the push information of the first target type is generated according to the environment information.
可以理解地,电子设备可以对第一目标类型中的类型数量进行确定,然后将该类型数量与指定数量进行比较,如果该类型数量大于指定数量,则表示根据第一目标类型,生成第一目标类型的推送信息中,推送信息的数量可以满足推送的要求;如果该类型数量小于或等于指定数量,则表示根据第一目标类型,生成第一目标类型的推送信息中,推送信息的数量无法满足推送的要求。因此,当确定出第一目标类型对应的类型数量大于指定数量时,则可以根据环境信息,生成目标类型的推送信息。Understandably, 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, and if the number of types is greater than the specified number, it means that the first target is generated according to the first target type. In the push information of the type, the number of push information can meet the push requirements; if the number of the type is less than or equal to the specified number, it means that the push information of the first target type is generated according to the first target type, but the number of push information cannot be satisfied push request. Therefore, when it is determined that the number of types corresponding to the first target type is greater than the specified number, the push information of the target type can be generated according to the environment information.
另外,在确定出第一目标类型对应的类型数量小于或等于指定数量时,电子设备中还可以从其他类型中选取目标数量的第二目标类型,其中,目标数量与类型数量的总数量大于指定数量,其他类型为多种类型中除第一目标类型以外的类型,从而可以使得生成的推送信息能够满足推送的要求。另外,第二目标类型的热度值满足预设热度值条件,其中,热度为连接过电子设备的无线热点的终端对应的用户对历史推送信息的查看热度,预设热度值条件可以包括热度值大于预设热度值,从而可以使得除了选取出的满足用户对推送信息的查看习惯的类型以外,推送信息中的类型也可以包括热度较高的类型,使后续生成的推送信息的可接受度较高。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 may also select the second target type with the target number from other types, wherein the total number of the target number and the type number is greater than the specified number 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 satisfies the preset heat value condition, wherein the heat value 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 may include that the heat value is greater than or equal to Preset the popularity value, so that in addition to the selected type that satisfies the user's viewing habits of the push information, the type in the push information can also include the type with higher popularity, so that the subsequently generated push information is more acceptable .
步骤S250:将所述推送信息推送至所述目标终端。Step S250: Push the push information to the target terminal.
在本申请实施例中,步骤S250可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, for step S250, reference may be made to the content of the foregoing embodiments, and details are not described herein again.
本申请实施例提供的信息推送方法,电子设备通过在目标终端连接电子设备的无线热点时,获取当前的环境信息,然后获取该终端设备历史连接无线热点时,对推送信息的历史查看结果,根据历史查看结果,筛选满足预设查看条件的第一目标类型,然后根据获取的环境信息,生成第一目标类型的推送信息,然后将推送信息推送至目标终端,从而可以实现电子设备在分享热点时,结合环境信息向该终端推送相关信息,使目标终端在连接电子设备的热点时,能够获得与当前环境相关的推送信息进行展示,提升电子设备在分享热点时的处理效果。另外,由于电子设备是根据当前的环境信息来生成推送信息,也使得推送信息的接受度增加,提升了热点连接时的推送信息的推送效果。并且,生成的推送信息为第一目标类型的信息,而第一目标类型是根据用户历史查看推送信息的历史查看结果确定,从而可以使得推送信息能够符合该用户对推送信息的查看需求、习惯等,进一步地提升了推送信息的可接受度。In the information push method provided by the embodiment of the present application, 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 result of the push information when the terminal device is connected to the wireless hotspot in the past, according to Historical viewing results, screening the first target type that satisfies the preset viewing conditions, and then generating push information of the first target type according to the obtained environmental information, and then pushing the push information to the target terminal, so that the electronic device can share the hotspot when the electronic device is used. , push relevant information to the terminal in combination with the environment information, so that the target terminal can obtain the push information related to the current environment for display when connecting to the hotspot of the electronic device, 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, 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 of the push information, etc. , which further improves the acceptability of push information.
请参阅图3,图3示出了本申请又一个实施例提供的信息推送方法的流程示意图。该信息推送方法应用于上述电子设备,下面将针对图3所示的流程进行详细的阐述,所述信息推送方法具体可以包括以下步骤:Referring to FIG. 3, FIG. 3 shows a schematic flowchart of an information push method provided by another embodiment of the present application. The information push method is applied to the above-mentioned electronic equipment. The following will describe the process shown in FIG. 3 in detail. The information push method may specifically include the following steps:
步骤S310:当目标终端连接所述电子设备的无线热点时,获取当前的环境信息。Step S310: When the target terminal is connected to the wireless hotspot of the electronic device, obtain current environment information.
在本申请实施例中,步骤S310可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, for step S310, reference may be made to the content of the foregoing embodiments, and details are not described herein again.
步骤S320:根据所述环境信息,生成推送信息。Step S320: Generate push information according to the environment information.
在本申请实施例中,电子设备在根据环境信息,生成推送信息之前,还可以确定是否需要向该目标终端设备进行信息推送。具体地,电子设备中可以预先存储有预先设定的设备白名单,该设备白名单中可以包括无需在连接无线热点时进行信息推送的终端的设备标识。电子设备可以获取目标终端的设备标识,然后将该设备标识与设备白名单中的设备标识进行比较,如果目标终端的设备标识与设备白名单中任一设备标识匹配时,则表示该目标终端的设备标识处于预设白名单中,因此无需向该目标终端进行信息推送;如果目标终端的设备标识与设备白名单中任一设备标识均不匹配时,则表示该目标终端的设备标识不处于预设白名单中,因此需向该目标终端进行信息推送,进而电子设备根据环境信息生成推送信息。可以理解地,设备白名单可以用于用户设置无需推送信息的终端,处于设备白名单中的终端就无需进行推送信息的展示,从而满足用户的需求,例如,可以将家人的终端的设备标识添加于设备白名单,从而家人无需查看推送信息,避免推送信息给家人带来困扰。In this embodiment of the present application, before generating the push information according to the environment information, the electronic device may also determine whether to push the 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 device identifiers of terminals that do 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 target terminal's device identification The device identification 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. It is set in the 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 is understandable that the device whitelist can be used by the user to set terminals that do not need to push information, and the terminals in the device whitelist do not need to display the push information, so as to meet the needs of the user. For example, the device identification of the family's terminal can be added. It is based on the device whitelist, so that family members do not need to view the push information and avoid the push information causing trouble to the family.
步骤S330:将所述推送信息推送至所述目标终端。Step S330: Push the push information to the target terminal.
在本申请实施例中,步骤S330可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, for step S330, reference may be made to the content of the foregoing embodiments, and details are not described herein again.
步骤S340:在检测到所述目标终端对所述推送信息完成指定处理时,允许所述目标终端通过所述无线热点进行上网。Step S340: When it is detected that the target terminal has completed the specified processing of the push information, allow the target terminal to access the Internet through the wireless hotspot.
在本申请实施例中,电子设备在将推送信息推送至目标终端之后,还可以根据目标终端对推送信息的处理,允许或者阻止目标终端通过无线热点进行上网。其中,当检测到目标终端对推送信息完成指定处理时,则电子设备可以允许目标终端通过该电子设备的无线热点进行上网。In this embodiment of the present application, after the electronic device pushes the push information to the target terminal, the electronic device may also allow or prevent the target terminal from surfing the Internet through the wireless hotspot according to the processing of the push information by the target terminal. Wherein, when it is detected that the target terminal has completed the designated processing of the push information, the electronic device may allow the target terminal to access the Internet through the wireless hotspot of the electronic device.
在一些实施方式中,请参阅图4,步骤S340可以包括:In some embodiments, referring to FIG. 4 , step S340 may include:
步骤S341A:接收所述目标终端返回的浏览时长,所述浏览时长包括对所述推送信息进行浏览的时长;Step S341A: Receive the browsing duration returned by the target terminal, where the browsing duration includes the duration for browsing the push information;
步骤S342A:在所述浏览时长大于预设时长时,允许所述目标终端通过所述无线热点进行上网。Step S342A: When the browsing duration is greater than a preset duration, allow the target terminal to access the Internet through the wireless hotspot.
在该实施方式中,目标终端可以在接收到推送信息之后,在对推送信息的展示过程中,对用户对推送信息进行浏览的时长进行统计,并将该时长反馈至电子设备。相应地,电子设备可以接收到目标终端反馈的对推送信息的浏览时长。其中,目标终端可以是每间隔设定的时长,向电子设备反馈浏览时长,也可以实时反馈浏览时长,在此不再赘述。当浏览时长大于预设时长时,表示用户对推送信息的浏览时长的要求已经达到对推送信息的查看要求,因此,可以允许目标终端通过无线热点进行上网。当浏览时长小于或等于预设时长时,表示用户对推送信息的浏览时长的未达到对推送信息的查看要求,则电子设备可以继续等待目标终端反馈浏览时长,直至反馈的浏览时长大于预设时长时,才允许目标终端通过无线热点进行上网。通过对推送信息的浏览时长进行设定,可以使得目标终端对应的用户在对推送信息浏览到一定时长,才能使用无线热点进行上网,提升了推送信息的推送效果。In this embodiment, after receiving the push information, the target terminal may count the duration of the user's browsing of the push information during the display process of the push information, and feed back the duration to the electronic device. Correspondingly, the electronic device may receive the browsing duration of the push information fed back by the target terminal. Wherein, the target terminal may feed back the browsing duration to the electronic device at a time set at each interval, and may also feed back the browsing duration in real time, which will not be repeated here. When the browsing time is longer than the preset time, it means that the user's requirement for browsing the push information has reached the viewing requirement of the push information, so the target terminal can be allowed to surf 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 requirements 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. Only when the target terminal is allowed to access the Internet through the wireless hotspot. By setting the browsing duration of the push information, the user corresponding to the target terminal can browse the push information for a certain period of time before using the wireless hotspot to surf the Internet, which improves the push effect of the push information.
在另一些实施方式中,电子设备生成的推送信息中可以包括多条推送信息,例如根据推送信息的不同类型,可以生成不同的推送信息。请参阅图5,步骤S340可以包括:In other embodiments, the push information generated by the electronic device may include multiple pieces of push information, for example, different push information may be generated according to different types of push information. Referring to FIG. 5, step S340 may include:
步骤S341B:接收所述目标终端返回的查看结果,所述查看结果包括对所述多条推送信息中每条推送信息的查看结果;Step S341B: Receive a viewing result returned by the target terminal, where the viewing result includes a viewing result for each piece of push information in the plurality of pieces of push information;
步骤S342B:在根据所述查看结果,确定出所述多条推送信息中被查看的条数大于预设条数时,允许所述目标终端通过所述无线热点进行上网。Step S342B: When it is determined according to the viewing result that the number of pieces of push information viewed is greater than a preset number, allowing the target terminal to access the Internet through the wireless hotspot.
在该实施方式中,目标终端可以在接收到推送信息之后,在对推送信息的展示过程中,对用户对推送信息中各条推送信息的查看情况进行检测,并将查看结果反馈至电子设备。相应地,电子设备可以接收到目标终端反馈的对每条推送信息的查看结果。其中,目标终端可以是每间隔设定的时长,向电子设备反馈查看结果,也可以实时反馈查看结果,在此不再赘述。当确定出多条推送信息中被查看的条数大于预设条数时,表示用户对推送信息的进行查看的情况已经达到对推送信息的查看要求,因此,可以允许目标终端通过无线热点进行上网。当确定出多条推送信息中被查看的条数小于或等于预设条数时,用户对推送信息的进行查看的情况未达到对推送信息的查看要求,则电子设备可以继续等待目标终端反馈查看结果,直至反馈的查看结果中被查看的推送信息的条数大于预设条数时,才允许目标终端通过无线热点进行上网。通过对推送信息的查看条数进行设定,可以使得目标终端对应的用户在查看一定数量的推送信息,才能使用无线热点进行上网,提升了推送信息的推送效果。In this embodiment, after receiving the push information, the target terminal may, in the process of displaying the push information, detect the user's viewing situation of each piece of push information in the push information, and feed back the viewing result to the electronic device. Correspondingly, the electronic device may receive the viewing result of each piece of push information fed back by the target terminal. Wherein, the target terminal may feed back the viewing result to the electronic device every time interval set, and may also feed back the viewing result in real time, which will not be repeated here. When it is determined that the number of pieces of push information viewed is greater than the preset number, it means that the user's viewing of the push information has reached the viewing requirements for the push information. Therefore, the target terminal can be allowed to access the Internet through the wireless hotspot. . When it is determined that the number of pieces of push information viewed is less than or equal to the preset number, and the user's viewing of the push information does not meet the viewing requirements for the push information, the electronic device can continue to wait for the target terminal to feedback and view As a result, the target terminal is not allowed to surf the Internet through the wireless hotspot until the number of pieces of push information viewed in the feedback viewing result is greater than the preset number. By setting the number of pieces of push information to be viewed, the user corresponding to the target terminal can view a certain amount of push information before using the wireless hotspot to surf the Internet, which improves the push effect of the push information.
步骤S350:根据所述目标终端对所述推送信息的处理结果,确定所述目标终端的可用流量。Step S350: Determine the available traffic of the target terminal according to the processing result of the push information by the target terminal.
在本申请实施例中,电子设备在将推送信息推送至目标终端后,还可以根据目标终端对推送信息的处理结果,确定目标终端的可用流量。其中,可用流量为目标终端在使用无线热点进行上网的过程中可以使用的流量。In this embodiment of the present application, after the electronic device pushes the push information to the target terminal, the electronic device may further determine the available traffic of the target terminal according to the processing result of the push information by the target terminal. The available traffic is the traffic that can be used by the target terminal in the process of using the wireless hotspot to surf the Internet.
在一些实施方式中,目标终端对推送信息的处理结果可以包括对推送信息进行查看的查看完成度。其中,该查看完成度为目标终端对应的用户已查看的信息占全部推送信息的比值,用于表示该目标终端对应的用户对推送信息的查看情况。电子设备根据目标终端对所述推送信息的处理结果,确定所述目标终端的可用流量,可以包括:根据预先设定的完成度与可用流量的对应关系,获取与所述查看完成度对应的目标流量,将所述目标流量作为所述目标终端的可用流量。其中,预先设定的完成度与可用流量的对应关系中,可用流量可以与完成度成正相关,例如可以成正比,因此,当查看完成度越大时,则可用流量也越多。In some embodiments, the processing result of the push information by the target terminal may include a viewing completion degree of viewing the push information. The viewing completion degree is the ratio of the information viewed by the user corresponding to the target terminal to the total push information, and is used to indicate the viewing status of the push information by the user corresponding to the target terminal. The electronic device determining the available traffic of the target terminal according to the processing result of the push information by the target terminal may include: acquiring the target corresponding to the viewing completion degree according to a preset correspondence between the completion degree and the available traffic traffic, and use the target traffic as the available traffic of the target terminal. Among them, in the preset correspondence between the completion degree and the available traffic, the available traffic may be positively correlated with the completion degree, for example, it may be proportional. Therefore, when the viewing completion degree is greater, the available traffic is also more.
在另一些实施方式中,电子设备也可以根据目标终端对推送信息的查看时长(即浏览时长),确定目标终端的可用流量。具体地,电子设备可以预先存储有查看时长与可用流量的对应关系,从而电子设备可以根据该对应关系,确定与目标终端对推送信息的查看时长所对应的可用流量。并且查看时长与可用流量也可以成正相关,例如可以成正比,因此,当查看推送信息的时长越长,获得的可用流量也越多。In other embodiments, the electronic device may also determine the available traffic of the target terminal according to the viewing duration (ie, browsing duration) of the push information by the target terminal. Specifically, the electronic device may pre-store a corresponding relationship between the viewing duration and the available traffic, so that the electronic device may determine the available traffic corresponding to the viewing duration of the push information by the target terminal according to the corresponding relationship. And the viewing time and the available traffic can also be positively correlated, for example, can be proportional, therefore, when the viewing time of the push information is longer, the more available traffic is obtained.
电子设备在确定出目标终端的可用流量之后,还可以将可用流量反馈至目标终端,从而可以使得目标终端的用户知晓当前可用使用的流量,如果该用户需要更多的可用流量,则需要查看更多的推送信息,起到鼓励用户查看更多推送信息的效果。After the electronic device determines the available traffic of the target terminal, it 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. More push information has the effect of encouraging users to view more push information.
步骤S360:在所述目标终端使用所述无线热点所消耗的流量等于所述可用流量时,禁止所述目标终端通过所述无线热点进行上网。Step S360: when the traffic consumed by the target terminal using the wireless hotspot is equal to the available traffic, prohibit the target terminal from accessing the Internet through the wireless hotspot.
在本申请实施例中,电子设备在确定出可用流量之后,电子设备还可以对目标终端使用其无线热点所消耗的流量进行监测,在目标终端使用无线热点所消耗的流量等于以上确定的可用流量时,表示目标终端已经使用完此前获取的可用流量,因此电子设备可以禁止目标终端继续使用无线热点进行上网。In this embodiment of the present application, after the electronic device determines the available traffic, the electronic device can also monitor the traffic consumed by the target terminal using its wireless hotspot, and the traffic consumed by the target terminal using the wireless hotspot is equal to the available traffic determined above , it means that the target terminal has used up the available traffic obtained before, so the electronic device can prohibit the target terminal from continuing to use the wireless hotspot to surf the Internet.
在一些实施方式中,在目标终端使用无线热点所消耗的流量等于以上确定的可用流量时,电子设备还可以再次进行信息推送,推送的信息可以为根据环境信息重新生成的信息,也可以为付款码、个人推荐码等,在此不做限定,以便目标终端在查看推送信息之后,获得更多的可用流量,以进一步使用无线热点进行上网。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 may also push information again, and the pushed information may be information regenerated according to environmental information, or may be payment code, personal recommendation code, etc., which are not limited here, so that the target terminal can obtain more available traffic after viewing the push information, so as to further use the wireless hotspot to surf the Internet.
本申请实施例提供的信息推送方法,电子设备通过在目标终端连接电子设备的无线热点时,获取当前的环境信息,根据获取的环境信息,生成推送信息,然后将推送信息推送至目标终端,并且根据目标终端对推送信息的处理情况,确定是否允许目标终端使用无线热点进行上网,另外还根据处理情况确定可用流量,在消耗的流量等于可用流量时,禁止该目标终端使用无线热点进行上网。从而可以实现电子设备在分享热点时,结合环境信息向该终端推送相关信息,使目标终端在连接电子设备的热点时,能够获得与当前环境相关的推送信息进行展示,提升电子设备在分享热点时的处理效果。另外,由于电子设备是根据当前的环境信息来生成推送信息,也使得推送信息的接受度增加,提升了热点连接时的推送信息的推送效果。并且,通过对推送信息的查看完成度进行设定,可以使得目标终端对应的用户在查看一定的推送信息时,才能使用无线热点进行上网,提升了推送信息的推送效果。In the information push method provided by the embodiments of the present application, the electronic device obtains 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 According to the processing of the push information by the target terminal, it is determined whether the target terminal is allowed to use the wireless hotspot to access the Internet, and the available traffic is also determined according to the processing situation. When the consumed traffic is equal to the available traffic, the target terminal is prohibited from using the wireless hotspot to access the Internet. Therefore, when the electronic device shares the hotspot, it can push the relevant information to the terminal in combination with the environmental information, so that the target terminal can obtain the push information related to the current environment for display when connecting to the hotspot of the electronic device, and improve the electronic device when sharing the hotspot. processing effect. 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, by setting the viewing completion degree 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.
请参阅图6,其示出了本申请实施例提供的一种信息推送装置400的结构框图。该信息推送装置400应用上述的电子设备,该信息推送装置400包括:信息获取模块410、信息生成模块420以及推送执行模块430。其中,所述信息获取模块410用于当目标终端连接所述电子设备的无线热点时,获取当前的环境信息;所述信息生成模块420用于根据所述环境信息,生成推送信息;所述推送执行模块430用于将所述推送信息推送至所述目标终端。Please refer to FIG. 6 , which shows a structural block diagram of an information pushing apparatus 400 provided by an embodiment of the present application. The information pushing apparatus 400 applies the above electronic equipment, and the information pushing apparatus 400 includes: an information acquisition module 410 , an information generation module 420 and a push execution module 430 . Wherein, the information acquisition module 410 is used to acquire 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 The execution module 430 is configured to push the push information to the target terminal.
在一些实施方式中,信息生成模块420可以包括:结果获取单元、第一类型获取单元以及第一生成单元。其中,结果获取单元用于获取所述目标终端历史连接所述电子设备的无线热点时,对所述电子设备推送的推送信息的历史查看结果;第一类型获取单元用于根据所述历史查看结果,从推送信息的多种类型中获取满足预设查看条件的第一目标类型;第一生成单元用于根据所述环境信息,生成所述第一目标类型的推送信息。In some embodiments, the information generating module 420 may include: a result obtaining unit, a first type obtaining unit, and a first generating unit. Wherein, the result obtaining unit is used to obtain the historical viewing result of the push information pushed by the electronic device when the target terminal has historically connected to the wireless hotspot of the electronic device; the first type obtaining unit is configured to check the result according to the history , obtaining a first target type that satisfies a preset viewing condition from multiple types of push information; the first generating unit is configured to generate push information of the first target type according to the environment information.
在该实施方式下,信息生成模块420还可以包括:数量确定单元。数量确定单元用于确定所述第一目标类型对应的类型数量是否大于指定数量;生成执行单元用于在所述第一目标类型对应的类型数量大于所述指定数量时,根据所述环境信息,生成所述第一目标类型的推送信息。In this embodiment, the information generating module 420 may further include: a quantity determining unit. The quantity determination unit is used to determine whether the quantity of types corresponding to the first target type is greater than a specified quantity; the generation and execution unit is used to, when the quantity of types corresponding to the first target type is greater than the specified quantity, according to the environment information, Generate push information of the first target type.
进一步地,信息生成模块420还可以包括:第二类型获取单元以及第二生成单元。第二类型获取单元用于在所述第一目标类型对应的类型数量小于或等于所述指定数量时,从其他类型中选取目标数量的第二目标类型,其中,所述目标数量与所述类型数量的总数量大于所述指定数量,所述第二目标类型的热度值满足预设热度值条件,所述其他类型为所述多种类型中除所述第一目标类型以外的类型;第二生成单元用于根据所述环境信息,生成所述第一目标类型以及所述第二目标类型的推送信息。Further, the information generating module 420 may further include: a second type acquiring unit and a second generating unit. The second type obtaining unit is configured to select a second target type with a target quantity from other types when the quantity of types corresponding to the first target type is less than or equal to the specified quantity, wherein the target quantity is the same as the type The total number of quantities is greater than the specified quantity, the heat value of the second target type satisfies the preset heat value condition, and the other types are types other than the first target type among the multiple types; the second target type The generating unit is configured to generate push information of the first target type and the second target type according to the environment information.
在一些实施方式中,该信息推送装置400还可以包括:第一控制模块。第一控制模块用于在所述将所述推送信息推送至所述目标终端之后,在检测到所述目标终端对所述推送信息完成指定处理时,允许所述目标终端通过所述无线热点进行上网。In some embodiments, the information pushing apparatus 400 may further include: a first control module. The first control module is configured to, after the push information is pushed to the target terminal, when it is detected that the target terminal completes the specified processing of the push information, allow the target terminal to perform the push information through the wireless hotspot. go online.
作为一种实施方式,第一控制模块可以具体用于:接收所述目标终端返回的浏览时长,所述浏览时长包括对所述推送信息进行浏览的时长;在所述浏览时长大于预设时长时,允许所述目标终端通过所述无线热点进行上网。As an implementation manner, the first control module may be specifically configured to: receive the browsing duration returned by the target terminal, where the browsing duration includes the duration of browsing the push information; when the browsing duration is greater than a preset duration , allowing the target terminal to access the Internet through the wireless hotspot.
作为另一种实施方式,所述推送信息包括多条推送信息,第一控制模块可以具体用于:接收所述目标终端返回的查看结果,所述查看结果包括对所述多条推送信息中每条推送信息的查看结果;在根据所述查看结果,确定出所述多条推送信息中被查看的条数大于预设条数时,允许所述目标终端通过所述无线热点进行上网。As another implementation manner, the push information includes multiple pieces of push information, and the first control module may be specifically configured to: receive a viewing result returned by the target terminal, where the viewing result includes a review of each of the multiple pieces of push information. Viewing results of pieces of push information; when it is determined that the number of pieces of push information viewed is greater than a preset number according to the viewing results, allowing the target terminal to access the Internet through the wireless hotspot.
在一些实施方式中,该信息推送装置400还可以包括:流量确定模块以及第二控制模块。流量确定模块用于根据所述目标终端对所述推送信息的处理结果,确定所述目标终端的可用流量;第二控制模块用于在所述目标终端使用所述无线热点所消耗的流量等于所述可用流量时,禁止所述目标终端通过所述无线热点进行上网。In some embodiments, the information pushing apparatus 400 may further include: a flow determination module and a second control module. The flow determination module is configured to determine the available flow of the target terminal according to the processing result of the push information by the target terminal; the second control module is configured to use the wireless hotspot at the target terminal. The flow consumed is equal to the When the available traffic is limited, the target terminal is prohibited from surfing the Internet through the wireless hotspot.
在该实施方式下,所述处理结果包括:对所述推送信息进行查看的查看完成度。流量确定模块可以具体用于:根据预先设定的完成度与可用流量的对应关系,获取与所述查看完成度对应的目标流量,将所述目标流量作为所述目标终端的可用流量。In this implementation manner, the processing result includes: a viewing completion degree of viewing the push information. The flow determination module may be specifically configured to: obtain the target flow corresponding to the viewing completion degree according to the preset correspondence between the completion degree and the available flow, and use the target flow as the available flow of the target terminal.
在一些实施方式中,该信息推送装置400还可以包括:标识获取模块。标识获取模块用于在所述根据所述环境信息,生成推送信息之前,获取所述目标终端的设备标识。信息生成模块420可以具体用于在所述设备标识未处于预先设定的设备白名单时,根据所述环境信息,生成推送信息。In some implementations, the information pushing apparatus 400 may further include: an identification acquiring module. The identification obtaining module is configured to obtain the device identification of the target terminal before generating the push information according to the environment information. The information generating module 420 may be specifically configured to generate push information according to the environment information when the device identifier is not in the preset device whitelist.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between the modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
综上所述,本申请提供的方案,电子设备通过在目标终端连接电子设备的无线热点时,获取当前的环境信息,根据获取的环境信息,生成推送信息,然后将推送信息推送至目标终端,从而可以实现电子设备在分享热点时,结合环境信息向该终端推送相关信息,使目标终端在连接电子设备的热点时,能够获得与当前环境相关的推送信息进行展示,提升电子设备在分享热点时的处理效果。To sum up, in the solution provided by this application, 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, Therefore, when the electronic device shares the hotspot, it can push the relevant information to the terminal in combination with the environmental information, so that the target terminal can obtain the push information related to the current environment for display when connecting to the hotspot of the electronic device, and improve the electronic device when sharing the hotspot. processing effect.
请参考图7,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备100可以是智能手机、平板电脑、智能手表等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 7 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The
处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。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
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program 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 method embodiments, and the like. The storage data area may also store data (such as phone book, audio and video data, chat record data) created by the
请参考图8,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 8 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable medium 800 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。The computer readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. Computer readable storage medium 800 has storage space for
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive 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 (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010682878.3A CN111784412B (en) | 2020-07-15 | 2020-07-15 | Information pushing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010682878.3A CN111784412B (en) | 2020-07-15 | 2020-07-15 | Information pushing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111784412A true CN111784412A (en) | 2020-10-16 |
CN111784412B CN111784412B (en) | 2024-10-29 |
Family
ID=72767277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010682878.3A Active CN111784412B (en) | 2020-07-15 | 2020-07-15 | Information pushing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111784412B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112884533A (en) * | 2021-04-07 | 2021-06-01 | 上海哔哩哔哩科技有限公司 | Service processing method and device |
CN114169911A (en) * | 2021-11-10 | 2022-03-11 | 建信金融科技有限责任公司 | Information push method, device and server |
CN114615542A (en) * | 2022-03-25 | 2022-06-10 | 联想(北京)有限公司 | Control method, control device and content sharing system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369515A (en) * | 2012-03-31 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Internet access method used for mobile terminal and free internet-access system |
CN104754132A (en) * | 2015-03-30 | 2015-07-01 | 联想(北京)有限公司 | Electronic device and method of determining operating mode of electronic device |
CN106357519A (en) * | 2016-10-08 | 2017-01-25 | 乐视控股(北京)有限公司 | Method for prompting information pushing |
CN106454517A (en) * | 2016-10-25 | 2017-02-22 | 北京小米移动软件有限公司 | TV program push method and apparatus, and terminal device |
CN106792592A (en) * | 2016-12-22 | 2017-05-31 | 深圳Tcl数字技术有限公司 | Information push method and device |
CN107832437A (en) * | 2017-11-16 | 2018-03-23 | 北京小米移动软件有限公司 | Audio/video method for pushing, device, equipment and storage medium |
CN109886300A (en) * | 2019-01-17 | 2019-06-14 | 北京奇艺世纪科技有限公司 | A kind of user's clustering method, device and equipment |
WO2019128552A1 (en) * | 2017-12-29 | 2019-07-04 | Oppo广东移动通信有限公司 | Information pushing method, apparatus, terminal, and storage medium |
WO2020093289A1 (en) * | 2018-11-07 | 2020-05-14 | 深圳市欢太科技有限公司 | Resource recommendation method and apparatus, electronic device and storage medium |
-
2020
- 2020-07-15 CN CN202010682878.3A patent/CN111784412B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369515A (en) * | 2012-03-31 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Internet access method used for mobile terminal and free internet-access system |
CN104754132A (en) * | 2015-03-30 | 2015-07-01 | 联想(北京)有限公司 | Electronic device and method of determining operating mode of electronic device |
CN106357519A (en) * | 2016-10-08 | 2017-01-25 | 乐视控股(北京)有限公司 | Method for prompting information pushing |
CN106454517A (en) * | 2016-10-25 | 2017-02-22 | 北京小米移动软件有限公司 | TV program push method and apparatus, and terminal device |
CN106792592A (en) * | 2016-12-22 | 2017-05-31 | 深圳Tcl数字技术有限公司 | Information push method and device |
CN107832437A (en) * | 2017-11-16 | 2018-03-23 | 北京小米移动软件有限公司 | Audio/video method for pushing, device, equipment and storage medium |
WO2019128552A1 (en) * | 2017-12-29 | 2019-07-04 | Oppo广东移动通信有限公司 | Information pushing method, apparatus, terminal, and storage medium |
WO2020093289A1 (en) * | 2018-11-07 | 2020-05-14 | 深圳市欢太科技有限公司 | Resource recommendation method and apparatus, electronic device and storage medium |
CN109886300A (en) * | 2019-01-17 | 2019-06-14 | 北京奇艺世纪科技有限公司 | A kind of user's clustering method, device and equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112884533A (en) * | 2021-04-07 | 2021-06-01 | 上海哔哩哔哩科技有限公司 | Service processing method and device |
CN114169911A (en) * | 2021-11-10 | 2022-03-11 | 建信金融科技有限责任公司 | Information push method, device and server |
CN114615542A (en) * | 2022-03-25 | 2022-06-10 | 联想(北京)有限公司 | Control method, control device and content sharing system |
Also Published As
Publication number | Publication date |
---|---|
CN111784412B (en) | 2024-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7242750B2 (en) | Technologies for messaging agent platforms | |
US20210334856A1 (en) | Telecommunications call augmentation system | |
US9594496B2 (en) | Method and apparatus for playing IM message | |
US9537809B2 (en) | Method and system for graphic code processing | |
CN111784412B (en) | Information pushing method and device, electronic equipment and storage medium | |
US9503410B2 (en) | Sharing of activity metadata via messaging systems | |
KR101783431B1 (en) | Method for providing funding and consulting information related with entertainment by crowd funding system | |
WO2021159393A1 (en) | Information pushing method and apparatus, and server and storage medium | |
CN106228374A (en) | Queuing service method and apparatus | |
CN110740088B (en) | Method, device, terminal and medium for recommending and adding social resources | |
CN110390641B (en) | Image desensitizing method, electronic device and storage medium | |
CN111953761A (en) | Data processing method and device, electronic equipment and storage medium | |
CN111679875A (en) | Page content display method and system and mobile terminal | |
CN106488422A (en) | A kind of information processing method, mobile terminal, netscape messaging server Netscape | |
CN106470215B (en) | User terminal, server, and message pushing system and method for scene not concerned | |
CN108769389B (en) | Image acquisition method, device, terminal device and storage medium | |
CN103841172A (en) | Application download operation statistic method and device based on user terminal identification comparison | |
CN113763137B (en) | Information pushing method and computer equipment | |
US20180131736A1 (en) | Streaming service method and device | |
CN108282783B (en) | Public wifi authentication method, device, user terminal and storage medium | |
CN110730119A (en) | Multimedia information pushing method and device and storage medium | |
CN111866779B (en) | Configuration method, device, electronic device and storage medium of hotspot mode | |
KR20160042399A (en) | Creating a contact list and pre-populated user accounts | |
CN116091136A (en) | Telephone marketing method and device based on speaker | |
CN102378119B (en) | Method and device for massively transmitting information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |