CN104808999B - Notify method for pushing and device - Google Patents

Notify method for pushing and device Download PDF

Info

Publication number
CN104808999B
CN104808999B CN201510259472.3A CN201510259472A CN104808999B CN 104808999 B CN104808999 B CN 104808999B CN 201510259472 A CN201510259472 A CN 201510259472A CN 104808999 B CN104808999 B CN 104808999B
Authority
CN
China
Prior art keywords
web
intelligent terminal
data
wearable device
specific format
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.)
Active
Application number
CN201510259472.3A
Other languages
Chinese (zh)
Other versions
CN104808999A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510259472.3A priority Critical patent/CN104808999B/en
Publication of CN104808999A publication Critical patent/CN104808999A/en
Application granted granted Critical
Publication of CN104808999B publication Critical patent/CN104808999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention proposes that a kind of notice method for pushing and device, the notice method for pushing include:Web page server receives web-page requests, and the web page server is integrated in the application of intelligent terminal installation;The web-page requests are parsed, obtain the data of the specific format carried in the web-page requests;The data of the specific format are carried to the intelligent wearable device for being pushed to the intelligent terminal connection in the notification.Pass through the present invention, intelligent terminal can have in webpage (Web) page to the ability of intelligent wearable device sending out notice, by content push to intelligent wearable device when alloing the user to check Web page in intelligent terminal, it is easy to user to be checked when without using intelligent terminal, user experience is improved, and is advantageous to APP popularizations.

Description

Notify method for pushing and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of notice method for pushing and device.
Background technology
Android (Android) wrist-watch is realized based on Android wearable device, there is provided is installed from Android intelligent terminal Application (Application;Hereinafter referred to as:APP) to the method for Android wrist-watch end sending out notice, can thus incite somebody to action Android wrist-watches use as the second display screen of intelligent terminal.
But in the prior art, the local APP that can only be installed from Android intelligent terminal pushes to Android wrist-watches Notice, the scope of application is very narrow, is unfavorable for APP popularizations, and user experience is also poor.
The content of the invention
The purpose of the present invention is intended to one of technical problem at least solving in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of notice method for pushing.With it, intelligent terminal can With with webpage (Web) page to the ability of intelligent wearable device sending out notice so that user can be in intelligent terminal In when checking Web page by content push to intelligent wearable device, be easy to user to be checked when without using intelligent terminal, improve User experience, and be advantageous to APP popularization.
Second object of the present invention is to propose a kind of notice pusher.
To achieve these goals, the notice method for pushing of first aspect present invention embodiment, including:Web page server connects Web-page requests are received, the web page server is integrated in the application of intelligent terminal installation;The web-page requests are parsed, described in acquisition The data of the specific format carried in web-page requests;The data of the specific format are carried and are pushed to the intelligence in the notification The intelligent wearable device of terminal connection.
The notice method for pushing of the embodiment of the present invention, the web page server integrated in the application of intelligent terminal installation receive net After page request, above-mentioned web-page requests are parsed, obtain the data of the specific format carried in above-mentioned web-page requests, then will be above-mentioned The data of specific format carry the intelligent wearable device for being pushed to intelligent terminal connection in the notification, so as to realize intelligence Terminal is in Web page to intelligent wearable device sending out notice so that when user can check Web page in intelligent terminal By content push to intelligent wearable device, it is easy to user to be checked when without using intelligent terminal, improves user experience, and And be advantageous to APP popularizations.
To achieve these goals, the notice pusher of second aspect of the present invention embodiment, is arranged on web page server In, the web page server is integrated in the application of intelligent terminal installation, and the notice pusher includes:Receiving module, use In reception web-page requests;Parsing module, the web-page requests received for parsing the receiving module, is obtained in the web-page requests The data of the specific format of carrying;Pushing module, the data of the specific format for the parsing module to be obtained are carried logical The intelligent wearable device of the intelligent terminal connection is pushed in knowing.
The notice pusher of the embodiment of the present invention, is arranged in web page server, and above-mentioned web page server is integrated in intelligence In the application of energy terminal installation, after the receiving module in above-mentioned notice pusher receives web-page requests, parsing module parsing Above-mentioned web-page requests, the data of the specific format carried in above-mentioned web-page requests are obtained, then pushing module is by above-mentioned particular bin The data of formula carry the intelligent wearable device for being pushed to intelligent terminal connection in the notification, so as to realize that intelligent terminal exists To intelligent wearable device sending out notice in Web page so that by content when user can check Web page in intelligent terminal Intelligent wearable device is pushed to, is easy to user to be checked when without using intelligent terminal, improves user experience, and favorably Promoted in APP.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of present invention notice method for pushing one embodiment;
Fig. 2 realizes schematic diagram for another embodiment of notice method for pushing of the invention;
Fig. 3 is the structural representation of present invention notice pusher one embodiment.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this All changes that the embodiment of invention includes falling into the range of the spirit and intension of attached claims, modification and equivalent Thing.
Fig. 1 is the flow chart of present invention notice method for pushing one embodiment, as shown in figure 1, the notice method for pushing can With including:
Step 101, web page server receives web-page requests, and above-mentioned web page server is integrated in the application of intelligent terminal installation In.
In the present embodiment, Internet Protocol (the Internet Protocol of above-mentioned web page server;Hereinafter referred to as:IP) Address is local IP address (127.0.0.1), and uses fixed port numbers.
Step 102, web page server parses above-mentioned web-page requests, obtains the specific format that is carried in above-mentioned web-page requests Data.
Specifically, obtaining the data of the specific format carried in above-mentioned web-page requests can be:Obtain above-mentioned web-page requests JavaScript object representation (the JavaScript Object Notation of middle carrying;Hereinafter referred to as:JSON) form Data.
Step 103, the data of above-mentioned specific format are carried and are pushed to above-mentioned intelligent terminal in the notification by web page server The intelligent wearable device of connection.
Wherein, the intelligent wearable device of above-mentioned intelligent terminal connection includes being directly connected to or communicating with above-mentioned intelligent terminal The intelligent wearable device of connection;Wherein, communication connection refers to that intelligent terminal can be based on bluetooth, nothing with intelligent wearable device The technologies such as gauze network, mobile network, infrared or near-field communication are communicated.
Specifically, the intelligence that the data carrying of above-mentioned specific format is pushed to intelligent terminal connection in the notification is wearable Equipment can be:The notification interface that web page server calls the operating system of above-mentioned intelligent terminal to provide is wearable to above-mentioned intelligence Equipment dispatch order, the data of above-mentioned specific format are carried in above-mentioned notice.
Above-mentioned notice method for pushing, intelligent terminal installation application in integrate web page server receive web-page requests it Afterwards, above-mentioned web-page requests are parsed, obtain the data of the specific format carried in above-mentioned web-page requests, then by above-mentioned specific format Data carry be pushed in the notification intelligent terminal connection intelligent wearable device, so as to realize that intelligent terminal exists To intelligent wearable device sending out notice in Web page so that by content when user can check Web page in intelligent terminal Intelligent wearable device is pushed to, is easy to user to be checked when without using intelligent terminal, improves user experience, and favorably Promoted in APP.
Fig. 2 realizes schematic diagram for another embodiment of notice method for pushing of the invention, as shown in Fig. 2 the present invention provides Notice method for pushing core be in intelligent terminal, such as:Android phone end integrates a HTTP (HyperText Transfer Protocol;Hereinafter referred to as:HTTP server), i.e. web page server (Web Server), The web page server for server address, and uses fixed port numbers, this webpage with local IP address (127.0.0.1) Server is integrated among an APP of mobile phone terminal installation.
Above-mentioned web page server provides a series of orders using JSON as interface, when a web-page requests are received, Web page server can parse above-mentioned web-page requests, obtain the data of the JSON forms carried in the web-page requests, then call The notification interface of android system, a notice is pushed to intelligent wearable device, such as Android wrist-watches end.In Fig. 2, Android phone is communicated to connect with Android wrist-watches based on Bluetooth technology.
In Web page, when needing to Android wrist-watches end sending out notice, web page server only needs to call The notification interface of android system, that is, call " http:// 127.0.0.1/notification " addresses, which are sent, to be notified, and The data for the JSON forms that the parsing of additional web pages server obtains in notice.In the present invention, the realization of Web page, disobey Rely browser.
And Android wrist-watches end performs the normal flow of the notice push of Android wearable devices, herein no longer Repeat.
Notice method for pushing provided by the invention can realize that intelligent terminal pushes away in Web page to intelligent wearable device Send notice so that by content push to intelligent wearable device when user can check Web page in intelligent terminal, be easy to use Family is checked when without using intelligent terminal, improves user experience, and is advantageous to APP popularizations.
Fig. 3 is the structural representation of present invention notice pusher one embodiment, the notice push dress in the present embodiment Web page server can be used as by putting, or be arranged on the flow that embodiment illustrated in fig. 1 of the present invention is realized in web page server, above-mentioned Web page server is integrated in the application of intelligent terminal installation.As shown in figure 3, above-mentioned notice pusher can include:Receive Module 31, parsing module 32 and pushing module 33;
Wherein, receiving module 31, for receiving web-page requests.
Parsing module 32, for parsing the web-page requests of the reception of receiving module 31, obtain what is carried in above-mentioned web-page requests The data of specific format;In the present embodiment, parsing module 32, specifically for obtaining the JSON forms carried in above-mentioned web-page requests Data.
Pushing module 33, the data of specific format for parsing module 32 to be obtained carry be pushed in the notification it is above-mentioned The intelligent wearable device of intelligent terminal connection.In the present embodiment, pushing module 33, specifically for calling above-mentioned intelligent terminal The notification interface that operating system provides sends notice to above-mentioned intelligent wearable device, and above-mentioned specific format is carried in above-mentioned notice Data.Wherein, the intelligent wearable device of above-mentioned intelligent terminal connection includes being directly connected to or communicating with above-mentioned intelligent terminal The intelligent wearable device of connection;Wherein, communication connection refers to that intelligent terminal can be based on bluetooth, nothing with intelligent wearable device The technologies such as gauze network, mobile network, infrared or near-field communication are communicated.
In the present embodiment, the IP address of above-mentioned web page server is local IP address (127.0.0.1), and uses fixation Port numbers.
Above-mentioned notice pusher, is arranged in web page server, and above-mentioned web page server is integrated in intelligent terminal installation Application in, after receiving module 31 in above-mentioned notice pusher receives web-page requests, parsing module 32 parses above-mentioned net Page request, obtains the data of the specific format carried in above-mentioned web-page requests, and then pushing module 33 is by above-mentioned specific format Data carry the intelligent wearable device for being pushed to intelligent terminal connection in the notification, so as to realize intelligent terminal in Web To intelligent wearable device sending out notice in the page so that user can check in intelligent terminal and push away content during Web page Intelligent wearable device is sent to, is easy to user to be checked when without using intelligent terminal, improves user experience, and be advantageous to APP is promoted.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for describing purpose, without It is understood that to indicate or implying relative importance.In addition, in the description of the invention, unless otherwise indicated, the implication of " multiple " It is two or more.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (Programmable Gate Array;Hereinafter referred to as:PGA), field programmable gate array (Field Programmable Gate Array;Hereinafter referred to as:FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module or Modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated module Both it can be realized, can also be realized in the form of software function module in the form of hardware.If the integrated module In the form of software function module realize and as independent production marketing or in use, a computer can also be stored in can Read in storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changed, replacing and modification.

Claims (4)

1. one kind notice method for pushing, it is characterised in that including:
Web page server receives web-page requests, and the web page server is integrated in the application of intelligent terminal installation;The webpage The Internet protocol IP address of server is local IP address, uses fixed port numbers;The web-page requests are used to ask The intelligence that the content push for the Webpage that user is browsed using the intelligent terminal gives the intelligent terminal connection can be worn Wear equipment;
The web-page requests are parsed, obtain the data of the specific format carried in the web-page requests, the number of the specific format According to the content for including the Webpage that the user is browsed using the intelligent terminal;
The data of the specific format are carried to the intelligent wearable device for being pushed to be connected with the intelligent terminal in the notification;
Wherein, the data by the specific format carry be pushed to the intelligence being connected with the intelligent terminal in the notification can Wearable device includes:The notification interface that the operating system of the intelligent terminal provides is called to be sent to the intelligent wearable device Notify, the data of the specific format are carried in the notice.
2. according to the method for claim 1, it is characterised in that described to obtain the specific format carried in the web-page requests Data include:
Obtain the data of the JavaScript object representation form carried in the web-page requests.
3. one kind notice pusher, it is characterised in that be arranged in web page server, the web page server is integrated in intelligence In the application of terminal installation, the Internet protocol IP address of the web page server is local IP address, uses fixed end Slogan;
The notice pusher includes:
Receiving module, for receiving web-page requests;The web-page requests are used to ask to browse user using the intelligent terminal The content push of Webpage give the intelligent wearable device of intelligent terminal connection;
Parsing module, the web-page requests received for parsing the receiving module, obtain carried in the web-page requests it is specific The data of form, the data of the specific format are included in the Webpage that the user is browsed using the intelligent terminal Hold;
Pushing module, the data of the specific format for the parsing module to be obtained carry to be pushed to and the intelligence in the notification The intelligent wearable device of energy terminal connection;
The pushing module, the notification interface provided specifically for the operating system for calling the intelligent terminal can to the intelligence Wearable device sends notice, and the data of the specific format are carried in the notice.
4. device according to claim 3, it is characterised in that
The parsing module, the number specifically for obtaining the JavaScript object representation form carried in the web-page requests According to.
CN201510259472.3A 2015-05-20 2015-05-20 Notify method for pushing and device Active CN104808999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510259472.3A CN104808999B (en) 2015-05-20 2015-05-20 Notify method for pushing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510259472.3A CN104808999B (en) 2015-05-20 2015-05-20 Notify method for pushing and device

Publications (2)

Publication Number Publication Date
CN104808999A CN104808999A (en) 2015-07-29
CN104808999B true CN104808999B (en) 2018-03-06

Family

ID=53693852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510259472.3A Active CN104808999B (en) 2015-05-20 2015-05-20 Notify method for pushing and device

Country Status (1)

Country Link
CN (1) CN104808999B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559449B (en) * 2015-09-28 2019-12-17 百度在线网络技术(北京)有限公司 Method and device for pushing notification to intelligent wearable device and displaying notification

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100424625B1 (en) * 2001-11-15 2004-03-24 삼성전자주식회사 Apparatus for web contents providing using subscriber terminal in exchange system and method same
CN101557354A (en) * 2008-04-11 2009-10-14 北京亿企通信息技术有限公司 Method for sending picture by client service personnel on line
CN102752375B (en) * 2012-06-21 2015-10-28 惠州Tcl移动通信有限公司 Realize the remote-operated method and system of smart card
CN104113570A (en) * 2013-04-17 2014-10-22 崔伯磊 Android terminal desktop direct access method and system through browser or software program
CN103415039B (en) * 2013-07-10 2018-02-27 上海新储集成电路有限公司 The system for prompting and method that a kind of information customizes
CN103944961A (en) * 2014-03-21 2014-07-23 天脉聚源(北京)传媒科技有限公司 Application sharing method, device and system

Also Published As

Publication number Publication date
CN104808999A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN105051685B (en) For causing networked asset to be able to access that locally applied system and method
CN103905447B (en) Service link selects control method and equipment
US9775120B2 (en) Plurality of beacon signals transmission method for providing a plurality of beacon services and a beacon service provision method using the beacon signals
CN103546505B (en) The method, system and device that Segment is according to priority sequentially shown
CN104965848B (en) A kind of front end resource loading method and device
KR102461022B1 (en) Method and Apparatus for Analysis of Log Data
CN103404113A (en) Notice pushing method, device and system
CN101674374A (en) Webpage content extraction forwarding system for mobile communication terminal and application method thereof
CN104378399B (en) A kind of data push method, Platform Server, client and system
CN108574709B (en) Method and device for realizing cross-domain operation
CN102999500A (en) Statistical method and system for click rate
JP2010257465A5 (en)
CN107480277A (en) Method and device for web log file collection
CN103218741A (en) Method and system for bidding advertisement, trading platform and advertisement service providing equipment
CN102904959A (en) Network accelerating method and gateway
CN105893508A (en) Method, device and system for determining access sequence of native page and H5 page
CN103475744A (en) Resource downloading method, device and system on basis of Web application
CN101924994A (en) Information push server and information push method
CN109688483A (en) A kind of method, apparatus and electronic equipment obtaining video
CN104009979A (en) Method for data transmission
CN104462242B (en) Webpage capacity of returns statistical method and device
RU2016109614A (en) SYSTEMS AND METHODS OF USE AND PROCESSING INFORMATION ABOUT DATA TAG CARRIERS
CN104808999B (en) Notify method for pushing and device
CN102685155B (en) The method that content transmits, content delivering server and content transmit proxy server
CN103402229B (en) A kind of data download method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant