WO2019196548A1 - 数据处理方法、终端设备和服务器 - Google Patents

数据处理方法、终端设备和服务器 Download PDF

Info

Publication number
WO2019196548A1
WO2019196548A1 PCT/CN2019/073940 CN2019073940W WO2019196548A1 WO 2019196548 A1 WO2019196548 A1 WO 2019196548A1 CN 2019073940 W CN2019073940 W CN 2019073940W WO 2019196548 A1 WO2019196548 A1 WO 2019196548A1
Authority
WO
WIPO (PCT)
Prior art keywords
entity word
location information
human
entity
interaction interface
Prior art date
Application number
PCT/CN2019/073940
Other languages
English (en)
French (fr)
Inventor
童骏
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019196548A1 publication Critical patent/WO2019196548A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools

Definitions

  • the embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a data processing method, a terminal device, and a server.
  • the purpose of embodiments of the present specification is to provide a data processing method, a terminal device, and a server to improve user experience.
  • an embodiment of the present disclosure provides a data processing method, including: providing a human-computer interaction interface; displaying text information on the human-computer interaction interface; and the text information includes at least one entity for describing a geographic entity. a word; each entity word associated with location information; after receiving a trigger instruction for the target entity word in the human-computer interaction interface, displaying location information associated with the target entity word on the human-computer interaction interface.
  • an embodiment of the present disclosure provides a terminal device, including: a providing unit, configured to provide a human-computer interaction interface; displaying text information on the human-computer interaction interface; and the text information includes at least one for describing An entity word of a geographic entity; each entity word associated with location information; a display unit, configured to display the target on the human-computer interaction interface after receiving a trigger instruction for the target entity word in the human-computer interaction interface The location information associated with the entity word.
  • an embodiment of the present disclosure provides a terminal device, including: a display component, configured to display a human-computer interaction interface and location information, and a processor, configured to control the display component to display a human-computer interaction interface;
  • the human-computer interaction interface displays text information; the text information includes at least one entity word for describing a geographic entity; each entity word is associated with location information; and triggering a target entity word for the human-computer interaction interface is received After the instruction, the display component is controlled to display the location information associated with the target entity word in the human-computer interaction interface.
  • an embodiment of the present disclosure provides a data processing method, including: providing a human-computer interaction interface; receiving text information input by a user on the human-computer interaction interface; and transmitting the text information to a server; At least one entity word for describing the geographic entity can be identified from the text information, location information corresponding to each entity word is obtained, and each entity word is associated with its corresponding location information.
  • an embodiment of the present disclosure provides a terminal device, including: a providing unit, configured to provide a human-machine interaction interface; and a receiving unit, configured to receive text information input by the user on the human-computer interaction interface; And configured to send the text information to a server, so that the server can identify at least one entity word for describing a geographic entity from the text information, obtain location information corresponding to each entity word, and each entity word The corresponding location information is associated.
  • an embodiment of the present disclosure provides a terminal device, including: a display component, configured to display a human-computer interaction interface; a processor, configured to control the display component to display a human-computer interaction interface; and receive the user in the The text information input by the machine interaction interface; the text information is sent to the server; so that the server can identify at least one entity word for describing the geographic entity from the text information, and obtain location information corresponding to each entity word, Associate each entity word with its corresponding location information.
  • an embodiment of the present disclosure provides a data processing method, including: identifying at least one entity word from text information; each entity word is used to describe a geographic entity; and acquiring location information corresponding to each entity word; Each entity word is associated with its corresponding location information.
  • an embodiment of the present disclosure provides a server, including: an identifying unit, configured to identify at least one entity word from text information; each entity word is used to describe a geographic entity; and an acquiring unit is configured to acquire each Location information corresponding to the entity word; an association unit for associating each entity word with its corresponding location information.
  • an embodiment of the present disclosure provides a server, including: a memory, configured to store computer instructions, and a processor, configured to execute the computer instruction, to: identify at least one entity word from the text information; The entity words are used to describe the geographic entity; the location information corresponding to each entity word is obtained; and each entity word is associated with its corresponding location information.
  • the terminal device can provide a human-computer interaction interface; the textual information is displayed on the human-computer interaction interface; and the text information includes at least one used to describe the geographic Entity entity words; each entity word association has location information; after receiving a trigger instruction for the target entity word in the human-computer interaction interface, the location of the target entity word association may be displayed on the human-computer interaction interface information.
  • the user can operate on the human-computer interaction interface to obtain the location information without interrupting the reading process, thereby improving the reading experience.
  • FIG. 1 is a flow chart of a data processing method in an embodiment of the present specification
  • FIG. 2 is a flowchart of a data processing method in an embodiment of the present specification
  • FIG. 3 is a flowchart of a data processing method in an embodiment of the present specification.
  • FIG. 4 is a schematic diagram of a data processing method in an embodiment of the present specification.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram showing the functional structure of a server in the embodiment of the present specification.
  • FIG. 9 is a schematic diagram showing the functional structure of a server in an embodiment of the present specification.
  • FIG. 10 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present specification.
  • FIG. 11 is a schematic diagram of a human-machine interaction interface in an embodiment of the present specification.
  • FIG. 13 is a schematic diagram of displaying location information on a human-machine interaction interface in an embodiment of the present specification.
  • Embodiments of the present specification provide a data processing system.
  • the data processing system can include a server.
  • the server may be a server or a server cluster including multiple servers.
  • the server can be configured to provide at least one textual message.
  • Each text message can be used to express any type of topic, such as real estate, stores, bus stops, and the like.
  • Each text message may correspond to a text message identifier.
  • the text information identifier may be used to identify text information, such as a URL (Uniform Resource Locator) address, or other information capable of locating text information.
  • Each textual information may include at least one entity word for describing a geographic entity.
  • a certain text information may include the entity word "Wanke Xixi Butterfly Garden", and the entity word “Wanke Xixi Butterfly Garden” may be used to describe the geographic entity Vanke Xixi Butterfly Garden Community.
  • the entity words in each text message can be associated with location information.
  • the location information can be used to represent the location of the geographic entity described by the entity word.
  • the location information may be latitude and longitude data, text for describing a location, an image for describing a location, or the like.
  • an entity word in a text message may have a hyperlink to location information associated with the entity word.
  • the data processing system may further include a first terminal device.
  • a typical first terminal device may be, for example, a smart phone, a tablet electronic device, a portable computer, a personal digital assistant (PDA), a server, an industrial computer (industrial control computer), a personal computer (PC), or an all-in-one.
  • the first terminal device may send a text information acquisition request to the server; may receive text information fed back by the server; may provide a first human-machine interaction interface; and display the received text on the first human-computer interaction interface information.
  • the first terminal device may display the location information associated with the target entity word in the first human-computer interaction interface. In this way, in the process of reading the text information, the user can operate on the first human-computer interaction interface to obtain the location information without interrupting the reading process, thereby improving the reading experience.
  • the data processing system may further include a second terminal device.
  • a typical second terminal device may be, for example, a smart phone, a tablet electronic device, a portable computer, a personal digital assistant (PDA), a server, an industrial computer (industrial control computer), a personal computer (PC), or an all-in-one.
  • the second terminal device may provide a second human-computer interaction interface; and may receive text information input by the user on the second human-machine interaction interface; the text information may be sent to the server; so that the server can The at least one entity word for describing the geographic entity is identified in the text information, the location information corresponding to each entity word is obtained, and each entity word is associated with the corresponding location information.
  • the server can provide one or more text information by receiving and processing the text information sent by the second terminal device.
  • the terminal device that sends the text information to the server can also display the text information sent by the server, the second terminal may be the same as the first terminal device, or may be different.
  • the embodiment of the present specification provides a data processing method.
  • the data processing method uses the terminal device as an execution subject.
  • the functions implemented by the terminal device herein may be cross-referenced with functions implemented by the first terminal device in the data processing system embodiment.
  • the data processing method may include the following steps.
  • Step S10 providing a human-computer interaction interface.
  • the human-computer interaction interface herein can be cross-referenced with the first human-computer interaction interface in the data processing system embodiment.
  • the human-computer interaction interface can be understood as a medium for transferring and exchanging information between a person and a computer, and a conversation interface.
  • a typical computer can be, for example, a personal computer, laptop, cell phone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or A combination of any of these devices.
  • Text information can be displayed on the human-computer interaction interface.
  • the textual information may include at least one entity word for describing a geographic entity. Each entity word can be associated with location information.
  • the entity words in the human-computer interaction interface can be highlighted in the human-computer interaction interface. Highlights can include red, highlight, underline, and more.
  • the data processing method may be applied to a system architecture of a terminal device/server, and the functions implemented by the server may refer to a data processing system embodiment.
  • the terminal device may receive a text information loading instruction; the text information obtaining request may be sent to the server; and the text information obtaining request may carry a text information identifier.
  • the server may receive the text information acquisition request; the text information identified by the text information identifier may be acquired; and the acquired text information may be sent to the terminal device.
  • the terminal device may receive text information fed back by the server; may display a human-computer interaction interface; and display the received text information on the human-computer interaction interface.
  • the text information loading instruction may be automatically generated by the terminal device.
  • the terminal device can be installed with an application. After the application is started, the text information loading instruction may be generated.
  • the text information loading instruction may also be triggered by a user's active operation. For example, the terminal device may be pressed, clicked, double-clicked, or swiped by any combination of one or more keys to generate the text information loading instruction.
  • the button may be a virtual button or a physical button, and the virtual button may be, for example, a button control or a graphic control, and the physical button may be, for example, a push button, a rocker button, a dial, a slider switch, or a joystick.
  • the terminal device may further recognize the preset gesture to generate the text information loading instruction.
  • Step S12 After receiving the triggering instruction for the target entity word in the human-computer interaction interface, displaying the location information associated with the target entity word on the human-computer interaction interface.
  • the text information displayed on the human-computer interaction interface may include at least one entity word for describing a geographic entity.
  • the user can access the entity words in the text information using any object, such as a mouse, a finger, or a stylus.
  • the contact may include pressing, clicking, double clicking, swiping, and the like.
  • the terminal device may generate the triggering instruction after monitoring the contact.
  • the terminal device may use the contacted entity word as the target entity word; the location information associated with the target entity word may be displayed on the human-computer interaction interface.
  • each entity word in the text information displayed by the human-computer interaction interface may have a hyperlink, and the hyperlink of the entity word may point to location information associated with the entity word.
  • the terminal device After receiving the triggering instruction for the target entity word in the human-computer interaction interface, the terminal device may display the location information pointed by the hyperlink of the target entity word in the human-computer interaction interface.
  • the terminal device may request, by the server, the location information associated with the target entity word, where the location information acquisition request may carry the target entity word.
  • the server may receive the target entity word; the location information associated with the target entity word may be acquired; and the acquired location information may be sent to the terminal device.
  • the terminal device may receive location information fed back by the server; and the received location information may be displayed on the human-machine interaction interface.
  • the terminal device may directly display location information associated with the target entity word in the human-computer interaction interface.
  • the terminal device may display an information window on the human-computer interaction interface; and the location information associated with the target entity word may be displayed in the information window.
  • the information window may cover a partial area or all areas of the human-computer interaction interface.
  • the terminal device may display an electronic map in the information window; the location represented by the location information associated with the target entity word may be marked in the electronic map; thereby implementing the information
  • the window indirectly displays the location information associated with the target entity word.
  • the terminal device may further receive a trigger instruction for closing the information window, so that the information window may be closed.
  • the triggering command to close the information window may be generated when it is detected that the designated area is pressed, clicked, double-clicked, or swiped.
  • the designated area may be any area other than the area occupied by the information window in the human-computer interaction interface.
  • the triggering instruction to close the information window may also be generated when a preset gesture is recognized.
  • the terminal device may provide a human-computer interaction interface; displaying text information on the human-computer interaction interface; the text information includes at least one entity word for describing a geographic entity; each entity word association There is location information; after receiving the triggering instruction for the target entity word in the human-computer interaction interface, the location information associated with the target entity word is displayed on the human-computer interaction interface.
  • the user can operate on the human-computer interaction interface to obtain the location information without interrupting the reading process, thereby improving the reading experience.
  • the embodiment of the present specification provides another data processing method.
  • the data processing method uses the terminal device as an execution subject.
  • the functions implemented by the terminal device herein may be cross-referenced with functions implemented by the second terminal device in the data processing system embodiment.
  • the data processing method may include the following steps.
  • Step S20 providing a human-computer interaction interface.
  • the human-computer interaction interface herein can be cross-referenced with the second human-computer interaction interface in the data processing system embodiment.
  • the terminal device can receive a text information input instruction, and the human-machine interaction interface can be displayed. For example, the terminal device may be pressed, clicked, double-clicked, or swiped upon detecting any combination of one or more keys to generate the text information input command. In another example, the terminal device may further recognize the preset gesture, thereby generating the text information input instruction.
  • Step S22 Receive text information input by the user on the human-computer interaction interface.
  • the user can input text information on the human-computer interaction interface.
  • the terminal device can receive the input text information.
  • the human-computer interaction interface can have a first text box in which the user can input text information.
  • Step S24 Send the text information to the server.
  • the data processing method may be applied to a system architecture of a terminal device/server, and the functions implemented by the server may refer to a data processing system embodiment.
  • the terminal device may send the text information to the server.
  • the server may receive the text information; at least one entity word for describing a geographic entity may be identified from the text information; location information corresponding to each entity word may be acquired; each entity word may be corresponding thereto Location information is associated.
  • the terminal device may specifically send the text information to the server after receiving the text information sending instruction. For example, the terminal device may be pressed, clicked, double-clicked, or swiped in any combination of one or more keys to generate the text information transmission instruction. In another example, the terminal device may further recognize the preset gesture to generate the text information sending instruction.
  • the user may also input a topic type in the human-computer interaction interface, and the topic type may be a type of the topic expressed by the text information input by the user.
  • the terminal device may receive a topic type input by a user; the topic type may be sent to the server.
  • the server may receive the topic type; at least one entity word for describing a geographic entity may be identified from the text information based on the topic type.
  • the human-computer interaction interface can have a second text box in which the user can enter a topic type.
  • the user may further input a geographic area identifier on the human-computer interaction interface, where the geographic area identifier may be used to identify a geographical area, and the size of the geographic area may be flexibly set according to service requirements. For example, it may be a street, a business district, a city, a country, or an area composed of a plurality of countries.
  • the terminal device may receive a geographic area identifier input by a user; the geographic area identifier may be sent to the server.
  • the server may receive the geographic area identifier; and obtain location information corresponding to each entity word based on the geographic area identifier.
  • the human-computer interaction interface may have a third text box in which the user may enter a geographic area identifier.
  • the terminal device may be provided with a positioning function.
  • the positioning function can be through GPS (Global Positioning System), BDS (BeiDou Navigation Satellite System), GLONASS (Glonas satellite navigation system), Galileo satellite navigation system (Galileo satellite navigation system) ), base station wireless signal, WIFI (Wireless-Fidelity) signal, Bluetooth (Bluetooth) signal, etc., of course, can also be achieved by any combination of the above methods.
  • the terminal device can acquire its own location information (for example, latitude and longitude data); it can send its own location information to the server.
  • the server may receive the location information; obtain a geographic area to which the received location information belongs; and obtain location information corresponding to each entity word based on the geographic area identifier of the geographic area.
  • the terminal device may provide a human-computer interaction interface; and may receive text information input by the user on the human-computer interaction interface; and the text information may be sent to the server.
  • the server can provide one or more text information by receiving and processing the text information sent by the second terminal device.
  • the embodiment of the present specification provides a data processing method.
  • the data processing method takes the server as the execution subject, and may include the following steps.
  • Step S30 Identify at least one entity word from the text information.
  • the text information can be used to express any type of topic, such as real estate, stores, bus stops, and the like.
  • the text information may be obtained by the server from a data source, and the typical data source may be, for example, Baidu, the community, the Weibo, or the forum.
  • the server may retrieve textual information from a data source via a web crawler (also known as a web spider or web robot).
  • the data processing method may be applied to a system architecture of a terminal device/server, where the functions implemented by the terminal device may be cross-referenced with functions implemented by the second terminal device in the data processing system embodiment.
  • the text information may also be sent by the terminal device.
  • the terminal device can provide a human-computer interaction interface.
  • the user can input text information on the human-computer interaction interface.
  • the terminal device may receive text information input by a user; the text information may be sent to the server.
  • the server can receive the text information.
  • the entity word may be used to describe a geographic entity, and the geographic entity may be a bus station, a residential building, or a store.
  • the entity word “Qingshan Bridge Bus Station” can be used to describe the geographical entity Qingshan Bridge bus station.
  • the entity word “Wanke Xixi Butterfly Garden” can be used to describe the geographic entity Vanke Xixi Butterfly Garden Community
  • the entity word “KFC” Times Square Store can be used to describe geographic entities in KFC stores.
  • the server may identify at least one entity word from the text information based on a preset entity word dictionary.
  • the entity word dictionary may include one or more pre-built entity words.
  • the server may identify at least one entity word directly from the text information based on the entity word dictionary.
  • the server may further perform word segmentation processing on the text information to obtain a word segment set, and the word segment set may include at least one word segment; at least one word segment may be selected from the word segment set based on the entity word dictionary.
  • Entity word Specifically, for each word segment in the word segmentation set; the server may search whether the word segmentation includes an entity word that matches the word segment; if yes, the word segmentation may be used as the filtered entity word.
  • the matching of the word segmentation with the entity word can be understood as follows: the word segmentation is consistent with the entity word, or the word segmentation has the same meaning as the entity word expression.
  • the number of preset entity word dictionaries may be one.
  • the server can identify at least one entity word from the textual information based on the entity word dictionary.
  • the number of preset entity word dictionaries may be plural.
  • Each entity word dictionary may correspond to a semantic type, which may be a type of semantics expressed by at least one entity word in the entity word dictionary.
  • the number of preset entity word dictionaries may be three, and specifically may include entity word dictionaries DA, DB, and DC.
  • the type of semantics expressed by each entity word in the entity word dictionary DA may be a bus station, for example, specifically, the entity word Qingshan Bridge bus station, the management committee bus station, and the like.
  • the type of semantics expressed by each entity word in the entity word dictionary DB may be a residential property, for example, may include an entity word Vanke Xixi Butterfly Garden, a green square central square, and the like.
  • the type of semantics expressed by each entity word in the entity word dictionary DC may be a store.
  • the entity may include an entity word KFC, a Rongyuan Times Square store, and a Dezhuang hot pot dream city store.
  • the semantic type corresponding to the entity word dictionary DA may be a bus station
  • the semantic type corresponding to the entity word dictionary DB may be real estate
  • the semantic type corresponding to the entity word dictionary DC may be a store.
  • the server may determine a topic type corresponding to the text information; may select, from a preset plurality of entity word dictionaries, a corresponding entity word dictionary whose semantic type matches the topic type; may be based on the selected entity a word dictionary that identifies at least one entity word from the text information.
  • the topic type corresponding to the text information may be a type of the topic expressed by the text information.
  • the theme expressed by the text information may be a residential property, and the theme type corresponding to the text information may be real estate.
  • the theme represented by the text information may be a restaurant, and the type of the topic corresponding to the text information may be a store.
  • the semantic type matches the topic type, which can be understood as: the semantic type is consistent with the topic type, or the semantic type has the same meaning as the topic type.
  • the server may identify a topic type corresponding to the text information based on a mathematical model.
  • the mathematical model may be a Bayesian classification model, a Support Vector Machine (SVM), or a Convolutional Neural Networks (CNN).
  • the data processing method may be applied to a system architecture of a terminal device/server, where the functions implemented by the terminal device may be cross-referenced with functions implemented by the second terminal device in the data processing system embodiment.
  • the terminal device may send a user identifier for identifying the user to the server.
  • the server may receive the user identifier; and determine, according to the historical text information corresponding to the user identifier, a topic type corresponding to the text information in step S10.
  • the server may use the topic type corresponding to the historical text information as the topic type corresponding to the text information in step S10.
  • the terminal device can provide a human-computer interaction interface.
  • the user can input the topic type corresponding to the text information in the human-computer interaction interface.
  • the terminal device may receive a topic type input by a user; the topic type may be sent to the server.
  • the server can receive the subject type.
  • Step S32 Acquire location information corresponding to each entity word.
  • the location information corresponding to the entity word may be used to indicate the location of the geographic entity described by the entity word.
  • the location information may be latitude and longitude data, text for describing a location, an image for describing a location, or the like.
  • the location information may also be other information that can indicate the location, which is not specifically limited in this embodiment.
  • the server may acquire location information corresponding to each entity word based on the preset set of interest point identifiers.
  • the set of point of interest identifiers may include at least one point of interest identifier.
  • Each point of interest identifier can be used to identify a geographic entity and can correspond to location information.
  • the location information corresponding to the point of interest identifier may be used to indicate the location of the identified geographic entity of the point of interest identifier.
  • the server may select a point of interest identifier matching the entity word from the point of interest identifier set; and the location information corresponding to the selected point of interest identifier may be used as the entity word corresponding to the entity word location information.
  • the matching of the entity word with the point of interest identifier can be understood as: the geographic entity described by the entity word is the same as the geographical entity identified by the point of interest identifier.
  • the preset number of points of interest identification set may be one.
  • the server may acquire location information corresponding to each entity word based on the set of interest point identifiers.
  • the preset number of interest point identification sets may be multiple.
  • Each set of point of interest identifiers may correspond to a geographic area identifier, which may be used to identify a geographic area.
  • the size of the geographical area can be flexibly set according to business needs, for example, it can be a street, a business district, a city, a country, or an area composed of a plurality of countries.
  • the preset number of interest point identification sets may be three, and may specifically include interest point identification sets IA, IB, and IC.
  • the geographic area identifier corresponding to the point of interest identifier set IA may be CN-SZ, and the geographic area identifier CN-SZ may be used to identify the geographical area of Suzhou, China.
  • the geographic area identifier corresponding to the point of interest identifier set IB may be CN-SH, and the geographic area identifier CN-SH may be used to identify the geographical area of Shanghai, China.
  • the geographic area identifier corresponding to the point of interest identifier set IC may be CN-HZ, and the geographic area identifier CN-HZ may be used to identify the geographical area of Hangzhou, China.
  • the server may obtain the geographic area identifier corresponding to the text information; and select a set of interest point identifiers that match the corresponding geographic area identifier and the acquired geographic area identifier from the preset plurality of interest point identifier sets; The location information corresponding to each entity word may be obtained based on the selected point of interest identification set.
  • the geographic area identifier corresponding to the point of interest identifier set is the first geographical area identifier
  • the obtained geographical area identifier is the second geographical area identifier.
  • the matching of the first geographic area identifier with the second geographic area identifier may be understood as: the geographical area identified by the first geographic area identifier is the same as the geographical area identified by the second geographical area identifier, Or the geographical area identified by the second geographic area identifier is located within the geographical area identified by the first geographical area identifier.
  • the data processing method may be applied to a system architecture of a terminal device/server, where the functions implemented by the terminal device may be mutually referenced with functions implemented by the second terminal device in the data processing system embodiment.
  • the terminal device can provide a human-computer interaction interface.
  • the user may input the geographic area identifier corresponding to the text information in the human-computer interaction interface.
  • the terminal device may receive a geographic area identifier input by a user; the geographic area identifier may be sent to the server.
  • the server may receive the geographic area identification.
  • the terminal device may have a positioning function.
  • the positioning function can be through GPS (Global Positioning System), BDS (BeiDou Navigation Satellite System), GLONASS (Glonas satellite navigation system), Galileo satellite navigation system (Galileo satellite navigation system) ), base station wireless signal, WIFI (Wireless-Fidelity) signal, Bluetooth (Bluetooth) signal, etc., of course, can also be achieved by any combination of the above methods.
  • the terminal device can acquire its own location information (for example, latitude and longitude data); it can send its own location information to the server.
  • the server may receive the location information; the geographic area to which the received location information belongs may be obtained; the geographic area identifier of the geographic area may be used as the geographic area identifier corresponding to the text information.
  • the server may obtain the geographic area identifier corresponding to the text information in other manners, which is not specifically limited in this embodiment.
  • Step S34 Associate each entity word with its corresponding location information.
  • the server may associate each entity word with its corresponding location information, so as to be able to obtain location information based on the entity word. For example, the server may add a hyperlink to each entity word, and the added hyperlink may point to location information corresponding to the entity word.
  • the server may also associate each entity word with its corresponding location information in other manners, which is not specifically limited in this embodiment.
  • the terminal device can run an article publishing application.
  • the article publishing application can provide a human-computer interaction interface.
  • the user can input text information, a topic type, and a geographic area identifier in the human-computer interaction interface.
  • the user can click the send control in the human-computer interaction interface.
  • the article publishing application may generate a text information sending instruction, and then may send the text information, the topic type, and the geographic area identifier to the server.
  • the server may provide a plurality of preset entity word dictionaries and a plurality of preset interest point identifier sets, each entity word dictionary may correspond to a semantic type, and each of the interest point identification sets may correspond to Geographic area identifier.
  • the server may receive the text information, the topic type, and the geographic area identifier; and select, from a preset plurality of entity word dictionaries, an entity whose corresponding semantic type matches the received topic type.
  • a word dictionary at least one entity word may be identified from the received text information based on the selected entity word dictionary.
  • the server may select, from the preset plurality of points of interest identifiers, a set of points of interest that match the corresponding geographic area identifier and the received geographic area identifier; and obtain each entity word based on the selected set of interest point identifiers. Corresponding location information.
  • the server may add a hyperlink to each entity word, and the added hyperlink may point to location information corresponding to the entity word. In this way, the user does not need to interrupt the reading process in the process of reading the text information, and the location of the geographic entity described by the entity word can be obtained by the location information associated with the entity word, thereby improving the reading experience.
  • the server may identify at least one entity word from the text information; and obtain location information corresponding to each entity word; each entity word may be associated with its corresponding location information. In this way, the user does not need to interrupt the reading process in the process of reading the text information, and the location of the geographic entity described by the entity word can be obtained by the location information associated with the entity word, thereby improving the reading experience.
  • the embodiment of the present specification provides a terminal device.
  • the terminal device may include the following units.
  • a providing unit 50 configured to provide a human-computer interaction interface; displaying text information on the human-computer interaction interface; the text information includes at least one entity word for describing a geographic entity; each entity word associated with location information;
  • the displaying unit 52 is configured to display the location information associated with the target entity word on the human-computer interaction interface after receiving the triggering instruction for the target entity word in the human-computer interaction interface.
  • the embodiment of the present specification further provides another terminal device.
  • the terminal device can include a display component and a processor.
  • the display component includes, but is not limited to, a liquid crystal display (LCD) display, a cathode ray tube (CRT) display, and a light emitting diode (LED) display.
  • LCD liquid crystal display
  • CRT cathode ray tube
  • LED light emitting diode
  • the display component can be used to display a human-computer interaction interface and location information.
  • the processor can be implemented in any suitable manner.
  • a processor can employ, for example, a microprocessor or processor and a computer readable medium, logic gate, switch, or application-specific integrated circuit (such as software or firmware) that can be executed by the (micro)processor.
  • ASIC Application Specific Integrated Circuit
  • programmable logic controller programmable logic controller and embedded microcontroller form, etc.
  • the processor may be configured to control the display component to display a human-computer interaction interface; display text information on the human-computer interaction interface; the text information includes at least one entity word for describing a geographic entity; each entity word The association has location information; after receiving the triggering instruction for the target entity word in the human-computer interaction interface, the display component is controlled to display the location information associated with the target entity word on the human-computer interaction interface.
  • the embodiment of the present specification further provides another terminal device.
  • the terminal device may include the following units.
  • a providing unit 70 configured to provide a human-computer interaction interface
  • the receiving unit 72 is configured to receive text information input by the user on the human-computer interaction interface
  • the sending unit 74 is configured to send the text information to the server, so that the server can identify at least one entity word for describing the geographic entity from the text information, and obtain location information corresponding to each entity word, and each The entity words are associated with their corresponding location information.
  • the embodiment of the present specification further provides another terminal device.
  • the terminal device can include a display component and a processor.
  • the display component includes, but is not limited to, a liquid crystal display (LCD) display, a cathode ray tube (CRT) display, and a light emitting diode (LED) display.
  • LCD liquid crystal display
  • CRT cathode ray tube
  • LED light emitting diode
  • the display component can be used to display a human-computer interaction interface.
  • the processor can be implemented in any suitable manner.
  • a processor can employ, for example, a microprocessor or processor and a computer readable medium, logic gate, switch, or application-specific integrated circuit (such as software or firmware) that can be executed by the (micro)processor.
  • ASIC Application Specific Integrated Circuit
  • the processor may be configured to control the display component to display a human-computer interaction interface; receive text information input by the user on the human-computer interaction interface; send the text information to a server; so that the server can At least one entity word for describing a geographic entity is identified, location information corresponding to each entity word is obtained, and each entity word is associated with its corresponding location information.
  • the embodiment of the present specification provides a server.
  • the server may include the following units.
  • the identifying unit 80 is configured to identify at least one entity word from the text information; each entity word is used to describe the geographic entity;
  • An obtaining unit 82 configured to acquire location information corresponding to each entity word
  • the associating unit 84 is configured to associate each entity word with its corresponding location information.
  • the embodiment of the present specification provides a server.
  • the server can include a memory and a processor.
  • the memory includes, but is not limited to, a dynamic random access memory (DRAM) and a static random access memory (SRAM).
  • DRAM dynamic random access memory
  • SRAM static random access memory
  • the memory can be used to store computer instructions.
  • the processor can be implemented in any suitable manner.
  • the processor can take the form of, for example, a microprocessor or processor and computer readable media, logic gates, switches, and special-purpose integrations for storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • ASIC Application Specific Integrated Circuit
  • the processor may be configured to execute the computer instruction to: identify at least one entity word from the text information; each entity word is used to describe a geographic entity; obtain location information corresponding to each entity word; The entity word is associated with its corresponding location information.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • the present specification can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present specification may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present specification or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.
  • This description can be used in a variety of general purpose or special purpose computer system environments or configurations.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种数据处理方法、终端设备和服务器。所述方法包括:提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。

Description

数据处理方法、终端设备和服务器 技术领域
本说明书实施例涉及计算机技术领域,特别涉及一种数据处理方法、终端设备和服务器。
背景技术
随着互联网的快速发展,越来越多的用户通过终端设备来阅读文本信息,例如介绍房地产的文本信息、或介绍美食餐厅的文本信息等。用户在阅读上述文本信息的过程中,有可能对文本信息中描述的地理实体的地理位置并不熟悉。这样,用户往往需要使用地图应用程序对文本信息中描述的地理实体的地理位置进行搜索,从而给用户的阅读造成不便。
发明内容
本说明书实施例的目的是提供一种数据处理方法、终端设备和服务器,以提高用户体验。
为实现上述目的,本说明书实施例提供一种数据处理方法,包括:提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。
为实现上述目的,本说明书实施例提供一种终端设备,包括:提供单元,用于提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;展示单元,用于在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。
为实现上述目的,本说明书实施例提供一种终端设备,包括:显示组件,用于展示人机交互界面和位置信息;处理器,用于控制所述显示组件展示人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;在接收到针对所述人机交互界面中目标实体词的触发指令 以后,控制所述显示组件在所述人机交互界面展示所述目标实体词关联的位置信息。
为实现上述目的,本说明书实施例提供一种数据处理方法,包括:提供人机交互界面;接收用户在所述人机交互界面输入的文本信息;向服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
为实现上述目的,本说明书实施例提供一种终端设备,包括:提供单元,用于提供人机交互界面;接收单元,用于接收用户在所述人机交互界面输入的文本信息;发送单元,用于向服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
为实现上述目的,本说明书实施例提供一种终端设备,包括:显示组件,用于展示人机交互界面;处理器,用于控制所述显示组件展示人机交互界面;接收用户在所述人机交互界面输入的文本信息;向服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
为实现上述目的,本说明书实施例提供一种数据处理方法,包括:从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;获取每个实体词对应的位置信息;将每个实体词与其对应的位置信息进行关联。
为实现上述目的,本说明书实施例提供一种服务器,包括:识别单元,用于从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;获取单元,用于获取每个实体词对应的位置信息;关联单元,用于将每个实体词与其对应的位置信息进行关联。
为实现上述目的,本说明书实施例提供一种服务器,包括:存储器,用于存储计算机指令;处理器,用于执行所述计算机指令实现以下步骤:从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;获取每个实体词对应的位置信息;将每个实体词与其对应的位置信息进行关联。
由以上本说明书实施例提供的技术方案可见,本说明书实施例中,终端设备可以提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;在接收到针对所述人机交互界面中目标实体词的触发指令以后,可以在所述人机交互界面展示所述目标实体词关联的 位置信息。这样,在阅读文本信息的过程中,用户无需中断阅读过程,便可以在所述人机交互界面进行操作进而得到位置信息,提高了阅读体验。
附图说明
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书实施例中一种数据处理方法的流程图;
图2为本说明书实施例中一种数据处理方法的流程图;
图3为本说明书实施例中一种数据处理方法的流程图;
图4为本说明书实施例中一种数据处理方法的示意图。
图5为本说明书实施例中一种终端设备的功能结构示意图;
图6为本说明书实施例中一种终端设备的功能结构示意图;
图7为本说明书实施例中一种终端设备的功能结构示意图;
图8为本说明书实施例中一种服务器的功能结构示意图;
图9为本说明书实施例中一种服务器的功能结构示意图;
图10为本说明书实施例中一种人机交互界面的示意图;
图11为本说明书实施例中一种人机交互界面的示意图;
图12为本说明书实施例中用户对实体词进行点击的示意图;
图13为本说明书实施例中在人机交互界面展示位置信息的示意图。
具体实施方式
下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书保护的范围。
请一并参阅图1、图2、图3、图4、图10、图11、图12和图13。本说明书实施例提供一种数据处理系统。
在本实施例中,所述数据处理系统可以包括服务器。所述服务器可以为一个服务器,还可以为包括多个服务器的服务器集群。所述服务器可以用于提供至少一个文本信息。每个文本信息可以用于表达任意类型的主题,例如房地产、店铺、公交车站等主题。每个文本信息可以对应有文本信息标识。所述文本信息标识可以用于标识文本信息,例如可以为URL(Uniform Resource Locator)地址、或其它能够定位文本信息的信息。每个文本信息可以包括至少一个用于描述地理实体的实体词。例如,某一文本信息可以包括实体词“万科西溪蝶园”,实体词“万科西溪蝶园”可以用于描述地理实体万科西溪蝶园小区楼盘。每个文本信息中的实体词可以关联有位置信息。所述位置信息可以用于表示实体词所描述地理实体的位置。所述位置信息可以为经纬度数据、用于描述位置的文字、或用于描述位置的图像等。在一个场景示例中,文本信息中的实体词可以具有指向该实体词所关联位置信息的超链接。
在本实施例中,所述数据处理系统还可以包括第一终端设备。典型的第一终端设备例如可以为智能手机、平板电子设备、便携式计算机、个人数字助理(PDA)、服务器、工控机(工业控制计算机)、个人计算机(PC机)、或一体机等。所述第一终端设备可以向所述服务器发送文本信息获取请求;可以接收所述服务器反馈的文本信息;可以提供第一人机交互界面;可以在所述第一人机交互界面展示接收的文本信息。在接收到针对所述第一人机交互界面中目标实体词的触发指令以后,所述第一终端设备可以在所述第一人机交互界面展示所述目标实体词关联的位置信息。这样,在阅读文本信息的过程中,用户无需中断阅读过程,便可以在所述第一人机交互界面进行操作进而得到位置信息,提高了阅读体验。
在本实施例的一个实施方式中,所述数据处理系统还可以包括第二终端设备。典型的第二终端设备例如可以为智能手机、平板电子设备、便携式计算机、个人数字助理(PDA)、服务器、工控机(工业控制计算机)、个人计算机(PC机)、或一体机等。所述第二终端设备可以提供第二人机交互界面;可以接收用户在所述第二人机交互界面输入的文本信息;可以向所述服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。这样,通过接收所述第二终端设备发来的文本信息并进行处理,所述服务器便可以提供一个或多个文本信息。需要说明的是,考 虑到向所述服务器发送文本信息的终端设备通常也可以展示所述服务器发来的文本信息,所述第二终端与所述第一终端设备可以相同,也可以不同。
请参阅图1、图11、图12和图13。本说明书实施例提供一种数据处理方法。所述数据处理方法以终端设备为执行主体。这里的终端设备实现的功能可以与数据处理系统实施例中第一终端设备实现的功能相互参照。所述数据处理方法可以包括以下步骤。
步骤S10:提供人机交互界面。
在本实施例中,这里的人机交互界面可以与数据处理系统实施例中的第一人机交互界面相互参照。具体地,所述人机交互界面可以理解为人与计算机之间传递、交换信息的媒介和对话接口。典型的计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备、或者这些设备中的任何设备的组合。在所述人机交互界面可以展示有文本信息。所述文本信息可以包括至少一个用于描述地理实体的实体词。每个实体词可以关联有位置信息。在本实施例的一个实施方式中,所述人机交互界面中的实体词在所述人机交互界面可以突出展示。突出展示的方式可以包括标红、高亮、加下划线等。
在本实施例中,所述数据处理方法可以应用于终端设备/服务器的系统构架中,关于所述服务器实现的功能可以参照数据处理系统实施例。所述终端设备可以接收文本信息加载指令;可以向所述服务器发送文本信息获取请求;所述文本信息获取请求中可以携带有文本信息标识。所述服务器可以接收所述文本信息获取请求;可以获取所述文本信息标识所标识的文本信息;可以向所述终端设备发送获取的文本信息。所述终端设备可以接收所述服务器反馈的文本信息;可以展示人机交互界面;可以在所述人机交互界面展示接收的文本信息。
所述文本信息加载指令可以是所述终端设备自动产生的。例如,所述终端设备可以安装有应用程序。所述应用程序在启动以后,可以产生所述文本信息加载指令。或者,所述文本信息加载指令还可以是由用户主动操作所触发产生的。例如,所述终端设备可以是在检测到一个或多个按键的任意组合,被按下、点击、双击、或划过,进而产生所述文本信息加载指令。所述按键可以为虚拟按键或物理按键,所述虚拟按键例如可以为按钮控件或图形控件等,所述物理按键例如可以为按压按钮、摇杆按钮、拨号盘、滑块开关、或操纵杆等。另举一例,所述终端设备还可以是在识别到预置手势,进而产生所述文本信息加载指令。
步骤S12:在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。
在本实施例中,在所述人机交互界面展示的文本信息可以包括至少一个用于描述地理实体的实体词。用户可以使用任意对象,例如鼠标、手指、或指示笔等,接触所述文本信息中的实体词。所述接触可以包括按下、点击、双击、划过等。所述终端设备在监测到所述接触以后,可以产生所述触发指令。所述终端设备可以以被接触的实体词为目标实体词;可以在所述人机交互界面展示所述目标实体词关联的位置信息。在一个场景示例中,所述人机交互界面展示的文本信息中的每个实体词可以具有超链接,实体词的超链接可以指向该实体词所关联位置信息。在接收到针对所述人机交互界面中目标实体词的触发指令以后,所述终端设备可以在所述人机交互界面展示所述目标实体词的超链接指向的位置信息。
所述终端设备可以向所述服务器请求获取所述目标实体词关联的位置信息,所述位置信息获取请求中可以携带有所述目标实体词。所述服务器可以接收所述目标实体词;可以获取所述目标实体词关联的位置信息;可以向所述终端设备发送获取的位置信息。所述终端设备可以接收所述服务器反馈的位置信息;可以在所述人机交互界面展示接收的位置信息。
在本实施例的一个实施方式中,所述终端设备可以直接在所述人机交互界面展示所述目标实体词关联的位置信息。
在本实施例的一个实施方式中,所述终端设备可以在所述人机交互界面展示信息窗口;可以在所述信息窗口展示所述目标实体词关联的位置信息。所述信息窗口可以覆盖于所述人机交互界面的部分区域或全部区域之上。在一个场景示例中,所述终端设备可以在所述信息窗口展示电子地图;可以在所述电子地图中对所述目标实体词关联的位置信息所表示的位置进行标注;从而实现在所述信息窗口间接展示所述目标实体词关联的位置信息。进一步地,所述终端设备还可以接收关闭所述信息窗口的触发指令,进而可以关闭所述信息窗口。关闭所述信息窗口的触发指令可以是在监测到指定区域被按下、点击、双击、或划过时产生。所述指定区域可以为所述人机交互界面中除去所述信息窗口所占据区域以外的其它任意区域。或者,关闭所述信息窗口的触发指令还可以是在识别到预置手势时产生。
在本实施例中,所述终端设备可以提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有 位置信息;在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。这样,在阅读文本信息的过程中,用户无需中断阅读过程,便可以在所述人机交互界面进行操作进而得到位置信息,提高了阅读体验。
请参阅图2和图10。本说明书实施例提供另一种数据处理方法。所述数据处理方法以终端设备为执行主体。这里的终端设备实现的功能可以与数据处理系统实施例中第二终端设备实现的功能相互参照。所述数据处理方法可以包括以下步骤。
步骤S20:提供人机交互界面。
在本实施例中,这里的人机交互界面可以与数据处理系统实施例中的第二人机交互界面相互参照。所述终端设备可以接收文本信息输入指令,进而可以展示所述人机交互界面。例如,所述终端设备可以是在检测到一个或多个按键的任意组合,被按下、点击、双击、或划过,进而产生所述文本信息输入指令。另举一例,所述终端设备还可以是在识别到预置手势,进而产生所述文本信息输入指令。
步骤S22:接收用户在所述人机交互界面输入的文本信息。
在本实施例中,用户可以在所述人机交互界面输入文本信息。所述终端设备可以接收输入的文本信息。例如,所述人机交互界面可以具有第一文本框,用户可以在所述第一文本框输入文本信息。
步骤S24:向服务器发送所述文本信息。
在本实施例中,所述数据处理方法可以应用于终端设备/服务器的系统构架中,关于所述服务器实现的功能可以参照数据处理系统实施例。所述终端设备可以向所述服务器发送所述文本信息。所述服务器可以接收所述文本信息;可以从所述文本信息中识别出至少一个用于描述地理实体的实体词;可以获取每个实体词对应的位置信息;可以将每个实体词与其对应的位置信息进行关联。所述终端设备具体可以在接收到文本信息发送指令以后,向服务器发送所述文本信息。例如,所述终端设备可以是在检测到一个或多个按键的任意组合,被按下、点击、双击、或划过,进而产生所述文本信息发送指令。另举一例,所述终端设备还可以是在识别到预置手势,进而产生所述文本信息发送指令。
在本实施例的一个实施方式中,用户还可以在所述人机交互界面输入主题类型,所述主题类型可以为用户输入的文本信息所表达主题的类型。所述终端设备可以接收用户输入的主题类型;可以向所述服务器发送所述主题类型。所述服务器可以接收所述主题 类型;可以基于所述主题类型从所述文本信息中识别出至少一个用于描述地理实体的实体词。例如,所述人机交互界面可以具有第二文本框,用户可以在所述第二文本框输入主题类型。
在本实施例的一个实施方式中,用户还可以在所述人机交互界面输入地理区域标识,所述地理区域标识可以用于标识地理区域,所述地理区域的大小可以根据业务需要灵活设定,例如可以为街道、商圈、城市、国家、或多个国家组成的地区等。所述终端设备可以接收用户输入的地理区域标识;可以向所述服务器发送所述地理区域标识。所述服务器可以接收所述地理区域标识;可以基于所述地理区域标识获取每个实体词对应的位置信息。例如,所述人机交互界面可以具有第三文本框,用户可以在所述第三文本框输入地理区域标识。
在本实施例的一个实施方式中,所述终端设备可以具备定位功能。所述定位功能可以通过GPS(Global Positioning System,全球定位系统)、BDS(BeiDou Navigation Satellite System,北斗卫星导航系统)、GLONASS(格洛纳斯卫星导航系统)、伽利略卫星导航系统(Galileo satellite navigation system)、基站无线信号、WIFI(Wireless-Fidelity,无线保真)信号、蓝牙(Bluetooth)信号等方式来实现,当然,也可以通过上述方式的任意组合来实现。如此,所述终端设备可以获取自身的位置信息(例如经纬度数据);可以向所述服务器发送自身的位置信息。所述服务器可以接收所述位置信息;可以获取接收的位置信息归属的地理区域;可以基于所述地理区域的地理区域标识获取每个实体词对应的位置信息。
在本实施例中,所述终端设备可以提供人机交互界面;可以接收用户在所述人机交互界面输入的文本信息;可以向服务器发送所述文本信息。这样,通过接收所述第二终端设备发来的文本信息并进行处理,所述服务器便可以提供一个或多个文本信息。
请一并参阅图3和图4。本说明书实施例提供一种数据处理方法。所述数据处理方法以服务器为执行主体,可以包括以下步骤。
步骤S30:从文本信息中识别出至少一个实体词。
在本实施例中,所述文本信息可以用于表达任意类型的主题,例如房地产、店铺、公交车站等。所述文本信息可以为所述服务器从数据源中获取的,典型的数据源例如可以为百度知道、知乎社区、微博、或论坛等。例如,所述服务器可以通过网络爬虫(又称为网络蜘蛛或网络机器人)从数据源中获取文本信息。或者,所述数据处理方法可以 应用于终端设备/服务器的系统构架中,这里的终端设备实现的功能可以与数据处理系统实施例中第二终端设备实现的功能相互参照。所述文本信息还可以为所述终端设备发来的。具体地,所述终端设备可以提供人机交互界面。用户可以在所述人机交互界面输入文本信息。所述终端设备可以接收用户输入的文本信息;可以向所述服务器发送所述文本信息。所述服务器可以接收所述文本信息。
所述实体词可以用于描述地理实体,所述地理实体可以为公交车站、小区楼盘、或店铺等。例如,实体词“青山大桥公交车站”可以用于描述地理实体青山大桥公交车站,实体词“万科西溪蝶园”可以用于描述地理实体万科西溪蝶园小区楼盘,实体词“肯德基圆融时代广场店”可以用于描述地理实体肯德基店铺。
在本实施例中,所述服务器可以基于预置的实体词词典,从所述文本信息中识别出至少一个实体词。所述实体词词典可以包括一个或多个预先构建的实体词。所述服务器可以基于所述实体词词典,直接从所述文本信息中识别出至少一个实体词。或者,所述服务器还可以将所述文本信息进行分词处理进而得到分词集合,所述分词集合可以包括至少一个分词;可以基于所述实体词词典,从所述分词集合中筛选出至少一个分词作为实体词。具体地,针对所述分词集合中的每个分词;所述服务器可以查找所述分词词典中是否包括与该分词相匹配的实体词;若是,可以将该分词作为筛选出的实体词。这里分词与实体词相匹配可以理解为:分词与实体词在表述上一致,或者,分词与实体词表达的含义相同。
在本实施例的一个实施方式中,预置的实体词词典的数量可以为一个。如此,所述服务器可以基于该实体词词典,从所述文本信息中识别出至少一个实体词。
在本实施例的另一个实施方式中,预置的实体词词典的数量可以为多个。每个实体词词典可以对应有语义类型,所述语义类型可以为实体词词典中至少一个实体词所表达语义的类型。例如,预置的实体词词典的数量可以为3个,具体可以包括实体词词典DA、DB、和DC。所述实体词词典DA中各个实体词所表达语义的类型可以为公交车站,例如具体可以包括实体词青山大桥公交车站、管委会公交车站等。所述实体词词典DB中各个实体词所表达语义的类型可以为小区楼盘,例如具体可以包括实体词万科西溪蝶园、绿地中央广场等。所述实体词词典DC中各个实体词所表达语义的类型可以为店铺,例如具体可以包括实体词肯德基圆融时代广场店、德庄火锅梦之城店。那么,所述实体词词典DA对应的语义类型可以为公交车站,所述实体词词典DB对应的语义类型可以为房地产,所述实体词词典DC对应的语义类型可以为店铺。如此,所述服务器 可以确定所述文本信息对应的主题类型;可以从预置的多个实体词词典中,选取对应的语义类型与所述主题类型相匹配的实体词词典;可以基于选取的实体词词典,从所述文本信息中识别出至少一个实体词。
所述文本信息对应的主题类型可以为所述文本信息所表达主题的类型。例如,所述文本信息所表达的主题可以为小区楼盘,那么,所述文本信息对应的主题类型可以为房地产。另举一例,所述文本信息所表达的主题可以为餐厅,那么,所述文本信息对应的主题类型可以为店铺。这里语义类型与主题类型相匹配可以理解为:语义类型与主题类型在表述上一致,或者,语义类型与主题类型表达的含义相同。
所述服务器可以基于数学模型识别所述文本信息对应的主题类型。所述数学模型可以为贝叶斯分类模型、支持向量机分类模型(Support Vector Machine,SVM)、或卷积神经网络分类模型(Convolutional Neural Networks,CNN)等。或者,所述数据处理方法可以应用于终端设备/服务器的系统构架中,这里的终端设备实现的功能可以与数据处理系统实施例中第二终端设备实现的功能相互参照。具体地,所述终端设备可以向所述服务器发送用于标识用户的用户标识。所述服务器可以接收所述用户标识;可以基于所述用户标识对应的历史文本信息,确定步骤S10中文本信息对应的主题类型。例如,所述服务器可以将历史文本信息对应的主题类型作为步骤S10中文本信息对应的主题类型。或者,所述终端设备可以提供人机交互界面。用户可以在所述人机交互界面输入所述文本信息对应的主题类型。所述终端设备可以接收用户输入的主题类型;可以向所述服务器发送所述主题类型。所述服务器可以接收所述主题类型。
步骤S32:获取每个实体词对应的位置信息。
在本实施例中,实体词对应的位置信息可以用于表示该实体词所描述地理实体的位置。所述位置信息可以为经纬度数据、用于描述位置的文字、或用于描述位置的图像等。当然,所述位置信息还可以为其它能够表示位置的信息,本实施例对此并不做具体限定。
在本实施例中,所述服务器可以基于预置的兴趣点标识集合,获取每个实体词对应的位置信息。所述兴趣点标识集合可以包括至少一个兴趣点标识。每个兴趣点标识可以用于标识地理实体、且可以对应有位置信息。兴趣点标识对应的位置信息可以用于表示该兴趣点标识所标识地理实体的位置。具体地,针对每个实体词,所述服务器可以从所述兴趣点标识集合中选取与该实体词相匹配的兴趣点标识;可以将选取的兴趣点标识对应的位置信息作为该实体词对应的位置信息。这里实体词与兴趣点标识相匹配可以理解为:实体词描述的地理实体与兴趣点标识所标识的地理实体相同。
在本实施例的一个实施方式中,预置的兴趣点标识集合的数量可以为一个。如此,所述服务器可以基于该兴趣点标识集合,获取每个实体词对应的位置信息。
在本实施例的另一个实施方式中,预置的兴趣点标识集合的数量可以为多个。每个兴趣点标识集合可以对应有地理区域标识,所述地理区域标识可以用于标识地理区域。所述地理区域的大小可以根据业务需要灵活设定,例如可以为街道、商圈、城市、国家、或多个国家组成的地区等。例如,预置的兴趣点标识集合的数量可以为3个,具体可以包括兴趣点标识集合IA、IB、和IC。所述兴趣点标识集合IA对应的地理区域标识可以为CN-SZ,所述地理区域标识CN-SZ可以用于标识地理区域中国苏州。所述兴趣点标识集合IB对应的地理区域标识可以为CN-SH,所述地理区域标识CN-SH可以用于标识地理区域中国上海。所述兴趣点标识集合IC对应的地理区域标识可以为CN-HZ,所述地理区域标识CN-HZ可以用于标识地理区域中国杭州。如此,所述服务器可以获取所述文本信息对应的地理区域标识;可以从预置的多个兴趣点标识集合中,选取对应的地理区域标识与获取的地理区域标识相匹配的兴趣点标识集合;可以基于选取的兴趣点标识集合,获取每个实体词对应的位置信息。这里以兴趣点标识集合对应的地理区域标识为第一地理区域标识,以获取的地理区域标识为第二地理区域标识。那么,所述第一地理区域标识与所述第二地理区域标识相匹配可以理解为:所述第一地理区域标识所标识的地理区域与所述第二地理区域标识所标识的地理区域相同,或者,所述第二地理区域标识所标识的地理区域位于所述第一地理区域标识所标识的地理区域以内。
在本实施方式中,所述数据处理方法可以应用于终端设备/服务器的系统构架中,这里的终端设备实现的功能可以与数据处理系统实施例中第二终端设备实现的功能相互参照。所述终端设备可以提供人机交互界面。用户可以在所述人机交互界面输入所述文本信息对应的地理区域标识。所述终端设备可以接收用户输入的地理区域标识;可以向所述服务器发送所述地理区域标识。所述服务器可以接收所述地理区域标识。或者,所述终端设备可以具备定位功能。所述定位功能可以通过GPS(Global Positioning System,全球定位系统)、BDS(BeiDou Navigation Satellite System,北斗卫星导航系统)、GLONASS(格洛纳斯卫星导航系统)、伽利略卫星导航系统(Galileo satellite navigation system)、基站无线信号、WIFI(Wireless-Fidelity,无线保真)信号、蓝牙(Bluetooth)信号等方式来实现,当然,也可以通过上述方式的任意组合来实现。如此,所述终端设备可以获取自身的位置信息(例如经纬度数据);可以向所述服务器发送自身的位置信息。所述服务器可以接收所述位置信息;可以获取接收的位置信息归属的地理区域;可以将所述地理区域的地理区域标识作为所述文本信息对应的地理区域标识。当然,所述 服务器还可以采用其它方式获取所述文本信息对应的地理区域标识,本实施例对此并不做具体限定。
步骤S34:将每个实体词与其对应的位置信息进行关联。
在本实施例中,所述服务器可以将每个实体词与其对应的位置信息进行关联,以便于能够基于实体词获取到位置信息。例如,所述服务器可以为每个实体词添加超链接,添加的超链接可以指向该实体词对应的位置信息。当然,所述服务器还可以采用其它方式将每个实体词与其对应的位置信息进行关联,本实施例对此并不做具体限定。
请一并参阅图3、图4和图10。以下介绍本实施例的一个场景示例。所述场景示例可以应用于终端设备/服务器的系统构架中。
在本场景示例中,所述终端设备可以运行有文章发布应用程序。所述文章发布应用程序可以提供人机交互界面。用户可以在所述人机交互界面输入文本信息、主题类型、以及地理区域标识。用户在输入完成以后,可以点击所述人机交互界面中的发送控件。所述文章发布应用程序在检测到所述发送控件被点击以后,可以产生文本信息发送指令,进而可以向所述服务器发送所述文本信息、所述主题类型、以及所述地理区域标识。
在本场景示例中,所述服务器可以提供多个预置的实体词词典和多个预置的兴趣点标识集合,每个实体词词典可以对应有语义类型,每个兴趣点标识集合可以对应有地理区域标识。如此,所述服务器可以接收所述文本信息、所述主题类型、以及所述地理区域标识;可以从预置的多个实体词词典中,选取对应的语义类型与接收的主题类型相匹配的实体词词典;可以基于选取的实体词词典,从接收的文本信息中识别出至少一个实体词。所述服务器可以从预置的多个兴趣点标识集合中,选取对应的地理区域标识与接收的地理区域标识相匹配的兴趣点标识集合;可以基于选取的兴趣点标识集合,获取每个实体词对应的位置信息。所述服务器可以为每个实体词添加超链接,添加的超链接可以指向该实体词对应的位置信息。这样,用户在阅读所述文本信息的过程中,无需中断阅读过程,可以通过实体词关联的位置信息得到该实体词所描述地理实体的位置,提高了阅读体验。
在本实施例中,所述服务器可以从文本信息中识别出至少一个实体词;可以获取每个实体词对应的位置信息;可以将每个实体词与其对应的位置信息进行关联。这样,用户在阅读所述文本信息的过程中,无需中断阅读过程,可以通过实体词关联的位置信息得到该实体词所描述地理实体的位置,提高了阅读体验。
请参阅图5。本说明书实施例提供一种终端设备。所述终端设备可以包括以下单元。
提供单元50,用于提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;
展示单元52,用于在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。
请参阅图6。本说明书实施例还提供另一种终端设备。所述终端设备可以包括显示组件和处理器。
在本实施例中,所述显示组件包括但不限于液晶(Liquid Crystal Display,LCD)显示器、阴极射线管(Cathode Ray Tube,CRT)显示器、和发光二极管(Light Emitting Diode,LED)显示器等。所述显示组件可以用于展示人机交互界面和位置信息。
在本实施例中,所述处理器可以按任何适当的方式实现。例如,处理器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式等等。所述处理器可以用于控制所述显示组件展示人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;在接收到针对所述人机交互界面中目标实体词的触发指令以后,控制所述显示组件在所述人机交互界面展示所述目标实体词关联的位置信息。
请参阅图7。本说明书实施例还提供另一种终端设备。所述终端设备可以包括以下单元。
提供单元70,用于提供人机交互界面;
接收单元72,用于接收用户在所述人机交互界面输入的文本信息;
发送单元74,用于向服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
请参阅图6。本说明书实施例还提供另一种终端设备。所述终端设备可以包括显示组件和处理器。
在本实施例中,所述显示组件包括但不限于液晶(Liquid Crystal Display,LCD)显 示器、阴极射线管(Cathode Ray Tube,CRT)显示器、和发光二极管(Light Emitting Diode,LED)显示器等。所述显示组件可以用于展示人机交互界面。
在本实施例中,所述处理器可以按任何适当的方式实现。例如,处理器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式等等。所述处理器可以用于控制所述显示组件展示人机交互界面;接收用户在所述人机交互界面输入的文本信息;向服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
请参阅图8。本说明书实施例提供一种服务器。所述服务器可以包括以下单元。
识别单元80,用于从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;
获取单元82,用于获取每个实体词对应的位置信息;
关联单元84,用于将每个实体词与其对应的位置信息进行关联。
请参阅图9。本说明书实施例提供一种服务器。所述服务器可以包括存储器和处理器。
在本实施例中,所述存储器包括但不限于动态随机存取存储器(Dynamic Random Access Memory,DRAM)和静态随机存取存储器(Static Random Access Memory,SRAM)等。所述存储器可以用于存储计算机指令。
在本实施例中,所述处理器可以按任何适当的方式实现。例如,所述处理器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式等等。所述处理器可以用于执行所述计算机指令实现以下步骤:从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;获取每个实体词对应的位置信息;将每个实体词与其对应的位置信息进行关联。
需要说明的是,本申请说明书中各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。 尤其,对于服务器实施例和终端设备实施例而言,由于其基本相似于数据处理方法实施例,所以描述的比较简单,相关之处参见数据处理方法实施例的部分说明即可。
另外,本领域技术人员应当能够理解的是,所属领域技术人员在阅读完本申请说明书之后,可以无需创造性劳动想到本申请文件中列举的部分或全部实施方式之间可以组合,这些组合也在本申请公开和保护的范围内。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片2。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog2。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本说明书可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本说明书的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本说明书各个实施例或者实施例的某些部分所述的方法。
本说明书可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
虽然通过实施例描绘了本说明书,本领域普通技术人员知道,本说明书有许多变形和变化而不脱离本说明书的精神,希望所附的权利要求包括这些变形和变化而不脱离本说明书的精神。

Claims (28)

  1. 一种数据处理方法,包括:
    提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;
    在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。
  2. 如权利要求1所述的方法,所述文本信息中的实体词在所述人机交互界面突出展示。
  3. 如权利要求1所述的方法,每个实体词具有指向该实体词所关联位置信息的超链接。
  4. 如权利要求1所述的方法,所述触发指令是在监测到所述目标实体词被按下、点击、双击、或划过时产生。
  5. 如权利要求1所述的方法,所述在所述人机交互界面展示所述目标实体词关联的位置信息,包括:
    向服务器请求获取所述目标实体词关联的位置信息;
    接收所述服务器反馈的位置信息;
    在所述人机交互界面展示所述服务器反馈的位置信息。
  6. 如权利要求1所述的方法,所述在所述人机交互界面展示所述目标实体词关联的位置信息,包括:
    在所述人机交互界面展示信息窗口;在所述信息窗口展示所述目标实体词关联的位置信息。
  7. 如权利要求6所述的方法,所述信息窗口覆盖于所述人机交互界面的部分区域或全部区域之上。
  8. 如权利要求6所述的方法,所述在所述信息窗口展示所述目标实体词关联的位置信息,包括:
    在所述信息窗口展示电子地图;在所述电子地图中对所述目标实体词关联的位置信息所表示的位置进行标注。
  9. 如权利要求6所述的方法,所述方法还包括:
    在接收到关闭所述信息窗口的触发指令以后,关闭所述信息窗口。
  10. 如权利要求9所述的方法,所述关闭所述信息窗口的触发指令是在监测到指定区域被按下、点击、双击、或划过时产生。
  11. 如权利要求10所述的方法,所述指定区域为所述人机交互界面中除去所述信息窗口所占据区域以外的其它任意区域。
  12. 一种终端设备,包括:
    提供单元,用于提供人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;
    展示单元,用于在接收到针对所述人机交互界面中目标实体词的触发指令以后,在所述人机交互界面展示所述目标实体词关联的位置信息。
  13. 一种终端设备,包括:
    显示组件,用于展示人机交互界面和位置信息;
    处理器,用于控制所述显示组件展示人机交互界面;在所述人机交互界面展示有文本信息;所述文本信息包括至少一个用于描述地理实体的实体词;每个实体词关联有位置信息;在接收到针对所述人机交互界面中目标实体词的触发指令以后,控制所述显示组件在所述人机交互界面展示所述目标实体词关联的位置信息。
  14. 一种数据处理方法,包括:
    提供人机交互界面;
    接收用户在所述人机交互界面输入的文本信息;
    向服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
  15. 如权利要求14所述的方法,所述方法还包括:
    接收用户在所述人机交互界面输入的主题类型;
    向所述服务器发送所述主题类型;以便所述服务器能够基于所述主题类型从所述文本信息中识别出至少一个用于描述地理实体的实体词。
  16. 如权利要求14所述的方法,所述方法还包括:
    接收用户在所述人机交互界面输入的地理区域标识;
    向所述服务器发送所述地理区域标识;以便所述服务器能够基于所述地理区域标识获取每个实体词对应的位置信息。
  17. 一种终端设备,包括:
    提供单元,用于提供人机交互界面;
    接收单元,用于接收用户在所述人机交互界面输入的文本信息;
    发送单元,用于向服务器发送所述文本信息;以便所述服务器能够从所述文本信息 中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
  18. 一种终端设备,包括:
    显示组件,用于展示人机交互界面;
    处理器,用于控制所述显示组件展示人机交互界面;接收用户在所述人机交互界面输入的文本信息;向服务器发送所述文本信息;以便所述服务器能够从所述文本信息中识别出至少一个用于描述地理实体的实体词,获取每个实体词对应的位置信息,将每个实体词与其对应的位置信息进行关联。
  19. 一种数据处理方法,包括:
    从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;
    获取每个实体词对应的位置信息;
    将每个实体词与其对应的位置信息进行关联。
  20. 如权利要求19所述的方法,所述从文本信息中识别出至少一个实体词,包括:
    基于预置的实体词词典,从文本信息中识别出至少一个实体词。
  21. 如权利要求20所述的方法,所述从文本信息中识别出至少一个实体词,包括:
    将文本信息进行分词处理,得到分词集合;所述分词集合包括至少一个分词;
    从所述分词集合中筛选出在所述实体词词典中匹配有实体词的分词,作为实体词。
  22. 如权利要求20所述的方法,预置的实体词词典的数量为多个;每个实体词词典对应有语义类型;相应地,所述从文本信息中识别出至少一个实体词,包括:
    确定文本信息对应的主题类型;
    选取对应的语义类型与所述主题类型相匹配的实体词词典;
    基于选取的实体词词典,从文本信息中识别出至少一个实体词。
  23. 如权利要求19所述的方法,所述获取每个实体词对应的位置信息,包括:
    基于预置的兴趣点标识集合,获取每个实体词对应的位置信息;所述兴趣点标识集合包括至少一个兴趣点标识;每个兴趣点标识用于标识地理实体、且对应有位置信息。
  24. 如权利要求23所述的方法,所述获取每个实体词对应的位置信息,包括:
    针对每个实体词,从所述兴趣点标识集合中选取与该实体词相匹配的兴趣点标识;将选取的兴趣点标识对应的位置信息作为该实体词对应的位置信息。
  25. 如权利要求23所述的方法,预置的兴趣点标识集合的数量为多个;每个兴趣点标识集合对应有地理区域标识;相应地,所述获取每个实体词对应的位置信息,包括:
    获取文本信息对应的地理区域标识;
    选取对应的地理区域标识与获取的地理区域标识相匹配的兴趣点标识集合;
    基于选取的兴趣点标识集合,获取每个实体词对应的位置信息。
  26. 如权利要求19所述的方法,所述将每个实体词与其对应的位置信息进行关联,包括:
    为每个实体词添加指向该实体词所对应位置信息的超链接。
  27. 一种服务器,包括:
    识别单元,用于从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;
    获取单元,用于获取每个实体词对应的位置信息;
    关联单元,用于将每个实体词与其对应的位置信息进行关联。
  28. 一种服务器,包括:
    存储器,用于存储计算机指令;
    处理器,用于执行所述计算机指令实现以下步骤:从文本信息中识别出至少一个实体词;每个实体词用于描述地理实体;获取每个实体词对应的位置信息;将每个实体词与其对应的位置信息进行关联。
PCT/CN2019/073940 2018-04-12 2019-01-30 数据处理方法、终端设备和服务器 WO2019196548A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810325655.4 2018-04-12
CN201810325655.4A CN108804505A (zh) 2018-04-12 2018-04-12 数据处理方法、终端设备和服务器

Publications (1)

Publication Number Publication Date
WO2019196548A1 true WO2019196548A1 (zh) 2019-10-17

Family

ID=64095538

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073940 WO2019196548A1 (zh) 2018-04-12 2019-01-30 数据处理方法、终端设备和服务器

Country Status (3)

Country Link
CN (1) CN108804505A (zh)
TW (1) TWI697812B (zh)
WO (1) WO2019196548A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804505A (zh) * 2018-04-12 2018-11-13 阿里巴巴集团控股有限公司 数据处理方法、终端设备和服务器
CN111339388B (zh) * 2019-06-13 2021-07-27 海通证券股份有限公司 一种信息爬取系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361074A (zh) * 2014-11-11 2015-02-18 广州睿阔信息科技有限公司 一种关联地理位置信息与万维网资源的信息处理方法和系统
CN104376038A (zh) * 2014-09-12 2015-02-25 中国人民解放军信息工程大学 一种基于标签云的位置关联文本信息可视化方法
CN107577819A (zh) * 2017-09-30 2018-01-12 百度在线网络技术(北京)有限公司 一种文本内容展现方法、装置、计算机设备和存储介质
CN108804505A (zh) * 2018-04-12 2018-11-13 阿里巴巴集团控股有限公司 数据处理方法、终端设备和服务器

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765494A (zh) * 2017-06-20 2021-05-07 创新先进技术有限公司 搜索方法和搜索装置
CN107423362B (zh) * 2017-06-20 2021-06-08 创新先进技术有限公司 行业确定方法、对象获取方法和装置、客户端、服务器

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376038A (zh) * 2014-09-12 2015-02-25 中国人民解放军信息工程大学 一种基于标签云的位置关联文本信息可视化方法
CN104361074A (zh) * 2014-11-11 2015-02-18 广州睿阔信息科技有限公司 一种关联地理位置信息与万维网资源的信息处理方法和系统
CN107577819A (zh) * 2017-09-30 2018-01-12 百度在线网络技术(北京)有限公司 一种文本内容展现方法、装置、计算机设备和存储介质
CN108804505A (zh) * 2018-04-12 2018-11-13 阿里巴巴集团控股有限公司 数据处理方法、终端设备和服务器

Also Published As

Publication number Publication date
CN108804505A (zh) 2018-11-13
TW201944208A (zh) 2019-11-16
TWI697812B (zh) 2020-07-01

Similar Documents

Publication Publication Date Title
US11166087B2 (en) Cross-device handoffs
KR102293281B1 (ko) 가상 어시스턴트의 개인화
JP6974152B2 (ja) 情報処理装置及び情報処理方法
US9769634B2 (en) Providing personalized content based on historical interaction with a mobile device
CN110276007B (zh) 用于提供信息的装置和方法
US8977961B2 (en) Gesture based context-sensitive functionality
US20180139291A1 (en) Determing data associated with proximate computing devices
KR20140011073A (ko) 텍스트 추천 방법 및 장치
CN113190300A (zh) 分布式个人助理
CN105320652A (zh) 用于提供翻译内容的方法、设备和系统
KR20150067489A (ko) 전자 장치에서 입력기 제공 방법 및 장치
US20160350136A1 (en) Assist layer with automated extraction
AU2019257433B2 (en) Device, method and graphic user interface used to move application interface element
CN110020231A (zh) 网页截图方法及其装置
EP3610376B1 (en) Automatic context passing between applications
WO2019196548A1 (zh) 数据处理方法、终端设备和服务器
CN110806834A (zh) 基于输入法的信息处理方法、装置、电子设备及介质
US20140195951A1 (en) Method for managing schedule and electronic device thereof
WO2019104669A1 (zh) 一种输入信息的方法及终端
CN114201086B (zh) 信息的展示方法及装置
WO2020242668A1 (en) Contextual feedback to a natural understanding system in a chat bot
CN109643215B (zh) 基于手势输入的应用处理

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19784926

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19784926

Country of ref document: EP

Kind code of ref document: A1