TW201944208A - Data processing method, terminal device, and server - Google Patents

Data processing method, terminal device, and server

Info

Publication number
TW201944208A
TW201944208A TW108104725A TW108104725A TW201944208A TW 201944208 A TW201944208 A TW 201944208A TW 108104725 A TW108104725 A TW 108104725A TW 108104725 A TW108104725 A TW 108104725A TW 201944208 A TW201944208 A TW 201944208A
Authority
TW
Taiwan
Prior art keywords
entity word
human
entity
interaction interface
computer interaction
Prior art date
Application number
TW108104725A
Other languages
Chinese (zh)
Other versions
TWI697812B (en
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 TW201944208A publication Critical patent/TW201944208A/en
Application granted granted Critical
Publication of TWI697812B publication Critical patent/TWI697812B/en

Links

Classifications

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

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

A data processing method, a terminal device, and a server. The method comprises: providing a human-machine interaction interface; displaying text information in the human-machine interaction interface, the text information comprising at least one entity word used for describing a geographic entity, and each entity word being associated with location information; after receiving a trigger instruction for a target entity word in the human-machine interaction interface, the human-machine interaction interface displaying the location information associated with the target entity word.

Description

資料處理方法、終端設備和伺服器Data processing method, terminal equipment and server

本發明係有關電腦技術領域,尤其是一種資料處理方法、終端設備和伺服器。The invention relates to the field of computer technology, in particular to a data processing method, a terminal device and a server.

隨著網際網路的快速發展,越來越多的使用者透過終端設備來閱讀文字資訊,例如介紹房地產的文字資訊、或介紹美食餐廳的文字資訊等。使用者在閱讀上述文字資訊的過程中,有可能對文字資訊中描述的地理實體的地理位置並不熟悉。這樣,使用者往往需要使用地圖應用程式對文字資訊中描述的地理實體的地理位置進行搜索,從而給使用者的閱讀造成不便。With the rapid development of the Internet, more and more users read text information through terminal devices, such as text information about real estate, or text information about gourmet restaurants. In the process of reading the above text information, the user may be unfamiliar with the geographic location of the geographic entity described in the text information. In this way, users often need to use a map application to search the geographic locations of geographic entities described in text information, which causes inconvenience for users to read.

本說明書實施例的目的是提供一種資料處理方法、終端設備和伺服器,以提高使用者體驗。
為實現上述目的,本說明書實施例提供一種資料處理方法,包括:提供人機交互界面;在所述人機交互界面展示有文字資訊;所述文字資訊包括至少一個用於描述地理實體的實體詞;每個實體詞關聯有位置資訊;在接收到針對所述人機交互界面中目標實體詞的觸發指令以後,在所述人機交互界面展示所述目標實體詞關聯的位置資訊。
為實現上述目的,本說明書實施例提供一種終端設備,包括:提供單元,用於提供人機交互界面;在所述人機交互界面展示有文字資訊;所述文字資訊包括至少一個用於描述地理實體的實體詞;每個實體詞關聯有位置資訊;展示單元,用於在接收到針對所述人機交互界面中目標實體詞的觸發指令以後,在所述人機交互界面展示所述目標實體詞關聯的位置資訊。
為實現上述目的,本說明書實施例提供一種終端設備,包括:顯示組件,用於展示人機交互界面和位置資訊;處理器,用於控制所述顯示組件展示人機交互界面;在所述人機交互界面展示有文字資訊;所述文字資訊包括至少一個用於描述地理實體的實體詞;每個實體詞關聯有位置資訊;在接收到針對所述人機交互界面中目標實體詞的觸發指令以後,控制所述顯示組件在所述人機交互界面展示所述目標實體詞關聯的位置資訊。
為實現上述目的,本說明書實施例提供一種資料處理方法,包括:提供人機交互界面;接收使用者在所述人機交互界面輸入的文字資訊;向伺服器發送所述文字資訊;以便所述伺服器能夠從所述文字資訊中識別出至少一個用於描述地理實體的實體詞,獲取每個實體詞對應的位置資訊,將每個實體詞與其對應的位置資訊進行關聯。
為實現上述目的,本說明書實施例提供一種終端設備,包括:提供單元,用於提供人機交互界面;接收單元,用於接收使用者在所述人機交互界面輸入的文字資訊;發送單元,用於向伺服器發送所述文字資訊;以便所述伺服器能夠從所述文字資訊中識別出至少一個用於描述地理實體的實體詞,獲取每個實體詞對應的位置資訊,將每個實體詞與其對應的位置資訊進行關聯。
為實現上述目的,本說明書實施例提供一種終端設備,包括:顯示組件,用於展示人機交互界面;處理器,用於控制所述顯示組件展示人機交互界面;接收使用者在所述人機交互界面輸入的文字資訊;向伺服器發送所述文字資訊;以便所述伺服器能夠從所述文字資訊中識別出至少一個用於描述地理實體的實體詞,獲取每個實體詞對應的位置資訊,將每個實體詞與其對應的位置資訊進行關聯。
為實現上述目的,本說明書實施例提供一種資料處理方法,包括:從文字資訊中識別出至少一個實體詞;每個實體詞用於描述地理實體;獲取每個實體詞對應的位置資訊;將每個實體詞與其對應的位置資訊進行關聯。
為實現上述目的,本說明書實施例提供一種伺服器,包括:識別單元,用於從文字資訊中識別出至少一個實體詞;每個實體詞用於描述地理實體;獲取單元,用於獲取每個實體詞對應的位置資訊;關聯單元,用於將每個實體詞與其對應的位置資訊進行關聯。
為實現上述目的,本說明書實施例提供一種伺服器,包括:儲存器,用於儲存電腦指令;處理器,用於執行所述電腦指令實現以下步驟:從文字資訊中識別出至少一個實體詞;每個實體詞用於描述地理實體;獲取每個實體詞對應的位置資訊;將每個實體詞與其對應的位置資訊進行關聯。
由以上本說明書實施例提供的技術方案可見,本說明書實施例中,終端設備可以提供人機交互界面;在所述人機交互界面展示有文字資訊;所述文字資訊包括至少一個用於描述地理實體的實體詞;每個實體詞關聯有位置資訊;在接收到針對所述人機交互界面中目標實體詞的觸發指令以後,可以在所述人機交互界面展示所述目標實體詞關聯的位置資訊。這樣,在閱讀文字資訊的過程中,使用者無需中斷閱讀過程,便可以在所述人機交互界面進行操作進而得到位置資訊,提高了閱讀體驗。
The purpose of the embodiments of the present specification is to provide a data processing method, a terminal device, and a server to improve user experience.
In order to achieve the above purpose, an embodiment of the present specification provides a data processing method, including: providing a human-computer interaction interface; displaying text information on the human-computer interaction interface; the text information including at least one entity word for describing a geographic entity ; Each entity word is associated with location information; after receiving a trigger 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.
In order to achieve the above object, an embodiment of the present specification provides a terminal device, including: a providing unit for providing a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one for describing geographic Entity entity words; each entity word is associated with location information; a display unit for displaying the target entity on the human-computer interaction interface after receiving a trigger instruction for the target entity word in the human-computer interaction interface Word-related location information.
In order to achieve the above object, an embodiment of the present specification provides a terminal device, including: a display component for displaying a human-computer interaction interface and location information; a processor for controlling the display component to display a human-computer interaction interface; Textual information is displayed on the interactive interface; the textual information includes at least one entity word describing a geographic entity; each entity word is associated with location information; and a trigger instruction is received for a target entity word in the human-computer interaction interface Thereafter, the display component is controlled to display the position information associated with the target entity word on the human-computer interaction interface.
In order to achieve the above purpose, an embodiment of the present specification 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; sending the text information to a server; 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 associate each entity word with its corresponding location information.
To achieve the above object, an embodiment of the present specification provides a terminal device, including: a providing unit for providing a human-computer interaction interface; a receiving unit for receiving text information input by a user on the human-computer interaction interface; a sending unit, Configured to send the text information to a server; so that the server can identify at least one entity word describing a geographic entity from the text information, obtain location information corresponding to each entity word, and associate each entity with A word is associated with its corresponding location.
In order to achieve the above object, an embodiment of the present specification provides a terminal device, including: a display component for displaying a human-computer interaction interface; a processor for controlling the display component to display a human-computer interaction interface; and receiving a user at the human Text information input by a computer-interactive interface; sending the text information to a server; so that the server can identify at least one entity word describing a geographic entity from the text information, and obtain a position corresponding to each entity word Information to associate each entity word with its corresponding location information.
In order to achieve the above purpose, an embodiment of the present specification 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; obtaining location information corresponding to each entity word; Entity words are associated with their corresponding location information.
In order to achieve the above purpose, an embodiment of the present specification provides a server including: a recognition unit for identifying at least one entity word from text information; each entity word is used to describe a geographic entity; and an acquisition unit is used to obtain each Location information corresponding to entity words; an association unit, which is used to associate each entity word with its corresponding location information.
In order to achieve the above object, an embodiment of the present specification provides a server including: a storage for storing computer instructions; a processor for executing the computer instructions to implement the following steps: identifying at least one entity word from text information; Each entity word is used to describe a geographic entity; obtain the location information corresponding to each entity word; associate each entity word with its corresponding location information.
It can be seen from the technical solutions provided by the embodiments of the present specification that, in the embodiments of the present specification, the terminal device can provide a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one for describing geographic Entity's entity word; each entity word is associated with location information; after receiving a trigger instruction for the target entity word in the human-computer interaction interface, the position where the target entity word is associated can be displayed on the human-computer interaction interface Information. In this way, in the process of reading text information, the user can operate on the human-computer interaction interface without interrupting the reading process to obtain position information, thereby improving the reading experience.

下面將結合本說明書實施例中的圖式,對本說明書實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本說明書一部分實施例,而不是全部的實施例。基於本說明書中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本說明書保護的範圍。
請一併參閱圖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、小型電腦、大型電腦、包括以上任何系統或設備的分布式計算環境等等。
本說明書可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、對象、組件、資料結構等等。也可以在分布式計算環境中實踐本說明書,在這些分布式計算環境中,由透過通訊網路而被連接的遠端處理設備來執行任務。在分布式計算環境中,程式模組可以位於包括儲存設備在內的本地和遠端電腦儲存媒介中。
雖然透過實施例描繪了本說明書,本領域普通技術人員知道,本說明書有許多變形和變化而不脫離本說明書的精神,希望所附的請求項包括這些變形和變化而不脫離本說明書的精神。
In the following, the technical solutions in the embodiments of the present specification will be described clearly and completely in combination with the drawings in the embodiments of the present specification. Obviously, the described embodiments are only a part of the embodiments of the present specification, but not all the embodiments. Based on the embodiments in this specification, all other embodiments obtained by a person of ordinary skill in the art without creative efforts should fall within the protection scope of this specification.
Please refer to FIGS. 1, 2, 3, 4, 10, 11, 12, and 13 together. The embodiment of the present specification provides a data processing system.
In this embodiment, the data processing system may include a server. The server may be a server or a server cluster including a plurality of servers. The server may be used to provide at least one text message. Each text message can be used to express any type of theme, such as real estate, shops, bus stops, etc. Each text message can correspond to a text message logo. 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 text message may include at least one entity word describing a geographic entity. For example, a certain text information may include the entity word "Vanke Xixi Butterfly Garden", and the entity word "Vanke Xixi Butterfly Garden" may be used to describe the geographical entity Vanke Xixi Butterfly Garden community construction project. Entity words in each text message can be associated with location information. The location information may be used to represent the location of the geographic entity described by the entity word. The location information may be longitude and latitude data, text used to describe the location, or an image used to describe the location. In a scenario example, the entity word in the text information may have a hyperlink to the location information associated with the entity word.
In this embodiment, 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 computer. 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 may display and receive the first human-machine interaction interface Text information. After receiving a trigger instruction for a target entity word in the first human-computer interaction interface, the first terminal device may display location information associated with the target entity word on the first human-machine interaction interface. In this way, in the process of reading text information, the user can operate on the first human-machine interaction interface without interrupting the reading process to obtain position information, thereby improving the reading experience.
In an implementation manner of this embodiment, 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 control computer (industrial control computer), a personal computer (PC), or an all-in-one computer. The second terminal device may provide a second human-machine interaction interface; may receive text information input by a user on the second human-machine interaction interface; may send the text information to the server; so that the server It is possible to identify at least one entity word describing a geographic entity from the text information, obtain position information corresponding to each entity word, and associate each entity word with its corresponding position information. In this way, by receiving and processing the text information sent by the second terminal device, the server can provide one or more text information. It should be noted that, considering that a terminal device that sends text information to the server can also display the text information sent by the server, the second terminal and the first terminal device may be the same or different. .
Please refer to FIGS. 1, 11, 12 and 13. The embodiments of the present specification provide a data processing method. The data processing method uses a terminal device as an execution subject. The functions implemented by the terminal device herein may be cross-referenced with the functions implemented by the first terminal device in the embodiment of the data processing system. The data processing method may include the following steps.
Step S10: Provide a human-computer interaction interface.
In this embodiment, the human-machine interaction interface herein may be cross-referenced with the first human-machine interaction interface in the embodiment of the data processing system. Specifically, the human-computer interaction interface can be understood as a medium and a dialogue interface for transmitting and exchanging information between a human and a computer. Typical computers may be, for example, personal computers, laptops, cellular phones, camera phones, smartphones, personal digital assistants, media players, navigation devices, email devices, game consoles, tablet computers, wearable devices, or A combination of any of these devices. Text information can be displayed on the human-computer interaction interface. The text information may include at least one entity word for describing a geographic entity. Each entity word can be associated with location information. In an implementation manner of this embodiment, entity words in the human-computer interaction interface may be prominently displayed on the human-computer interaction interface. The way of highlighting can include red mark, highlight, underline and so on.
In this embodiment, the data processing method may be applied to a system architecture of a terminal device / server, and for functions implemented by the server, reference may be made to the data processing system embodiment. The terminal device may receive a text information loading instruction; may send a text information acquisition request to the server; and the text information acquisition request may carry a text information logo. The server may receive the text information acquisition request; may acquire text information identified by the text information identifier; and may send the acquired text information to the terminal device. The terminal device can receive the text information fed back by the server; can display a human-computer interaction interface; and can display the received text information on the human-computer interaction interface.
The text information loading instruction may be automatically generated by the terminal device. For example, the terminal device may be installed with an application program. After the application program is started, the text information loading instruction may be generated. Alternatively, the text information loading instruction may also be generated by a user's active operation. For example, the terminal device may be pressed, clicked, double-clicked, or swiped upon detecting any combination of one or more keys, thereby generating the text information loading instruction. The button may be a virtual button or a physical button. The virtual button may be a button control or a graphic control. The physical button may be a push button, a joystick button, a dial, a slider switch, or a joystick. . For another example, the terminal device may also recognize a preset gesture, and then generate the text information loading instruction.
Step S12: After receiving a trigger instruction for the target entity word in the human-computer interaction interface, display the location information associated with the target entity word on the human-computer interaction interface.
In this embodiment, 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 use any object, such as a mouse, a finger, or a stylus, to contact the physical words in the text information. The contact may include pressing, clicking, double-clicking, swiping, and the like. After the terminal device detects the contact, the terminal device may generate the trigger instruction. The terminal device may use the contacted entity word as a target entity word; and may display position information associated with the target entity word on the human-computer interaction interface. In a scenario example, 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. After receiving the trigger instruction for the target entity word in the human-computer interaction interface, the terminal device may display the location information pointed to by the hyperlink of the target entity word on the human-computer interaction interface.
The terminal device may request the server to obtain location information associated with the target entity word, and the location information acquisition request may carry the target entity word. The server may receive the target entity word; may obtain location information associated with the target entity word; and may send the obtained location information to the terminal device. The terminal device may receive the position information fed back by the server; and may display the received position information on the human-machine interaction interface.
In an implementation manner of this embodiment, the terminal device may directly display location information associated with the target entity word on the human-machine interaction interface.
In an implementation manner of this embodiment, the terminal device may display an information window on the human-computer interaction interface; and may display position information associated with the target entity word in the information window. The information window may be overlaid on a part or all of the area of the human-computer interaction interface. In a scenario example, the terminal device may display an electronic map in the information window; the position indicated by the location information associated with the target entity word may be labeled in the electronic map; The window indirectly displays the location information associated with the target entity word. Further, the terminal device may also receive a trigger instruction to close the information window, and then the information window may be closed. The trigger instruction for closing the information window may be generated when it is detected that the specified 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. Alternatively, the trigger instruction for closing the information window may also be generated when a preset gesture is recognized.
In this embodiment, the terminal device may provide a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one entity word used to describe a geographic entity; each entity word is associated There is location information; after receiving a trigger instruction for a 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. In this way, in the process of reading text information, the user can operate on the human-computer interaction interface without interrupting the reading process to obtain position information, thereby improving the reading experience.
See Figures 2 and 10. The embodiment of the present specification provides another data processing method. The data processing method uses a terminal device as an execution subject. The functions implemented by the terminal device herein may be cross-referenced with the functions implemented by the second terminal device in the embodiment of the data processing system. The data processing method may include the following steps.
Step S20: Provide a human-computer interaction interface.
In this embodiment, the human-machine interaction interface herein may be cross-referenced with the second human-machine interaction interface in the embodiment of the data processing system. The terminal device can receive a text information input instruction, and then can display the human-computer interaction interface. For example, the terminal device may be pressed, clicked, double-clicked, or swiped upon detecting any combination of one or more keys, thereby generating the text information input instruction. For another example, the terminal device may also recognize a preset gesture, and then generate the text information input instruction.
Step S22: Receive text information input by a user on the human-computer interaction interface.
In this embodiment, the user can input text information on the human-computer interaction interface. The terminal device can receive the entered text information. For example, the human-computer interaction interface may have a first text box, and a user may enter text information in the first text box.
Step S24: Send the text information to the server.
In this embodiment, the data processing method may be applied to a system architecture of a terminal device / server, and for functions implemented by the server, reference may be made to the data processing system embodiment. The terminal device may send the text information to the server. The server can receive the text information; can identify at least one entity word describing a geographic entity from the text information; can obtain location information corresponding to each entity word; can correspond each entity word to it Associated with your location. 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 upon detecting any combination of one or more keys, thereby generating the text information sending instruction. For another example, the terminal device may also recognize a preset gesture, and then generate the text information sending instruction.
In an implementation manner of this embodiment, a user may also input a topic type on the human-computer interaction interface, and the topic type may be a type of a topic expressed by text information input by the user. The terminal device may receive a theme type input by a user; and may send the theme type to the server. The server may receive the topic type; and may identify at least one entity word for describing a geographic entity from the text information based on the topic type. For example, the human-computer interaction interface may have a second text box, and a user may enter a theme type in the second text box.
In an implementation manner of this embodiment, a user may also input a geographic area identifier on the human-computer interaction interface. The geographic area identifier may be used to identify a geographic area. The size of the geographic area may be flexibly set according to business needs. , Such as streets, business districts, cities, countries, or regions of multiple countries. The terminal device may receive a geographic area identifier input by a user; and may send the geographic area identifier to the server. The server may receive the geographic area identifier; and may obtain location information corresponding to each entity word based on the geographic area identifier. For example, the human-computer interaction interface may have a third text box, and a user may enter a geographic area identifier in the third text box.
In an implementation manner of this embodiment, the terminal device may have a positioning function. The positioning function can be implemented via GPS (Global Positioning System), BDS (BeiDou
Navigation Satellite System),
GLONASS (GLONASS satellite navigation system), Galileo satellite navigation system (Galileo satellite navigation system), base station wireless signals, WIFI (Wireless-Fidelity (wireless fidelity) signals, Bluetooth) signals and other means to achieve, of course, It can also be achieved by any combination of the above methods. In this way, the terminal device can obtain its own location information (such as latitude and longitude data); it can send its own location information to the server. The server may receive the location information; may obtain a geographic area to which the received location information belongs; and may obtain location information corresponding to each entity word based on the geographic area identifier of the geographic area.
In this embodiment, the terminal device may provide a human-computer interaction interface; may receive text information input by a user on the human-computer interaction interface; and may send the text information to a server. In this way, by receiving and processing the text information sent by the second terminal device, the server can provide one or more text information.
Please refer to FIG. 3 and FIG. 4 together. The embodiments of the present specification provide a data processing method. The data processing method uses a server as an execution body, and may include the following steps.
Step S30: Identify at least one entity word from the text information.
In this embodiment, the text information can be used to express any type of theme, such as real estate, shops, bus stops, and the like. The text information may be obtained by the server from a data source. A typical data source may be, for example, Baidu Know, Zhihu Community, Weibo, or forum. For example, the server may obtain text information from a data source through a web crawler (also known as a web spider or web robot). Alternatively, the data processing method may be applied to a system structure of a terminal device / server, and the functions implemented by the terminal device herein may be cross-referenced with the functions implemented by the second terminal device in the embodiment of the data processing system. The text information may also be sent by the terminal device. Specifically, the terminal device may provide a human-machine interaction interface. The user can input text information on the human-computer interaction interface. The terminal device can receive text information input by a user; and can send the text information 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 community project, or a store. For example, the entity word "Qingshan Bridge Bus Station" can be used to describe the geographical entity Qingshan Bridge Bus Station, the entity word "Vanke Xixi Butterfly Garden" can be used to describe the geographical entity Vanke Xixi Butterfly Park community construction project, and the entity word "KFC Circle "Rong Times Square Store" can be used to describe the geographic entity KFC store.
In this embodiment, the server may recognize 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 directly identify at least one entity word from the text information based on the entity word dictionary. Alternatively, the server may further perform segmentation processing on the text information to obtain a segmentation set, and the segmentation set may include at least one segmentation; based on the entity word dictionary, at least one segmentation may be filtered out from the segmentation set As entity words. Specifically, for each participle in the set of participles, the server may look up whether the participle dictionary includes an entity word matching the participle; if so, the participle may be used as a filtered entity word. The matching between the participle and the entity word can be understood as: the expression of the participle and the entity word are consistent, or the meaning of the participle and the entity word is the same.
In an implementation manner of this embodiment, the number of preset entity word dictionaries may be one. In this way, the server can identify at least one entity word from the text information based on the entity word dictionary.
In another implementation manner of this embodiment, the number of preset entity word dictionaries may be multiple. Each entity word dictionary may correspond to a semantic type, and the semantic type may be a type of semantics expressed by at least one entity word in the entity word dictionary. For example, the number of preset entity word dictionaries may be three, and may specifically 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, it may specifically include 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 community case. For example, the entity word may include the entity word Vanke Xixi Butterfly Garden, Greenland Central Plaza, and the like. The type of semantics expressed by each entity word in the entity word dictionary DC may be a store, for example, it may specifically include the entity word KFC Yuanrong Times Square Store, Dezhuang Hot Pot Dream City Store. Then, 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, and the semantic type corresponding to the entity word dictionary DC may be a store. In this way, the server may determine the topic type corresponding to the text information; may select a corresponding entity word dictionary whose semantic type matches the topic type from a plurality of preset entity word dictionaries; may be based on the selected The entity word dictionary identifies at least one entity word from the text information.
The topic type corresponding to the text information may be a type of a topic expressed by the text information. For example, the theme expressed by the text information may be a community construction case, then the theme type corresponding to the text information may be real estate. For another example, the theme expressed by the text information may be a restaurant, and then the theme type corresponding to the text information may be a store. The matching between the semantic type and the topic type here can be understood as: the semantic type is consistent with the topic type in expression, or the semantic type and the topic type have the same meaning.
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) classification model, or a Convolutional Neural Networks (CNN) classification model. Alternatively, the data processing method may be applied to a system structure of a terminal device / server, and the functions implemented by the terminal device herein may be cross-referenced with the functions implemented by the second terminal device in the embodiment of the data processing system. Specifically, the terminal device may send a user identifier for identifying a user to the server. The server may receive the user identification; and may determine a theme type corresponding to the text information in step S10 based on the historical text information corresponding to the user identification. For example, the server may use the theme type corresponding to the historical text information as the theme type corresponding to the text information in step S10. Alternatively, the terminal device may provide a human-machine interaction interface. The user can input a theme type corresponding to the text information on the human-computer interaction interface. The terminal device may receive a theme type input by a user; and may send the theme type to the server. The server may receive the topic type.
Step S32: Acquire position information corresponding to each entity word.
In this embodiment, 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 longitude and latitude data, text used to describe the location, or an image used to describe the location. Of course, the location information may also be other information capable of indicating a location, which is not specifically limited in this embodiment.
In this embodiment, the server may obtain the position information corresponding to each entity word based on a preset interest point identification set. The point of interest identification set may include at least one point of interest identification. 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 geographic entity identified by the point of interest identifier. Specifically, for each entity word, the server may select an interest point identifier that matches the entity word from the interest point identifier set; and may use position information corresponding to the selected interest point identifier as the entity word corresponding 'S location. Here, matching the entity word with the POI can be understood as: the geographic entity described by the entity word is the same as the geographic entity identified by the POI.
In an implementation manner of this embodiment, the number of the preset interest point identification sets may be one. In this way, the server can obtain location information corresponding to each entity word based on the point of interest identification set.
In another implementation manner of this embodiment, the preset number of interest point identification sets may be multiple. Each point of interest identification set may correspond to a geographical area identification, and the geographical area identification may be used to identify a geographical area. The size of the geographic area can be flexibly set according to business needs, for example, it can be a street, a business circle, a city, a country, or an area composed of multiple countries. For example, the preset number of interest point identification sets may be three, and may specifically include the 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 geographic area of Suzhou, China. The geographic region identifier corresponding to the point of interest identifier set IB may be CN-SH, and the geographic region identifier CN-SH may be used to identify a geographic region of Shanghai, China. The geographic area identifier corresponding to the point of interest identification set IC may be CN-HZ, and the geographic area identifier CN-HZ may be used to identify the geographic area of Hangzhou, China. In this way, the server can obtain the geographic area identifier corresponding to the text information; and can select a set of interest point identifiers whose corresponding geographic area identifier matches the acquired geographic area identifier from a plurality of preset interest point identifier sets. ; Based on the selected point of interest identification set, obtain location information corresponding to each entity word. Here, the geographic area identifier corresponding to the point of interest identifier set is the first geographic area identifier, and the acquired geographic area identifier is the second geographic area identifier. Then, matching the first geographic area identifier with the second geographic area identifier can be understood as: the geographic area identified by the first geographic area identifier is the same as the geographic area identified by the second geographic area identifier, Alternatively, the geographic area identified by the second geographic area identifier is located within the geographic area identified by the first geographic area identifier.
In this embodiment, the data processing method may be applied to a system structure of a terminal device / server, and the functions implemented by the terminal device herein may be cross-referenced with the functions implemented by the second terminal device in the embodiment of the data processing system. The terminal device may provide a human-computer interaction interface. The user may input the geographic area identifier corresponding to the text information on the human-computer interaction interface. The terminal device may receive a geographic area identifier input by a user; and may send the geographic area identifier to the server. The server may receive the geographic area identification. Alternatively, the terminal device may have a positioning function. The positioning function can be implemented via GPS (Global
Positioning System (Global Positioning System), BDS (BeiDou
Navigation Satellite System),
GLONASS (GLONASS satellite navigation system), Galileo satellite navigation system (Galileo satellite navigation system), base station wireless signals, WIFI (Wireless-Fidelity (wireless fidelity) signals, Bluetooth) signals and other means to achieve, of course, It can also be achieved by any combination of the above methods. In this way, the terminal device can obtain its own location information (such as latitude and longitude data); it can send its own location information to the server. The server may receive the location information; may obtain a geographic area to which the received location information belongs; and may use a geographic area identifier of the geographic area as a geographic area identifier corresponding to the text information. Of course, the server may also obtain the geographic area identifier corresponding to the text information in other ways, which is not specifically limited in this embodiment.
Step S34: Associate each entity word with its corresponding location information.
In this embodiment, the server may associate each entity word with its corresponding location information, so that the location information can be obtained based on the entity words. 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. Of course, the server may also associate each entity word with its corresponding location information in other ways, which is not specifically limited in this embodiment.
Please refer to FIG. 3, FIG. 4 and FIG. 10 together. An example of a scenario in this embodiment is described below. The scenario example can be applied to the system architecture of a terminal device / server.
In this scenario example, the terminal device may run an article publishing application. The article publishing application can provide a human-computer interaction interface. The user can input text information, a theme type, and a geographic area identifier in the human-computer interaction interface. After the user completes the input, he can click the sending control in the human-computer interaction interface. After detecting that the sending control is clicked, the article publishing application may generate a text information sending instruction, and then may send the text information, the subject type, and the geographic area identifier to the server.
In this scenario example, the server may provide multiple preset entity word dictionaries and multiple preset interest point identification sets. Each entity word dictionary may correspond to a semantic type, and each interest point identification set may correspond to Geographical area identification. In this way, the server can receive the text information, the topic type, and the geographic area identifier; and can select from the preset multiple entity word dictionaries a corresponding semantic type that matches the received topic type. Entity word dictionary; at least one entity word can be identified from the received text information based on the selected entity word dictionary. The server may select an interest point identifier set whose corresponding geographic area identifier matches the received geographic area identifier from a plurality of preset interest point identifier sets; each entity may be obtained based on the selected interest point identifier set Location information for words. 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 can read the text information without interrupting the reading process, and can obtain the position of the geographic entity described by the entity word through the location information associated with the entity word, thereby improving the reading experience.
In this embodiment, the server can identify at least one entity word from the text information; can obtain location information corresponding to each entity word; and can associate each entity word with its corresponding location information. In this way, the user can read the text information without interrupting the reading process, and can obtain the position of the geographic entity described by the entity word through the location information associated with the entity word, thereby improving the reading experience.
See Figure 5. An embodiment of the present specification provides a terminal device. The terminal device may include the following units.
A providing unit 50 is configured to provide a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one entity word for describing a geographic entity; each entity word is associated with location information;
The display unit 52 is configured to display the location information associated with the target entity word on the human-computer interaction interface after receiving a trigger instruction for the target entity word in the human-computer interaction interface.
See Figure 6. The embodiment of the present specification also provides another terminal device. The terminal device may include a display component and a processor.
In this embodiment, the display component includes, but is not limited to, a liquid crystal (
Liquid Crystal Display (LCD) display, cathode ray tube (
Cathode Ray Tube (CRT) displays, and Light Emitting Diode (LED) displays. The display component may be used to display a human-computer interaction interface and location information.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take, for example, a microprocessor or processor, and a computer-readable medium, logic gate, switch, dedicated integrated circuit that stores computer-readable program code (such as software or firmware) executable by the (micro) processor. Circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller and embedded microcontroller form and so on. The processor may be used to control the display component to display a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one entity word for describing a geographic entity; each entity word Location information is associated; after receiving a trigger instruction for a target entity word in the human-computer interaction interface, controlling the display component to display the location information associated with the target entity word on the human-computer interaction interface.
See Figure 7. The embodiment of the present specification also provides another terminal device. The terminal device may include the following units.
A providing unit 70, configured to provide a human-computer interaction interface;
A receiving unit 72, configured to receive text information input by a user on the human-computer interaction interface;
A sending unit 74 is configured to send the text information to a server, so that the server can identify at least one entity word describing a geographic entity from the text information, and obtain position information corresponding to each entity word, Associate each entity word with its corresponding location information.
See Figure 6. The embodiment of the present specification also provides another terminal device. The terminal device may include a display component and a processor.
In this embodiment, the display component includes, but is not limited to, a liquid crystal (
Liquid Crystal Display (LCD) display, cathode ray tube (
Cathode Ray Tube (CRT) displays, and Light Emitting Diode (LED) displays. The display component may be used to display a human-computer interaction interface.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take, for example, a microprocessor or processor, and a computer-readable medium, logic gate, switch, dedicated integrated circuit that stores computer-readable program code (such as software or firmware) executable by the (micro) processor. Circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller and embedded microcontroller form and so on. The processor may be used to control the display component to display a human-machine interaction interface; receive text information input by a user on the human-machine interaction interface; send the text information to a server; so that the server can The text information identifies at least one entity word used to describe a geographic entity, obtains location information corresponding to each entity word, and associates each entity word with its corresponding location information.
See Figure 8. The embodiment of the present specification provides a server. The server may include the following units.
An identification unit 80, configured to identify at least one entity word from the text information; each entity word is used to describe a geographic entity;
An obtaining unit 82, configured to obtain position information corresponding to each entity word;
An association unit 84 is configured to associate each entity word with its corresponding location information.
See Figure 9. The embodiment of the present specification provides a server. The server may include a memory and a processor.
In this embodiment, the memory includes, but is not limited to, a dynamic random access memory (DRAM), a static random access memory (SRAM), and the like. The memory can be used for storing computer instructions.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take, for example, a microprocessor or processor and a computer-readable medium, logic gate, switch, special purpose computer-readable program code (e.g., software or firmware) that can be executed by the (micro) processor. Integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller and embedded microcontroller form and so on. The processor may be used to execute the computer instructions to implement the following steps: identifying at least one entity word from the text information; each entity word is used to describe a geographic entity; obtaining location information corresponding to each entity word; Entity words are associated with their corresponding location information.
It should be noted that each embodiment in the description of this application is described in a progressive manner, and the same and similar parts between the various embodiments may refer to each other. Each embodiment focuses on the differences from other embodiments. Office. In particular, for the server embodiment and the terminal device embodiment, since it is basically similar to the data processing method embodiment, the description is relatively simple. For the related parts, refer to the description of the data processing method embodiment.
In addition, those skilled in the art should be able to understand that after reading the specification of this application, those skilled in the art can combine some or all of the embodiments listed in this application without creative labor. These combinations are also described in this application. Within the scope of application disclosure and protection.
In the 1990s, for a technical improvement, it can be clearly distinguished whether it is an improvement in hardware (for example, the improvement of circuit structures such as diodes, transistors, switches, etc.) or an improvement in software (for method and process Improve). However, with the development of technology, the improvement of many methods and processes can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by a hardware entity module. For example, a programmable logic device (
A Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. Designers program themselves to "integrate" a digital system on a PLD, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip2. Moreover, today, instead of making integrated circuit chips manually, this programming is mostly implemented with "logic compiler" software, which is similar to the software compiler used in program development and writing. The original source code before compilation must also be written in a specific programming language. This is called the Hardware Description Language.
Language (HDL), and HDL is not the only one, but there are many types, such as 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), etc. At present, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2. Those skilled in the art should also be clear that as long as the method flow is logically programmed and integrated into the integrated circuit using the above-mentioned several hardware description languages, the hardware circuit that implements the logic method flow can be easily obtained.
The system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or by a product having a certain function. A typical implementation is a computer. Specifically, the computer may be, for example, a personal computer, a laptop, 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.
It can be known from the description of the foregoing embodiments that those skilled in the art can clearly understand that this specification can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solution of this specification, in essence, or part that contributes to the existing technology, can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, The optical disc and the like include a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present specification or some parts of the embodiment.
This manual can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, networked PCs, small computers, Mainframe computers, distributed computing environments including any of the above systems or equipment, and more.
This manual may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.
Although the specification is described through the embodiments, those skilled in the art know that there are many variations and changes in the specification without departing from the spirit of the specification, and it is expected that the appended claims include these modifications and changes without departing from the spirit of the specification.

S10‧‧‧步驟S10‧‧‧step

S12‧‧‧步驟 S12‧‧‧step

S20‧‧‧步驟 S20‧‧‧step

S22‧‧‧步驟 S22‧‧‧step

S24‧‧‧步驟 S24‧‧‧step

S30‧‧‧步驟 S30‧‧‧step

S32‧‧‧步驟 S32‧‧‧step

S34‧‧‧步驟 S34‧‧‧step

50‧‧‧提供單元 50‧‧‧Provided units

52‧‧‧展示單元 52‧‧‧Display Unit

70‧‧‧提供單元 70‧‧‧Provided units

72‧‧‧接收單元 72‧‧‧Receiving unit

74‧‧‧發送單元 74‧‧‧ sending unit

80‧‧‧識別單元 80‧‧‧Identification unit

82‧‧‧獲取單元 82‧‧‧Get Unit

84‧‧‧關聯單元 84‧‧‧ related units

為了更清楚地說明本說明書實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本說明書中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些圖式獲得其他的圖式。In order to more clearly explain the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art are briefly introduced below. Obviously, the drawings in the following description are only For some ordinary people skilled in the art, some embodiments described in the specification can also obtain other drawings according to these drawings without paying creative labor.

圖1為本說明書實施例中一種資料處理方法的流程圖; 1 is a flowchart of a data processing method in an embodiment of the present specification;

圖2為本說明書實施例中一種資料處理方法的流程圖; 2 is a flowchart of a data processing method in an embodiment of the present specification;

圖3為本說明書實施例中一種資料處理方法的流程圖; 3 is a flowchart of a data processing method in an embodiment of the present specification;

圖4為本說明書實施例中一種資料處理方法的示意圖; 4 is a schematic diagram of a data processing method in an embodiment of the present specification;

圖5為本說明書實施例中一種終端設備的功能結構示意圖; FIG. 5 is a functional structure diagram of a terminal device according to an embodiment of the present specification; FIG.

圖6為本說明書實施例中一種終端設備的功能結構示意圖; FIG. 6 is a functional structure diagram of a terminal device according to an embodiment of the present specification; FIG.

圖7為本說明書實施例中一種終端設備的功能結構示意圖; 7 is a functional structure diagram of a terminal device according to an embodiment of the present specification;

圖8為本說明書實施例中一種伺服器的功能結構示意圖; FIG. 8 is a functional structure diagram of a server in the embodiment of the present specification; FIG.

圖9為本說明書實施例中一種伺服器的功能結構示意圖; FIG. 9 is a schematic diagram of a functional structure of a server in the embodiment of the present specification; FIG.

圖10為本說明書實施例中一種人機交互界面的示意圖; FIG. 10 is a schematic diagram of a human-computer interaction interface in an embodiment of the present specification; FIG.

圖11為本說明書實施例中一種人機交互界面的示意圖; FIG. 11 is a schematic diagram of a human-computer interaction interface in an embodiment of the present specification; FIG.

圖12為本說明書實施例中使用者對實體詞進行點擊的示意圖; FIG. 12 is a schematic diagram of a user clicking on an entity word in the embodiment of the specification; FIG.

圖13為本說明書實施例中在人機交互界面展示位置資訊的示意圖。 FIG. 13 is a schematic diagram of displaying position information on a human-computer interaction interface in an embodiment of the present specification.

Claims (28)

一種資料處理方法,包括: 提供人機交互界面;在所述人機交互界面展示有文字資訊;所述文字資訊包括至少一個用於描述地理實體的實體詞;每個實體詞關聯有位置資訊; 在接收到針對所述人機交互界面中目標實體詞的觸發指令以後,在所述人機交互界面展示所述目標實體詞關聯的位置資訊。A data processing method includes: Provide a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one entity word describing a geographic entity; each entity word is associated with location information; After receiving a trigger instruction for the target entity word in the human-computer interaction interface, the position information associated with the target entity word is displayed on the human-computer interaction interface. 如請求項1所述的方法,所述文字資訊中的實體詞在所述人機交互界面突出展示。According to the method of claim 1, the entity words in the text information are prominently displayed on the human-computer interaction interface. 如請求項1所述的方法,每個實體詞具有指向該實體詞所關聯位置資訊的超鏈接。According to the method of claim 1, each entity word has a hyperlink to location information associated with the entity word. 如請求項1所述的方法,所述觸發指令是在監測到所述目標實體詞被按下、點擊、雙擊、或劃過時產生。According to the method of claim 1, the trigger instruction is generated when it is detected that the target entity word is pressed, clicked, double-clicked, or swiped. 如請求項1所述的方法,所述在所述人機交互界面展示所述目標實體詞關聯的位置資訊,包括: 向伺服器請求獲取所述目標實體詞關聯的位置資訊; 接收所述伺服器反饋的位置資訊; 在所述人機交互界面展示所述伺服器反饋的位置資訊。The method according to claim 1, wherein displaying the location information associated with the target entity word on the human-computer interaction interface includes: Requesting a server to obtain location information associated with the target entity word; Receiving position information fed back by the server; Displaying the position information fed back by the server on the human-computer interaction interface. 如請求項1所述的方法,所述在所述人機交互界面展示所述目標實體詞關聯的位置資訊,包括: 在所述人機交互界面展示資訊窗口;在所述資訊窗口展示所述目標實體詞關聯的位置資訊。The method according to claim 1, wherein displaying the location information associated with the target entity word on the human-computer interaction interface includes: Displaying an information window on the human-computer interaction interface; and displaying position information associated with the target entity word in the information window. 如請求項6所述的方法,所述資訊窗口覆蓋於所述人機交互界面的部分區域或全部區域之上。According to the method of claim 6, the information window covers a part or all of the human-computer interaction interface. 如請求項6所述的方法,所述在所述資訊窗口展示所述目標實體詞關聯的位置資訊,包括: 在所述資訊窗口展示電子地圖;在所述電子地圖中對所述目標實體詞關聯的位置資訊所表示的位置進行標註。The method according to claim 6, wherein the displaying the location information associated with the target entity word in the information window comprises: Display an electronic map in the information window; and mark the position indicated by the position information associated with the target entity word in the electronic map. 如請求項6所述的方法,所述方法還包括: 在接收到關閉所述資訊窗口的觸發指令以後,關閉所述資訊窗口。The method according to claim 6, further comprising: After receiving a trigger instruction to close the information window, the information window is closed. 如請求項9所述的方法,所述關閉所述資訊窗口的觸發指令是在監測到指定區域被按下、點擊、雙擊、或劃過時產生。The method according to claim 9, wherein the trigger instruction for closing the information window is generated when it is detected that a specified area is pressed, clicked, double-clicked, or swiped. 如請求項10所述的方法,所述指定區域為所述人機交互界面中除去所述資訊窗口所佔據區域以外的其它任意區域。According to the method of claim 10, the designated area is an arbitrary area other than an area occupied by the information window in the human-computer interaction interface. 一種終端設備,包括: 提供單元,用於提供人機交互界面;在所述人機交互界面展示有文字資訊;所述文字資訊包括至少一個用於描述地理實體的實體詞;每個實體詞關聯有位置資訊; 展示單元,用於在接收到針對所述人機交互界面中目標實體詞的觸發指令以後,在所述人機交互界面展示所述目標實體詞關聯的位置資訊。A terminal device includes: A providing unit for providing a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one entity word describing a geographic entity; each entity word is associated with location information; The display unit is configured to display the location information associated with the target entity word on the human-computer interaction interface after receiving a trigger instruction for the target entity word in the human-computer interaction interface. 一種終端設備,包括: 顯示組件,用於展示人機交互界面和位置資訊; 處理器,用於控制所述顯示組件展示人機交互界面;在所述人機交互界面展示有文字資訊;所述文字資訊包括至少一個用於描述地理實體的實體詞;每個實體詞關聯有位置資訊;在接收到針對所述人機交互界面中目標實體詞的觸發指令以後,控制所述顯示組件在所述人機交互界面展示所述目標實體詞關聯的位置資訊。A terminal device includes: Display component for displaying human-computer interaction interface and location information; A processor for controlling the display component to display a human-computer interaction interface; text information is displayed on the human-computer interaction interface; the text information includes at least one entity word for describing a geographic entity; each entity word is associated with Location information; after receiving a trigger instruction for a target entity word in the human-computer interaction interface, controlling the display component to display the location information associated with the target entity word on the human-computer interaction interface. 一種資料處理方法,包括: 提供人機交互界面; 接收使用者在所述人機交互界面輸入的文字資訊; 向伺服器發送所述文字資訊;以便所述伺服器能夠從所述文字資訊中識別出至少一個用於描述地理實體的實體詞,獲取每個實體詞對應的位置資訊,將每個實體詞與其對應的位置資訊進行關聯。A data processing method includes: Provide human-computer interaction interface; Receiving text information input by a user on the human-computer interaction interface; Sending the text information to a server; so that the server can identify at least one entity word describing a geographic entity from the text information, obtain position information corresponding to each entity word, and associate each entity word with Corresponding location information. 如請求項14所述的方法,所述方法還包括: 接收使用者在所述人機交互界面輸入的主題類型; 向所述伺服器發送所述主題類型;以便所述伺服器能夠基於所述主題類型從所述文字資訊中識別出至少一個用於描述地理實體的實體詞。The method of claim 14, further comprising: Receiving a theme type input by a user in the human-computer interaction interface; Sending the topic type to the server; so that the server can identify at least one entity word for describing a geographic entity from the text information based on the topic type. 如請求項14所述的方法,所述方法還包括: 接收使用者在所述人機交互界面輸入的地理區域標識; 向所述伺服器發送所述地理區域標識;以便所述伺服器能夠基於所述地理區域標識獲取每個實體詞對應的位置資訊。The method of claim 14, further comprising: Receiving a geographic area identifier input by a user on the human-computer interaction interface; Sending the geographic area identifier to the server; so that the server can obtain location information corresponding to each entity word based on the geographic area identifier. 一種終端設備,包括: 提供單元,用於提供人機交互界面; 接收單元,用於接收使用者在所述人機交互界面輸入的文字資訊; 發送單元,用於向伺服器發送所述文字資訊;以便所述伺服器能夠從所述文字資訊中識別出至少一個用於描述地理實體的實體詞,獲取每個實體詞對應的位置資訊,將每個實體詞與其對應的位置資訊進行關聯。A terminal device includes: A providing unit for providing a human-computer interaction interface; A receiving unit, configured to receive text information input by a user on the human-computer interaction interface; A sending unit, configured to send the text information to a server; so that the server can identify at least one entity word describing a geographic entity from the text information, obtain position information corresponding to each entity word, and Each entity word is associated with its corresponding location information. 一種終端設備,包括: 顯示組件,用於展示人機交互界面; 處理器,用於控制所述顯示組件展示人機交互界面;接收使用者在所述人機交互界面輸入的文字資訊;向伺服器發送所述文字資訊;以便所述伺服器能夠從所述文字資訊中識別出至少一個用於描述地理實體的實體詞,獲取每個實體詞對應的位置資訊,將每個實體詞與其對應的位置資訊進行關聯。A terminal device includes: A display component for displaying a human-computer interaction interface; A processor for controlling the display component to display a human-computer interaction interface; receiving text information input by a user on the human-computer interaction interface; sending the text information to a server; so that the server can use the text from the text The information identifies at least one entity word that is used to describe a geographic entity, obtains location information corresponding to each entity word, and associates each entity word with its corresponding location information. 一種資料處理方法,包括: 從文字資訊中識別出至少一個實體詞;每個實體詞用於描述地理實體; 獲取每個實體詞對應的位置資訊; 將每個實體詞與其對應的位置資訊進行關聯。A data processing method includes: Identify at least one entity word from the text information; each entity word is used to describe a geographic entity; Obtain the location information corresponding to each entity word; Associate each entity word with its corresponding location information. 如請求項19所述的方法,所述從文字資訊中識別出至少一個實體詞,包括: 基於預置的實體詞詞典,從文字資訊中識別出至少一個實體詞。The method according to claim 19, wherein the identifying at least one entity word from the text information includes: Based on a preset entity word dictionary, at least one entity word is identified from the text information. 如請求項20所述的方法,所述從文字資訊中識別出至少一個實體詞,包括: 將文字資訊進行分詞處理,得到分詞集合;所述分詞集合包括至少一個分詞; 從所述分詞集合中篩選出在所述實體詞詞典中匹配有實體詞的分詞,作為實體詞。The method according to claim 20, wherein the identifying at least one entity word from the text information comprises: Word processing is performed on the text information to obtain a word segmentation set; the word segmentation set includes at least one word segmentation; The participles matching the entity words in the entity word dictionary are selected from the participle set as entity words. 如請求項20所述的方法,預置的實體詞詞典的數量為多個;每個實體詞詞典對應有語義類型;相應地,所述從文字資訊中識別出至少一個實體詞,包括: 確定文字資訊對應的主題類型; 選取對應的語義類型與所述主題類型相匹配的實體詞詞典; 基於選取的實體詞詞典,從文字資訊中識別出至少一個實體詞。The method according to claim 20, the number of preset entity word dictionaries is multiple; each entity word dictionary corresponds to a semantic type; correspondingly, identifying at least one entity word from the text information includes: Determine the type of subject to which the text information corresponds; Selecting a dictionary of entity words whose corresponding semantic type matches the topic type; Based on the selected entity word dictionary, at least one entity word is identified from the text information. 如請求項19所述的方法,所述獲取每個實體詞對應的位置資訊,包括: 基於預置的興趣點標識集合,獲取每個實體詞對應的位置資訊;所述興趣點標識集合包括至少一個興趣點標識;每個興趣點標識用於標識地理實體、且對應有位置資訊。The method according to claim 19, wherein the acquiring location information corresponding to each entity word includes: The location information corresponding to each entity word is obtained based on a preset interest point identifier set; the interest point identifier set includes at least one interest point identifier; each interest point identifier is used to identify a geographic entity and corresponds to location information. 如請求項23所述的方法,所述獲取每個實體詞對應的位置資訊,包括: 針對每個實體詞,從所述興趣點標識集合中選取與該實體詞相匹配的興趣點標識;將選取的興趣點標識對應的位置資訊作為該實體詞對應的位置資訊。The method according to claim 23, wherein the acquiring location information corresponding to each entity word includes: For each entity word, an interest point identifier matching the entity word is selected from the interest point identifier set; and position information corresponding to the selected interest point identifier is used as position information corresponding to the entity word. 如請求項23所述的方法,預置的興趣點標識集合的數量為多個;每個興趣點標識集合對應有地理區域標識;相應地,所述獲取每個實體詞對應的位置資訊,包括: 獲取文字資訊對應的地理區域標識; 選取對應的地理區域標識與獲取的地理區域標識相匹配的興趣點標識集合; 基於選取的興趣點標識集合,獲取每個實體詞對應的位置資訊。The method according to claim 23, the number of preset interest point identifier sets is multiple; each interest point identifier set corresponds to a geographical area identifier; correspondingly, the acquiring position information corresponding to each entity word includes: : Get the geographic area identifier corresponding to the text information; Selecting a point of interest identifier set whose corresponding geographic region identifier matches the acquired geographic region identifier; Based on the selected interest point identification set, position information corresponding to each entity word is obtained. 如請求項19所述的方法,所述將每個實體詞與其對應的位置資訊進行關聯,包括: 為每個實體詞添加指向該實體詞所對應位置資訊的超鏈接。The method according to claim 19, wherein the associating each entity word with its corresponding location information includes: For each entity word, add a hyperlink to the location information corresponding to the entity word. 一種伺服器,包括: 識別單元,用於從文字資訊中識別出至少一個實體詞;每個實體詞用於描述地理實體; 獲取單元,用於獲取每個實體詞對應的位置資訊; 關聯單元,用於將每個實體詞與其對應的位置資訊進行關聯。A server including: A recognition unit, configured to identify at least one entity word from the text information; each entity word is used to describe a geographic entity; An obtaining unit, configured to obtain position information corresponding to each entity word; An association unit is used to associate each entity word with its corresponding location information. 一種伺服器,包括: 儲存器,用於儲存電腦指令; 處理器,用於執行所述電腦指令實現以下步驟:從文字資訊中識別出至少一個實體詞;每個實體詞用於描述地理實體;獲取每個實體詞對應的位置資訊;將每個實體詞與其對應的位置資訊進行關聯。A server including: Memory for storing computer instructions; A processor configured to execute the computer instructions to implement the following steps: identifying at least one entity word from text information; each entity word is used to describe a geographic entity; obtaining position information corresponding to each entity word; and each entity word Associate with its corresponding location.
TW108104725A 2018-04-12 2019-02-13 Data processing method, terminal equipment and server TWI697812B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201810325655.4 2018-04-12
CN201810325655.4A CN108804505A (en) 2018-04-12 2018-04-12 Data processing method, terminal device and server
??201810325655.4 2018-04-12

Publications (2)

Publication Number Publication Date
TW201944208A true TW201944208A (en) 2019-11-16
TWI697812B TWI697812B (en) 2020-07-01

Family

ID=64095538

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108104725A TWI697812B (en) 2018-04-12 2019-02-13 Data processing method, terminal equipment and server

Country Status (3)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804505A (en) * 2018-04-12 2018-11-13 阿里巴巴集团控股有限公司 Data processing method, terminal device and server
CN111339388B (en) * 2019-06-13 2021-07-27 海通证券股份有限公司 Information crawling system
CN113486215A (en) * 2021-07-05 2021-10-08 中国工商银行股份有限公司 Data display method, device and equipment based on data relevance

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376038A (en) * 2014-09-12 2015-02-25 中国人民解放军信息工程大学 Position associated text information visualization method based on label cloud
CN104361074A (en) * 2014-11-11 2015-02-18 广州睿阔信息科技有限公司 Information processing method and system for associating geographical location information with World wide web resources
CN107423362B (en) * 2017-06-20 2021-06-08 创新先进技术有限公司 Industry determining method, object obtaining method and device, client and server
CN112765494A (en) * 2017-06-20 2021-05-07 创新先进技术有限公司 Search method and search device
CN107577819A (en) * 2017-09-30 2018-01-12 百度在线网络技术(北京)有限公司 A kind of content of text shows method, apparatus, computer equipment and storage medium
CN108804505A (en) * 2018-04-12 2018-11-13 阿里巴巴集团控股有限公司 Data processing method, terminal device and server

Also Published As

Publication number Publication date
CN108804505A (en) 2018-11-13
TWI697812B (en) 2020-07-01
WO2019196548A1 (en) 2019-10-17

Similar Documents

Publication Publication Date Title
US10841265B2 (en) Apparatus and method for providing information
US11166087B2 (en) Cross-device handoffs
US9769634B2 (en) Providing personalized content based on historical interaction with a mobile device
CN106663427B (en) Cache device for service voice pronunciation
CN106416318B (en) The method, apparatus and system of determining data associated with neighbouring calculating equipment
US20180096072A1 (en) Personalization of a virtual assistant
RU2705431C2 (en) Inactive area for touch surface based on contextual information
US8990344B2 (en) Custom event and attraction suggestions
US8943092B2 (en) Digital ink based contextual search
EP3368970B1 (en) Target selection on a small form factor display
CN107426272A (en) A kind of small routine method for pushing, device and computer-readable storage medium
TWI697812B (en) Data processing method, terminal equipment and server
US11080328B2 (en) Predictively presenting search capabilities
US20160350136A1 (en) Assist layer with automated extraction
AU2019257433B2 (en) Device, method and graphic user interface used to move application interface element
EP3610376B1 (en) Automatic context passing between applications
CN113779427B (en) Schedule address recognition method, schedule address recognition apparatus, storage medium, and software program product
US20140195951A1 (en) Method for managing schedule and electronic device thereof
WO2019104669A1 (en) Information input method and terminal