CN107332937A - The interaction method for pushing of weather information - Google Patents

The interaction method for pushing of weather information Download PDF

Info

Publication number
CN107332937A
CN107332937A CN201710771299.4A CN201710771299A CN107332937A CN 107332937 A CN107332937 A CN 107332937A CN 201710771299 A CN201710771299 A CN 201710771299A CN 107332937 A CN107332937 A CN 107332937A
Authority
CN
China
Prior art keywords
terminal
user
information
weather information
server
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
CN201710771299.4A
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.)
Jiangxi Borui Tongyun Technology Co Ltd
Original Assignee
Jiangxi Borui Tongyun 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 Jiangxi Borui Tongyun Technology Co Ltd filed Critical Jiangxi Borui Tongyun Technology Co Ltd
Priority to CN201710771299.4A priority Critical patent/CN107332937A/en
Publication of CN107332937A publication Critical patent/CN107332937A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The present invention relates to a kind of interaction method for pushing of weather information, methods described includes:First terminal receives the bind request instruction of the first user input, and is sent according to bind request instruction generation solicited message to the second terminal of second user;Second terminal obtains the binding acknowledgement instruction that second user is inputted according to the solicited message received, according to binding acknowledgement instruction generation confirmation, and will confirm that information is sent to first terminal according to the user profile of the first user;First terminal receives the query statement that the first user sends according to the confirmation received, and is sent according to query statement generation inquiry request to server;Server obtains the second place information of the second terminal position of second user according to inquiry request;Server is according to the second the second weather information for putting information inquiry second terminal position;And send the second weather information to first terminal;First terminal is shown to the second weather information.

Description

The interaction method for pushing of weather information
Technical field
The present invention relates to the interaction method for pushing of technical field of data processing, more particularly to weather information.
Background technology
Push Service refers to server to by the service of information delivered in real time terminal.It generally require that terminal joins for a long time Net, but the real-time that information reaches can be ensured.And continuing to develop with Internet technology and associated software product, use hand Machine Push Service checks that information has become a part for people's study, work and life.
In daily life, existing meteorological supplying system can only push user location and user position of interest Meteorological details, without reference to pushing the meteorology that user wants the personnel positions of concern, and lack to age of user, the spy such as occupation Judgement is levied to push the weather content for more meeting user's request.
The content of the invention
The purpose of the present invention be for prior art defect there is provided a kind of interaction method for pushing of weather information, pass through The mode of user bound account, the city of another terminal where pushing the associated account number set by user to a terminal Weather content, this method can meet user to greatest extent to meteorological control degree, be easy to user grasp family other Member or the weather condition of other bindings account membership location, so as to facilitate user and the kinsfolk of user or other binding accounts Family is into trip.
To achieve the above object, the invention provides the interaction method for pushing of weather information, the interaction of the weather information Method for pushing includes:
First terminal receives the bind request instruction of the first user input, and according to bind request instruction generation request Information is sent to the second terminal of the second user;Wherein, the solicited message includes the user profile of first user With the user profile of the second user;
The second terminal obtains the second user and referred to according to the binding acknowledgement of the solicited message input received Order, according to binding acknowledgement instruction generation confirmation, and according to the user profile of first user by the confirmation letter Breath is sent to the first terminal;
The first terminal receives the query statement that first user sends according to the confirmation received, and Inquiry request is generated according to the query statement to send to server;
The server obtains the second of the second terminal position of the second user according to the inquiry request Confidence ceases;
Second weather information of server second terminal position according to described second puts information inquiry;And Second weather information is sent to the first terminal;
The first terminal is shown to second weather information.
It is preferred that, first user is received according to looking into that the confirmation received is sent in the first terminal Ask instruction and inquiry request is generated according to the query statement and send to server, methods described also includes:
The server obtains first of the first terminal position of first user according to the inquiry request Confidence ceases;
First weather information of server first terminal position according to the first position information inquiry; And send second weather information to the first terminal;
The first terminal is shown to first weather information.
It is preferred that, methods described also includes:
The first terminal obtains the preset position information of the first terminal memory storage, and by the preset position information Send described to server;
The server inquires about the 3rd weather information in predeterminated position location according to the preset position information;
By first terminal described in the 3rd weather information, the 3rd weather information is carried out to the first terminal Push.
It is preferred that, it is described to instruct generation solicited message to send to the second end of the second user according to the bind request End is specially:
The first terminal is sent to institute according to default time parameter and bind request instruction generation solicited message State the second terminal of second user.
It is preferred that, the user profile includes:ID, occupational information and age information.
It is further preferred that the first terminal is pushed specially to second weather information:
The first terminal is according to first weather information, second weather information, occupational information and age information Pushed information is generated, and shows the pushed information.
The interaction method for pushing of weather information provided in an embodiment of the present invention, by way of user bound account, Xiang Yi The weather content in the city of another terminal where associated account number set by individual terminal push user, this method can be most Limits meet user to meteorological control degree, are easy to the user to grasp other members of family or other binding accounts members position The weather condition put, so as to facilitate user and the kinsfolk of user or other binding accounts into trip.
Brief description of the drawings
Fig. 1 is the flow chart of the interaction method for pushing of weather information provided in an embodiment of the present invention.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
The interaction method for pushing of a kind of weather information provided in an embodiment of the present invention, for the hand with Android operation system Meteorological condition is pushed to user by machine or other equipment that may be coupled to network.Its method flow diagram as shown in figure 1, including Following steps:
Step 110, the bind request instruction generation solicited message that first terminal is inputted according to the first user is sent to second Terminal;
Specifically, terminal can be understood as a smart mobile phone or any terminal device with network function in succession, than Such as PAD.When user's using terminal, it is necessary to first input user profile.The user profile of first user can be understood as main account, The user profile of second user can be understood as other accounts that the first user wants to be bundled on main account.
User profile includes ID, and the first user inputs bind request according to the ID of second user to first terminal Instruction, bind request instruction includes the ID of second user.First terminal receives and solicited message is generated after request instruction, and Solicited message is sent to second terminal according to the ID of second user.
It is preferred that, first terminal internal memory contains default time parameter, to first terminal according to default time parameter Representative frequency sends solicited message to second terminal so that user can adjust the frequency for obtaining weather information the need for oneself Rate.
Step 120, second terminal generation confirmation is sent to first terminal;
Specifically, solicited message to first terminal except including confirming that this issues the second user of which second terminal Outside ID, include the ID of the first user.
Second terminal is got after solicited message, shows solicited message to second user, second user is according to solicited message Can confirm that it is which account will bind the ID of second user.When second user confirms the account of second user to be bundled in When in the account of the first user, second user is instructed to second terminal data binding acknowledgement.Second terminal obtains second user root After binding acknowledgement instruction according to the solicited message input received, according to binding acknowledgement instruction generation confirmation, and according to the The ID of one user will confirm that information is sent to first terminal, to confirm that second user agrees to binding account to the first user.
Step 110-120 is the process that the first user account binds second user account, after step 120 is finished, The account of second user has been bundled in the account of the first user.
In a specific example, user's first wants the user account b of user bound second on the user account a of oneself, So user's first is as the first user, by the first terminal A where the user account a of user's first, to user's account of user's second Second terminal B where the b of family sends bind request instruction, user's second as second user consenting user first bind request it Afterwards, the confirmation of one " binding success ", the confirmation validation of information that user's first passes through " binding success " are sent to first terminal A User account a has bound user account b.
Step 130, the query statement generation inquiry request that first terminal is inputted according to the first user is sent to server;
First user can determine whether the account of second user has been bundled in the first user by receiving confirmation Account on.When first terminal have received confirmation, illustrate that the account of second user has been bundled in the first user's In account, now, the first user can view the user profile of second user on first terminal, it is possible to first terminal Input inquiry is instructed, to inquire about the weather information of the first user account position and the gas of second user account position Image information.
First terminal generates inquiry request according to query statement, and request server issues the first user account position Weather information and the weather information of second user account position.
Step 140, server obtains positional information according to inquiry request;
The ID including the first user and the ID of second user specifically, inquiry is pleaded.Accordingly, server root It is investigated that the step of asking acquisition request positional information is divided into two aspects:
In a first aspect, the first position that server obtains first terminal position according to the ID of the first user is believed Cease, that is, in the global positioning system (Global Positioning System, GPS) where the account of the first user Coordinate information.
Second aspect, server obtains the second confidence of second terminal position according to the ID of second user Cease, that is, in the global positioning system (Global Positioning System, GPS) where the account of second user Coordinate information.
That is, the positional information that server will be not only inquired about where the account of the first user, will also inquire about and be bundled in Positional information where the account of second user in the account of first user.
In a specific example, user account a has bound user account b, then the position that server lookup is arrived Information is respectively:First position information where user account a is " 39 ° 9 ' of north latitude, 116 ° 3 ' of east longitude ", user account b places Second place information be " 30 ° 16 ' of north latitude, 120 ° 12 ' of east longitude ".
Step 160, server is sent to first terminal according to place information inquiry weather information, and by weather information;
Specifically, server is respectively according to first position information and the account of the user of second place information inquiry first place First weather information of position and the second weather information of the account position of second user, and by the first weather information and Two weather informations are sent to the first terminal where the first user account.Weather information includes the current of positional information location Weather information in weather information, and one week of positional information location.
In a specific example, the first position information where user account a is " 39 ° 9 ' of north latitude, 116 ° of east longitude 3 ' ", then server inquires positional information location for Beijing according to " 39 ° 9 ' of north latitude, 116 ° 3 ' of east longitude ", and Pekinese works as Preceding weather information is " 30 DEG C, fine ", and the weather information in one week is " 31 DEG C, fine, 32 DEG C, fine, 30 DEG C, cloudy, 29 DEG C, light rain, 27 DEG C, thunder shower, 39 DEG C is cloudy ".Also, the first position information where user account b is " 30 ° 16 ' of north latitude, 120 ° of east longitude 12 ' ", then server inquires positional information location for Hangzhou according to " 30 ° 16 ' of north latitude, 120 ° 12 ' of east longitude ", Hangzhou Current weather information be " 38 DEG C, fine ", weather information in one week for " 38 DEG C, it is fine, 37 DEG C, it is fine, 37 DEG C, it is cloudy, 32 DEG C, it is small Rain, 33 DEG C, thunder shower, 35 DEG C is cloudy ".Server is by the weather information in Pekinese's current weather information, Beijing one week, Hangzhoupro Weather information in the current weather information in state and Hangzhou one week is all sent into the first terminal A where user account a.
Step 160, first terminal is shown to weather information;
Specifically, user profile is in addition to ID, in addition to user's occupational information and age of user information.First eventually End combines the occupation of the first user after it have received the first weather information and the second weather information in the first weather information Information and age of user information are analyzed, and generation is directed to a part for the pushed information of the first user, also, meteorological second The occupational information and age of user information of second user, another portion of the generation for the pushed information of second user are combined in information Point.The pushed information that two parts of pushed information combine one completion of generation is shown to the first user, such first User can just see the meteorology and/or trip pushed information for the first user and second user simultaneously.
In a specific example, the occupation of user's first is salesman, and the age is 25 years old.The occupation of user's second is nothing Industry, the age is 65 years old.User account a used in user's first has bound user's second and has used the user's account b changed.On the one hand, The first weather information that the first terminal A that user's first is used is received is " 37 DEG C, fine ", with reference to " salesman " in user account a Occupational information and the age information of " 25 ", the pushed information for this part of user's first is that " today, weather was fine, 37 DEG C, and open air is living Careful heatstroke is asked when dynamic ".On the other hand, the second weather information that the first terminal A that user's first is used is received for " 35 DEG C, it is fine simultaneously Have haze ", with reference to the occupational information of " unemployed " in user account b and the age information of " 65 ", for pushing away for this part of user's second Breath of delivering letters is " today, weather was fine and have haze, 35 DEG C, please reduce morning exercises time or outer activity, and careful heatstroke ".By user's first Combine with the two-part pushed information of user's second, user's first can see regional meteorological condition where him and trip is carried Show, and can see user's second where regional meteorological condition and trip point out, remind the user that second trip should note The item of meaning.
Above step 110-160 is also applied for the situation that first terminal is mutually bound with second terminal.When first terminal with When second terminal is mutually bound, first terminal can receive the weather information of the first user and second user location, second Terminal can also receive the weather information of second user and the first user location.
More excellent, first terminal can also pass through except obtaining weather information non-indigenous by way of being bound account The mode of preset position information is stored, non-local weather information corresponding with preset position information is obtained.
Specifically, first terminal obtains the preset position information of first terminal memory storage, and preset position information is sent To server.Server inquires about the 3rd weather information in predeterminated position location according to preset position information, and meteorological by the 3rd Information first terminal, is pushed to first terminal to the 3rd weather information.
When pushing three weather informations, it can equally select to combine occupational information and age information generates pushed information Mode, to display pushed information.
The interaction method for pushing of weather information provided in an embodiment of the present invention, by way of user bound account, Xiang Yi The weather content in the city of another terminal where associated account number set by individual terminal push user, this method can be most Limits meet user to meteorological control degree, are easy to the user to grasp other members of family or other binding accounts members position The weather condition put, so as to facilitate user and the kinsfolk of user or other binding accounts into trip.
Professional should further appreciate that, each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, hard in order to clearly demonstrate The interchangeability of part and software, generally describes the composition and step of each example according to function in the above description. These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme. Professional and technical personnel can realize described function to each specific application using distinct methods, but this realize It is not considered that beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, can be performed with hardware, user terminal Software module, or the two combination implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage Device (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology neck In any other form of storage medium well known in domain.
Above-described embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc. all should be included Within protection scope of the present invention.

Claims (6)

1. the interaction method for pushing of a kind of weather information, it is characterised in that the interaction method for pushing of the weather information includes:
First terminal receives the bind request instruction of the first user input, and according to bind request instruction generation solicited message Send to the second terminal of the second user;Wherein, the solicited message includes user profile and the institute of first user State the user profile of second user;
The second terminal obtains the binding acknowledgement instruction that the second user is inputted according to the solicited message received, root According to binding acknowledgement instruction generation confirmation, and the confirmation is sent according to the user profile of first user To the first terminal;
The query statement that the first terminal reception first user sends according to the confirmation received, and according to The query statement generation inquiry request is sent to server;
The server obtains the second confidence of the second terminal position of the second user according to the inquiry request Breath;
Second weather information of server second terminal position according to described second puts information inquiry;And by institute The second weather information is stated to send to the first terminal;
The first terminal is shown to second weather information.
2. according to the interaction method for pushing of the weather information described in claim 1, it is characterised in that receive institute in the first terminal The first user is stated according to the query statement of the confirmation transmission received and is asked according to query statement generation inquiry Ask after transmission to server, methods described also includes:
Believe the first position that the server obtains the first terminal position of first user according to the inquiry request Breath;
First weather information of server first terminal position according to the first position information inquiry;And will Second weather information is sent to the first terminal;
The first terminal is shown to first weather information.
3. the interaction method for pushing of weather information according to claim 1, it is characterised in that methods described also includes:
The first terminal obtains the preset position information of the first terminal memory storage, and the preset position information is sent It is described to server;
The server inquires about the 3rd weather information in predeterminated position location according to the preset position information;
By first terminal described in the 3rd weather information, the 3rd weather information is pushed away to the first terminal Send.
4. the interaction method for pushing of weather information according to claim 1, it is characterised in that described to be asked according to the binding Ask to instruct to generate solicited message and send to the second terminal of the second user and be specially:
The first terminal is sent to described the according to default time parameter and bind request instruction generation solicited message The second terminal of two users.
5. the interaction method for pushing of weather information according to claim 1, it is characterised in that the user profile includes: ID, occupational information and age information.
6. the interaction method for pushing of weather information according to claim 5, it is characterised in that the first terminal is to described Second weather information is pushed specially:
The first terminal is generated according to first weather information, second weather information, occupational information and age information Pushed information, and show the pushed information.
CN201710771299.4A 2017-08-31 2017-08-31 The interaction method for pushing of weather information Pending CN107332937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710771299.4A CN107332937A (en) 2017-08-31 2017-08-31 The interaction method for pushing of weather information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710771299.4A CN107332937A (en) 2017-08-31 2017-08-31 The interaction method for pushing of weather information

Publications (1)

Publication Number Publication Date
CN107332937A true CN107332937A (en) 2017-11-07

Family

ID=60204262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710771299.4A Pending CN107332937A (en) 2017-08-31 2017-08-31 The interaction method for pushing of weather information

Country Status (1)

Country Link
CN (1) CN107332937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114599002A (en) * 2022-05-09 2022-06-07 广东省气象公共服务中心(广东气象影视宣传中心) Daily weather personalized service automatic pushing method based on 5G message

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7084775B1 (en) * 2004-07-12 2006-08-01 User-Centric Ip, L.P. Method and system for generating and sending user-centric weather alerts
CN101127799A (en) * 2006-08-17 2008-02-20 索尼爱立信移动通信日本株式会社 Mobile communication terminal, information acquisition method, and information acquisition program
US7366779B1 (en) * 2000-06-19 2008-04-29 Aol Llc, A Delaware Limited Liability Company Direct file transfer between subscribers of a communications system
CN102497333A (en) * 2011-12-18 2012-06-13 上海量明科技发展有限公司 Method, client end and system used for outputting contact object weather information
CN103781019A (en) * 2012-10-26 2014-05-07 三星电子(中国)研发中心 Method and apparatus for providing area protection
CN103888915A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Meteorological information updating method and server
CN105872967A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Method and device for reminding weather information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7366779B1 (en) * 2000-06-19 2008-04-29 Aol Llc, A Delaware Limited Liability Company Direct file transfer between subscribers of a communications system
US7084775B1 (en) * 2004-07-12 2006-08-01 User-Centric Ip, L.P. Method and system for generating and sending user-centric weather alerts
CN101127799A (en) * 2006-08-17 2008-02-20 索尼爱立信移动通信日本株式会社 Mobile communication terminal, information acquisition method, and information acquisition program
CN102497333A (en) * 2011-12-18 2012-06-13 上海量明科技发展有限公司 Method, client end and system used for outputting contact object weather information
CN103781019A (en) * 2012-10-26 2014-05-07 三星电子(中国)研发中心 Method and apparatus for providing area protection
CN103888915A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Meteorological information updating method and server
CN105872967A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Method and device for reminding weather information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114599002A (en) * 2022-05-09 2022-06-07 广东省气象公共服务中心(广东气象影视宣传中心) Daily weather personalized service automatic pushing method based on 5G message

Similar Documents

Publication Publication Date Title
CN104954410B (en) Information push method, device, server and computer readable storage medium
CN106162804B (en) For the method and apparatus for the access information for providing wireless access focus
AU2012248986B2 (en) Method for displaying marker in a map service
CN103067588B (en) System and method with which real-time map is capable of being displayed and shared in mobile terminal
US8583517B1 (en) Systems and methods for generating and sending electronic messages related to a tax return
CN102564434B (en) Method for offering location information and location information providing system
CN105184155B (en) Application program display control method and device in terminal
CN105657019A (en) Mobile terminal advertisement delivery method based on geographical position
CN108765646A (en) A kind of control method for door lock and device based on GPS positioning
CN107480910A (en) Task allocating method and system based on address information
CN106453617B (en) A kind of information-pushing method and information push platform
CN110322579A (en) Work attendance method, system, device, corresponding equipment, server and storage medium
CN103327041B (en) A kind of method and system obtaining user content
US8694349B2 (en) Method and system of transferring a promotion information for social-local-mobile based community
CN107332937A (en) The interaction method for pushing of weather information
CN101600191A (en) roaming service processing method and system
CN103064888B (en) A kind of information issuing method and device
CN106888433B (en) Identical service request position privacy protection method based on Thiessen polygon
CN103369492B (en) A kind of method and system that remote service is provided based on smart mobile phone
CN104581888B (en) Upper net guided system and method based on wireless access point
CN104748759A (en) Method for obtaining locating information and navigation by smartphone
CN107480831A (en) Task distributing method and system based on address information
CN107516248A (en) Task settlement method based on address information
CN104427575A (en) Access system and method for providing location-based service information
CN103516665A (en) User data generation method and system, client side and server

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107