CN106326284A - Historical record acquisition method, server and terminal - Google Patents
Historical record acquisition method, server and terminal Download PDFInfo
- Publication number
- CN106326284A CN106326284A CN201510374879.0A CN201510374879A CN106326284A CN 106326284 A CN106326284 A CN 106326284A CN 201510374879 A CN201510374879 A CN 201510374879A CN 106326284 A CN106326284 A CN 106326284A
- Authority
- CN
- China
- Prior art keywords
- terminal
- display area
- history
- history record
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012545 processing Methods 0.000 claims description 28
- 238000012216 screening Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000011022 operating instruction Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/148—Migration or transfer of sessions
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)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a historical record acquisition method, a server and a terminal, used for solving the problem that in the prior art, displayed information is incomplete and user experience is reduced, as a webpage and an application cannot provide geographical location information of a user who purchases an object at each time. The method comprises the step that when the server receives an access request carrying a display area range and an object identifier sent by the terminal, a historical record including the object identifier and of which the geographical location information is located in the display area range can be selected from the historical records, the selected historical record is returned to the terminal, and thus the terminal can display the geographical location information of the historical record returned by the server, the displayed information is more complete, the user can judge whether the selected object accords with a public fashion trend according to the displayed information and can display using density of the object in the specified geographical location display range, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method, a server, and a terminal for acquiring a history.
Background
With the development of internet technology, users purchase goods through the internet is a new consumption trend. In the existing internet technology, some objects are generally published on websites and applications, the objects may be commodities and the like, and are used for logging in the website and browsing by users using the applications, and the users select target objects according to their own requirements by browsing the objects.
However, the user selects an object as a target object, which is important factors that the object meets the popular tendency and the density of using the object is low within a set range (crash prevention), so that a history record containing the geographical location information of the user who purchased the object needs to be provided in the network and the application, however, in the existing website and the application, the detailed information of each object, the comment of the user on the object, the transaction record and the like are mainly included in the detail display page of each object, the geographical location information of the user who purchased the object is not available, the displayed information is not comprehensive, the user cannot determine whether the object meets the popular tendency according to the geographical location information of the user who purchased the object, and the density of using the object within the set range reduces the user experience.
Disclosure of Invention
The embodiment of the invention provides a method, a server and a terminal for acquiring a history record, which are used for solving the problems that in the prior art, a webpage and an application cannot provide geographical location information for purchasing an object, so that the presented information is incomplete and the user experience is reduced.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, a method of obtaining a history record includes:
receiving an access request of a terminal, wherein the access request carries a display area range and an object identifier;
determining at least one history record comprising the object identifier, wherein each history record comprises the object identifier and geographical location information;
selecting a history record of the included geographical position information in the range of the display area from the determined history records;
and returning the selected history record to the terminal.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the geographic location information and the display area range are represented by address tags, or the geographic location information and the display area range are represented by longitude and latitude.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, when the geographic location information and the display area range are represented by address tags, in the determined history, a history of the geographic location information included in the display area range is selected, which includes:
and in the determined history record, the geographical position information selected to be included comprises the history record of the address label representing the display area range.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, when the geographic location information and the display area range are represented by latitude and longitude, in the determined history, selecting a history of the geographic location information included in the display area range includes:
and selecting the history record with the longitude and latitude within the range of the display area from the determined history records.
With reference to the first aspect or any one of the foregoing possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, each history record further includes a user identifier;
the access request also carries a user identifier of a login user who logs in the terminal;
returning the selected history to the terminal, including:
determining the user identification of the associated user associated with the user identification of the login user according to the user identification of the login user;
screening out the history records with the user identifications as the user identifications of the associated users from the selected history records;
and returning the screened user identifier as the history of the user identifier of the associated user to the terminal.
In a second aspect, a method for obtaining a history record includes:
after an object in a page provided by a terminal is selected, sending an access request to a server, wherein the access request carries a display area range and an object identifier of the selected object;
and receiving the history record returned by the server, and presenting the geographical position information included in the history record.
With reference to the second aspect, in a first possible implementation manner of the second aspect, before sending the access request to the server, the method further includes:
determining geographical location information of the terminal;
and determining the display area range according to the geographical position information of the terminal.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the determining the geographical location information of the terminal includes:
determining at least one address tag of the terminal and/or the longitude and latitude of the terminal;
determining the display area range according to the geographical position information of the terminal, wherein the determining comprises the following steps:
taking one address label in at least one address label of the terminal as the display area range; or
And taking the appointed area range based on the longitude and latitude information of the terminal as the display area range.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the determining at least one address tag of the terminal includes:
determining address information of the terminal according to an Internet Protocol (IP) address of the terminal or Global Positioning System (GPS) information;
and sequentially matching each address label in a preset address label set with the determined address information, and when the matching is successful, taking the address label as the geographical position information of the terminal equipment.
With reference to the second aspect or any one of the foregoing possible implementations of the second aspect, in a fourth possible implementation of the second aspect, before sending the access request to the server, the method further includes:
determining a user identifier of a login user who logs in the terminal;
sending an access request to a server, comprising:
and sending an access request which also carries the user identification of the login user for logging in the terminal to a server.
With reference to the second aspect or any one of the foregoing possible implementations of the second aspect, in a fifth possible implementation of the second aspect, presenting the geographic location information included in the history record includes:
and presenting a map comprising the geographical position information included in the history record in the page provided by the terminal, and marking the geographical position information included in the history record in the map.
In a third aspect, a server comprises:
the terminal comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an access request of the terminal, and the access request carries a display area range and an object identifier;
a first processing unit, configured to determine at least one history record including the object identifier, where each history record includes the object identifier and geographic location information;
the second processing unit is used for selecting the historical records of the included geographical position information in the range of the display area from the determined historical records;
a sending unit, configured to return the selected history to the terminal.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the geographic location information and the display area range are represented by address tags, or the geographic location information and the display area range are represented by longitude and latitude.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, when the geographic location information and the display area range are represented by address tags, the second processing unit is configured to:
and in the determined history record, the geographical position information selected to be included comprises the history record of the address label representing the display area range.
With reference to the first possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, when the geographic location information and the display area range are represented by longitude and latitude, the second processing unit is configured to:
and selecting the history record with the longitude and latitude within the range of the display area from the determined history records.
With reference to the third aspect or any one of the foregoing possible implementation manners of the third aspect, in a fourth possible implementation manner of the third aspect, each history record further includes a user identifier;
the access request also carries a user identifier of a login user who logs in the terminal;
the sending unit is configured to:
determining the user identification of the associated user associated with the user identification of the login user according to the user identification of the login user;
screening out the history records with the user identifications as the user identifications of the associated users from the selected history records;
and returning the screened user identifier as the history of the user identifier of the associated user to the terminal.
In a fourth aspect, a terminal includes:
a sending unit, configured to send an access request to a server after an object in a page provided by the terminal is selected, where the access request carries a display area range and an object identifier of the selected object;
and the processing unit is used for receiving the history record returned by the server and presenting the geographical position information included in the history record.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the method further includes:
a first determining unit, configured to determine geographical location information of the terminal before sending an access request to a server;
and determining the display area range according to the geographical position information of the terminal.
With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the first determining unit, when determining the geographical location information of the terminal, is configured to:
determining at least one address tag of the terminal and/or the longitude and latitude of the terminal;
the first determining unit, when determining the display area range according to the geographical location information of the terminal, is configured to:
taking one address label in at least one address label of the terminal as the display area range; or
And taking the appointed area range based on the longitude and latitude information of the terminal as the display area range.
With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the first determining unit, when determining at least one address tag of the terminal, is configured to:
determining address information of the terminal according to an Internet Protocol (IP) address of the terminal or Global Positioning System (GPS) information;
and sequentially matching each address label in a preset address label set with the determined address information, and when the matching is successful, taking the address label as the geographical position information of the terminal equipment.
With reference to the fourth aspect or any one of the foregoing possible implementations of the fourth aspect, in a fourth possible implementation of the fourth aspect, the method further includes:
a second determining unit, configured to determine a user identifier of a login user who logs in the terminal before sending the access request to the server;
the sending unit is configured to:
and sending an access request which also carries the user identification of the login user for logging in the terminal to a server.
With reference to the fourth aspect or any one of the foregoing possible implementations of the fourth aspect, in a fifth possible implementation of the fourth aspect, the processing unit is specifically configured to:
and presenting a map comprising the geographical position information included in the history record in the page provided by the terminal, and marking the geographical position information included in the history record in the map.
In a fifth aspect, a system for obtaining a history record includes:
the server is used for receiving an access request of the terminal, wherein the access request carries a display area range and an object identifier; determining at least one history record comprising the object identifier, wherein each history record comprises the object identifier and geographical location information; selecting a history record of the included geographical position information in the range of the display area from the determined history records; returning the selected history record to the terminal;
the terminal is used for sending an access request to the server after an object in a page provided by the terminal is selected, wherein the access request carries a display area range and an object identifier of the selected object;
and receiving the history record returned by the server, and presenting the geographical position information included in the history record.
By adopting the method for acquiring the history record, when the server receives the access request which is sent by the terminal and carries the display area range and the object identifier, the history record which comprises the object identifier and the geographical position information which is positioned in the display area range can be selected from the history record, and the selected history record is returned to the terminal, so that the terminal can present the geographical position information of the history record returned by the server, the presented information is more comprehensive, a user can judge whether the selected object accords with the popular trend of the public according to the presented information, and the density of the object is used in the designated geographical position presenting range, thereby improving the user experience.
Drawings
Fig. 1 is a flowchart of a method for obtaining a history record according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for obtaining a history record according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a system architecture for obtaining a history record according to an embodiment of the present invention;
fig. 6 is a block diagram of a server according to an embodiment of the present invention;
fig. 7 is a structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method, a server and a terminal for acquiring a history record, which are used for solving the problems that in the prior art, a webpage and an application cannot provide geographical position information of an object purchased each time, so that presented information is incomplete and user experience is reduced. The method and the device are based on the same inventive concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
In the prior art, because the webpage and the application cannot provide the geographical position information within the designated geographical position presenting range, the presented information is incomplete, and a user cannot determine information such as the popularity trend of a selected object, so that the user experience is reduced. In the embodiment of the invention, when the server receives the access request which is sent by the terminal and carries the display area range and the object identifier, the server can select the historical record which comprises the object identifier and the geographic position information is positioned in the display area range from the historical record, and return the selected historical record to the terminal, so that the terminal can present the geographic position information of the historical record returned by the server, the presented information is more comprehensive, a user can judge whether the selected object meets the popular trend of the public according to the presented information, and the density of the object is used in the designated geographic position presentation range, thereby improving the user experience.
Referring to fig. 1, an embodiment of the present invention provides a method for obtaining a history record, which is applied to a server side, and a processing flow of the method includes:
step 101: and receiving an access request of a terminal, wherein the access request carries a display area range and an object identifier.
In practical application, each object has a unique object identifier, so that in order to avoid confusion, even if the objects are the same, the object identifiers corresponding to the objects with different colors are different. Therefore, after the user selects an object in the page of the terminal, the object identifier of the selected object can be determined, and optionally, the object identifier may be Stock Keeping Unit (SKU), or a barcode, or information such as a commodity code.
The terminal is an intelligent device such as a computer and a mobile phone, and sends an access request to the server after an object in a page provided by the terminal is selected, wherein the access request carries a display area range and an object identifier so as to inform the server of returning a history record of the object identifier in the display area range. The object identifier is the object identifier of the selected object in the terminal, and the display area range can be the display area range determined by the terminal according to the geographical position information of the terminal, the display area range appointed by the terminal,
step 102: and determining at least one history record comprising the object identifier carried in the access request, wherein each history record comprises the object identifier and the geographical position information.
In practical application, the server stores history records of all objects, one history record is generated after one object is purchased successfully, wherein each history record comprises an object identifier and geographical location information, and therefore, the history records comprising the object identifier carried in the access request can be screened from all the history records.
Step 103: and selecting the history record of the included geographical position information in the display area in the determined history record.
Optionally, the geographical location information and the display area range in the history record are represented by address tags, and optionally, the geographical location information includes: address tags, and/or, latitude and longitude. The address labels are information of province, city, county, street and the like, such as Beijing city, Hai lake district and the like, "Jiangsu province", "Nanjing city" and the like; or
The geographical position information in the history and the display area range are represented by latitude and longitude, such as "N31 ° 58 '44.18", E1118 ° 45' 51.07 ".
When the geographical position information in the history is represented by the address tags, the number of the address tags of the geographical position information is at least one, and the number of the address tags of the display area range is one.
When the geographical position information and the display area range are represented by address labels, selecting the historical records of the included geographical position information in the display area range in the determined historical records, wherein the historical records comprise:
and in the determined history record, the geographical position information selected to be included comprises the history record of the address label representing the display area range.
For example, the geographical label of the display area range is "Nanjing City", and the history record of "Nanjing City" included in the geographical position information in the history record to be determined is the history record in the display area range.
When the geographical location information and the display area range are represented by longitude and latitude, selecting the historical record of the included geographical location information in the display area range, wherein the historical record comprises:
and selecting the history record with the longitude and latitude within the range of the display area from the determined history records.
Step 104: and returning the selected history record to the terminal.
And returning the selected history record to the terminal so that the terminal presents the geographical position information included in the history record to a page of the terminal. The presenting process of the terminal may specifically include: and presenting a map comprising the geographical position information included in the history record in the page provided by the terminal, and marking the geographical position information included in the history record in the map.
Optionally, each history record further includes a user identifier;
the access request of the terminal received in step 101 further carries a user identifier of a login user who logs in the terminal;
in performing step 104, comprising:
determining a user identifier of an associated user associated with the user identifier of the login user according to the user identifier of the login user carried in the access request;
screening out the history records with the user identifications as the user identifications of the associated users from the selected history records;
and returning the screened user identifier as the history of the user identifier of the associated user to the terminal.
Wherein the associated user refers to a user having a social relationship with the login user.
In this way, when the history record further includes the user identifier, the service may further select an object identifier carried by the access request, and the geographic location information is located in the history record of the display area range, and further continue to screen out geographic location information corresponding to other user identifiers associated with the user identifier of the login user of the current login terminal.
By adopting the method for acquiring the history record, when the server receives the access request which is sent by the terminal and carries the display area range and the object identifier, the server can select the history record which comprises the object identifier and the geographical position information is positioned in the display area range from the history record and return the selected history record to the terminal, so that the terminal can present the geographical position information of the history record returned by the server, the presented information is more comprehensive, a user can judge whether the selected object accords with the popular trend of the public according to the presented information, and the density of the object is used in the designated geographical position presenting range, thereby improving the user experience.
Referring to fig. 2, the method for obtaining a history record according to the embodiment of the present invention is applied to various terminal devices, such as computers, mobile phones, other intelligent devices, and the like. The processing flow of the method comprises the following steps:
step 201: after an object in a page provided by a terminal is selected, an access request is sent to a server, and the access request carries a display area range and an object identifier of the selected object.
After a user selects an object in a page through a terminal, the terminal sends an access request to a service area based on the selected object so as to display the geographic position information in the historical record of the object, and therefore the user can know the object more comprehensively through the displayed geographic position information and the decision of the user is influenced.
The display area range can be input or designated by a user through the terminal, or a preset area range of the terminal, and can also be determined according to the geographical position information of the terminal.
Optionally, when the display area range is determined according to the geographical location information of the terminal, before performing step 201, the method further includes:
determining geographical location information of the terminal;
and determining the display area range according to the geographical position information of the terminal.
Optionally, determining the geographical location information of the terminal includes:
determining at least one address tag of the terminal and/or the longitude and latitude of the terminal;
optionally, determining the display area range according to the geographical location information of the terminal includes:
taking one address label in at least one address label of the terminal as the display area range; or
And taking the appointed area range based on the longitude and latitude information of the terminal as the display area range.
Wherein determining at least one address label of the terminal comprises:
determining address information of the terminal according to an Internet Protocol (IP) address or Global Positioning System (GPS) information of the terminal;
and sequentially matching each address label in a preset address label set with the determined address information, and when the matching is successful, taking the address label as the geographical position information of the terminal equipment.
Specifically, determining the address information of the terminal according to the IP address or the GPS information of the terminal includes:
after the IP address of the terminal is obtained, according to the corresponding relation between the preset IP address and the address information, the address information corresponding to the obtained IP address is determined; or,
after GPS information of a terminal is acquired, address information corresponding to the acquired longitude and latitude of the GPS information is determined according to a preset corresponding relation between the longitude and latitude and the address information.
For example, the obtained IP address is 10.132.10.58, and in the preset correspondence between IP addresses and address information, the address information corresponding to the IP address is determined to be the nanjing base No. 101 of the rainflower platform district in the city of nanjing.
When at least one address label of the terminal is determined, the preset address label set comprises a plurality of address labels, such as Nanjing city, Chongqing city, Yuhuatai district, Jinao building, Kangsheng garden and the like, each address label in the address label set is matched with the determined address information, if the Nanjing city is matched with the Nanjing district 101 No. Hua of Nanjing City to Nanjing, the address information is determined to comprise the address label, the base label is used as the geographic position information of the terminal equipment and is continuously judged until all the address labels traverse once, and finally, the address label which can be determined according to the address information corresponding to the IP address is as follows: "Nanjing city", "Rainflower district" and "Hua is Nanjing base", so these address labels are the geographical location information of the terminal device.
When the longitude and latitude information of the terminal is determined, the IP address of the terminal is obtained, and the address information corresponding to the obtained IP address is determined according to the corresponding relation between the preset IP address and the address information; and determining the longitude and latitude of the address information corresponding to the IP address according to the preset corresponding relation between the longitude and latitude and the address information, and taking the determined longitude and latitude as the longitude and latitude of the terminal.
Optionally, before sending the access request to the server, the method further includes:
determining a user identifier of a login user who logs in the terminal;
sending an access request to a server, comprising:
and sending an access request which also carries the user identification of the login user for logging in the terminal to a server.
In various social platforms, the server stores the user identifier associated with each user identifier, so that the user identifier associated with the login user can be searched through the user identifier of the login user who logs in the terminal, and the history of the associated user associated with the login user is further determined.
Step 202: and receiving the history record returned by the server, and presenting the geographical position information included in the history record.
Optionally, the geographical location information included in the received history is presented in a page provided by the terminal.
Specifically, the terminal may present a map including the geographical location information included in the history in a provided page, and mark the geographical location information included in the history in the map.
By adopting the method for acquiring the history record provided by the embodiment of the invention, after an object in the page is selected, the terminal sends an access request carrying the display area range and the object identifier to the server to inform the server of selecting the history record comprising the object identifier and the geographical position information in the display area range in the history record, and returns the selected history record to the terminal, so that the terminal can present the geographical position information of the history record returned by the server, the presented information is more comprehensive, a user can judge whether the selected object accords with the popular trend or not according to the presented information, and the density of using the object in the specified geographical position presentation range is increased, and the user experience is improved.
Based on the above embodiments, an embodiment of the present invention further provides a server, as shown in fig. 3, where the server includes: a receiving unit 301, a first processing unit 302, a second processing unit 303, and a transmitting unit 304, wherein,
a receiving unit 301, configured to receive an access request of a terminal, where the access request carries a display area range and an object identifier;
a first processing unit 302, configured to determine at least one history record including the object identifier, where each history record includes the object identifier and geographic location information;
the second processing unit 303 is configured to select, from the determined history records, a history record of the included geographic location information in the display area;
a sending unit 304, configured to return the selected history to the terminal.
Optionally, the geographic location information and the display area range are represented by address tags, or the geographic location information and the display area range are represented by longitude and latitude.
Optionally, when the geographic location information and the display area range are represented by address tags, the second processing unit 303 is configured to:
and in the determined history record, the geographical position information selected to be included comprises the history record of the address label representing the display area range.
Optionally, when the geographic location information and the display area range are represented by longitude and latitude, the second processing unit 303 is configured to:
and selecting the history record with the longitude and latitude within the range of the display area from the determined history records.
Optionally, each history record further includes a user identifier;
the access request also carries a user identifier of a login user who logs in the terminal;
the sending unit 304 is configured to:
determining the user identification of the associated user associated with the user identification of the login user according to the user identification of the login user;
screening out the history records with the user identifications as the user identifications of the associated users from the selected history records;
and returning the screened user identifier as the history of the user identifier of the associated user to the terminal.
Based on the above embodiment, the present invention further provides a terminal, as shown in fig. 4, where the terminal includes: a sending unit 401, a processing unit 402, wherein,
a sending unit 401, configured to send an access request to a server after an object in a page provided by the terminal 400 is selected, where the access request carries a display area range and an object identifier of the selected object;
and the processing unit 402 is configured to receive the history record returned by the server, and present the geographical location information included in the history record.
Optionally, the terminal 400 further includes:
a first determining unit 403, configured to determine geographical location information of the terminal 400 before sending an access request to a server;
and determining the display area range according to the geographical position information of the terminal 400.
Optionally, when determining the geographical location information of the terminal 400, the first determining unit 403 is configured to:
determining at least one address tag of the terminal 400, and/or a longitude and latitude of the terminal 400;
the first determining unit 403, when determining the display area range according to the geographical location information of the terminal 400, is configured to:
taking one address tag of at least one address tag of the terminal 400 as the display area range; or
And taking the designated area range based on the longitude and latitude information of the terminal 400 as the display area range.
Optionally, when determining at least one address tag of the terminal 400, the first determining unit 403 is configured to:
determining address information of the terminal 400 according to the IP address or GPS information of the terminal 400;
and sequentially matching each address tag in a preset address tag set with the determined address information, and when the matching is successful, taking the address tag as the geographical position information of the terminal 400 equipment.
Optionally, the terminal 400 further includes:
a second determining unit 404, configured to determine a user identity of a login user who logs in the terminal 400 before sending the access request to the server.
The sending unit 401 is configured to:
and sending an access request carrying the user identifier of the login user who logs in the terminal 400 to the server.
Optionally, the processing unit 402 is configured to:
the geographical location information included in the history is presented in the page provided by the terminal 400.
It should be noted that, the division of the units in the embodiments of the present invention is schematic, and is only a logical function division, and there may be another division manner in actual implementation, for example, the first determining unit and the second determining unit may be the same determining unit or different determining units, or some features may be omitted, or may not be executed. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Based on the above embodiments, an embodiment of the present invention further provides a system for acquiring a history record, as shown in fig. 5, the system includes: a server 501, a terminal 502, wherein,
a server 501, configured to receive an access request of a terminal 502, where the access request carries a display area range and an object identifier; determining at least one history record comprising the object identifier, wherein each history record comprises the object identifier and geographical location information; selecting a history record of the included geographical position information in the range of the display area from the determined history records; returning the selected history to the terminal 502;
a terminal 502, configured to send an access request to the server 501 after an object in a page provided by the terminal 502 is selected, where the access request carries a display area range and an object identifier of the selected object; and receiving the history record returned by the server 501, and presenting the geographical location information included in the history record.
Based on the above embodiment, the present invention further provides a server, as shown in fig. 6, where the server 600 includes: a transceiver 601, a processor 602, a bus 603, and a memory 604, wherein:
the transceiver 601, the processor 602, and the memory 604 are connected to each other by a bus 603; the bus 603 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The transceiver 601 is used for communicating with the terminal, such as receiving an access request of the terminal, transmitting a history to the terminal, and the like.
The processor 602 is configured to implement the method for obtaining a history record shown in fig. 1 according to the embodiment of the present invention, including:
receiving an access request of a terminal, wherein the access request carries a display area range and an object identifier;
determining at least one history record comprising the object identifier, wherein each history record comprises the object identifier and geographical location information;
selecting a history record of the included geographical position information in the range of the display area from the determined history records;
and returning the selected history record to the terminal.
Optionally, the geographic location information and the display area range are represented by address tags, or the geographic location information and the display area range are represented by longitude and latitude.
Optionally, when the geographic location information and the display area range are represented by address tags, in the determined history records, selecting a history record of the geographic location information included in the display area range, including:
and in the determined history record, the geographical position information selected to be included comprises the history record of the address label representing the display area range.
Optionally, when the geographic location information and the display area range are represented by latitude and longitude, selecting a history record of the geographic location information included in the determined history record in the display area range, including:
and selecting the history record with the longitude and latitude within the range of the display area from the determined history records.
Optionally, each history record further includes a user identifier;
the access request also carries a user identifier of a login user who logs in the terminal;
returning the selected history to the terminal, including:
determining the user identification of the associated user associated with the user identification of the login user according to the user identification of the login user;
screening out the history records with the user identifications as the user identifications of the associated users from the selected history records;
and returning the screened user identifier as the history of the user identifier of the associated user to the terminal.
The server 600 also includes a memory 604 for storing programs and the like. In particular, the program may include program code comprising computer operating instructions. The memory 604 may comprise Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 602 executes the application program stored in the memory 604 to implement the method for obtaining the history as described above.
Based on the above embodiment, the present invention further provides a terminal, as shown in fig. 7, where the terminal 700 includes: a transceiver 701, a processor 702, a bus 703, and a memory 704, wherein:
the transceiver 701, the processor 702, and the memory 704 are connected to each other by a bus 703; the bus 703 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
The transceiver 701 is used for the server to perform communication, such as sending an access request to the server, receiving a history returned by the server, and the like.
The processor 702 is configured to implement the method for obtaining a history record shown in fig. 2 according to the embodiment of the present invention, including:
after an object in a page provided by the terminal 700 is selected, sending an access request to a server, wherein the access request carries a display area range and an object identifier of the selected object;
and receiving the history record returned by the server, and presenting the geographical position information included in the history record.
Optionally, before sending the access request to the server, the method further includes:
determining geographical location information of the terminal 700;
and determining the display area range according to the geographical position information of the terminal 700.
Optionally, determining the geographical location information of the terminal 700 includes:
determining at least one address tag of the terminal 700, and/or a latitude and longitude of the terminal 700;
determining the display area range according to the geographical location information of the terminal 700, including:
taking one address tag of at least one address tag of the terminal 700 as the display area range; or
And taking the designated area range based on the longitude and latitude information of the terminal 700 as the display area range.
Optionally, determining at least one address tag of the terminal 700 includes:
determining address information of the terminal 700 according to an Internet Protocol (IP) address of the terminal 700 or Global Positioning System (GPS) information;
and sequentially matching each address tag in a preset address tag set with the determined address information, and when the matching is successful, taking the address tag as the geographical position information of the terminal 700.
Optionally, before sending the access request to the server, the method further includes:
determining a user identifier of a login user who logs in the terminal 700;
sending an access request to a server, comprising:
and sending an access request carrying the user identifier of the login user who logs in the terminal 700 to the server.
Optionally, presenting the geographic location information included in the history record includes:
the geographical location information included in the history is presented in the page provided by the terminal 700.
The access device 700 also includes a memory 704 for storing programs and the like. In particular, the program may include program code comprising computer operating instructions. The memory 704 may comprise Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 702 executes the application program stored in the memory 704 to implement the method for obtaining the history as described above.
The embodiment of the invention provides a method for acquiring a history record, a server and a terminal, wherein when the server receives an access request which is sent by the terminal and carries a display area range and an object identifier, the server can select the history record which comprises the object identifier and is provided with geographical position information in the display area range from the history record, and returns the selected history record to the terminal, so that the terminal can present the geographical position information of the history record returned by the server, the presented information is more comprehensive, a user can judge whether the selected object conforms to the popular trend or not according to the presented information, and the density of the object is used in the specified geographical position presentation range, thereby improving the user experience.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.
Claims (23)
1. A method of obtaining a history record, comprising:
receiving an access request of a terminal, wherein the access request carries a display area range and an object identifier;
determining at least one history record comprising the object identifier, wherein each history record comprises the object identifier and geographical location information;
selecting a history record of the included geographical position information in the range of the display area from the determined history records;
and returning the selected history record to the terminal.
2. The method of claim 1, wherein the geographic location information and the display area range are represented by address labels or the geographic location information and the display area range are represented by latitude and longitude.
3. The method of claim 2, wherein selecting, when the geographical location information and the display area range are represented by address tags, a history of geographical location information included in the determined history within the display area range includes:
and in the determined history record, the geographical position information selected to be included comprises the history record of the address label representing the display area range.
4. The method of claim 2, wherein selecting, from the determined history, a history of geographic location information included in the display area when the geographic location information and the display area are represented in terms of latitude and longitude, comprises:
and selecting the history record with the longitude and latitude within the range of the display area from the determined history records.
5. The method of claims 1-4, wherein each history record further includes a user identification;
the access request also carries a user identifier of a login user who logs in the terminal;
returning the selected history to the terminal, including:
determining the user identification of the associated user associated with the user identification of the login user according to the user identification of the login user;
screening out the history records with the user identifications as the user identifications of the associated users from the selected history records;
and returning the screened user identifier as the history of the user identifier of the associated user to the terminal.
6. A method of obtaining a history record, comprising:
after an object in a page provided by a terminal is selected, sending an access request to a server, wherein the access request carries a display area range and an object identifier of the selected object;
and receiving the history record returned by the server, and presenting the geographical position information included in the history record.
7. The method of claim 6, prior to sending the access request to the server, further comprising:
determining geographical location information of the terminal;
and determining the display area range according to the geographical position information of the terminal.
8. The method of claim 7, wherein determining the geographic location information of the terminal comprises:
determining at least one address tag of the terminal and/or the longitude and latitude of the terminal;
determining the display area range according to the geographical position information of the terminal, wherein the determining comprises the following steps:
taking one address label in at least one address label of the terminal as the display area range; or
And taking the appointed area range based on the longitude and latitude information of the terminal as the display area range.
9. The method of claim 8, wherein determining at least one address tag of the terminal comprises:
determining address information of the terminal according to an Internet Protocol (IP) address of the terminal or Global Positioning System (GPS) information;
and sequentially matching each address label in a preset address label set with the determined address information, and when the matching is successful, taking the address label as the geographical position information of the terminal equipment.
10. The method of any of claims 6-9, wherein prior to sending the access request to the server, the method further comprises:
determining a user identifier of a login user who logs in the terminal;
sending an access request to a server, comprising:
and sending an access request which also carries the user identification of the login user for logging in the terminal to a server.
11. The method of any of claims 6-10, wherein presenting the geographic location information included in the history comprises:
and presenting a map comprising the geographical position information included in the history record in the page provided by the terminal, and marking the geographical position information included in the history record in the map.
12. A server, comprising:
the terminal comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an access request of the terminal, and the access request carries a display area range and an object identifier;
a first processing unit, configured to determine at least one history record including the object identifier, where each history record includes the object identifier and geographic location information;
the second processing unit is used for selecting the historical records of the included geographical position information in the range of the display area from the determined historical records;
a sending unit, configured to return the selected history to the terminal.
13. The server according to claim 12, wherein the geographical location information and the display area range are represented by address tags, or the geographical location information and the display area range are represented by latitude and longitude.
14. The server according to claim 13, wherein when the geographical location information and the display area range are represented by address tags, the second processing unit is configured to:
and in the determined history record, the geographical position information selected to be included comprises the history record of the address label representing the display area range.
15. The server according to claim 13, wherein when the geographical location information and the display area range are expressed by latitude and longitude, the second processing unit is configured to:
and selecting the history record with the longitude and latitude within the range of the display area from the determined history records.
16. The server according to claims 12-15, wherein each history record further includes a user identification;
the access request also carries a user identifier of a login user who logs in the terminal;
the sending unit is configured to:
determining the user identification of the associated user associated with the user identification of the login user according to the user identification of the login user;
screening out the history records with the user identifications as the user identifications of the associated users from the selected history records;
and returning the screened user identifier as the history of the user identifier of the associated user to the terminal.
17. A terminal, comprising:
a sending unit, configured to send an access request to a server after an object in a page provided by the terminal is selected, where the access request carries a display area range and an object identifier of the selected object;
and the processing unit is used for receiving the history record returned by the server and presenting the geographical position information included in the history record.
18. The terminal of claim 17, further comprising:
a first determining unit, configured to determine geographical location information of the terminal before sending an access request to a server;
and determining the display area range according to the geographical position information of the terminal.
19. The terminal of claim 18, wherein the first determining unit, when determining the geographical location information of the terminal, is configured to:
determining at least one address tag of the terminal and/or the longitude and latitude of the terminal;
the first determining unit, when determining the display area range according to the geographical location information of the terminal, is configured to:
taking one address label in at least one address label of the terminal as the display area range; or
And taking the appointed area range based on the longitude and latitude information of the terminal as the display area range.
20. The terminal of claim 19, wherein the first determining unit, when determining the at least one address tag of the terminal, is to:
determining address information of the terminal according to an Internet Protocol (IP) address of the terminal or Global Positioning System (GPS) information;
and sequentially matching each address label in a preset address label set with the determined address information, and when the matching is successful, taking the address label as the geographical position information of the terminal equipment.
21. The terminal of any one of claims 17-20, further comprising:
a second determining unit, configured to determine a user identifier of a login user who logs in the terminal before sending the access request to the server;
the sending unit is configured to:
and sending an access request which also carries the user identification of the login user for logging in the terminal to a server.
22. The terminal according to any of claims 17 to 21, wherein the processing unit is specifically configured to:
and presenting a map comprising the geographical position information included in the history record in the page provided by the terminal, and marking the geographical position information included in the history record in the map.
23. A system for obtaining a history, comprising:
the server is used for receiving an access request of the terminal, wherein the access request carries a display area range and an object identifier; determining at least one history record comprising the object identifier, wherein each history record comprises the object identifier and geographical location information; selecting a history record of the included geographical position information in the range of the display area from the determined history records; returning the selected history record to the terminal;
the terminal is used for sending an access request to the server after an object in a page provided by the terminal is selected, wherein the access request carries a display area range and an object identifier of the selected object; and receiving the history record returned by the server, and presenting the geographical position information included in the history record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510374879.0A CN106326284A (en) | 2015-06-30 | 2015-06-30 | Historical record acquisition method, server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510374879.0A CN106326284A (en) | 2015-06-30 | 2015-06-30 | Historical record acquisition method, server and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106326284A true CN106326284A (en) | 2017-01-11 |
Family
ID=57723272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510374879.0A Pending CN106326284A (en) | 2015-06-30 | 2015-06-30 | Historical record acquisition method, server and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106326284A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357705A (en) * | 2015-07-13 | 2017-01-25 | 阿里巴巴集团控股有限公司 | Object distribution based prompting method and device |
CN108121811A (en) * | 2017-12-27 | 2018-06-05 | 深圳微众税银信息服务有限公司 | A kind of webpage content adaptation method, system, device and storage medium |
CN110139267A (en) * | 2019-05-29 | 2019-08-16 | 中国联合网络通信集团有限公司 | Terminal remote access record acquisition methods, device, terminal extracting method and terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101414375A (en) * | 2008-12-15 | 2009-04-22 | 阿里巴巴集团控股有限公司 | System and method for networking trading using intermediate platform |
CN101655947A (en) * | 2008-08-21 | 2010-02-24 | 阿里巴巴集团控股有限公司 | Online transaction method and online transaction system for realizing off-shore transaction |
CN103778551A (en) * | 2012-10-23 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Commodity information prompting method and device thereof |
CN103970767A (en) * | 2013-01-29 | 2014-08-06 | 厦门简帛信息科技有限公司 | Network commodity transaction system |
CN104392364A (en) * | 2014-11-14 | 2015-03-04 | 中国建设银行股份有限公司 | SKU (Stock Keeping Unit) attribute-based commodity purchasing method and system |
WO2015094262A1 (en) * | 2013-12-19 | 2015-06-25 | Hewlett-Packard Development Company, L.P. | Personalized shopping and routing |
-
2015
- 2015-06-30 CN CN201510374879.0A patent/CN106326284A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655947A (en) * | 2008-08-21 | 2010-02-24 | 阿里巴巴集团控股有限公司 | Online transaction method and online transaction system for realizing off-shore transaction |
CN101414375A (en) * | 2008-12-15 | 2009-04-22 | 阿里巴巴集团控股有限公司 | System and method for networking trading using intermediate platform |
CN103778551A (en) * | 2012-10-23 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Commodity information prompting method and device thereof |
CN103970767A (en) * | 2013-01-29 | 2014-08-06 | 厦门简帛信息科技有限公司 | Network commodity transaction system |
WO2015094262A1 (en) * | 2013-12-19 | 2015-06-25 | Hewlett-Packard Development Company, L.P. | Personalized shopping and routing |
CN104392364A (en) * | 2014-11-14 | 2015-03-04 | 中国建设银行股份有限公司 | SKU (Stock Keeping Unit) attribute-based commodity purchasing method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357705A (en) * | 2015-07-13 | 2017-01-25 | 阿里巴巴集团控股有限公司 | Object distribution based prompting method and device |
CN108121811A (en) * | 2017-12-27 | 2018-06-05 | 深圳微众税银信息服务有限公司 | A kind of webpage content adaptation method, system, device and storage medium |
CN110139267A (en) * | 2019-05-29 | 2019-08-16 | 中国联合网络通信集团有限公司 | Terminal remote access record acquisition methods, device, terminal extracting method and terminal |
CN110139267B (en) * | 2019-05-29 | 2022-04-08 | 中国联合网络通信集团有限公司 | Method and device for acquiring remote access records of terminal, terminal extraction method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10757102B2 (en) | Methods, apparatus, and systems for identity authentication | |
CN107730313B (en) | Shop recommendation method and device based on recommendation reason | |
US20150006326A1 (en) | Search Method and Apparatus Based on E-commerce Platform | |
US20150127490A1 (en) | System and a method to recognize a product | |
US11151629B2 (en) | Detecting items of interest within local shops | |
US10289695B2 (en) | Computerized system and method for performing a location-based search | |
US20110238532A1 (en) | Determining mobile operators for mobile devices | |
KR101986758B1 (en) | System and method for matching a user to social data | |
CN105335515A (en) | Information recommendation method and information recommendation device | |
CN112000884A (en) | User content recommendation method and device, server and storage medium | |
CN104991919A (en) | Information pushing method and apparatus for intelligent mobile terminal | |
CN109087089B (en) | Payment method, payment device and terminal equipment | |
CN112241489A (en) | Information pushing method and device, readable storage medium and computer equipment | |
US20180035367A1 (en) | Method and Apparatus for Accessing Wifi Access Point in Target Shop | |
CN106326284A (en) | Historical record acquisition method, server and terminal | |
CN104574101A (en) | Method, equipment and system for verifying electronic ticket | |
CN106682146B (en) | Method and system for retrieving scenic spot evaluation according to keywords | |
CN110620988A (en) | Information reporting method, device and equipment | |
US11706585B2 (en) | Location based mobile messaging shopping network | |
WO2015065260A1 (en) | A system and a method to recognize a product | |
EP3407568A1 (en) | Service processing method and device | |
CN106709733A (en) | Verification strategy selection method and device | |
CN105512208B (en) | Information publishing method, device and system | |
CN106294509B (en) | Information acquisition method, device and system | |
CN109960909B (en) | Social contact method based on three-dimensional map, server and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170111 |
|
RJ01 | Rejection of invention patent application after publication |