CN104703125A - Method, device and terminal for information recommendation based on instant messaging - Google Patents

Method, device and terminal for information recommendation based on instant messaging Download PDF

Info

Publication number
CN104703125A
CN104703125A CN201310656249.3A CN201310656249A CN104703125A CN 104703125 A CN104703125 A CN 104703125A CN 201310656249 A CN201310656249 A CN 201310656249A CN 104703125 A CN104703125 A CN 104703125A
Authority
CN
China
Prior art keywords
terminal
information
address
recommended
longitude
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310656249.3A
Other languages
Chinese (zh)
Other versions
CN104703125B (en
Inventor
俞晓炀
李少鹏
张龙飞
刘炬光
陆晓文
李安琪
曹超利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310656249.3A priority Critical patent/CN104703125B/en
Priority to PCT/CN2014/084147 priority patent/WO2015081720A1/en
Publication of CN104703125A publication Critical patent/CN104703125A/en
Application granted granted Critical
Publication of CN104703125B publication Critical patent/CN104703125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for information recommendation based on instant messaging. The method comprises the following steps of obtaining key words in a page; obtaining a preset chained address corresponding to the key words; obtaining a trigger command of the chained address and obtaining position information of a terminal according to the trigger command; and extracting to-be-recommended information related to the position information and pushing the to-be-recommended information to the terminal. By adopting the method, the accuracy for information recommendation can be improved, so that push of redundant information is reduced and the waste of network resources is reduced. In addition, the invention further provides a device and the terminal for information recommendation based on instant messaging.

Description

Based on the information recommendation method of instant messaging, device and terminal
Technical field
The present invention relates to networking technology area, particularly relate to a kind of information recommendation method, device and terminal.
Background technology
Traditional information recommendation method normally detects keyword in web page contents, the keywords such as such as microblogging name, stock, so these keywords are changed to can put link or after keyword, increase link corresponding to this keyword.Such as, for microblogging name " Zhang San ", " Zhang San " in web page contents can be changed to and can put link, or increase " microblogging " printed words below " Zhang San ", and should " microblogging " printed words be to put link.When getting the clicking operation to link, then push corresponding micro-blog information and show in the page.
But inventor finds at least there is following technical problem in prior art:
Traditional based in the information recommendation method of instant messaging, the information recommending user is only the information that a certain application is relevant, and not close with the correlation of user, the information therefore recommending user is accurate not, cause the propelling movement of bulk redundancy information, cause the waste of Internet resources.
Summary of the invention
Based on this, be necessary for above-mentioned technical problem, a kind of accuracy that can improve information recommendation is provided, thus the information recommendation method based on instant messaging of minimizing network resources waste, device and terminal.
Based on an information recommendation method for instant messaging, described method comprises:
Obtain the keyword in chat content;
Obtain the preset chained address corresponding with described keyword;
Obtain the triggering command of described chained address, obtain the positional information of terminal according to described triggering command;
Extract the to be recommended information relevant to described positional information and push to described terminal.
Based on an information recommending apparatus for instant messaging, described device comprises:
Keyword acquisition module, for obtaining the keyword in chat content;
Link acquisition module, for obtaining the preset chained address corresponding with described keyword;
Position acquisition module, for obtaining the triggering command of described chained address, obtains the positional information of terminal according to described triggering command;
Info push module, for extracting the to be recommended information relevant to described positional information and pushing to described terminal.
A kind of terminal, described terminal comprises:
Keyword spotting module, for detecting the keyword in chat content;
Link generation module, for obtaining the preset chained address corresponding with described keyword, generates the link that described keyword is corresponding in the page;
Transmission module on position, for obtaining the triggering command of described chained address, obtaining the positional information of terminal according to described triggering command and uploading onto the server;
Information display module, for receiving the to be recommended information relevant to described positional information of described server push and showing.
The above-mentioned information recommendation method based on instant messaging, device and terminal, after the triggering command of link getting the keyword in chat content, the positional information of terminal is obtained according to triggering command, make the information being pushed to terminal relevant to the positional information of terminal, because user's most probable is interested in the information around position, therefore, it is possible to make the information recommending user more accurate, thus decrease the propelling movement of redundant information, decrease network resources waste.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of information recommendation method in an embodiment;
Fig. 2 is the structured flowchart of information recommending apparatus in an embodiment;
Fig. 3 is the structured flowchart of position acquisition module in an embodiment;
Fig. 4 is the structured flowchart of terminal in an embodiment;
Fig. 5 is the module map of the computer system realizing the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Unless context separately has the description of specific distinct, the element in the present invention and assembly, the form that quantity both can be single exists, and form that also can be multiple exists, and the present invention does not limit this.Although the step in the present invention arranges with label, and be not used in and limit the precedence of step, the order of step or the execution of certain step need based on other steps unless expressly stated, otherwise the relative rank of step is adjustable.Be appreciated that term "and/or" used herein relates to and contains the one or more any and all possible combination in the Listed Items be associated.
As shown in Figure 1, in one embodiment, provide a kind of information recommendation method based on instant messaging, the method is illustrated to be applied in various server, and these servers include but not limited to personal computer, mainframe computer, supercomputer and computer cluster etc.The method comprises:
Step 102, obtains the keyword in chat content.
Concrete, terminal, when showing the chat content of instant messaging, can detect chat content, detect keyword wherein.This keyword can be pre-set recommended keywords.Such as, presetting someone recommended keywords by name, when comprising this name during chat content is given, then detecting that this name is keyword.
Step 104, obtains the preset chained address corresponding with described keyword.
In the present embodiment, can arrange dictionary table in advance, store the corresponding relation of keyword and chained address in dictionary table, such as, keyword is " food and drink ", then corresponding chained address can be a certain station address about food and beverage sevice.Terminal can get dictionary table from server, when detecting the keyword in chat content, then from dictionary table, gets the chained address corresponding with the keyword detected.Further, keyword can be changed to link by terminal, the chained address that this link sensing is corresponding with keyword, or terminal increases the word of band link after keyword, and institute's band links the sensing chained address corresponding with keyword.
Step 106, obtains the triggering command of chained address, obtains the positional information of terminal according to triggering command.
The triggering command of chained address can be the click commands to the link in chat content, and terminal gets the click commands of user to link, and this click commands is sent to server, and server obtains the positional information of terminal.Concrete, terminal can carry self positional information when sending the triggering command of chained address, and this positional information comprises at least one in the longitude and latitude of terminal, MAC Address and IP address.
Step 108, extracts the to be recommended information relevant to positional information and pushes to terminal.
Concrete, save a large amount of information to be recommended and corresponding position in server, such as relevant to certain city information on services, the merchant store information etc. of corresponding a certain longitude and latitude.When server gets the positional information of terminal, the to be recommended information relevant to terminal location can be searched according to the positional information of terminal, and push to terminal.Wherein, the information that the information to be recommended being pushed to terminal can be mated with the ownership place of terminal for city belonging to it, also can be and the information of the distance of terminal in preset range.
In the present embodiment, positional information according to terminal pushes the information relevant to terminal location to terminal, because user's most probable is interested in the information around position, therefore, it is possible to make the information recommending user according to chat content more accurate, thus decrease the propelling movement of redundant information, decrease the waste of Internet resources.
In one embodiment, the step obtaining the positional information of terminal in step 106 according to triggering command comprises: the MAC Address obtaining terminal, finds the longitude and latitude corresponding with the MAC Address of terminal from preset MAC Address with the corresponding relation of longitude and latitude.
In the present embodiment, storing a large amount of MAC Address and the corresponding relation of longitude and latitude in a database, setting up this corresponding relation by receiving MAC Address and corresponding longitude and latitude that great amount of terminals uploads.Such as, terminal adds WLAN (wireless local area network) by Wi-Fi, terminal has carried out positioning action when using a certain application, by wireless network, the longitude and latitude at place is uploaded to server, simultaneously, server also records the MAC Address of the wireless router corresponding to this wireless network, by the longitude and latitude that receives and MAC Address corresponding stored.Further, terminal is when being sent to server by the triggering command of chained address, server also gets the MAC Address of the wireless router at terminal place, finds the longitude and latitude corresponding with this MAC Address from MAC Address with the corresponding relation of longitude and latitude, thus realizes the location to terminal.
Further, in one embodiment, step 108 comprises: obtain the information to be recommended that chained address is corresponding, and the longitude and latitude according to terminal extracts the information to be recommended with the distance of terminal in preset range and pushes to terminal from the information to be recommended obtained.In the present embodiment, MAC Address according to the terminal got positions terminal, after obtaining the longitude and latitude of terminal, can obtain between terminal and information relevant position to be recommended distance by the longitude and latitude corresponding according to the information to be recommended of the longitude and latitude of terminal and storage, thus the to be recommended information of distance in preset range can be extracted and push to terminal.Further, also can sort according to sequencing weight to the information to be recommended extracted, such as distance is nearer, sorts more forward, or evaluation of estimate corresponding to information to be recommended is higher, sorts more forward, etc.Then by sequence after information pushing to be recommended to terminal.
In the present embodiment, the terminal of its longitude and latitude directly can not be got for some, MAC Address by terminal place router positions terminal, thus can by the to be recommended information pushing relevant to terminal position to terminal, Business Information near such as propelling movement terminal is to terminal, make pushed information more accurate, further reduce the propelling movement of redundant information, decrease the waste of Internet resources.
In one embodiment, the step of positional information obtaining terminal according to triggering command in step 106 comprises: the IP address obtaining user ID that terminal uploads and terminal, finds the longitude and latitude corresponding with the IP address of the user ID obtained and terminal from the corresponding relation of preset user ID, IP address and longitude and latitude.
In the present embodiment, store the IP address of a large amount of user ID and terminal and the corresponding relation of longitude and latitude in a database.Under application scenes, such as, terminal uses a certain application to carry out positioning action, server can get the longitude and latitude at terminal place, and the IP address of user ID that terminal uploads and terminal can be received, then got up in the IP address of user ID and terminal and longitude and latitude corresponding stored, this user ID can log in the network account of a certain application or the number etc. for marking terminal uniqueness for using terminal.Further, terminal is when being sent to server by the triggering command of chained address, server also can get the IP address of user ID and terminal, finds the longitude and latitude at terminal place from user ID and the IP address of terminal and the corresponding relation of longitude and latitude, thus realizes the location to terminal.
Further, in one embodiment, step 108 comprises: obtain the information to be recommended that chained address is corresponding, extracts with the information to be recommended in the distance preset range of terminal and push to terminal according to the longitude and latitude of terminal from the information to be recommended got.In the present embodiment, IP address according to the user ID got and terminal positions terminal, after obtaining the longitude and latitude of terminal, can obtain between terminal and information relevant position to be recommended distance by the longitude and latitude corresponding according to the information to be recommended of the longitude and latitude of terminal and storage, thus the to be recommended information of distance in preset range can be extracted and be pushed to terminal.Further, also can sort according to sequencing weight to the information to be recommended extracted, such as distance is nearer, sorts more forward, or evaluation of estimate corresponding to information to be recommended is higher, sorts more forward, etc.Then by sequence after information pushing to be recommended to terminal.
In the present embodiment, the terminal of its longitude and latitude directly can not be got for some, the IP address of the user ID uploaded by terminal and terminal positions terminal, thus can by the to be recommended information pushing relevant to terminal position to terminal, Business Information near such as propelling movement terminal is to terminal, make pushed information more accurate, further reduce the propelling movement of redundant information, decrease the waste of Internet resources.
In one embodiment, the step obtaining the positional information of terminal in step 106 according to triggering command comprises: the IP address obtaining terminal, finds the ownership place corresponding with the IP address of terminal from IP storehouse.
In the present embodiment, IP address and corresponding ownership place is stored in IP storehouse, terminal to server carries the IP address of terminal when sending the triggering command of chained address, after server receives the IP address of terminal, can find the ownership place corresponding with the IP address of terminal from IP storehouse, this ownership place can be the city, province etc. at place, IP address.
Further, in one embodiment, step 108 comprises: obtain the information to be recommended that chained address is corresponding, extracts the information to be recommended of the ownership place coupling of ownership place and terminal and push to terminal according to the ownership place of terminal from the information to be recommended got.In the present embodiment, the information to be recommended stored in the server is corresponding ownership place, such as, the food and beverage sevice information in a certain city, the merchant store etc. in a certain city.The ownership place of terminal is known in IP address by terminal, thus by the to be recommended information pushing relevant to the ownership place of terminal to terminal, pushed information can be made more accurate, further reduce the propelling movement of redundant information, decrease the waste of Internet resources.
Further, in one embodiment, both the MAC Address by obtaining terminal positions terminal, or by the IP address obtaining the user ID uploaded of terminal and terminal, terminal is positioned, get the longitude and latitude of terminal, thus by the information pushing to be recommended with terminal close together to terminal.IP address again by obtaining terminal obtains the ownership place of terminal, thus by the to be recommended information pushing relevant to the ownership place of terminal to terminal.Like this, make the information being pushed to terminal both relevant to the position of terminal, and get the to be recommended information relevant to the position of terminal in several ways, the information being pushed to terminal is more comprehensive.
As shown in Figure 2, in one embodiment, provide a kind of information recommending apparatus based on instant messaging, comprise keyword acquisition module 202, link acquisition module 204, position acquisition module 206 and info push module 208, wherein:
Keyword acquisition module 202 is for obtaining the keyword in chat content.
Concrete, terminal, when the chat content of instant messaging, can detect chat content, detects keyword wherein, and this keyword can be pre-set recommended keywords.Terminal detects keyword, is sent to keyword acquisition module 202.
Link acquisition module 204 is for obtaining the preset chained address corresponding with keyword.
In the present embodiment, dictionary table can be set in advance, in dictionary table, store the corresponding relation of keyword and chained address.After keyword acquisition module 202 gets keyword, then link acquisition module 204 and can be used for obtaining the chained address corresponding with this keyword from dictionary table.Further, terminal can obtain this chained address, and keyword is changed to link, the chained address that this link sensing is corresponding with keyword, or terminal increases the word of band link after keyword, and institute's band links the sensing chained address corresponding with keyword.
Position acquisition module 206, for obtaining the triggering command of chained address, obtains the positional information of terminal according to triggering command.Wherein, the positional information of terminal comprises at least one in the longitude and latitude of terminal, MAC Address, IP address.
Info push module 208 is for extracting the to be recommended information relevant to positional information and pushing to terminal.
Concrete, save a large amount of information to be recommended and corresponding position in advance, such as relevant to certain city information on services, the merchant store information etc. of corresponding a certain longitude and latitude.When position acquisition module 206 gets the positional information of terminal, then info push module 208 can be used for searching the to be recommended information relevant to terminal location according to the positional information of terminal, and pushes to terminal.Wherein, the information that the information to be recommended being pushed to terminal can be mated with the ownership place of terminal for city belonging to it, also can be and the information of the distance of terminal in preset range.
In the present embodiment, positional information according to terminal pushes the information relevant to terminal location to terminal, because user's most probable is interested in the information around position, therefore, it is possible to make the information recommending user more accurate, thus decrease the propelling movement of redundant information, decrease the waste of Internet resources.
In one embodiment, as shown in Figure 3, position acquisition module 206 comprises the first longitude and latitude determination module 216, second longitude and latitude determination module 226 and ownership place determination module 236, wherein:
First longitude and latitude determination module 216, for obtaining the MAC Address of terminal, finds the longitude and latitude corresponding with the MAC Address of terminal from preset MAC Address with the corresponding relation of longitude and latitude.In the present embodiment, storing a large amount of MAC Address and the corresponding relation of longitude and latitude in a database, setting up this corresponding relation by receiving MAC Address and corresponding longitude and latitude that great amount of terminals uploads.
Second longitude and latitude determination module 226, for the IP address of the user ID that obtains terminal and upload and terminal, finds the longitude and latitude corresponding with the IP address of the user ID obtained and terminal from the corresponding relation of preset user ID, IP address and longitude and latitude.In the present embodiment, store the IP address of a large amount of user ID and terminal and the corresponding relation of longitude and latitude in a database, this user ID can log in the network account of a certain application or the number for marking terminal uniqueness for using terminal.
Further, info push module 208, for obtaining information to be recommended corresponding to chained address, extracts the information to be recommended with the distance of terminal in preset range according to the longitude and latitude of terminal from the informational function to be recommended obtained and pushes to terminal.In the present embodiment, the MAC Address namely by terminal positions terminal, and the IP address also by the user ID that receives and terminal positions terminal.After obtaining the longitude and latitude of terminal, info push module 208 for obtaining the distance between terminal and information relevant position to be recommended according to the longitude and latitude of terminal and longitude and latitude corresponding to the information to be recommended of storage, thus can extract the to be recommended information of distance in preset range and push to terminal.Further, info push module 208 also for can to extract information to be recommended sort according to sequencing weight, then by sequence after information pushing to be recommended to terminal.
In one embodiment, ownership place determination module 236, for obtaining the IP address of terminal, finds the ownership place corresponding with the IP address of terminal from IP storehouse.In the present embodiment, in IP storehouse, store IP address and corresponding ownership place, this ownership place can be the city, province etc. at place, IP address.
In one embodiment, info push module 208, also for obtaining information to be recommended corresponding to chained address, extracting the information to be recommended of the ownership place coupling of ownership place and terminal and pushing to terminal from the information to be recommended got according to the ownership place of terminal.
By obtaining the MAC Address of terminal, terminal is positioned, or the IP address of the user ID uploaded by acquisition terminal and terminal is positioned terminal, thus by the information pushing to be recommended with terminal close together to terminal.In addition, the IP address that also can obtain terminal obtains the ownership place of terminal, thus by the to be recommended information pushing relevant to the ownership place of terminal to terminal.Like this, make the information being pushed to terminal both relevant to the position of terminal, improve the accuracy of information pushing, thus decrease the propelling movement of redundant information, decrease the waste of Internet resources.And getting the to be recommended information relevant to the position of terminal in several ways, the information being pushed to terminal is more comprehensive.
In other embodiments, position acquisition module 206 can comprise one or two in the first longitude and latitude determination module 216, second longitude and latitude determination module 226 and ownership place determination module 236.
As shown in Figure 4, in one embodiment, additionally provide a kind of terminal, comprise transmission module 406 and information display module 408 on keyword spotting module 402, link generation module 404, position, wherein:
Keyword spotting module 402 is for detecting the keyword in chat content.
Terminal can run JICQ, and when the chat content of terminal instant messaging, keyword spotting module 402 can detect chat content, detects keyword wherein, and wherein keyword is pre-set recommended keywords.
Link generation module 404, for obtaining the preset chained address corresponding with keyword, generates the link that described keyword is corresponding in the page.
Store dictionary table in server, store the corresponding relation of keyword and chained address in this dictionary table, terminal can get dictionary table from server.When linking generation module 404 and obtaining the keyword in chat content, for obtaining the chained address corresponding with this keyword from dictionary table, generate the link of keyword according to this chained address.Concrete, link generation module 404 can be used for keyword to change to link, and chained address corresponding to keyword is pointed in this link, or after keyword, increase the word of band link, and institute's band links the sensing chained address corresponding with keyword.
On position, transmission module 406 is for obtaining the triggering command of chained address, obtains the positional information of terminal and upload onto the server according to triggering command.
The triggering command of chained address can be the click commands to the link on the page, and the positional information of terminal that on position, transmission module 406 obtains comprises at least one in the longitude and latitude of terminal, MAC Address and IP address.
The to be recommended information relevant to the positional information of terminal that information display module 408 pushes for reception server is also shown.
In the present embodiment, server receives the positional information of the terminal that transmission module 406 is uploaded on position, if this positional information is the longitude and latitude of terminal, then can searches the to be recommended information of distance terminal in preset range according to the longitude and latitude of terminal and be pushed to terminal; If positional information is the MAC Address of terminal, then server finds corresponding longitude and latitude according to the MAC Address of terminal, and searches the to be recommended information of distance terminal in preset range according to the longitude and latitude of terminal and be pushed to terminal; The user ID that if positional information is terminal to be uploaded and the IP address of terminal, then according to the IP address search of user ID and terminal to corresponding longitude and latitude, and search the to be recommended information of distance terminal in preset range according to the longitude and latitude of terminal and be pushed to terminal; If positional information is the IP address of terminal, then obtains corresponding ownership place according to the IP address of terminal, find the information to be recommended of coupling according to the ownership place of terminal and be pushed to terminal.
In the present embodiment, the information received due to terminal is relevant to the position of terminal, and user's most probable is interested in the information around position, and the information therefore recommending user is more accurate, thus decrease the propelling movement of redundant information, decrease the waste of Internet resources.
In one embodiment, on position, transmission module 406 is also for obtaining the MAC Address of terminal, the MAC Address of terminal is uploaded onto the server, makes server find the longitude and latitude corresponding with the MAC Address of terminal from preset MAC Address with the corresponding relation of longitude and latitude.In the present embodiment, in server, storing a large amount of MAC Address and the corresponding relation of longitude and latitude, setting up this corresponding relation by receiving MAC Address and corresponding longitude and latitude that great amount of terminals uploads.Server receives the MAC Address of terminal, finds the longitude and latitude corresponding with the MAC Address of terminal, thus realizes the location to terminal.
In another embodiment, on position, transmission module 406 is also for obtaining the IP address of user ID and terminal, the IP address of user ID and terminal is uploaded onto the server, makes server from the corresponding relation of preset user ID, IP address and longitude and latitude, find the longitude and latitude corresponding with the IP address of user ID and terminal.In the present embodiment, store the IP address of a large amount of user ID and terminal and the corresponding relation of longitude and latitude in the server, server gets the IP address of user ID that terminal uploads and terminal, then find corresponding longitude and latitude according to this corresponding relation, thus realize the location to terminal.
Further, in one embodiment, what information display module 408 pushed for reception server shows with information to be recommended in preset range of the distance of terminal.In the present embodiment, server can position terminal according to the IP address of the MAC Address of the terminal received or user ID and terminal, obtain the longitude and latitude of terminal, the information to be recommended of preserving on the server is also corresponding longitude and latitude, thus can to get with the distance of terminal in the information to be recommended of preset range and be pushed to terminal.Information display module 408, for receiving the information to be recommended of server push, passes through showing interface.Such as, if the page is Webpage, then information display module 408 can be used for the information of being shown server push by floating frame, if the page is the instant chat page, then information display module 408 is opened searched page by instant chat client and shown the information of server push.
In one embodiment, on position, transmission module 406 is also for obtaining the IP address of terminal, is uploaded onto the server the IP address of terminal, makes server find the ownership place corresponding with the IP address of terminal from IP storehouse.In the present embodiment, in IP storehouse, store IP address and corresponding ownership place, server receives the IP address that terminal is uploaded, and from IP storehouse, find corresponding ownership place, this ownership place can be the city, province etc. at place, IP address.
Further, in one embodiment, information display module 408 also for reception server push the information to be recommended of mating with the ownership place of terminal and show.In the present embodiment, the information to be recommended stored on the server is corresponding ownership place, such as, the food and beverage sevice information in a certain city, the merchant store etc. in a certain city.Server receives the IP address that terminal is uploaded, and the ownership place of terminal is known in the IP address by terminal, thus can by the to be recommended information pushing relevant to the ownership place of terminal to terminal.
Because the MAC Address both by obtaining terminal positions terminal, or by the IP address obtaining the user ID uploaded of terminal and terminal, terminal is positioned, get the longitude and latitude of terminal, thus by the information pushing to be recommended with terminal close together to terminal.IP address again by obtaining terminal obtains the ownership place of terminal, thus by the to be recommended information pushing relevant to the ownership place of terminal to terminal.Like this, make the information being pushed to terminal both relevant to the position of terminal, improve the accuracy of information recommendation, thus decrease the propelling movement of redundant information, decrease the waste of Internet resources.And getting the to be recommended information relevant to the position of terminal in several ways, the information being pushed to terminal is more comprehensive.
Fig. 5 is the module map of a computer system 1000 that can realize the embodiment of the present invention.This computer system 1000 is an example being applicable to computer environment of the present invention, can not think to propose any restriction to the scope of application of the present invention.Computer system 1000 can not be interpreted as the combination needing the one or more parts depending on or have in illustrated exemplary computer system 1000.
Computer system 1000 shown in Fig. 5 is the examples being suitable for computer system of the present invention.Other framework with different sub-systems configuration also can use.The similar devices such as the desktop computer known by masses, notebook, personal digital assistant, smart phone, panel computer, portable electronic device, Set Top Box are such as had to go for some embodiments of the present invention.But be not limited to above cited equipment.
As shown in Figure 5, computer system 1000 comprises processor 1010, memory 1020 and system bus 1022.The various system components comprising memory 1020 and processor 1010 are connected on system bus 1022.Processor 1010 is the hardware being used for being performed by arithmetic sum logical operation basic in computer system computer program instructions.Memory 1020 be one for storing the physical equipment of calculation procedure or data (such as, program state information) temporarily or permanently.System bus 1020 can be any one in the bus structures of following several types, comprises memory bus or storage control, peripheral bus and local bus.Processor 1010 and memory 1020 can carry out data communication by system bus 1022.Wherein memory 1020 comprises read-only memory (ROM) or flash memory (all not shown in figure), and random-access memory (ram), and RAM typically refers to the main storage being loaded with operating system and application program.
Computer system 1000 also comprises display interface 1030(such as, Graphics Processing Unit), display device 1040(such as, liquid crystal display), audio interface 1050(such as, sound card) and audio frequency apparatus 1060(such as, loud speaker).Display device 1040 and audio frequency apparatus 1060 are the media devices for experiencing content of multimedia.
Computer system 1000 generally comprises a memory device 1070.Memory device 1070 can be selected from multiple computer-readable medium, and computer-readable medium refers to any available medium can accessed by computer system 1000, that comprise movement and fixing two media.Such as, computer-readable medium includes but not limited to, flash memory (miniature SD card), CD-ROM, digital versatile disc (DVD) or other optical disc storage, cassette, tape, disk storage or other magnetic storage apparatus, or can be used for storing information needed and other medium any can accessed by computer system 1000.
Computer system 1000 also comprises input unit 1080 and input interface 1090(such as, I/O controller).User can pass through input unit 1080, and as the touch panel equipment in keyboard, mouse, display unit 1040, input instruction and information are in computer system 1000.Input unit 1080 is normally connected on system bus 1022 by input interface 1090, but also can be connected by other interface or bus structures, as USB (USB).
Computer system 1000 can be carried out logic with one or more network equipment in a network environment and is connected.The network equipment can be PC, server, router, smart phone, panel computer or other common network node.Computer system 1000 is connected with the network equipment by Local Area Network interface 1100 or mobile comm unit 1110.Local Area Network refers in finite region, such as family, school, computer laboratory or use the office building of the network media, the computer network of interconnected composition.WiFi and twisted-pair feeder wiring Ethernet are two kinds of technology of the most frequently used structure local area network (LAN).WiFi is a kind of technology that can make computer system 1000 swapping data or be connected to wireless network by radio wave.Mobile comm unit 1110 can be answered by radio communication diagram while movement and call in a wide geographic area.Except call, mobile comm unit 1110 is also supported in the 2G providing mobile data service, carries out internet access in 3G or 4G cellular communication system.
It should be pointed out that other computer system comprising the subsystem more more or less than computer system 1000 also can be applicable to invention.Such as, computer system 1000 can comprise can in short distance the bluetooth unit of swap data, for the imageing sensor of taking a picture, and for the accelerometer of acceleration measurement.
As described in detail, be applicable to the assigned operation that computer system 1000 of the present invention can perform the information recommendation method based on instant messaging above.The form of the software instruction that computer system 1000 is operated in computer-readable medium by processor 1010 performs these operations.These software instructions can be read into memory 1020 from memory device 1070 or by lan interfaces 1100 from another equipment.The software instruction be stored in memory 1020 makes processor 1010 perform the above-mentioned information recommendation method based on instant messaging.In addition, also the present invention can be realized equally by hardware circuit or hardware circuit in conjunction with software instruction.Therefore, the combination that the present invention is not limited to any specific hardware circuit and software is realized.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (18)

1., based on an information recommendation method for instant messaging, described method comprises:
Obtain the keyword in chat content;
Obtain the preset chained address corresponding with described keyword;
Obtain the triggering command of described chained address, obtain the positional information of terminal according to described triggering command;
Extract the to be recommended information relevant to described positional information and push to described terminal.
2. method according to claim 1, is characterized in that, the described step obtaining the positional information of terminal according to triggering command, comprising:
Obtain the MAC Address of terminal, find the longitude and latitude corresponding with the MAC Address of described terminal from preset MAC Address with the corresponding relation of longitude and latitude.
3. method according to claim 1, is characterized in that, the described step obtaining the positional information of terminal according to triggering command, comprising:
Obtain the IP address of the user ID uploaded of terminal and terminal, from preset user ID, IP address and find the longitude and latitude corresponding with the IP address of described user ID and terminal the corresponding relation of longitude and latitude.
4. according to the method in claim 2 or 3, it is characterized in that, the information to be recommended that described extraction is relevant to described positional information also pushes to the step of described terminal, comprising:
Obtain the information to be recommended that described chained address is corresponding, the longitude and latitude according to described terminal extracts the information to be recommended with the distance of terminal in preset range and pushes to described terminal from the information to be recommended obtained.
5. method according to claim 1, is characterized in that, the described step obtaining the positional information of terminal according to triggering command, comprising:
Obtain the IP address of terminal, from IP storehouse, find the ownership place corresponding with the IP address of described terminal.
6. method according to claim 5, is characterized in that, the information to be recommended that described extraction is relevant to described positional information also pushes to the step of described terminal, comprising:
Obtain the information to be recommended that described chained address is corresponding, from the information to be recommended obtained, extract according to the ownership place of described terminal ownership place mates with the ownership place of described terminal information to be recommended and push to described terminal.
7. based on an information recommending apparatus for instant messaging, it is characterized in that, described device comprises:
Keyword acquisition module, for obtaining the keyword in chat content;
Link acquisition module, for obtaining the preset chained address corresponding with described keyword;
Position acquisition module, for obtaining the triggering command of described chained address, obtains the positional information of terminal according to described triggering command;
Info push module, for extracting the to be recommended information relevant to described positional information and pushing to described terminal.
8. device according to claim 7, is characterized in that, described position acquisition module comprises:
First longitude and latitude determination module, for obtaining the MAC Address of terminal, finds the longitude and latitude corresponding with the MAC Address of described terminal from preset MAC Address with the corresponding relation of longitude and latitude.
9. device according to claim 7, is characterized in that, described position acquisition module comprises:
Second longitude and latitude determination module, for obtaining the IP address of user ID that terminal uploads and terminal, from preset user ID, IP address and find the longitude and latitude corresponding with the IP address of described user ID and terminal the corresponding relation of longitude and latitude.
10. device according to claim 8 or claim 9, it is characterized in that, described info push module is also for obtaining information to be recommended corresponding to described chained address, and the longitude and latitude according to described terminal extracts the information to be recommended with the distance of terminal in preset range and pushes to described terminal from the information to be recommended obtained.
11. devices according to claim 7, is characterized in that, described position acquisition module comprises:
Ownership place determination module, for obtaining the IP address of terminal, finds the ownership place corresponding with the IP address of described terminal from IP storehouse.
12. devices according to claim 12, it is characterized in that, described info push module, also for obtaining information to be recommended corresponding to described chained address, extracting according to the ownership place of described terminal information to be recommended that ownership place mates with the ownership place of described terminal and pushing to described terminal from the information to be recommended obtained.
13. 1 kinds of terminals, is characterized in that, described terminal comprises:
Keyword spotting module, for detecting the keyword in chat content;
Link generation module, for obtaining the preset chained address corresponding with described keyword, generates the link that described keyword is corresponding in the page;
Transmission module on position, for obtaining the triggering command of described chained address, obtaining the positional information of terminal according to described triggering command and uploading onto the server;
Information display module, for receiving the to be recommended information relevant to described positional information of described server push and showing.
14. terminals according to claim 13, it is characterized in that, on described position, transmission module is also for obtaining the MAC Address of terminal, the MAC Address of described terminal is uploaded to described server, makes described server find the longitude and latitude corresponding with the MAC Address of described terminal from preset MAC Address with the corresponding relation of longitude and latitude.
15. terminals according to claim 13, it is characterized in that, on described position, transmission module is also for obtaining the IP address of user ID and terminal, the IP address of described user ID and terminal is uploaded to described server, makes described server from preset user ID, IP address and the corresponding relation of longitude and latitude, find the longitude and latitude corresponding with the IP address of described user ID and terminal.
16. terminals according to claims 14 or 15, is characterized in that, described information display module is also for showing with information to be recommended in preset range of the distance of terminal of receiving described server push.
17. terminals according to claim 13, it is characterized in that, on described position, transmission module is also for obtaining the IP address of terminal, and the IP address of described terminal is uploaded to described server, makes described server find the ownership place corresponding with the IP address of described terminal from IP storehouse.
18. terminals according to claim 17, is characterized in that, described information display module is also for receiving the information to be recommended of mating with the ownership place of terminal of described server push and showing.
CN201310656249.3A 2013-12-05 2013-12-05 Information recommendation method, device and terminal based on instant messaging Active CN104703125B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310656249.3A CN104703125B (en) 2013-12-05 2013-12-05 Information recommendation method, device and terminal based on instant messaging
PCT/CN2014/084147 WO2015081720A1 (en) 2013-12-05 2014-08-12 Instant messaging (im) based information recommendation method, apparatus, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310656249.3A CN104703125B (en) 2013-12-05 2013-12-05 Information recommendation method, device and terminal based on instant messaging

Publications (2)

Publication Number Publication Date
CN104703125A true CN104703125A (en) 2015-06-10
CN104703125B CN104703125B (en) 2020-11-13

Family

ID=53272833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310656249.3A Active CN104703125B (en) 2013-12-05 2013-12-05 Information recommendation method, device and terminal based on instant messaging

Country Status (2)

Country Link
CN (1) CN104703125B (en)
WO (1) WO2015081720A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468723A (en) * 2015-11-20 2016-04-06 小米科技有限责任公司 Information recommendation method and device
CN105578214A (en) * 2016-02-05 2016-05-11 尼尔森网联媒介数据服务有限公司 Digital media terminal geographic position determination method and device
CN105704158A (en) * 2016-04-08 2016-06-22 成都景博信息技术有限公司 Vehicle operation data communication method for mobile terminal
CN105897889A (en) * 2016-04-08 2016-08-24 成都景博信息技术有限公司 Cloud computing-based vehicle networking information processing method
WO2017045302A1 (en) * 2015-09-15 2017-03-23 小米科技有限责任公司 Information collection method and device
CN106993085A (en) * 2017-03-01 2017-07-28 北京小米移动软件有限公司 Positioning result display methods and device, electronic equipment
CN107358473A (en) * 2017-07-19 2017-11-17 金天国际医疗科技有限公司 A kind of Three-Dimensional Dynamic formula speciallys permit franchise pattern
CN107454126A (en) * 2016-05-31 2017-12-08 华为终端(东莞)有限公司 A kind of information push method, server and terminal
CN107995101A (en) * 2017-11-30 2018-05-04 上海掌门科技有限公司 A kind of method and apparatus for being used to switching to speech message into text message
CN108230018A (en) * 2017-12-26 2018-06-29 广东欧珀移动通信有限公司 Advertisement sending method, device, server and storage medium
CN113254836A (en) * 2021-06-16 2021-08-13 长沙豆芽文化科技有限公司 Intelligent child-care knowledge point information pushing method and system and cloud platform

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354017B (en) * 2015-09-28 2018-09-25 小米科技有限责任公司 Information processing method and device
CN109981785B (en) * 2019-04-02 2020-08-14 北京字节跳动网络技术有限公司 Method and device for pushing information
CN111770208A (en) * 2019-09-29 2020-10-13 北京沃东天骏信息技术有限公司 Control method and device for Internet of things equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030283A (en) * 2006-03-03 2007-09-05 腾讯科技(深圳)有限公司 Method and system for issuing advertisement
CN101079710A (en) * 2006-12-15 2007-11-28 腾讯科技(深圳)有限公司 A network information push method and system
CN101542516A (en) * 2006-10-05 2009-09-23 谷歌公司 Location based, content targeted information
CN102695118A (en) * 2011-03-21 2012-09-26 腾讯科技(深圳)有限公司 Method and apparatus of aggregate information presentation of location based service
CN102722573A (en) * 2012-06-04 2012-10-10 北京吉亚互联科技有限公司 Method for identifying user source and pushing webpage and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10510043B2 (en) * 2005-06-13 2019-12-17 Skyword Inc. Computer method and apparatus for targeting advertising
CN101262494A (en) * 2008-01-23 2008-09-10 华为技术有限公司 Method, client, server and system for processing distributed information
CN102790726B (en) * 2011-05-18 2015-10-28 腾讯科技(深圳)有限公司 A kind of method based on instant messaging pushed information, Apparatus and system
CN103095559B (en) * 2012-12-31 2015-06-17 上海量明科技发展有限公司 Method of outputting advertisement prompting message in instant messaging and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030283A (en) * 2006-03-03 2007-09-05 腾讯科技(深圳)有限公司 Method and system for issuing advertisement
CN101542516A (en) * 2006-10-05 2009-09-23 谷歌公司 Location based, content targeted information
CN101079710A (en) * 2006-12-15 2007-11-28 腾讯科技(深圳)有限公司 A network information push method and system
CN102695118A (en) * 2011-03-21 2012-09-26 腾讯科技(深圳)有限公司 Method and apparatus of aggregate information presentation of location based service
CN102722573A (en) * 2012-06-04 2012-10-10 北京吉亚互联科技有限公司 Method for identifying user source and pushing webpage and system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017045302A1 (en) * 2015-09-15 2017-03-23 小米科技有限责任公司 Information collection method and device
US10216711B2 (en) 2015-09-15 2019-02-26 Xiaomi Inc. Information collection method and apparatus
JP2017531275A (en) * 2015-09-15 2017-10-19 シャオミ・インコーポレイテッド Information collecting method and apparatus, program and recording medium
CN105468723B (en) * 2015-11-20 2019-08-20 小米科技有限责任公司 Information recommendation method and device
CN105468723A (en) * 2015-11-20 2016-04-06 小米科技有限责任公司 Information recommendation method and device
CN105578214A (en) * 2016-02-05 2016-05-11 尼尔森网联媒介数据服务有限公司 Digital media terminal geographic position determination method and device
CN105704158A (en) * 2016-04-08 2016-06-22 成都景博信息技术有限公司 Vehicle operation data communication method for mobile terminal
CN105897889A (en) * 2016-04-08 2016-08-24 成都景博信息技术有限公司 Cloud computing-based vehicle networking information processing method
CN107454126A (en) * 2016-05-31 2017-12-08 华为终端(东莞)有限公司 A kind of information push method, server and terminal
CN107454126B (en) * 2016-05-31 2021-10-22 华为终端有限公司 Message pushing method, server and terminal
CN106993085A (en) * 2017-03-01 2017-07-28 北京小米移动软件有限公司 Positioning result display methods and device, electronic equipment
CN107358473A (en) * 2017-07-19 2017-11-17 金天国际医疗科技有限公司 A kind of Three-Dimensional Dynamic formula speciallys permit franchise pattern
CN107995101B (en) * 2017-11-30 2021-03-23 上海掌门科技有限公司 Method and equipment for converting voice message into text message
CN107995101A (en) * 2017-11-30 2018-05-04 上海掌门科技有限公司 A kind of method and apparatus for being used to switching to speech message into text message
CN108230018A (en) * 2017-12-26 2018-06-29 广东欧珀移动通信有限公司 Advertisement sending method, device, server and storage medium
CN113254836A (en) * 2021-06-16 2021-08-13 长沙豆芽文化科技有限公司 Intelligent child-care knowledge point information pushing method and system and cloud platform
CN113254836B (en) * 2021-06-16 2021-09-14 长沙豆芽文化科技有限公司 Intelligent child-care knowledge point information pushing method and system and cloud platform

Also Published As

Publication number Publication date
CN104703125B (en) 2020-11-13
WO2015081720A1 (en) 2015-06-11

Similar Documents

Publication Publication Date Title
CN104703125A (en) Method, device and terminal for information recommendation based on instant messaging
US20230199059A1 (en) Capturing and Automatically Uploading Media Content
US9928232B2 (en) Topically aware word suggestions
US10747944B1 (en) Unified web and application framework
US9341497B2 (en) Method and system for pushing point of interest information
US8775407B1 (en) Determining intent of text entry
EP3226159A1 (en) System and method for managing browsing histories of web browser
CN103037091B (en) SMS processing, device and terminal equipment
CA2802458C (en) Synchronizing endpoint data stores having disparate schemas
CN104731826A (en) Page operation feedback method and device
US20140334616A1 (en) Method for providing call log and electronic device thereof
US11797481B2 (en) Locating files using a durable and universal file identifier
AU2016200719A1 (en) Geocoded data detection and user interfaces for same
US20220206485A1 (en) Predictive maintenance techniques and analytics in hybrid cloud systems
CN104281610B (en) The method and apparatus for filtering microblogging
CN104794046B (en) The method and system of symbolic program running log
CN104965692B (en) The method and system of striding course display data in desktop application
JP2018055525A (en) Text extraction device
US20150154682A1 (en) Enriching product catalog with search keywords
CN104753825A (en) Instant messaging multi-terminal login status issuing method and system
WO2016145266A2 (en) Context sensitive phrase identification
KR20070034313A (en) Mobile search server and operation method of the search server
CN106507317A (en) A kind of method and device for setting up group
US20120136893A1 (en) Method and apparatus for searching contents in a communication system
CN105320707B (en) Hot word prompting method and device based on instant messaging

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant