Movatterモバイル変換


[0]ホーム

URL:


CN108737578A - A kind of information push method and device - Google Patents

A kind of information push method and device
Download PDF

Info

Publication number
CN108737578A
CN108737578ACN201810995883.2ACN201810995883ACN108737578ACN 108737578 ACN108737578 ACN 108737578ACN 201810995883 ACN201810995883 ACN 201810995883ACN 108737578 ACN108737578 ACN 108737578A
Authority
CN
China
Prior art keywords
message
mobile terminal
server
wireless network
pushed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810995883.2A
Other languages
Chinese (zh)
Inventor
张守年
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201810995883.2ApriorityCriticalpatent/CN108737578A/en
Publication of CN108737578ApublicationCriticalpatent/CN108737578A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种消息推送方法和装置。应用于第一移动终端,所述方法包括:当检测到无线网络时,获取所述无线网络的特征标识;将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息;接收所述服务器推送的所述消息。通过本发明实施例,当第一移动终端在无线网络的覆盖区域内时,无需事先订阅信息,只需向服务器发送无线网络的特征标识,就可以接收到消息推送,不仅可以更方便快捷地推送消息推送,消息推送的对象也更精准。

The invention provides a message pushing method and device. Applied to the first mobile terminal, the method includes: when a wireless network is detected, acquiring a characteristic identifier of the wireless network; sending the characteristic identifier to a server, so that the server can judge whether there is a wireless network based on the characteristic identifier A message to be pushed corresponding to the wireless network, and push the message to the first mobile terminal if the message to be pushed exists; and receive the message pushed by the server. Through the embodiment of the present invention, when the first mobile terminal is within the coverage area of the wireless network, it does not need to subscribe to the information in advance, but only needs to send the characteristic identifier of the wireless network to the server, and then it can receive the push message, which not only can push the message more conveniently and quickly Message push, the object of message push is also more precise.

Description

Translated fromChinese
一种消息推送方法和装置A message push method and device

技术领域technical field

本发明涉及移动终端技术领域,尤其涉及一种消息推送方法和装置。The present invention relates to the technical field of mobile terminals, in particular to a message pushing method and device.

背景技术Background technique

目前,使用移动终端可以实现信息订阅和消息推送,例如,微信上的公众号、各类订阅号以及一些音乐平台等。但是,这种消息推送方式需要用户事先根据关键字搜索,并且主动发起信息订阅,才能将消息推送给用户。At present, information subscription and message push can be realized by using mobile terminals, for example, official accounts on WeChat, various subscription accounts, and some music platforms. However, this message push method requires the user to search according to keywords in advance and actively initiate an information subscription before the message can be pushed to the user.

当有临时现场促销、灾难现场救援、临时公益活动等,现有的消息推送方式则存在缺陷:如果用户在活动现场附近,但是未提前发起信息订阅,则无法将消息推送给用户。When there are temporary on-site promotions, disaster on-site rescue, temporary public welfare activities, etc., the existing message push method has defects: if the user is near the event site, but has not initiated an information subscription in advance, the message cannot be pushed to the user.

发明内容Contents of the invention

本发明实施例提供一种消息推送方法和装置,以解决现有技术中未提前发起信息订阅则不能将消息推送给用户的问题。Embodiments of the present invention provide a message push method and device to solve the problem in the prior art that messages cannot be pushed to users without initiating information subscription in advance.

为了解决上述技术问题,本发明实施例提供了一种消息推送方法,应用于第一移动终端,所述方法包括:In order to solve the above technical problems, an embodiment of the present invention provides a message push method, which is applied to a first mobile terminal, and the method includes:

当检测到无线网络时,获取所述无线网络的特征标识;When a wireless network is detected, acquire a feature identifier of the wireless network;

将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息;Sending the feature identifier to a server, so that the server judges whether there is a message to be pushed corresponding to the wireless network according to the feature identifier, and sends a message to the second message if there is a message to be pushed A mobile terminal pushes the message;

接收所述服务器推送的所述消息。The message pushed by the server is received.

本发明实施例又提供了一种消息推送方法,应用于服务器,所述方法包括:The embodiment of the present invention further provides a message push method, which is applied to a server, and the method includes:

接收第一移动终端发送的无线网络的特征标识;receiving the characteristic identifier of the wireless network sent by the first mobile terminal;

根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息;judging whether there is a message to be pushed corresponding to the wireless network according to the feature identifier;

若存在所述待推送的消息,则将所述消息推送至所述第一移动终端。If there is the message to be pushed, then push the message to the first mobile terminal.

本发明实施例又提供了一种消息推送装置,部署在第一移动终端,所述装置包括:The embodiment of the present invention further provides a message push device, which is deployed on the first mobile terminal, and the device includes:

特征标识获取模块,用于当检测到无线网络时,获取所述无线网络的特征标识;A feature identifier acquisition module, configured to acquire a feature identifier of the wireless network when a wireless network is detected;

特征标识发送模块,用于将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息;A feature identifier sending module, configured to send the feature identifier to a server, so that the server can determine whether there is a message to be pushed corresponding to the wireless network according to the feature identifier, and when there is the message to be pushed Pushing the message to the first mobile terminal in the case of ;

消息接收模块,用于接收所述服务器推送的所述消息。A message receiving module, configured to receive the message pushed by the server.

本发明实施例又提供了一种消息推送装置,部署在服务器,所述装置包括:The embodiment of the present invention further provides a message push device, which is deployed on a server, and the device includes:

特征标识接收模块,用于接收第一移动终端发送的无线网络的特征标识;A characteristic identifier receiving module, configured to receive the characteristic identifier of the wireless network sent by the first mobile terminal;

消息判断模块,用于根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息;A message judging module, configured to judge whether there is a message to be pushed corresponding to the wireless network according to the feature identifier;

消息推送模块,用于若存在所述待推送的消息,则将所述消息推送至所述第一移动终端。A message push module, configured to push the message to the first mobile terminal if there is the message to be pushed.

本发明实施例还提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述的消息推送方法的步骤。An embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor. When the computer program is executed by the processor, the following steps are implemented: The steps of the above message push method.

本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上述的消息推送方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above message push method are implemented.

在本发明实施例中,当第一移动终端检测到无线网络时,获取无线网络的特征标识;将特征标识发送至服务器;服务器根据特征标识判断是否存在与无线网络对应的待推送的消息,当存在待推送的消息时,服务器向第一移动终端推送消息;第一移动终端接收服务器推送的消息。通过本发明实施例,当第一移动终端在无线网络的覆盖区域内时,无需事先订阅信息,只需向服务器发送无线网络的特征标识,就可以接收到消息推送,不仅可以更方便快捷地推送消息推送,消息推送的对象也更精准。In the embodiment of the present invention, when the first mobile terminal detects a wireless network, it obtains the characteristic identifier of the wireless network; sends the characteristic identifier to the server; the server judges whether there is a message to be pushed corresponding to the wireless network according to the characteristic identifier, and when When there is a message to be pushed, the server pushes the message to the first mobile terminal; the first mobile terminal receives the message pushed by the server. Through the embodiment of the present invention, when the first mobile terminal is within the coverage area of the wireless network, it does not need to subscribe to the information in advance, but only needs to send the characteristic identifier of the wireless network to the server, and then the message push can be received, which can not only push the message more conveniently and quickly Message push, the object of message push is also more precise.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是本发明实施例一的一种消息推送方法的步骤流程图;FIG. 1 is a flow chart of the steps of a method for pushing messages according to Embodiment 1 of the present invention;

图2是本发明实施例二的一种消息推送方法的步骤流程图;FIG. 2 is a flow chart of steps of a method for pushing messages according to Embodiment 2 of the present invention;

图3是本发明实施例三的一种消息推送装置的结构框图;FIG. 3 is a structural block diagram of a message push device according to Embodiment 3 of the present invention;

图4是本发明实施例四的一种消息推送装置的结构框图;FIG. 4 is a structural block diagram of a message push device according to Embodiment 4 of the present invention;

图5是本发明实施例五的一种移动终端的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of a mobile terminal according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

实施例一Embodiment one

参照图1,示出了本发明实施例提供的一种消息推送方法的步骤流程图。应用于第一移动终端,所述方法包括:Referring to FIG. 1 , it shows a flowchart of steps of a message push method provided by an embodiment of the present invention. Applied to the first mobile terminal, the method includes:

步骤101,当检测到无线网络时,获取所述无线网络的特征标识。Step 101, when a wireless network is detected, obtain a characteristic identifier of the wireless network.

本实施例中,第一移动终端检测无线网络,无线网络可以是WIFI(WIreless-Fidelity)网络,也可以是蓝牙。本发明实施例对此不作详细限定,可以根据实际情况进行设置。例如,在商场X中设置有WIFI1、WIFI2、WIFI3,当第一移动终端进入WIFI1的覆盖区域时,检测到WIFI1,当第一移动终端进入WIFI2的覆盖区域时,检测到WIFI2。其中,各无线网络均有一个唯一的特征标识,例如,WIFI1、WIFI2、WIFI3的特征标识分别为A、B、C。当第一移动终端检测到无线网络时,可以获取无线网络的特征标识。例如,当第一移动终端检测到WIFI1时,可以获取到WIFI1的特征标识A;当第一移动终端检测到WIFI2时,可以获取到WIFI2的特征标识B;当第一移动终端检测到WIFI3时,可以获取到WIFI3的特征标识C。获取特征标识的周期可以是第一移动终端中预置的,也可以是用户设置的,本发明实施例此不作详细限定,可以根据实际情况进行设置。当第一移动终端离开WIFI1的覆盖区域后,则检测不到WIFI1,也不再获取WIFI1的特征标志A。In this embodiment, the first mobile terminal detects a wireless network, and the wireless network may be a WIFI (WIreless-Fidelity) network or Bluetooth. This embodiment of the present invention does not limit it in detail, and it can be set according to actual conditions. For example, WIFI1, WIFI2, and WIFI3 are set in shopping mall X. When the first mobile terminal enters the coverage area of WIFI1, WIFI1 is detected; when the first mobile terminal enters the coverage area of WIFI2, WIFI2 is detected. Each wireless network has a unique feature identifier, for example, the feature identifiers of WIFI1, WIFI2, and WIFI3 are A, B, and C, respectively. When the first mobile terminal detects the wireless network, it can acquire the characteristic identifier of the wireless network. For example, when the first mobile terminal detects WIFI1, it can obtain the characteristic identifier A of WIFI1; when the first mobile terminal detects WIFI2, it can obtain the characteristic identifier B of WIFI2; when the first mobile terminal detects WIFI3, The characteristic identifier C of WIFI3 can be obtained. The period for acquiring the feature identifier may be preset in the first mobile terminal, or may be set by the user, which is not limited in detail in this embodiment of the present invention, and may be set according to actual conditions. When the first mobile terminal leaves the coverage area of WIFI1, it cannot detect WIFI1, and does not obtain the characteristic flag A of WIFI1 anymore.

步骤102,将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息。Step 102: Send the feature identifier to the server, so that the server can determine whether there is a message to be pushed corresponding to the wireless network according to the feature identifier, and if there is a message to be pushed to the The first mobile terminal pushes the message.

本实施例中,第一移动终端获取到特征标识后,将特征标识发送到服务器。例如,第一移动终端获取到WIFI1的特征标识A,则将特征标识A发送到服务器;第一移动终端获取到WIFI3的特征标识C,则将特征标识C发送到服务器。如果第一移动终端不在WIFI1的覆盖区域内,不再获取WIFI1的特征标识A,则不会将WIFI1的特征标识A发送到服务器。In this embodiment, after obtaining the feature identifier, the first mobile terminal sends the feature identifier to the server. For example, if the first mobile terminal obtains the characteristic identifier A of WIFI1, it sends the characteristic identifier A to the server; if the first mobile terminal obtains the characteristic identifier C of WIFI3, it sends the characteristic identifier C to the server. If the first mobile terminal is not within the coverage area of WIFI1 and no longer acquires the characteristic identifier A of WIFI1, it will not send the characteristic identifier A of WIFI1 to the server.

服务器接收到特征标识后,根据特征标识查找对应的无线网络,并判断无线网络是否有待推送的消息,如果无线网络存在待推送的消息,则将消息推送到第一移动终端。例如,第一移动终端将特征标识A发送到服务器,服务器接收特征标识A,根据特征标识A查找到对应的WIFI1,服务器中存储有WIFI1待推送的消息M,则可以判定WIFI1存在待推送的消息,并将WIFI1待推送的消息M推送到第一移动终端。如果第一移动终端不在商场X中,则第一移动终端检测不到WIFI1,也无法获取并发送WIFI1的特征标识A,则服务器也不再根据特征标识A向第一移动终端推送WIFI1的消息。由此可见,当第一移动终端不在现场时,则不会接收到服务器推送的消息,从而可以避免接收到大量的垃圾信息或无效信息,从而提升了用户体验。After receiving the characteristic identifier, the server searches for the corresponding wireless network according to the characteristic identifier, and judges whether the wireless network has a message to be pushed, and if there is a message to be pushed in the wireless network, pushes the message to the first mobile terminal. For example, the first mobile terminal sends the feature identification A to the server, the server receives the feature identification A, finds the corresponding WIFI1 according to the feature identification A, and the server stores the message M to be pushed by WIFI1, then it can be determined that WIFI1 has a message to be pushed , and push the message M to be pushed by WIFI1 to the first mobile terminal. If the first mobile terminal is not in the shopping mall X, the first mobile terminal cannot detect WIFI1, nor can it obtain and send the characteristic identifier A of WIFI1, and the server will no longer push the message of WIFI1 to the first mobile terminal according to the characteristic identifier A. It can be seen that when the first mobile terminal is not on site, it will not receive the message pushed by the server, thus avoiding receiving a large amount of junk information or invalid information, thereby improving user experience.

步骤103,接收所述服务器推送的所述消息。Step 103, receiving the message pushed by the server.

本实施例中,服务器将消息推送到第一移动终端,第一移动终端接收服务器推送的消息。例如,服务器将消息M和消息N推送到第一移动终端,第一移动终端接收消息M和消息N。如果采用喇叭播放、发送传单、灯箱播放等实体推送消息的方式,则会有传输效果差、不能及时更新信息、成本高等缺点。而采用本发明实施例中的消息推送方式,则可以提高传输效果、能及时更新信息、降低成本。In this embodiment, the server pushes the message to the first mobile terminal, and the first mobile terminal receives the message pushed by the server. For example, the server pushes the message M and the message N to the first mobile terminal, and the first mobile terminal receives the message M and the message N. If broadcasting through speakers, leaflets, and light boxes are used to push messages, there will be disadvantages such as poor transmission effect, inability to update information in time, and high cost. However, by adopting the message push method in the embodiment of the present invention, the transmission effect can be improved, information can be updated in time, and the cost can be reduced.

可选地,所述第一移动终端中设置有接收消息的消息类别;接收所述服务器发送的获取指令;根据所述获取指令向所述服务器发送所述消息类别,以使所述服务器根据所述消息类别向所述第一移动终端推送消息。Optionally, the first mobile terminal is set with a message category for receiving messages; receives an acquisition instruction sent by the server; sends the message category to the server according to the acquisition instruction, so that the server can send the message category according to the pushes a message to the first mobile terminal according to the message category.

本实施例中,第一移动终端中设置有接收消息的消息类别,消息类别可以是新闻、购物、音乐等,也可以是商家、银行、交通系统等。消息类别可以时第一终端中预置的,也可以是用户设置的。本发明实施例对消息类别不作详细限定,可以根据实际情况进行设置。当服务器向第一移动终端推送消息时,可以先向第一移动终端发送获取指令,第一移动终端接收到获取指令后将接收消息的消息类别发送到服务器,服务器再根据消息类别向第一移动终端推送消息。例如,第一移动终端接收消息的消息类别是“新闻”,当服务器要获取消息类别时,向第一移动终端发送获取指令,第一移动终端接收服务器发送的获取指令,根据获取指令将“新闻”发送到服务器,服务器中消息M所属的消息类别为新闻,消息N所属的消息类别为音乐,则根据消息类别“新闻”将消息M推送到第一移动终端,而不将消息N推送到第一移动终端。可见,第一移动终端设置的消息类别,即为第一移动终端的用户感兴趣的内容,服务器可以根据消息类别向第一移动终端推送用户感兴趣的消息,使消息推送更精准,避免为用户推送垃圾信息或无效信息。In this embodiment, the first mobile terminal is set with a message category for receiving messages, and the message category may be news, shopping, music, etc., or may be merchants, banks, transportation systems, etc. The message category can be preset in the first terminal, or can be set by the user. The embodiment of the present invention does not limit the message category in detail, and it can be set according to the actual situation. When the server pushes a message to the first mobile terminal, it can first send an acquisition instruction to the first mobile terminal. After receiving the acquisition instruction, the first mobile terminal sends the message category of the received message to the server, and the server then moves to the first mobile terminal according to the message category. The terminal pushes the message. For example, the message category of the message received by the first mobile terminal is "news". When the server wants to acquire the message category, it sends an acquisition instruction to the first mobile terminal. " is sent to the server, the message category of the message M in the server is news, and the message category of the message N is music, then the message M is pushed to the first mobile terminal according to the message category "news", and the message N is not pushed to the first mobile terminal. A mobile terminal. It can be seen that the message category set by the first mobile terminal is the content that the user of the first mobile terminal is interested in, and the server can push the message that the user is interested in to the first mobile terminal according to the message category, so as to make the message push more accurate and avoid causing confusion for the user. Push spam or invalid information.

综上所述,本发明实施例中,当第一移动终端检测到无线网络时,获取无线网络的特征标识;将特征标识发送至服务器;服务器根据特征标识判断是否存在与无线网络对应的待推送的消息,当存在待推送的消息时,服务器向第一移动终端推送消息;第一移动终端接收服务器推送的消息。通过本发明实施例,当第一移动终端在无线网络的覆盖区域内时,无需事先订阅信息,只需将无线网络的特征标识发送到服务器,就可以接收服务器推送的消息,不仅可以更方便快捷地推送消息,而且消息推送的对象也更精准。To sum up, in the embodiment of the present invention, when the first mobile terminal detects a wireless network, it obtains the characteristic identifier of the wireless network; sends the characteristic identifier to the server; When there is a message to be pushed, the server pushes the message to the first mobile terminal; the first mobile terminal receives the message pushed by the server. Through the embodiment of the present invention, when the first mobile terminal is within the coverage area of the wireless network, it does not need to subscribe to the information in advance, and only needs to send the characteristic identifier of the wireless network to the server to receive the message pushed by the server, which is not only more convenient and faster Push messages more accurately, and the objects to which messages are pushed are more precise.

实施例二Embodiment two

参照图2,示出了本发明实施例提供的一种消息推送方法的步骤流程图。应用于服务器,所述方法包括:Referring to FIG. 2 , it shows a flowchart of steps of a message push method provided by an embodiment of the present invention. Applied to a server, the method includes:

步骤201,接收第一移动终端发送的无线网络的特征标识。Step 201, receiving a characteristic identifier of a wireless network sent by a first mobile terminal.

本实施例中,当第一移动终端发送无线网络的特征标识时,服务器接收第一移动终端发送的特征标识。例如,第一移动终端向服务器发送特征标识A、B、C,服务器接收特征标识A、B、C。In this embodiment, when the first mobile terminal sends the characteristic identifier of the wireless network, the server receives the characteristic identifier sent by the first mobile terminal. For example, the first mobile terminal sends the feature identifiers A, B, and C to the server, and the server receives the feature identifiers A, B, and C.

步骤202,根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息。Step 202, judge whether there is a message to be pushed corresponding to the wireless network according to the feature identifier.

本实施例中,服务器根据特征标识A查找到对应的无线网络为WIFI1,判断WIFI1是否存在待推送的消息;根据特征标识B查找到对应的无线网络为WIFI2,判断WIFI2是否存在待推送的消息。In this embodiment, the server finds that the corresponding wireless network is WIFI1 according to the characteristic identifier A, and judges whether there is a message to be pushed in WIFI1; finds that the corresponding wireless network is WIFI2 according to the characteristic identifier B, and judges whether there is a message to be pushed in WIFI2.

可选地,接收第二移动终端发送的所述无线网络的特征标识和所述待推送的消息;Optionally, receiving the characteristic identifier of the wireless network and the message to be pushed sent by the second mobile terminal;

将所述特征标识和所述消息对应存储。Correspondingly storing the feature identifier and the message.

本实施例中,第二移动终端可以设置无线网络的待推送的消息,并将无线网络的特征标识和待推送的消息发送到服务器。例如,商场X中设置有WIFI1、WIFI2、WIFI3,第二移动终端可以设置WIFI1待推送的消息M,并将WIFI1的特征标识A和消息M发送到服务器;也可以设置WIFI3待推送的消息N,并将WIFI3的特征标识C和消息N发送到服务器。可见,推送消息的无线网络部署简单,并且,由第二移动终端设置待推送的消息也可以实现及时更新消息。In this embodiment, the second mobile terminal may set the message to be pushed of the wireless network, and send the feature identifier of the wireless network and the message to be pushed to the server. For example, if WIFI1, WIFI2, and WIFI3 are set in shopping mall X, the second mobile terminal can set the message M to be pushed by WIFI1, and send the characteristic identifier A and message M of WIFI1 to the server; it can also set the message N to be pushed by WIFI3, And send the characteristic identifier C and message N of WIFI3 to the server. It can be seen that the deployment of the wireless network for pushing messages is simple, and setting the messages to be pushed by the second mobile terminal can also realize updating messages in time.

服务器接收特征标识和消息后,将特征标识和消息对应存储。在判断无线网络是否存在待推送的消息时,可以在已存储的特征标识和消息中进行查找。After receiving the characteristic identifier and the message, the server stores the characteristic identifier and the message correspondingly. When judging whether there is a message to be pushed in the wireless network, it can be searched in stored feature identifiers and messages.

步骤203,若存在所述待推送的消息,则将所述消息推送至所述第一移动终端。Step 203, if there is the message to be pushed, push the message to the first mobile terminal.

本实施例中,如果无线网络存在待推送的消息,将消息推送到第一移动终端。例如,WIFI1存在待推送的消息M,WIFI3存在待推送的消息N,将消息M和消息N推送到第一移动终端。In this embodiment, if there is a message to be pushed in the wireless network, the message is pushed to the first mobile terminal. For example, WIFI1 has a message M to be pushed, and WIFI3 has a message N to be pushed, and pushes the message M and the message N to the first mobile terminal.

可选地,获取所述第一移动终端接收消息的消息类别;Optionally, acquiring the message category of the message received by the first mobile terminal;

根据所述消息类别向所述第一移动终端推送消息。Pushing a message to the first mobile terminal according to the message category.

本实施例中,在推送消息之前,获取第一移动终端接收消息的消息类别。获取到消息类别后,判断待推送的消息是否属于该消息类别,如果属于该消息类别,则将消息推送到第一移动终端;如果不属于该消息类别,则不推送消息。例如,获取到第一移动终端接收消息的消息类别为新闻,消息M所属的消息类别为新闻,消息N所属的消息类别为购物,则将消息M推送到第一移动终端,而不推送消息N。In this embodiment, before the message is pushed, the message category of the message received by the first mobile terminal is acquired. After obtaining the message category, it is judged whether the message to be pushed belongs to the message category, if it belongs to the message category, the message is pushed to the first mobile terminal; if it does not belong to the message category, the message is not pushed. For example, if the message category of the message received by the first mobile terminal is news, the message category of message M is news, and the message category of message N is shopping, then message M is pushed to the first mobile terminal, but message N is not pushed. .

综上所述,本发明实施例中,服务器接收第一移动终端发送的无线网络的特征标识;根据特征标识判断是否存在与无线网络对应的待推送的消息;若无存在待推送的消息,则将消息推送至所述第一移动终端。通过本发明实施例,第一移动终端进入无线网络的覆盖区域时,无需事先订阅信息,只需将无线网络的特征标识发送给服务器,服务器就可以根据特征标志将消息推送到第一移动终端,消息推送更方便快捷,消息推送对象也更精准。To sum up, in the embodiment of the present invention, the server receives the characteristic identifier of the wireless network sent by the first mobile terminal; judges whether there is a message to be pushed corresponding to the wireless network according to the characteristic identifier; if there is no message to be pushed, then Pushing the message to the first mobile terminal. Through the embodiment of the present invention, when the first mobile terminal enters the coverage area of the wireless network, it does not need to subscribe to information in advance, and only needs to send the characteristic identifier of the wireless network to the server, and the server can push the message to the first mobile terminal according to the characteristic identifier. The message push is more convenient and fast, and the target of the message push is more accurate.

实施例三Embodiment three

参照图3,示出了本发明实施例提供的一种消息推送装置的结构框图。部署在第一移动终端,所述装置包括特征标识获取模块301、特征标识发送模块302、消息接收模块303:Referring to FIG. 3 , it shows a structural block diagram of a message push device provided by an embodiment of the present invention. Deployed on the first mobile terminal, the device includes a feature identifier acquisition module 301, a feature identifier sending module 302, and a message receiving module 303:

特征标识获取模块301,用于当检测到无线网络时,获取所述无线网络的特征标识;A feature identifier acquiring module 301, configured to acquire a feature identifier of the wireless network when a wireless network is detected;

特征标识发送模块302,用于将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息;A feature identifier sending module 302, configured to send the feature identifier to a server, so that the server can determine whether there is a message to be pushed corresponding to the wireless network according to the feature identifier, and if there is a message to be pushed In the case of a message, push the message to the first mobile terminal;

消息接收模块303,用于接收所述服务器推送的所述消息。A message receiving module 303, configured to receive the message pushed by the server.

可选地,在所述消息接收模块303之前,所述第一移动终端中设置有接收消息的消息类别,所述装置还包括:Optionally, before the message receiving module 303, the first mobile terminal is provided with a message category for receiving messages, and the device further includes:

指令接收模块,用于接收所述服务器发送的获取指令;An instruction receiving module, configured to receive an acquisition instruction sent by the server;

消息类别发送模块,用于根据所述获取指令向所述服务器发送所述消息类别,以使所述服务器根据所述消息类别向所述第一移动终端推送消息。A message category sending module, configured to send the message category to the server according to the acquiring instruction, so that the server pushes a message to the first mobile terminal according to the message category.

本发明实施例提供的消息推送装置能够实现图1的方法实施例中实现的各个过程,为避免重复,这里不再赘述。本发明实施例中,如果第一移动终端在无线网络的覆盖区域内,无需事先订阅信息,只需向服务器发送无线网络的特征标识,就可以接收到服务器推送的消息,消息推送更方便快捷,推送对象也更精准。The message push device provided in the embodiment of the present invention can implement each process implemented in the method embodiment in FIG. 1 , and details are not described here to avoid repetition. In the embodiment of the present invention, if the first mobile terminal is within the coverage area of the wireless network, there is no need to subscribe to the information in advance, and it only needs to send the characteristic identifier of the wireless network to the server to receive the message pushed by the server, and the message push is more convenient and fast. Push objects are also more precise.

实施例四Embodiment Four

参照图4,示出了本发明实施例提供的一种消息推送装置的结构框图。部署在服务器,所述装置包括:Referring to FIG. 4 , it shows a structural block diagram of a message push device provided by an embodiment of the present invention. Deployed on a server, the device includes:

特征标识接收模块401,用于接收第一移动终端发送的无线网络的特征标识;A characteristic identifier receiving module 401, configured to receive the characteristic identifier of the wireless network sent by the first mobile terminal;

消息判断模块402,用于根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息;A message judging module 402, configured to judge whether there is a message to be pushed corresponding to the wireless network according to the feature identifier;

消息推送模块403,用于若存在所述待推送的消息,则将所述消息推送至所述第一移动终端。A message push module 403, configured to push the message to the first mobile terminal if there is the message to be pushed.

在所述消息判断模块402之前,所述装置还包括:Before the message judging module 402, the device further includes:

特征标识和消息接收模块,用于接收第二移动终端发送的所述无线网络的特征标识和所述待推送的消息;A feature identification and message receiving module, configured to receive the feature identification of the wireless network and the message to be pushed sent by the second mobile terminal;

存储模块,用于将所述特征标识和所述消息对应存储。A storage module, configured to store the feature identifier and the message correspondingly.

可选地,所述消息推送模块403包括:Optionally, the message push module 403 includes:

消息类别获取子模块,用于获取所述第一移动终端接收消息的消息类别;A message category acquiring submodule, configured to acquire the message category of the message received by the first mobile terminal;

消息推送子模块,用于根据所述消息类别向所述第一移动终端推送消息。The message pushing submodule is configured to push a message to the first mobile terminal according to the message category.

本发明实施例提供的消息推送装置能够实现图2的方法实施例中实现的各个过程,为避免重复,这里不再赘述。通过本发明实施例,第一移动终端进入无线网络的覆盖区域时,无需事先订阅信息,只需将无线网络的特征标识发送给服务器,服务器就可以根据特征标志将消息推送到第一移动终端,消息推送更方便快捷,推送对象也更精准。The message push device provided in the embodiment of the present invention can implement each process implemented in the method embodiment in FIG. 2 , and to avoid repetition, details are not repeated here. Through the embodiment of the present invention, when the first mobile terminal enters the coverage area of the wireless network, it does not need to subscribe to information in advance, and only needs to send the characteristic identifier of the wireless network to the server, and the server can push the message to the first mobile terminal according to the characteristic identifier. Message push is more convenient and fast, and the push object is more accurate.

实施例五Embodiment five

图5为实现本发明各个实施例的一种移动终端的硬件结构示意图,FIG. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention,

该移动终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 5 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器510,用于当检测到无线网络时,获取所述无线网络的特征标识;将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息;接收所述服务器推送的所述消息。Wherein, the processor 510 is configured to obtain a feature identifier of the wireless network when a wireless network is detected; and send the feature identifier to the server, so that the server can judge whether there is a The network corresponds to the message to be pushed, and pushes the message to the first mobile terminal if there is the message to be pushed; and receives the message pushed by the server.

本发明实施例中,如果第一移动终端在无线网络的覆盖区域内,无需事先订阅信息,只需向服务器发送无线网络的特征标识,就可以接收到服务器推送的消息,消息推送更方便快捷,推送对象也更精准。In the embodiment of the present invention, if the first mobile terminal is within the coverage area of the wireless network, there is no need to subscribe to the information in advance, and it only needs to send the characteristic identifier of the wireless network to the server to receive the message pushed by the server, and the message push is more convenient and fast. Push objects are also more precise.

应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 510 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 502, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与移动终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 can also provide audio output related to a specific function performed by the mobile terminal 500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver and the like.

输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used for receiving audio or video signals. The input unit 504 may include a graphics processing unit (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage media) or sent via the radio frequency unit 501 or the network module 502 . The microphone 5042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a phone call mode.

移动终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the display panel 5061 when the mobile terminal 500 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元507可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 5071 or near the touch panel 5071). operate). The touch panel 5071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 510, receive the command sent by the processor 510 and execute it. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图3中,触控面板5071与显示面板5061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 5071 can be covered on the display panel 5061, and when the touch panel 5071 detects a touch operation on or near it, it will be sent to the processor 510 to determine the type of the touch event, and then the processor 510 can The type of event provides a corresponding visual output on the display panel 5061 . Although in FIG. 3, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元508为外部装置与移动终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the mobile terminal 500 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 508 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 can be used to store software programs as well as various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器510是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510 .

移动终端500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 500 can also include a power supply 511 (such as a battery) for supplying power to various components. Preferably, the power supply 511 can be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端500包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 500 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述消息推送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 510, a memory 509, and a computer program stored in the memory 509 and operable on the processor 510. When the computer program is executed by the processor 510 Each process of the above embodiment of the message push method can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述消息推送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned message push method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, and these all belong to the protection of the present invention.

Claims (10)

Translated fromChinese
1.一种消息推送方法,其特征在于,应用于第一移动终端,所述方法包括:1. A message push method, characterized in that being applied to a first mobile terminal, said method comprising:当检测到无线网络时,获取所述无线网络的特征标识;When a wireless network is detected, acquire a feature identifier of the wireless network;将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息;Sending the feature identifier to a server, so that the server judges whether there is a message to be pushed corresponding to the wireless network according to the feature identifier, and sends a message to the second message if there is a message to be pushed A mobile terminal pushes the message;接收所述服务器推送的所述消息。The message pushed by the server is received.2.根据权利要求1所述的方法,其特征在于,所述第一移动终端中设置有接收消息的消息类别,在所述接收所述服务器推送的所述消息之前,所述方法还包括:2. The method according to claim 1, wherein the first mobile terminal is provided with a message category for receiving messages, and before receiving the message pushed by the server, the method further comprises:接收所述服务器发送的获取指令;receiving an acquisition instruction sent by the server;根据所述获取指令向所述服务器发送所述消息类别,以使所述服务器根据所述消息类别向所述第一移动终端推送消息。sending the message category to the server according to the obtaining instruction, so that the server pushes a message to the first mobile terminal according to the message category.3.一种消息推送方法,其特征在于,应用于服务器,所述方法包括:3. A message push method, characterized in that it is applied to a server, and the method comprises:接收第一移动终端发送的无线网络的特征标识;receiving the characteristic identifier of the wireless network sent by the first mobile terminal;根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息;judging whether there is a message to be pushed corresponding to the wireless network according to the feature identifier;若存在所述待推送的消息,则将所述消息推送至所述第一移动终端。If there is the message to be pushed, then push the message to the first mobile terminal.4.根据权利要求3所述的方法,其特征在于,在所述根据所述特征标识判断所述无线网络是否存在待推送消息之前,所述方法还包括:4. The method according to claim 3, wherein before said judging whether there is a message to be pushed in said wireless network according to said characteristic identifier, said method further comprises:接收第二移动终端发送的所述无线网络的特征标识和所述待推送的消息;receiving the characteristic identifier of the wireless network and the message to be pushed sent by the second mobile terminal;将所述特征标识和所述消息对应存储。Correspondingly storing the feature identifier and the message.5.根据权利要求3所述的方法,其特征在于,所述将所述消息推送至所述第一移动终端,包括:5. The method according to claim 3, wherein the pushing the message to the first mobile terminal comprises:获取所述第一移动终端接收消息的消息类别;Acquiring the message category of the message received by the first mobile terminal;根据所述消息类别向所述第一移动终端推送消息。Pushing a message to the first mobile terminal according to the message category.6.一种消息推送装置,其特征在于,部署在第一移动终端,所述装置包括:6. A message push device, characterized in that it is deployed on the first mobile terminal, and the device comprises:特征标识获取模块,用于当检测到无线网络时,获取所述无线网络的特征标识;A feature identifier acquisition module, configured to acquire a feature identifier of the wireless network when a wireless network is detected;特征标识发送模块,用于将所述特征标识发送至服务器,以使所述服务器根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息,并在存在所述待推送的消息的情况下向所述第一移动终端推送所述消息;A feature identifier sending module, configured to send the feature identifier to a server, so that the server can determine whether there is a message to be pushed corresponding to the wireless network according to the feature identifier, and when there is the message to be pushed Pushing the message to the first mobile terminal in the case of ;消息接收模块,用于接收所述服务器推送的所述消息。A message receiving module, configured to receive the message pushed by the server.7.根据权利要求6所述的装置,其特征在于,所述第一移动终端中设置有接收消息的消息类别,在所述消息接收模块之前,所述装置还包括:7. The device according to claim 6, wherein the first mobile terminal is provided with a message category for receiving messages, and before the message receiving module, the device also includes:指令接收模块,用于接收所述服务器发送的获取指令;An instruction receiving module, configured to receive an acquisition instruction sent by the server;消息类别发送模块,用于根据所述获取指令向所述服务器发送所述消息类别,以使所述服务器根据所述消息类别向所述第一移动终端推送消息。A message category sending module, configured to send the message category to the server according to the acquiring instruction, so that the server pushes a message to the first mobile terminal according to the message category.8.一种消息推送装置,其特征在于,部署在服务器,所述装置包括:8. A message push device, characterized in that it is deployed on a server, and the device includes:特征标识接收模块,用于接收第一移动终端发送的无线网络的特征标识;A characteristic identifier receiving module, configured to receive the characteristic identifier of the wireless network sent by the first mobile terminal;消息判断模块,用于根据所述特征标识判断是否存在与所述无线网络对应的待推送的消息;A message judging module, configured to judge whether there is a message to be pushed corresponding to the wireless network according to the feature identifier;消息推送模块,用于若存在所述待推送的消息,则将所述消息推送至所述第一移动终端。A message push module, configured to push the message to the first mobile terminal if there is the message to be pushed.9.根据权利要求8所述的装置,其特征在于,在所述消息判断模块之前,所述装置还包括:9. The device according to claim 8, wherein, before the message judging module, the device further comprises:特征标识和消息接收模块,用于接收第二移动终端发送的所述无线网络的特征标识和所述待推送的消息;A feature identification and message receiving module, configured to receive the feature identification of the wireless network and the message to be pushed sent by the second mobile terminal;存储模块,用于将所述特征标识和所述消息对应存储。A storage module, configured to store the feature identifier and the message correspondingly.10.根据权利要求8所述的装置,其特征在于,所述消息推送模块包括:10. The device according to claim 8, wherein the message push module comprises:消息类别获取子模块,用于获取所述第一移动终端接收消息的消息类别;A message category acquiring submodule, configured to acquire the message category of the message received by the first mobile terminal;消息推送子模块,用于根据所述消息类别向所述第一移动终端推送消息。The message pushing submodule is configured to push a message to the first mobile terminal according to the message category.
CN201810995883.2A2018-08-292018-08-29A kind of information push method and devicePendingCN108737578A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810995883.2ACN108737578A (en)2018-08-292018-08-29A kind of information push method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810995883.2ACN108737578A (en)2018-08-292018-08-29A kind of information push method and device

Publications (1)

Publication NumberPublication Date
CN108737578Atrue CN108737578A (en)2018-11-02

Family

ID=63941737

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810995883.2APendingCN108737578A (en)2018-08-292018-08-29A kind of information push method and device

Country Status (1)

CountryLink
CN (1)CN108737578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112087709A (en)*2020-08-262020-12-15上海传英信息技术有限公司 An information push method, device and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102857886A (en)*2012-08-242013-01-02北京傲天动联技术有限公司Information pushing system based on hot point and method thereof
CN102984649A (en)*2012-11-112013-03-20周良文Mobile wireless fidelity (WiFi) network advertising information release system
CN103281673A (en)*2013-06-092013-09-04北京航空航天大学Business information push service system and method
CN103686613A (en)*2013-12-312014-03-26何海英System and method for intelligent information pushing based on wireless beacons
CN104702628A (en)*2013-12-042015-06-10广州优亿信息科技有限公司WIFI-based precision ad pushing method
CN105451177A (en)*2015-12-152016-03-30小米科技有限责任公司Information push method and device
EP3160101A4 (en)*2014-06-182018-02-21Huizhou TCL Mobile Communication Co., Ltd.Multi-media resource management method, cloud server and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102857886A (en)*2012-08-242013-01-02北京傲天动联技术有限公司Information pushing system based on hot point and method thereof
CN102984649A (en)*2012-11-112013-03-20周良文Mobile wireless fidelity (WiFi) network advertising information release system
CN103281673A (en)*2013-06-092013-09-04北京航空航天大学Business information push service system and method
CN104702628A (en)*2013-12-042015-06-10广州优亿信息科技有限公司WIFI-based precision ad pushing method
CN103686613A (en)*2013-12-312014-03-26何海英System and method for intelligent information pushing based on wireless beacons
EP3160101A4 (en)*2014-06-182018-02-21Huizhou TCL Mobile Communication Co., Ltd.Multi-media resource management method, cloud server and electronic device
CN105451177A (en)*2015-12-152016-03-30小米科技有限责任公司Information push method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112087709A (en)*2020-08-262020-12-15上海传英信息技术有限公司 An information push method, device and computer storage medium

Similar Documents

PublicationPublication DateTitle
CN107943489B (en) Data sharing method and mobile terminal
CN108446085A (en)A kind of throwing screen display methods and mobile terminal
CN109857297B (en) Information processing method and terminal device
CN107770760A (en)A kind of method and mobile terminal of the type for identifying bluetooth equipment
CN107911445A (en)A kind of information push method, mobile terminal and storage medium
CN108022446A (en)A kind of parking spot acquisition methods, mobile terminal
CN108279948A (en)A kind of application program launching method and mobile terminal
CN108541015A (en)A kind of signal strength reminding method and mobile terminal
CN108197934A (en)A kind of method of payment and terminal device
CN108304516A (en)A kind of Web content pre-add support method and mobile terminal
CN108900695A (en)A kind of display processing method and terminal device
CN108495349A (en)A kind of switching method and mobile terminal of carrier network
CN110366182A (en) A data transmission method and terminal equipment
CN107786751A (en)A kind of method for broadcasting multimedia file and mobile terminal
CN110825474B (en)Interface display method and device and electronic equipment
CN108769202A (en) A message push method and its server and terminal equipment
CN107861786A (en)The reminding method and mobile terminal of a kind of notice
CN109618278B (en)Positioning method and mobile terminal
CN111343695A (en) Network connection method, first electronic device and medium
CN110531908A (en)A kind of shortcut operation method and mobile terminal
CN110990029A (en) Application processing method and electronic device
CN110795010A (en) Screen capture method and terminal device thereof
CN110784394A (en)Prompting method and electronic equipment
CN108419283A (en) Method and mobile terminal for WIFI hotspot scanning
CN107864474A (en)A kind of MBN update methods and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20181102

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp