CN102497333B - In order to export the method for contact object Weather information, client and system - Google Patents
In order to export the method for contact object Weather information, client and system Download PDFInfo
- Publication number
- CN102497333B CN102497333B CN201110425685.0A CN201110425685A CN102497333B CN 102497333 B CN102497333 B CN 102497333B CN 201110425685 A CN201110425685 A CN 201110425685A CN 102497333 B CN102497333 B CN 102497333B
- Authority
- CN
- China
- Prior art keywords
- contact object
- weather information
- weather
- contact
- display
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a kind of method, client and system in order to export contact object Weather information, belong to network, software technology field.By input method toolbar, trigger immediate communication tool expediently.The method comprises the steps: step 1, and setting needs the contact object of carrying out Weather information display; Step 2, sets up weather contact rule, stores in instant communication system server; Step 3, gathers the Weather information corresponding with aforementioned contact object, and the instant communication client transferring to user place exports.Utilize the present invention, the Weather information that contact object demonstrates instant communication contacts object expediently can be directed to.
Description
Technical field
The invention belongs to network, software technology field.
Technical background
Instant messaging (InstantMessaging is called for short IM), in most cases, refers to the business that can immediately send or receive the functions such as internet message.It has become people carry out interactive communication platform by network, in order to realize the data interaction operation comprising text, picture, voice, video, multimedia etc., and JICQ can be utilized to carry out transmission operation to existing data file.On the basis of interactive communication, the several functions such as private page, blog, microblogging, Email, music, picture, game, video display and search are progressively developed.JICQ is no longer simple as chat tool, also in order to realize the purposes more widely such as information, amusement, search, ecommerce, office, Web Community.
The equipment of instant communication function access can be realized, also varied.Typical device type, comprises the PC using legacy network, and panel computer; Also comprise the smart mobile phone using mobile Internet, etc.
The type of current instant communication software is also varied, typically comprises the ICQ of the QQ of Tentent Science company, MSN, AOL of Microsoft, and Taobao Wang Wang, POPO, Fetion, etc.The type of current instant communication software, also varied, typically comprise the ICQ of Tentent Science company QQ, Microsoft MSN, AOL, and Taobao Wang Wang, POPO, Fetion, etc.Existing immediate communication tool, can show the Weather information relevant with user.And for contact object, then can not show the data message of this type.But in communication exchanges, weather is usually the problem that both sides are concerned about, also through being commonly used to the topic of initiating chat.
Summary of the invention
Object of the present invention, is to provide a kind of method, client and system in order to export contact object Weather information, utilizes the present invention, can be directed to the Weather information that contact object demonstrates instant communication contacts object expediently.
The invention provides a kind of method in order to export contact object Weather information, the method comprises the steps:
Step 1, setting needs the contact object of carrying out Weather information display;
Step 2, sets up weather contact rule, stores in instant communication system server;
Step 3, gathers the Weather information corresponding with aforementioned contact object, and the instant communication client transferring to user place exports.
Further, setting needs the mode of the contact object of carrying out Weather information display, is the both sides in being operated by interactive communication or contact object in many ways, gathers as display Weather information contact object.
Further, the both sides during interactive communication is operated or contact object in many ways, the step gathered as display Weather information contact object is,
The data message of the window of instant messaging interactive interface has been opened in traversal instant messaging;
Gather the customer identification number being directed to the current contact object opened in instant messaging interactive interface of user;
Using aforesaid contact object as needing the contact object exporting Weather information, the customer identification number corresponding with it is sent to system server;
In system server, gather the customer identification number of aforementioned contact object, gather as needs and export the weather contact rule of corresponding Weather information.
Further, setting needs the mode of the contact object of carrying out Weather information display, is by the contact object of contact frequency in front N ranking, gathers as display Weather information contact object.
Further, by the contact object of contact frequency in front N ranking, the step gathered as display Weather information contact object is,
The contact object of rank in front N ranking of setting contact frequency, as the contact object of display Weather information;
Setting needs to calculate the time period contacting frequency between contact object, gathers the contact number of times of user and contact object within this time period;
According to the collection result of previous step, obtain the contact frequency between user and corresponding relationship people object;
Contact frequency is sorted from high to low;
By the contact object of rank within front N ranking, be taken as Weather information contact object, gather the customer identification number of its correspondence, set up weather contact rule.
Further, setting needs the mode of the contact object of carrying out Weather information display, is will contact the contact object of time in front M ranking recently, gathers as display Weather information contact object.
Further, described will contact the contact object of time in front M ranking recently, and the step gathered as display Weather information contact object is,
Set the contact object of rank in front M ranking of nearest contact time, as the contact object of display Weather information;
Gather the contact object that user carries out exchanging, poor with the current operating time;
Operating time difference is sorted from less to more;
By the contact object of rank within front M ranking, be taken as Weather information contact object, gather the customer identification number of its correspondence, set up weather contact rule.
Further, setting needs the mode of the contact object of carrying out Weather information display, is by the contact object in specific cluster or particular cluster, gathers as display Weather information contact object.
Further, described by the contact object in specific cluster or particular cluster, the step gathered as display Weather information contact object is,
Contact object in specific cluster or particular cluster is set, gathers as display Weather information contact object;
Gather the customer identification number of the contact object in respective packets or group, send it to the system server of instant messaging;
By the contact object corresponding to aforementioned customer identification number, be taken as Weather information contact object, gather its customer identification number and set up list, form weather contact rule.
Further, setting needs the mode of the contact object of carrying out Weather information display, is gather the contact object set by user, as display Weather information contact object.
Further, the described contact object set by collection user, the step as display Weather information contact object is,
Generate the operation interface in order to select contact object to be used as showing Weather information contact object;
Gather user-selected contact object information, obtain the customer identification number of respective contacts object;
Obtained customer identification number is sent to the system server at place, correspond to the customer identification number of user place instant communication client, be stored as corresponding Weather information contact object, form weather contact rule.
Further, described Weather information, the step of acquisition is,
Collection contact object is directed to the location domain information in self explanatory message part;
Comparison includes the database of the corresponding Weather information in region;
Gather the Weather information obtaining region, place.
Further, described Weather information, the step of acquisition is,
Generate and accept the operation interface that user writes display weather contact object location domain information;
Gather the regional information that user writes;
The customer identification number of regional information user write and display weather contact object, and user's own user identifier, be sent to system server, carry out data storage;
Gather the regional information stored, and the database including the corresponding Weather information in region is compared, and obtains the Weather information of corresponding region.
Further, described Weather information, the step of acquisition is,
By showing the instant communication client at weather contact object place, triggering the geo-location structure in the terminal of place, carrying out geo-location operation, generate geo-localisation information;
By aforesaid instant communication client, gather aforesaid geo-localisation information, the instant communication users identifier that correspond to place is sent to system server;
Via system server, aforesaid geo-localisation information and the database including the corresponding Weather information in region are compared, obtains corresponding Weather information.
Further, the mode that described Weather information exports at instant communication client is,
Be directed to the instant messaging interactive interface being in opening, gather the Weather information of corresponding contact object, and carry out data output by this instant messaging interactive interface;
Or, being directed to aforesaid instant messaging interactive interface, the triggering button of Weather information be set, when collecting the operation information being directed to this triggering button, opening corresponding Weather information form window, export the Weather information that institute gathers acquisition.
Further, the mode that described Weather information exports at instant communication client is,
Be directed to the contact object ITEM item on instant messaging main panel, correspond to the ITEM item of display weather contact object, export the Weather information that institute gathers acquisition;
Or the contact object ITEM item that correspond to, arranges Weather information and trigger button, when gathering the operation information obtaining and be directed to and trigger button, export the Weather information that collection corresponding thereto obtains.
Further, described method, includes following steps,
Step S210, traversal is in the data message of the instant messaging interactive interface of opening, obtains the contact object that correspond to this instant messaging interactive interface;
Step S220, will correspond to the contact object opening instant messaging interactive interface, is set as the contact object needing to carry out Weather information display;
Step S230, gathers the customer identification number of aforesaid contact object, it can be used as the contact object needing to carry out Weather information display, transfers in instantaneous communication system server and store;
Step S240, is directed to aforesaid contact object, obtains the regional information at this contact object place, by the comparing between regional information and Weather information, obtains the Weather information of region, place;
Or the existing instant communication users weather data storehouse that examination and system server are associated, obtains the Weather information that correspond to aforementioned contact object;
Step S250, gathers the Weather information corresponding with aforementioned contact object, transfers to the instant communication client at user place;
Step S260, is in the instant messaging interactive interface of opening aforementioned, arranges Weather information output window, exports the aforementioned Weather information obtained.
Further, described method, includes following steps,
Step S310, gathers the trigger message that user arranges display weather contact object, generates the operation interface selecting contact object as display weather contact person;
Step S320, gathers user-selected contact object information, obtains the customer identification number of respective contacts object;
Step S330, is sent to the system server at place by obtained customer identification number, correspond to the customer identification number of user place instant communication client, is stored as corresponding display weather contact object, forms weather contact rule;
Step S340, judges the presence of aforementioned contact object, when being in line states, carries out being directed to the acquisition operations of the Weather information data of the contact object under this presence;
Step S350, is directed to aforesaid contact object, triggers the position locating in the instant communication client startup place terminal at place, generates position location information after positioning operation;
Step S360, the position location information that previous step is obtained, the instant communication client via contact object place transfers to system server, obtains weather data corresponding to aforementioned locating information by system server;
Step S370, by Weather information corresponding for the aforementioned contact object of acquisition, transfers to the instant communication client at the user place of carrying out contact object selection;
Step S380, correspond to the instant communication client described by previous step, on its contacts list, for the ITEM item of the display weather contact object be under line states, generate Weather information output window, the Weather information that loading previous step obtains also exports.
Present invention also offers a kind of client in order to export contact object Weather information, this client comprises:
Weather contact person setting module, setting needs the contact object of carrying out Weather information display;
Weather contact rule sets up module, sets up weather contact rule, and this regular data is carried out transmit operation to instantaneous communication system server;
Weather information output module, is gathered the Weather information being directed to aforementioned aforementioned contact object coming from server, is exported by the instant communication client at place.
Present invention also offers a kind of system in order to export contact object Weather information, this system comprises:
Client, wherein this client comprises,
Weather contact person setting module, setting needs the contact object of carrying out Weather information display;
Weather contact rule sets up module, sets up weather contact rule, and this regular data is carried out transmit operation to instantaneous communication system server;
Weather information output module, is gathered the Weather information being directed to aforementioned aforementioned contact object coming from server, is exported by the instant communication client at place;
System server,
Weather contact rule module, according to contact object set by weather contact person setting module in client, sets up the rule presenting the contact object of Weather information;
Weather information acquisition module, according to the contact object in weather contact rule module, gathers the Weather information data corresponding with it;
The Weather information data that aforesaid Weather information acquisition module obtains are sent to the Weather information output module in client by Weather information sending module.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for the invention, is the first embodiment.
Fig. 2 is the schematic diagram by instant messaging interactive interface display contact object Weather information in the present invention.
Fig. 3 is the flow chart of the method for the invention, is the second embodiment.
Fig. 4 is the flow chart of the method for the invention, is the 3rd embodiment.
Fig. 5 is the structured flowchart of client described in the present invention, is the 4th embodiment.
Fig. 6 is the structured flowchart of system described in the present invention, is the 5th embodiment.
Embodiment
In the present invention, the contact object meeting data output condition can be directed to, export the data message of weather aspect.
Below to method described in the invention, the step shown in composition graphs 1, is described below.
The present invention, when implementing, includes three following steps:
Step S110, setting needs the contact object of carrying out Weather information display;
Step S120, sets up weather contact rule, stores in instant communication system server;
Step S130, gathers the Weather information corresponding with aforementioned contact object, and the instant communication client transferring to user place exports.
Be directed to the setting means of the contact object in aforesaid step S110, and the establishment step of weather contact rule in step S120, for example and without limitation, there are five kinds of following execution modes:
Mode 1, the both sides in being operated by interactive communication or contact object in many ways, gather as display Weather information contact object.
Common embodiment, has such two kinds of situations:
Situation 1, when both sides carry out communication interaction, gathers the other side of mutual both sides, as the contact object of display Weather information.
Situation 2, when adopting the mode of instant messaging group to carry out mutual, gathers the contact object of other each side in group, as the contact object of display Weather information.
Corresponding step, for example and without limitation, is described below:
The data message of the window of instant messaging interactive interface has been opened in traversal instant messaging;
Gather the customer identification number being directed to the current contact object opened in instant messaging interactive interface of user;
Using aforesaid contact object as needing the contact object exporting Weather information, the customer identification number corresponding with it is sent to system server;
In system server, gather the customer identification number of aforementioned contact object, gather as needs and export the weather contact rule of corresponding Weather information.
Wherein, traversal described above has opened the mode of the window of instant messaging interactive interface, for example and without limitation, for Windows operating system, by the relevant api function of window, the data message of window can be obtained, and the attribute data of window corresponding to gathering.By the attribute data of corresponding window, obtain the data message of the contact object of carrying out interactive communication, comprise the customer identification number gathering and contact into object.
In addition, also the operation format that user triggers instant messaging interactive interface can be gathered, such as, gather the operation information of user by the contact object in the contacts list on mouse triggering instant messaging main panel, through the clicking operation of the left mouse button of user, open and corresponding instant messaging interactive interface.So just can gather the trigger position of user's mouse clicking operation, correspondence goes out the ITEM item in corresponding instant messaging main panel, is obtained the data message of this contact object, comprise customer identification number data message by this ITEM item.
In such an embodiment, directly will open the contact object of instant messaging interactive interface, as the contact object of display Weather information.
Mode 2, by the contact object of contact frequency in front N ranking, gathers as display Weather information contact object.
This mode, is according to the contact frequency sequence between user and each contact object, will meets the contact object of ordering requirements, and be set as Weather information contact object.
Corresponding step, for example and without limitation, is described below:
The contact object of rank in front N ranking of setting contact frequency, as the contact object of display Weather information;
Setting needs to calculate the time period contacting frequency between contact object, gathers the contact number of times of user and contact object within this time period;
According to the collection result of previous step, obtain the contact frequency between user and corresponding relationship people object;
Contact frequency is sorted from high to low;
By the contact object of rank within front N ranking, be taken as Weather information contact object, gather the customer identification number of its correspondence, set up weather contact rule.
Wherein, aforesaid " N ", its span is All Contacts's object of user to the maximum, and minimum is 1.As preferred embodiment, described " N ", below 10 and 10, on 1 and 1, is positive integer.
Wherein, described " time period ", for example and without limitation, be preferably apart from current time within 1 year and 1 year, the time range on month and month.
Wherein, described " contact number of times ", refers to: once open in the time period of instant communication client user, has the instant messaging interactive operation being once directed to respective contacts object at least, in this case, is considered as the contact operation carried out once.
Mode 3, will contact the contact object of time in front M ranking recently, gathers as display Weather information contact object.
This mode, is that the current time of being undertaken operating by nearest contact time and user is compared, gets the contact object that rank is forward, as display Weather information contact object.
Corresponding step, for example and without limitation, is described below:
Set the contact object of rank in front M ranking of nearest contact time, as the contact object of display Weather information;
Gather the contact object that user carries out exchanging, poor with the current operating time;
Operating time difference is sorted from less to more;
By the contact object of rank within front M ranking, be taken as Weather information contact object, gather the customer identification number of its correspondence, set up weather contact rule.
Wherein, aforesaid " M ", its span is All Contacts's object of user to the maximum, and minimum is 1.As preferred embodiment, described " M ", below 10 and 10, on 1 and 1, is positive integer.
Mode 4, by the contact object in specific cluster or particular cluster, gathers as display Weather information contact object.
This selects specific contact object of carrying out classifying with group or group, as display Weather information contact object.
Corresponding step, for example and without limitation, is described below:
Contact object in specific cluster or particular cluster is set, gathers as display Weather information contact object;
Gather the customer identification number of the contact object in respective packets or group, send it to the system server of instant messaging;
By the contact object corresponding to aforementioned customer identification number, be taken as Weather information contact object, gather its customer identification number and set up list, form weather contact rule.
Mode 5, gathers the contact object set by user, as display Weather information contact object.
Under this execution mode, user is directly selected
Corresponding step, for example and without limitation, is described below:
Generate the operation interface in order to select contact object to be used as showing Weather information contact object;
Gather user-selected contact object information, obtain the customer identification number of respective contacts object;
Obtained customer identification number is sent to the system server at place, correspond to the customer identification number of user place instant communication client, be stored as corresponding Weather information contact object, form weather contact rule.
In suc scheme, user can come to select specific contact object expediently according to demand, as the contact object of display Weather information.
Aforesaid Weather information, the mode of acquisition is diversified, for example and without limitation, several scheme is described below:
Scheme 1, according to the regional information that contact object writes, obtains the Weather information of corresponding address.
The performing step of this scheme, is described below:
Collection contact object is directed to the location domain information in self explanatory message part;
Comparison includes the database of the corresponding Weather information in region;
Gather the Weather information obtaining region, place.
Wherein, gather the mode of the self explanatory message part of contact object, can be realized by the system server at place, also can be realized by the instant communication client of user.By traveling through the data information content of contact object, the position at domain information place, base area, or the data layout relation at place, carries out data acquisition.Such as, generally all can write corresponding urban information exactly, as Shanghai, Beijing etc.
Wherein, the described database including the corresponding Weather information in region, can be the data stock of special climate class, can, by the form of web search, be also keyword by corresponding regional information, obtains corresponding climate information through search, etc.
Scheme 2, according to gather the IP address at contact object place obtained, carry out terrain analysis, and then obtain corresponding Weather information according to the zone data obtained.
In suc scheme, it is the IP address being obtained display Weather information contact object by system server, and then compared by the database of corresponding relation between IP address and region, judge the region at place, IP address, by this region and then discover and seize corresponding Weather information.It is pointed out that the data that IP address presents, may not be authentic data.
Scheme 3, according to the zone data information that user is directed to the contact object that display weather contact object writes, obtains the Weather information of corresponding region.
In suc scheme, be directed to display weather contact object, direct write zone data information by user, after search, obtain corresponding Weather information data.
Implementation step, is described below:
Generate and accept the operation interface that user writes display weather contact object location domain information;
Gather the regional information that user writes;
The customer identification number of regional information user write and display weather contact object, and user's own user identifier, be sent to system server, carry out data storage;
Gather the regional information stored, and the database including the corresponding Weather information in region is compared, and obtains the Weather information of corresponding region.
Scheme 4, by being directed to the true geo-location of display weather contact object place terminal, gathers real zone data information.
Particularly, the step of this mode is described below:
By showing the instant communication client at weather contact object place, triggering the geo-location structure in the terminal of place, carrying out geo-location operation, generate geo-localisation information;
By aforesaid instant communication client, gather aforesaid geo-localisation information, the instant communication users identifier that correspond to place is sent to system server;
Via system server, aforesaid geo-localisation information and the database including the corresponding Weather information in region are compared, obtains corresponding Weather information.
In this way, the actual Weather information of the region, place of display weather contact object can be obtained.
Wherein, the terminal at described instant communication client place, is preferably the mobilitys such as mobile phone, PDA, panel computer and the terminal structure that can locate expediently.The mode of location, is preferably gps satellite location, or locates based on the mobile radio communication of base station of mobile communication network, be all fine.
Correspond to aforesaid step S130, export the mode of the Weather information of contact object at instant communication client, for example and without limitation, have following several types:
Class1, is directed to the instant messaging interactive interface being in opening, gathers the Weather information of corresponding contact object, and carries out data output by this instant messaging interactive interface.
Certainly, aforesaid instant messaging interactive interface can also be directed to, the triggering button of Weather information is set.When collecting the operation information being directed to this triggering button, opening corresponding Weather information form window, exporting the Weather information that institute gathers acquisition.
Type 2, is directed to the contact object ITEM item on instant messaging main panel, correspond to the ITEM item of display weather contact object, exports the Weather information that institute gathers acquisition.
Certainly, can arrange too and trigger corresponding construction accordingly, such as, being used for detecting mouse in the storing information of corresponding ITEM item, when being in respective interface, exporting the Weather information that institute gathers acquisition.
Or, correspond to contact object ITEM item, Weather information be set and trigger button, when gathering the operation information obtaining and be directed to and trigger button, exporting the Weather information that collection corresponding thereto obtains.
Shown in ginseng Fig. 2, just illustrate the embodiment in the present invention's application here.
Illustrate instant communication client 100 in figure, on the transmit leg main panel 110 of this instant communication client 100, show list 120 of being related.In this contacts list 120, include each contact object 121.Against each contact object 121, user just can present transmit leg instant messaging interactive interface 130 after triggering.In the bottom of transmit leg instant messaging interactive interface 130, be provided with transmit leg interactive interface input field 131, on the top of transmit leg instant messaging interactive interface 130, be provided with transmit leg interactive interface Output bar 132, further, for example and without limitation, at the mid portion of transmit leg interactive interface input field 131 and transmit leg interactive interface Output bar 132, be provided with interactive interface toolbar 133, further, corresponding at other position of interactive interface, such as the top of transmit leg interactive interface Output bar 132, the related tool column of instant messaging can also be set.
In the present embodiment, just in the toolbar position on the top of transmit leg interactive interface Output bar 132, be provided with contact object weather display window 140, output and comprise " 15 DEG C, east wind 5 grades, moderate rain " in interior weather data information.
In the present embodiment, generated by window relevant mutual, in existing instant messaging interactive interface 130, embed contact object weather display window 140.Then, enter the handle of contact object weather display window 140 by this, by instant communication client 100 by Weather information that system server obtains, be loaded into contact object weather display window 140, export to user.
Below in conjunction with Fig. 3 and Fig. 4, further, two embodiments of the present invention are described.
Shown in ginseng Fig. 3, in the embodiment shown in this figure, be aimed at the contact object of carrying out interactive communication, export the mode of Weather information.Specifically, it includes following steps:
Step S210, traversal is in the data message of the instant messaging interactive interface of opening, obtains the contact object that correspond to this instant messaging interactive interface;
Step S220, will correspond to the contact object opening instant messaging interactive interface, is set as the contact object needing to carry out Weather information display;
Step S230, gathers the customer identification number of aforesaid contact object, it can be used as the contact object needing to carry out Weather information display, transfers in instantaneous communication system server and store;
Step S240, is directed to aforesaid contact object, obtains the regional information at this contact object place, by the comparing between regional information and Weather information, obtains the Weather information of region, place;
Or the existing instant communication users weather data storehouse that examination and system server are associated, obtains the Weather information that correspond to aforementioned contact object;
Step S250, gathers the Weather information corresponding with aforementioned contact object, transfers to the instant communication client at user place;
Step S260, is in the instant messaging interactive interface of opening aforementioned, arranges Weather information output window, exports the aforementioned Weather information obtained.
Wherein, correspond to aforesaid step S240, described existing instant communication users weather data storehouse, refer to the instantaneous communication system by place, be directed to each user reached the standard grade in advance, or each user, gathers the Weather information obtained corresponding thereto, thus forms existing instant communication users weather data storehouse.In this case, directly gather the weather data of respective contacts, that's all.
Wherein, correspond to step S260, the position of Weather information output window is set, preferably correspond in the toolbar of this contact object icon.Under this embodiment, be only directed to the contact object corresponding to instant messaging interactive interface of having opened and just show corresponding Weather information.
Shown in ginseng Fig. 4, in the embodiment shown in this figure, be aimed at selected contact object, show the mode of Weather information.Specifically, it includes following steps:
Step S310, gathers the trigger message that user arranges display weather contact object, generates the operation interface selecting contact object as display weather contact person;
Step S320, gathers user-selected contact object information, obtains the customer identification number of respective contacts object;
Step S330, is sent to the system server at place by obtained customer identification number, correspond to the customer identification number of user place instant communication client, is stored as corresponding display weather contact object, forms weather contact rule;
Step S340, judges the presence of aforementioned contact object, when being in line states, carries out being directed to the acquisition operations of the Weather information data of the contact object under this presence;
Step S350, is directed to aforesaid contact object, triggers the position locating in the instant communication client startup place terminal at place, generates position location information after positioning operation;
Step S360, the position location information that previous step is obtained, the instant communication client via contact object place transfers to system server, obtains weather data corresponding to aforementioned locating information by system server;
Step S370, by Weather information corresponding for the aforementioned contact object of acquisition, transfers to the instant communication client at the user place of carrying out contact object selection;
Step S380, correspond to the instant communication client described by previous step, on its contacts list, for the ITEM item of the display weather contact object be under line states, generate Weather information output window, the Weather information that loading previous step obtains also exports.
In the present embodiment, user needs oneself to carry out set and display weather contact object.And, be only directed to the display weather contact object be under line states, be just set to the contact object showing Weather information.
Wherein, described selection contact object is as the operation interface of display weather contact person, and this interface can realize as follows:
The contacts list of traverse user, obtains the customer identification number of each contact person, or other identification information of contact person;
Be directed to each contact person, generate the option that is selected control, whole contact object, generates the selection control that correspond to whole contact object;
Gather the selection information that user is directed to the selection control of particular contact object, as the selection information of user-selected display weather contact person.
Shown in ginseng Fig. 5, in conjunction with foregoing method, present invention also offers a kind of client 200 in order to export contact object Weather information, it comprises:
Weather contact person setting module 210, setting needs the contact object of carrying out Weather information display;
Weather contact rule sets up module 220, sets up weather contact rule, and this regular data is carried out transmit operation to instantaneous communication system server;
Weather information output module 230, is gathered the Weather information being directed to aforementioned aforementioned contact object coming from server, is exported by the instant communication client at place.
In use, by described weather contact person setting module 210, need the contact object of carrying out Weather information display by the rule settings preset, before these rules, all have description; Or, by the mode artificially selected, set the contact object needing to carry out Weather information display, the mode of selection, before existing to describe.Further, module 220 is set up by weather contact rule, gather the contact object that needing set by weather contact person setting module 210 carries out Weather information display, set up weather contact rule, this regular data is sent to instantaneous communication system server.And, by Weather information output module 230, from system server, obtain the Weather information being directed to aforementioned aforementioned contact object, and then exported by the instant communication client at place, the mode of output, ginseng description above.
Shown in ginseng Fig. 6, in conjunction with foregoing method, present invention also offers a kind of system 400 in order to export contact object Weather information, this system comprises:
Client 200, wherein this client 200 comprises,
Weather contact person setting module 210, setting needs the contact object of carrying out Weather information display;
Weather contact rule sets up module 220, sets up weather contact rule, and this regular data is carried out transmit operation to instantaneous communication system server;
Weather information output module 230, is gathered the Weather information being directed to aforementioned aforementioned contact object coming from server, is exported by the instant communication client at place;
System server 300,
Weather contact rule module 310, according to contact object set by weather contact person setting module in client, sets up the rule presenting the contact object of Weather information;
Weather information acquisition module 320, according to the contact object in weather contact rule module, gathers the Weather information data corresponding with it;
The Weather information data that aforesaid Weather information acquisition module obtains are sent to the Weather information output module in client by Weather information sending module 330.
In use, by described weather contact person setting module 210, need the contact object of carrying out Weather information display by the rule settings preset, before these rules, all have description; Or, by the mode artificially selected, set the contact object needing to carry out Weather information display, the mode of selection, before existing to describe.Further, module 220 is set up by weather contact rule, gather the contact object that needing set by weather contact person setting module 210 carries out Weather information display, set up weather contact rule, this regular data is sent to instantaneous communication system server.By the weather contact rule module 310 in system server 300, come according to contact object set by weather contact person setting module in client, set up the rule presenting the contact object of Weather information; Or, directly set up in order to store aforesaid weather contact rule the regular data that module 220 sends.And then, triggering be directed to aforesaid contact object carry out Weather information gather time, such as, user enters Entered state, by Weather information acquisition module 320, according to the contact object in weather contact rule module, gather the Weather information data corresponding with it.And then by Weather information sending module 330, the Weather information data that aforesaid Weather information acquisition module obtains are sent to the Weather information output module 230 in client 200, carry out the output function of weather data.
Be more than the description of this invention and non-limiting, based on other embodiment of inventive concept, also all among protection scope of the present invention.
Claims (19)
1., in order to export a method for contact object Weather information, it is characterized in that the method comprises the steps:
Step 1, setting needs the contact object of carrying out Weather information display;
Step 2, sets up weather contact rule, stores in instant communication system server;
Step 3, gathers the Weather information corresponding with aforementioned contact object, and the instant communication client transferring to user place exports,
The mode that described Weather information exports at instant communication client is,
Be directed to the contact object ITEM item on instant messaging main panel, correspond to the ITEM item of display weather contact object, export the Weather information that institute gathers acquisition,
Or the contact object ITEM item that correspond to, arranges Weather information and trigger button, when gathering the operation information obtaining and be directed to and trigger button, export the Weather information that collection corresponding thereto obtains.
2. a kind of method in order to export contact object Weather information according to claim 1, it is characterized in that: setting needs the mode of the contact object of carrying out Weather information display, be the both sides during interactive communication is operated or contact object in many ways, gather as display Weather information contact object.
3. a kind of method in order to export contact object Weather information according to claim 2, is characterized in that: the both sides in being operated by interactive communication or contact object in many ways, and the step gathered as display Weather information contact object is,
The data message of the window of instant messaging interactive interface has been opened in traversal instant messaging;
Gather the customer identification number being directed to the current contact object opened in instant messaging interactive interface of user;
Using aforesaid contact object as needing the contact object exporting Weather information, the customer identification number corresponding with it is sent to system server;
In system server, gather the customer identification number of aforementioned contact object, gather as needs and export the weather contact rule of corresponding Weather information.
4. a kind of method in order to export contact object Weather information according to claim 1, it is characterized in that: setting needs the mode of the contact object of carrying out Weather information display, be by the contact object of contact frequency in front N ranking, gather as display Weather information contact object.
5. a kind of method in order to export contact object Weather information according to claim 4, is characterized in that: by the contact object of contact frequency in front N ranking, and the step gathered as display Weather information contact object is,
The contact object of rank in front N ranking of setting contact frequency, as the contact object of display Weather information;
Setting needs to calculate the time period contacting frequency between contact object, gathers the contact number of times of user and contact object within this time period;
According to the collection result of previous step, obtain the contact frequency between user and corresponding relationship people object;
Contact frequency is sorted from high to low;
By the contact object of rank within front N ranking, be taken as Weather information contact object, gather the customer identification number of its correspondence, set up weather contact rule.
6. a kind of method in order to export contact object Weather information according to claim 1, it is characterized in that: setting needs the mode of the contact object of carrying out Weather information display, be will contact the contact object of time in front M ranking recently, gather as display Weather information contact object.
7. a kind of method in order to export contact object Weather information according to claim 6, is characterized in that: described will contact the contact object of time in front M ranking recently, and the step gathered as display Weather information contact object is,
Set the contact object of rank in front M ranking of nearest contact time, as the contact object of display Weather information;
Gather the contact object that user carries out exchanging, poor with the current operating time;
Operating time difference is sorted from less to more;
By the contact object of rank within front M ranking, be taken as Weather information contact object, gather the customer identification number of its correspondence, set up weather contact rule.
8. a kind of method in order to export contact object Weather information according to claim 1, it is characterized in that: setting needs the mode of the contact object of carrying out Weather information display, be by the contact object in specific cluster or particular cluster, gather as display Weather information contact object.
9. a kind of method in order to export contact object Weather information according to claim 8, is characterized in that: described by the contact object in specific cluster or particular cluster, and the step gathered as display Weather information contact object is,
Contact object in specific cluster or particular cluster is set, gathers as display Weather information contact object;
Gather the customer identification number of the contact object in respective packets or group, send it to the system server of instant messaging;
By the contact object corresponding to aforementioned customer identification number, be taken as Weather information contact object, gather its customer identification number and set up list, form weather contact rule.
10. a kind of method in order to export contact object Weather information according to claim 1, it is characterized in that: setting needs the mode of the contact object of carrying out Weather information display, gather the contact object set by user, as display Weather information contact object.
11. a kind of methods in order to export contact object Weather information according to claim 10, is characterized in that: the described contact object set by collection user, and the step as display Weather information contact object is,
Generate the operation interface in order to select contact object to be used as showing Weather information contact object;
Gather user-selected contact object information, obtain the customer identification number of respective contacts object;
Obtained customer identification number is sent to the system server at place, correspond to the customer identification number of user place instant communication client, be stored as corresponding Weather information contact object, form weather contact rule.
12. a kind of methods in order to export contact object Weather information according to claim 1, is characterized in that: described Weather information, the step of acquisition is,
Collection contact object is directed to the location domain information in self explanatory message part;
Comparison includes the database of the corresponding Weather information in region;
Gather the Weather information obtaining region, place.
13. a kind of methods in order to export contact object Weather information according to claim 1, is characterized in that: described Weather information, the step of acquisition is,
Generate and accept the operation interface that user writes display weather contact object location domain information;
Gather the regional information that user writes;
The customer identification number of regional information user write and display weather contact object, and user's own user identifier, be sent to system server, carry out data storage;
Gather the regional information stored, and the database including the corresponding Weather information in region is compared, and obtains the Weather information of corresponding region.
14. a kind of methods in order to export contact object Weather information according to claim 1, is characterized in that: described Weather information, the step of acquisition is,
By showing the instant communication client at weather contact object place, triggering the geo-location structure in the terminal of place, carrying out geo-location operation, generate geo-localisation information;
By aforesaid instant communication client, gather aforesaid geo-localisation information, the instant communication users identifier that correspond to place is sent to system server;
Via system server, aforesaid geo-localisation information and the database including the corresponding Weather information in region are compared, obtains corresponding Weather information.
15. a kind of methods in order to export contact object Weather information according to claim 1, is characterized in that: the mode that described Weather information exports at instant communication client is,
Be directed to the instant messaging interactive interface being in opening, gather the Weather information of corresponding contact object, and carry out data output by this instant messaging interactive interface;
Or, being directed to aforesaid instant messaging interactive interface, the triggering button of Weather information be set, when collecting the operation information being directed to this triggering button, opening corresponding Weather information form window, export the Weather information that institute gathers acquisition.
16. a kind of methods in order to export contact object Weather information according to claim 1, is characterized in that: described method, includes following steps,
Step S210, traversal is in the data message of the instant messaging interactive interface of opening, obtains the contact object that correspond to this instant messaging interactive interface;
Step S220, will correspond to the contact object opening instant messaging interactive interface, is set as the contact object needing to carry out Weather information display;
Step S230, gathers the customer identification number of aforesaid contact object, it can be used as the contact object needing to carry out Weather information display, transfers in instantaneous communication system server and store;
Step S240, is directed to aforesaid contact object, obtains the regional information at this contact object place, by the comparing between regional information and Weather information, obtains the Weather information of region, place;
Or the existing instant communication users weather data storehouse that examination and system server are associated, obtains the Weather information that correspond to aforementioned contact object;
Step S250, gathers the Weather information corresponding with aforementioned contact object, transfers to the instant communication client at user place;
Step S260, is in the instant messaging interactive interface of opening aforementioned, arranges Weather information output window, exports the aforementioned Weather information obtained.
17. a kind of methods in order to export contact object Weather information according to claim 1, is characterized in that: described method, includes following steps,
Step S310, gathers the trigger message that user arranges display weather contact object, generates the operation interface selecting contact object as display weather contact person;
Step S320, gathers user-selected contact object information, obtains the customer identification number of respective contacts object;
Step S330, is sent to the system server at place by obtained customer identification number, correspond to the customer identification number of user place instant communication client, is stored as corresponding display weather contact object, forms weather contact rule;
Step S340, judges the presence of aforementioned contact object, when being in line states, carries out being directed to the acquisition operations of the Weather information data of the contact object under this presence;
Step S350, is directed to aforesaid contact object, triggers the position locating in the instant communication client startup place terminal at place, generates position location information after positioning operation;
Step S360, the position location information that previous step is obtained, the instant communication client via contact object place transfers to system server, obtains weather data corresponding to aforementioned locating information by system server;
Step S370, by Weather information corresponding for the aforementioned contact object of acquisition, transfers to the instant communication client at the user place of carrying out contact object selection;
Step S380, correspond to the instant communication client described by previous step, on its contacts list, for the ITEM item of the display weather contact object be under line states, generate Weather information output window, the Weather information that loading previous step obtains also exports.
18. 1 kinds of clients in order to export contact object Weather information implementing method described in foregoing Claims 1, is characterized in that this client comprises:
Weather contact person setting module, setting needs the contact object of carrying out Weather information display;
Weather contact rule sets up module, sets up weather contact rule, and this regular data is carried out transmit operation to instantaneous communication system server;
Weather information output module, is gathered the Weather information being directed to aforementioned aforementioned contact object coming from server, is exported by the instant communication client at place.
19. 1 kinds of systems in order to export contact object Weather information implementing method described in foregoing Claims 1, is characterized in that this system comprises:
Client, wherein this client comprises,
Weather contact person setting module, setting needs the contact object of carrying out Weather information display;
Weather contact rule sets up module, sets up weather contact rule, and this regular data is carried out transmit operation to instantaneous communication system server;
Weather information output module, is gathered the Weather information being directed to aforementioned aforementioned contact object coming from server, is exported by the instant communication client at place;
System server,
Weather contact rule module, according to contact object set by weather contact person setting module in client, sets up the rule presenting the contact object of Weather information;
Weather information acquisition module, according to the contact object in weather contact rule module, gathers the Weather information data corresponding with it;
The Weather information data that aforesaid Weather information acquisition module obtains are sent to the Weather information output module in client by Weather information sending module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110425685.0A CN102497333B (en) | 2011-12-18 | 2011-12-18 | In order to export the method for contact object Weather information, client and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110425685.0A CN102497333B (en) | 2011-12-18 | 2011-12-18 | In order to export the method for contact object Weather information, client and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102497333A CN102497333A (en) | 2012-06-13 |
CN102497333B true CN102497333B (en) | 2015-11-04 |
Family
ID=46189120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110425685.0A Active CN102497333B (en) | 2011-12-18 | 2011-12-18 | In order to export the method for contact object Weather information, client and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102497333B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821105A (en) * | 2012-08-20 | 2012-12-12 | 上海量明科技发展有限公司 | Method, client and system for acquiring instant messaging position correlation information |
US10255327B2 (en) | 2013-02-22 | 2019-04-09 | Nokia Technology Oy | Apparatus and method for providing contact-related information items |
US10402914B2 (en) | 2013-02-22 | 2019-09-03 | Nokia Technologies Oy | Apparatus and method for providing contact-related information items |
CN103259925B (en) * | 2013-04-16 | 2015-05-06 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for setting contact photo |
CN103412885A (en) * | 2013-07-18 | 2013-11-27 | 中国联合网络通信集团有限公司 | Contact person photo setting method and device |
CN103455568B (en) * | 2013-08-18 | 2018-11-30 | 苏州量跃信息科技有限公司 | The method and terminal of communication contact person are obtained by search engine |
CN105872967B (en) * | 2016-03-31 | 2020-05-22 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for reminding weather information |
CN107332937A (en) * | 2017-08-31 | 2017-11-07 | 江西博瑞彤芸科技有限公司 | The interaction method for pushing of weather information |
CN111159584A (en) * | 2020-01-02 | 2020-05-15 | 上海掌门科技有限公司 | Method, device and computer readable medium for displaying weather information |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079839A (en) * | 2006-12-21 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Friend display device and display method based on instant communication |
CN101631280A (en) * | 2009-08-19 | 2010-01-20 | 中兴通讯股份有限公司 | Information presentation method based on PoC |
CN102083017A (en) * | 2010-12-31 | 2011-06-01 | 东莞宇龙通信科技有限公司 | Method and system for transmitting weather information and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7360174B2 (en) * | 2002-12-19 | 2008-04-15 | Microsoft Corporation | Contact user interface |
-
2011
- 2011-12-18 CN CN201110425685.0A patent/CN102497333B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079839A (en) * | 2006-12-21 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Friend display device and display method based on instant communication |
CN101631280A (en) * | 2009-08-19 | 2010-01-20 | 中兴通讯股份有限公司 | Information presentation method based on PoC |
CN102083017A (en) * | 2010-12-31 | 2011-06-01 | 东莞宇龙通信科技有限公司 | Method and system for transmitting weather information and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN102497333A (en) | 2012-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102497333B (en) | In order to export the method for contact object Weather information, client and system | |
US11889014B2 (en) | Method and apparatus for processing contact information using a wireless terminal | |
US20140245178A1 (en) | Communication device and method for profiling and presentation of message threads | |
CN106716417B (en) | Method, device and equipment for checking information | |
US10491550B2 (en) | Instant communication | |
CN103955470B (en) | hotspot topic pushing method and device | |
CN106470110B (en) | Method and device for sending messages to multiple users in user list in group mode | |
WO2013060143A1 (en) | Method and device for sending messages to group user through microblog | |
CN104850550A (en) | Method and apparatus for ordering prompt messages | |
CN111970188B (en) | Capability forwarding method and device | |
CN102984050A (en) | Method, client and system for searching voices in instant messaging | |
EP2770761B1 (en) | Communication device and method for profiling and presentation of message threads | |
CN108353018A (en) | Send the method, apparatus and system of message | |
CN104283769A (en) | Instant messaging service based on item of interest to user | |
CN102821058B (en) | The method that realizes of circle map, client and system in instant messaging | |
CN103365917B (en) | The method and apparatus for searching for information | |
US8566388B2 (en) | Method and apparatus for managing numerous messages | |
CN102299868A (en) | Method, client and system for transmitting and receiving email | |
CN102810103A (en) | Search result sharing method and system | |
CN102801655A (en) | Method and system for acquiring position associated data in instant communication | |
CN102664830A (en) | Method, client side and system for collecting communication mode data in instant messaging | |
CN102707897B (en) | In instant messaging, the method for contact object, client and system are triggered in path | |
CN102710540B (en) | Method, client and system for setting publishing channel in instant messaging | |
CN102546463A (en) | Method, client and system for outputting sudden weather information of contact object | |
CN102298520A (en) | Method and system for realizing search tool |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |