JP7166381B2 - INQUIRY METHOD, DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM - Google Patents

INQUIRY METHOD, DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM Download PDF

Info

Publication number
JP7166381B2
JP7166381B2 JP2021052984A JP2021052984A JP7166381B2 JP 7166381 B2 JP7166381 B2 JP 7166381B2 JP 2021052984 A JP2021052984 A JP 2021052984A JP 2021052984 A JP2021052984 A JP 2021052984A JP 7166381 B2 JP7166381 B2 JP 7166381B2
Authority
JP
Japan
Prior art keywords
entity
query
time
dynamic
target entity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021052984A
Other languages
Japanese (ja)
Other versions
JP2021103579A (en
Inventor
ショアンチュアン ヤン
ヤン チャン
イー シエ
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Publication of JP2021103579A publication Critical patent/JP2021103579A/en
Application granted granted Critical
Publication of JP7166381B2 publication Critical patent/JP7166381B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/732Query formulation
    • G06F16/7343Query language or query format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2452Query translation
    • G06F16/24522Translation of natural language queries to structured queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2465Query processing support for facilitating data mining operations in structured databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/787Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Fuzzy Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本願は、人工知能の分野に関し、特に、ビッグデータ技術における時空間ビッグデータ技術の分野に関する。具体的には、本願は、照会方法、装置、電子機器及び記憶媒体を提供する。 The present application relates to the field of artificial intelligence, particularly to the field of spatio-temporal big data technology in big data technology. Specifically, the present application provides query methods, devices, electronic devices and storage media.

インターネットが普及している環境では、毎日、各種類のモニタやバヨネットなどの収集機器によって、多くのユーザの行為データが生成される。ここで、行為データは、宿泊行為、交通出かけ行為、通話行為、宅配行為、犯罪拘留行為などを含み得る。これらの行為データに基づいて、各種類のエンティティ間の動的関連関係を分析して得ることができ、それにより異なる人、車、又は機器の間の暗黙的な関係を発見し、これはケースの調査と判断、安全の維持、テロ、暴力などのセキュリティシナリオに対して重要な意味を持つ。 In an environment where the Internet is widely used, a large amount of user behavior data is generated every day by collecting devices such as various types of monitors and bayonets. Here, the behavior data can include lodging behavior, transportation behavior, phone behavior, home delivery behavior, criminal detention behavior, and the like. Based on these behavioral data, we can analyze and obtain dynamic association relationships between each type of entity, thereby discovering implicit relationships between different people, vehicles, or equipment, which can be used in cases investigation and judgment, maintenance of safety, terrorism, and security scenarios such as violence.

従来技術では、各種類のエンティティ間の動的関連関係の照会には、主にマップリデュース(map reduce)方式が採用される。具体的には、Hive(ハイブ)データベースからオブジェクト関係マッピングフレームワーククエリ言語(hibernate query language、HQL)を使用するか、又は分散型照会プログラムを作成することにより、照会とソートの計算を実行することができる。 In the prior art, a map reduce method is mainly adopted to query the dynamic relation between each kind of entity. Specifically, performing query and sort computations from the Hive database using the object-relational mapping framework query language (HQL) or by writing distributed query programs. can be done.

しかしながら、マップリデュース方式を用いて動的関連関係を照会する場合、一般に照会速度が遅いという問題がある。 However, querying dynamic associations using the map-reduce method generally has a problem of slow query speed.

本願は、照会方法、装置、電子機器及び記憶媒体を提供する。 The present application provides an inquiry method, an apparatus, an electronic device and a storage medium.

本願の第1の態様にて提供される照会方法は、
端末機器によって送信される照会要求を受信するステップであって、前記照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、前記照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含むステップと、
前記照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定し、前記タイムバケットの各々には、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納されているステップと、
前記少なくとも1つのタイムバケット内で、前記ターゲットエンティティの識別子に基づいて前記ターゲットエンティティの動的関連関係を照会するステップと、を含む。
The query method provided in the first aspect of the present application comprises:
a step of receiving an inquiry request sent by a terminal device, the inquiry request being used to request an inquiry of a dynamic association relationship of a target entity, the inquiry request including an identifier of the target entity and an inquiry request; a step that includes a start time and an end time;
determining at least one time bucket to be queried in a query database based on the start time and end time of the query, each of the time buckets including the movement of the target entity within the time period corresponding to the time bucket; a step in which the relational relationship is stored;
and querying the dynamic association relationship of the target entity based on the identifier of the target entity within the at least one time bucket.

本願の第2の態様にて提供される照会装置は、
端末機器によって送信される照会要求を受信するための受信モジュールであって、前記照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、前記照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む受信モジュールと、
前記照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定するための処理モジュールであって、前記タイムバケットの各々には、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納される処理モジュールと、
前記少なくとも1つのタイムバケットにおいて前記ターゲットエンティティの動的関連関係を照会するための照会モジュールと、を含む。
The inquiry device provided in the second aspect of the present application comprises:
A receiving module for receiving an inquiry request sent by a terminal device, wherein the inquiry request is used to request inquiry of a dynamic association relationship of a target entity, the inquiry request includes an identifier of the target entity and a receiving module containing the start time and end time of the inquiry;
A processing module for determining at least one time bucket to be queried in a query database based on the start time and end time of the query, each of the time buckets including a time corresponding to the time bucket. a processing module in which dynamic associations of target entities in a band are stored;
a query module for querying the dynamic association relationship of the target entity in the at least one time bucket.

本願の第3の態様にて提供される電子機器は、
少なくとも1つのプロセッサと、
前記少なくとも1つのプロセッサと通信可能に接続されるメモリと、を含み、
前記メモリには、前記少なくとも1つのプロセッサによって実行可能な命令が格納され、前記命令は、前記少なくとも1つのプロセッサが第1の態様に記載の方法を実行できるように、前記少なくとも1つのプロセッサによって実行される。
The electronic device provided in the third aspect of the present application includes:
at least one processor;
a memory communicatively coupled to the at least one processor;
The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of the first aspect. be done.

本願の第4の態様はコンピュータ命令が格納されている非一時的コンピュータ読み取り可能な記憶媒体を提供し、コンピュータ命令は、前記コンピュータに上記の第1の態様に記載の方法を実行させるために用いられる。 A fourth aspect of the present application provides a non-transitory computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause the computer to perform the method of the first aspect above. be done.

本願の第5の態様にて提供される照会方法は、
前記照会要求における照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定し、前記タイムバケットの各々には、当該タイムバケットに対応する時間帯内のエンティティの動的関連関係が格納されているステップと、
前記少なくとも1つのタイムバケットから前記照会要求におけるターゲットエンティティの動的関連関係を照会するステップと、を含む。
The query method provided in the fifth aspect of the present application comprises:
determining at least one time bucket to be queried in a query database based on the query start time and end time in the query request, each of the time buckets including an entity within the time zone corresponding to the time bucket; a step in which the dynamic association of
and querying dynamic association relationships of target entities in the query request from the at least one time bucket.

第6の態様は、コンピュータプログラムを提供し、前記コンピュータプログラムは、コンピュータ可読記憶媒体に記憶され、電子機器の少なくとも1つのプロセッサは、前記コンピュータ可読記憶媒体から前記コンピュータプログラムを読み取ることができ、前記少なくとも1つのプロセッサは、前記コンピュータプログラムを実行することによって、前記電子機器に上記の第1の態様に記載の方法を実行させる。 A sixth aspect provides a computer program, said computer program stored in a computer-readable storage medium, at least one processor of an electronic device being readable from said computer-readable storage medium, said At least one processor causes the electronic device to perform the method according to the first aspect above by executing the computer program.

本願の技術によれば、動的関連関係に関する照会速度が遅いという従来技術の問題を解決することができる。本願は、従来技術と比較して、タイムバケット方式を用いて、ターゲットエンティティの動的関連情報を照会することで、演算量を効果的に減少し、動的関連情報の照会速度を向上させることができる。 The technology of the present application can solve the problem of the prior art that the query speed for dynamic associations is slow. Compared with the prior art, the present application uses the time bucket method to query the dynamic related information of the target entity, thereby effectively reducing the amount of computation and improving the query speed of the dynamic related information. can be done.

本明細書に記載の内容は、本願の実施例の肝心な特徴又は重要な特徴を特定することを意図したものではなく、本願の範囲を限定することを意図したものでもないことを理解されたい。本願のその他の特徴は、以下の明細書によって容易に理解される。 It should be understood that nothing in this specification is intended to identify key or critical features of the embodiments of the application, nor is it intended to limit the scope of the application. . Other features of the present application will be readily understood from the following specification.

図面は、本実施形態をより良く理解するために使用され、本願の制限を構成するものではない。 The drawings are used for a better understanding of the embodiments and do not constitute a limitation of the present application.

本願の実施例にて提供される照会方法のシナリオの概略図である。1 is a schematic diagram of a query method scenario provided in an embodiment of the present application; FIG. 本願の実施例にて提供される照会方法の概略フローチャートである。1 is a schematic flow chart of a query method provided in an embodiment of the present application; 本願の実施例にて提供される別の照会方法の概略フローチャートである。4 is a schematic flow chart of another query method provided in an embodiment of the present application; 本願の実施例にて提供されるさらに別の照会方法の概略フローチャートである。FIG. 4 is a schematic flow chart of yet another query method provided in an embodiment of the present application; FIG. 本願の実施例にて提供されるさらなる照会方法の概略フローチャートである。Fig. 4 is a schematic flow chart of a further query method provided in embodiments of the present application; 本願の実施例にて提供されるさらなる照会方法の概略フローチャートである。Fig. 4 is a schematic flow chart of a further query method provided in embodiments of the present application; 本願の実施例にて提供される照会装置の概略構造図である。1 is a schematic structural diagram of an inquiry device provided in an embodiment of the present application; FIG. 本開示の実施例の照会方法を実現するための電子機器のブロック図である。FIG. 3 is a block diagram of an electronic device for implementing the query method of the embodiments of the present disclosure;

以下、図面を参照しながら本願の例示的な実施例を説明するが、この説明には、理解を容易にするために本願の実施例の様々な詳細事項が含まれており、それらは単なる例示的なものと見なされるべきである。したがって、当業者は、本願の範囲及び精神から逸脱することなく、ここで説明される実施例に対して様々な変更と修正を行うことができること理解できる。同様に、わかりやすくかつ簡潔にするために、以下の説明では、周知の機能及び構造についての説明を省略する。 DETAILED DESCRIPTION OF THE INVENTION Illustrative embodiments of the present application will now be described with reference to the drawings, wherein various details of the embodiments of the present application are included in this description for ease of understanding and are merely exemplary. should be regarded as Accordingly, those skilled in the art can appreciate that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. Similarly, for the sake of clarity and brevity, the following description omits descriptions of well-known functions and constructions.

インターネットが普及している環境では、毎日、各種類のモニタやバヨネットなどの収集機器によって、多くのユーザの行為データが生成される。ここで、行為データは、宿泊行為、交通出かけ行為、通話行為、宅配行為、犯罪拘留行為などを含み得る。これらの行為データに基づいて、各種類のエンティティ間の動的関連関係を分析して得ることができ、それにより異なる人、車、又は機器の間の暗黙的な関係を発見し、これはケースの調査と判断、安全の維持、テロ、暴力などのセキュリティシナリオに対して重要な意味を持つ。 In an environment where the Internet is widely used, a large amount of user behavior data is generated every day by collecting devices such as various types of monitors and bayonets. Here, the behavior data can include lodging behavior, transportation behavior, phone behavior, home delivery behavior, criminal detention behavior, and the like. Based on these behavioral data, we can analyze and obtain dynamic association relationships between each type of entity, thereby discovering implicit relationships between different people, vehicles, or equipment, which can be used in cases investigation and judgment, maintenance of safety, terrorism, and security scenarios such as violence.

従来技術では、各種類のエンティティ間の動的関連関係の照会には、主にマップリデュース(map reduce)方式が採用される。具体的には、Hiveデータベースからオブジェクト関係マッピングフレームワーククエリ言語(hibernate query language,HQL)を使用するか、又は分散型照会プログラムを作成することにより、照会とソートの計算を実行することができる。 In the prior art, a map reduce method is mainly adopted to query the dynamic relation between each kind of entity. Specifically, query and sort computations can be performed using the object relational mapping framework query language (HQL) from the Hive database or by writing a distributed query program.

しかしながら、マップリデュース方式を用いて動的関連関係を照会する場合、一般に照会速度が遅いという問題がある。 However, querying dynamic associations using the map-reduce method generally has a problem of slow query speed.

本願は、動的関連関係に関する照会速度が遅いという従来技術の問題を解決するために、人工知能の分野に適用され、特に、ビッグデータ技術における時空間ビッグデータ技術の分野に関する照会方法、装置、電子機器及び記憶媒体を提供する。本願の発明の構想は、データを格納するときに、タイムバケット別にデータを格納し、照会時に照会の開始時間と終了時間に基づいて、対応するタイムバケット中のターゲットエンティティの動的関連情報を検索することができ、照会速度を向上させることができる。 The present application is applied to the field of artificial intelligence, in order to solve the problem of the prior art that the query speed of the dynamic relation is slow, especially the query method, device, related to the field of spatio-temporal big data technology in big data technology. The Company provides electronic devices and storage media. The idea of the present invention is to store data by time buckets when storing data, and when querying, based on the query start time and end time, retrieve the dynamic related information of the target entity in the corresponding time bucket. and can improve query speed.

以下、本願の使用シナリオについて説明する。 A usage scenario of the present application is described below.

図1は、本願の実施例にて提供される照会方法のシナリオの概略図である。図1に示すように、このシナリオは、ある期間におけるあるターゲットエンティティの動的関連情報を照会するように、端末機器101によりサーバ102に照会要求を送信するために用いられる。サーバ102は、端末機器101により送信された照会要求を受信した後、照会要求に応じて照会し、見つけたターゲットエンティティの動的関連情報をソートしてから端末機器101に送り返すことができる。 FIG. 1 is a schematic diagram of a query method scenario provided in an embodiment of the present application. As shown in FIG. 1, this scenario is used by the terminal device 101 to send a query request to the server 102 to query the dynamic association information of a certain target entity in a certain period of time. After receiving the query request sent by the terminal device 101, the server 102 can query according to the query request, sort the dynamic related information of the found target entity, and send it back to the terminal device 101.

ここで、サーバ102は、1台のサーバであってもよいし、又はクラウドサービスプラットフォームにおけるサーバであってもよい。端末機器101は、携帯電話(mobile phone)、タブレット(pad)、ワイヤレストランシーバ機能付きのコンピュータ、仮想現実(virtual reality、VR)端末機器、拡張現実(augmented reality、AR)端末機器、産業制御(industrial control)における無線端末、遠隔手術(remote medical surgery)における無線端末、スマートグリッド(smart grid)における無線端末、スマートホーム(smart home)における無線端末などであり得る。本願の実施例において、端末の機能を実現するための装置は、端末機器であってもよいし、チップシステムなど、当該機能を実現するように端末をサポートできる装置であってもよく、当該装置は、端末機器に取り付けられてもよい。本願の実施例において、チップシステムは、チップで構成されてもよく、チップとその他の個別部品を含んでもよい。 Here, the server 102 may be a single server or a server in a cloud service platform. The terminal device 101 includes a mobile phone, a tablet (pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, and an industrial control device. wireless terminal in control, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in smart home, and so on. In the embodiments of the present application, the device for realizing the function of the terminal may be a terminal device, or a device capable of supporting the terminal to realize the function, such as a chip system. may be attached to the terminal equipment. In embodiments of the present application, a chip system may consist of a chip or may include a chip and other discrete components.

なお、本願の技術的解決手段の適用シナリオは、図1におけるシナリオであってもよいが、これに限定されるものではなく、その他の情報照会を必要とするシナリオにも適用できる。 It should be noted that the application scenario of the technical solution of the present application may be the scenario in FIG. 1, but is not limited to this, and can also be applied to other scenarios that require information inquiry.

上記の照会方法は、本願の実施例にて提供される照会装置により実現することができ、照会装置は、例えば、サーバ又はサーバ内のプロセッサのように、ある機器の一部又は全部であり得ることを理解することができる。 The above inquiry method can be implemented by the inquiry device provided in the embodiments of the present application, and the inquiry device can be part or all of a device, such as a server or a processor within a server. can understand.

以下、関連の実行コードが統合又はインストールされたサーバを例とし、具体的な実施例を挙げて本願の実施例の技術的解決手段を詳細に説明する。以下のいくつかの具体的な実施例を互いに組み合わせてもよく、同じ又は同様の概念又はプロセスについては、一部の実施例では、詳細な説明を省略した。 In the following, the technical solutions of the embodiments of the present application will be described in detail by taking a server integrated or installed with related execution codes as an example and taking specific embodiments. Some of the specific examples below may be combined with each other, and the same or similar concepts or processes have not been described in detail in some examples.

図2は、本願の実施例にて提供される照会方法の概略フローチャートであり、本実施例は、ターゲットエンティティの動的関連情報をどのように照会するかというプロセスに関する。図2に示すように、当該方法は、S201と、S202と、を含む。 FIG. 2 is a schematic flow chart of a query method provided in an embodiment of the present application, which relates to the process of how to query dynamic related information of a target entity. As shown in FIG. 2, the method includes S201 and S202.

S201において、端末機器によって送信される照会要求を受信し、照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む。 In S201, receive an inquiry request sent by the terminal device, the inquiry request is used to request inquiry of the dynamic association relationship of the target entity, the inquiry request includes the identifier of the target entity and the start time of the inquiry; Includes end time.

ここで、動的関連関係はエンティティ間の付随関係であってもよく、本願の実施例では動的関連関係のタイプについて限定しない。例示的に、動的関連関係は、2つのエンティティが同じ建物又は交通機関内にある関係、即ち同じフレームワークの関係であってもよい。例示的に、動的関連関係は、2つのエンティティの移動線路が一致する関係、即ち同行関係であってもよい。また、エンティティは、人であってもよいし、自動車などの物体であってもよい。ターゲットエンティティの識別子は、誰かの身分証明番号、車両のプレートナンバー、誰かの携帯番号などであってもよい。 Here, the dynamic association relationship may be an association relationship between entities, and the embodiments of the present application do not limit the type of dynamic association relationship. Illustratively, a dynamic association relationship may be a relationship in which two entities are within the same building or transportation system, ie in the same framework. Illustratively, the dynamic association relationship may be a relationship in which the lines of movement of the two entities coincide, ie, a companion relationship. Also, the entity may be a person or an object such as a car. The identifier of the target entity may be someone's identification number, vehicle plate number, someone's cell phone number, and so on.

本願では、ユーザが、ある期間にわたるターゲットエンティティの動的関連関係を照会する必要がある場合、端末機器を介して照会要求をサーバに送信することができる。サーバは、照会要求を受信した後、照会要求からターゲットエンティティの識別子と照会の開始時間と終了時間を取得することができる。 In the present application, when the user needs to query the dynamic association relationship of the target entity over a period of time, the user can send a query request to the server via the terminal device. After receiving the query request, the server can obtain the identifier of the target entity and the start and end time of the query from the query request.

いくつかの実施例において、照会要求は、照会範囲を縮小するために、動的関連関係のタイプをさらに含んでもよい。又は、照会要求は、照会結果提示インターフェースのページ数及びページあたりの項目数を決定するために、ページングパラメータをさらに含んでもよい。 In some embodiments, the query request may further include the type of dynamic association relationship to reduce the scope of the query. Alternatively, the query request may further include paging parameters to determine the number of pages of the query results presentation interface and the number of items per page.

いくつかの実施例において、サーバは、照会要求を受信した後、さらに、照会要求における照会の開始時間と終了時間及びページングパラメータをチェックしてもよく、照会の開始時間と終了時間が照会可能な開始時間と終了時間の閾値を超えるか、又は、ページングパラメータがページングパラメータの閾値を超える場合、サーバは、照会要求を再入力するようにユーザに促すために、エラープロンプトを端末機器に返すことができる。 In some embodiments, after receiving the inquiry request, the server may further check the inquiry start time and end time and paging parameters in the inquiry request, and the inquiry start time and end time can be queried. If the start time and end time thresholds are exceeded, or the paging parameter exceeds the paging parameter threshold, the server may return an error prompt to the terminal device to prompt the user to re-enter the query request. can.

別のいくつかの実施例において、サーバには、照会履歴記録が保存されていてもよく、サーバが照会要求を受信した後、先に当該照会要求が照会履歴記録内にあるか否かを検証してもよい。この場合、サーバは、直接照会履歴記録からターゲットエンティティの動的関連関係を見つけて、端末機器にフィードバックする。 In some other embodiments, the server may store a query history record, and after the server receives a query request, it first verifies whether the query request is in the query history record. You may In this case, the server finds the dynamic association relationship of the target entity from the direct inquiry history record and feeds it back to the terminal device.

S202において、照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定し、各タイムバケットには、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納されている。 At S202, determine at least one time bucket to be queried in the query database based on the start time and end time of the query, and each time bucket contains the movement of the target entity within the time period corresponding to the time bucket. relationship is stored.

このステップにおいて、サーバが端末機器によって送信される照会要求を受信した後、照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定することができる。 In this step, after the server receives the inquiry request sent by the terminal device, it can determine at least one time bucket to be queried in the inquiry database according to the start time and end time of the inquiry.

ここで、タイムバケットは、ハッシュ値により1つの列名の下にあるデータを時間に応じて1つのグループのバケットに分け、各バケットは当該列名の下にある1つのストレージファイルファイルに対応するものであってもよい。 Here, the time bucket divides the data under one column name into one group of buckets according to time according to the hash value, and each bucket corresponds to one storage file file under the corresponding column name. can be anything.

いくつかの実施例において、照会データベースに、少なくとも2つのタイプのタイムバケットが含まれ、例示的には、月レベルバケット、週レベルバケット、及び日レベルバケットが含まれてもよい。ここで、月レベルバケットは、カレンダの1ヶ月をスパンとするバケットであり、例えば、2019年01月01日から2019年01月31日までが1つの月レベルバケットであり、2019年04月01日から2019年04月30日までが1つの月レベルバケットである。週レベルバケットは、カレンダの1週間をスパンとするバケットであり、例えば、2019年5月の第1週が1つの週レベルバケットであり、2019年8月の第4週が1つの週レベルバケットである。日レベルバケットは、カレンダの1日をスパンとする日レベルバケットであり、例えば、1年に365又は366個の日レベルバケットがある。なお、毎月、週レベルバケットは4つしかなく、1年には、365又は366個の日レベルバケットがある。 In some embodiments, a query database may include at least two types of time buckets, illustratively including month-level buckets, week-level buckets, and day-level buckets. Here, the month-level bucket is a bucket whose span is one month of the calendar. Date to April 30, 2019 is one month level bucket. Week-level buckets are buckets that span one week of the calendar, for example, the first week of May 2019 is one week-level bucket, and the fourth week of August 2019 is one week-level bucket. is. A day-level bucket is a day-level bucket that spans one calendar day, and there are, for example, 365 or 366 day-level buckets in a year. Note that there are only 4 weekly level buckets per month and 365 or 366 daily level buckets per year.

対応して、いくつかの実施例において、サーバは、照会の開始時間と終了時間をカバーするために使用される数が最も少ないタイムバケットを、照会データベース内の照会対象の少なくとも1つのタイムバケットとして決定することができる。 Correspondingly, in some embodiments, the server designates the least number of time buckets used to cover the query start and end times as at least one time bucket to be queried in the query database. can decide.

例示的に、ユーザによって入力された照会の開始時間と終了時間が2019年01月01日から2019年01月20日である場合、サーバは、照会データベースにおいて、照会対象になるのは2019年の第1週と第2週の2つの週レベルバケット、及び2019年01月15日から20日までの6つの日レベルバケットであると決定することができる。 Exemplarily, if the query start time and end time entered by the user are from 2019.01.01 to 2019.01.20, the server determines that the query target is the year 2019 in the query database. It can be determined that there are two week-level buckets, week 1 and week 2, and six day-level buckets, Jan. 15-20, 2019.

S203において、少なくとも1つのタイムバケット内で、ターゲットエンティティの識別子に基づいて、ターゲットエンティティの動的関連関係を照会する。 At S203, query the dynamic association relationship of the target entity according to the identifier of the target entity within at least one time bucket.

このステップにおいて、サーバは、照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定した後、少なくとも1つのタイムバケット内で、ターゲットエンティティの識別子に基づいて、ターゲットエンティティの動的関連関係を照会することができる。 In this step, after the server determines at least one time bucket to be queried in the query database based on the query start time and end time, within the at least one time bucket, based on the identifier of the target entity , the dynamic association relationship of the target entity can be queried.

いくつかの実施例において、サーバは、照会要求に対応する構造化クエリ言語(structured query language、SQL)を先に生成することができる。その後、サーバは、SQLに基づいて、少なくとも1つのタイムバケット内でターゲットエンティティの動的関連関係を照会することができる。 In some embodiments, the server can pre-generate a structured query language (SQL) corresponding to the query request. The server can then query the target entity's dynamic association relationships within at least one time bucket based on SQL.

ここで、本願の実施例は、サーバがどのように照会要求を対応するSQLに変換するかについて限定せず、実際の状況に応じて適切な方式を使用することができる。 Here, the embodiments of the present application do not limit how the server converts the query request into the corresponding SQL, and any suitable method can be used according to the actual situation.

いくつかの実施例において、サーバが照会して取得したターゲットエンティティの動的関連関係は、隣接テーブルの形態であり得る。ここで、隣接テーブルは、順序割り当てとチェーン式割り当てを組み合わせたストレージ構造である。 In some embodiments, the dynamic association relationship of the target entity queried and retrieved by the server may be in the form of an adjacency table. Here, the adjacency table is a storage structure that combines ordered and chained allocation.

本願の実施例にて提供される照会方法では、サーバは、まず、端末機器によって送信される照会要求を受信し、照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む。続いて、サーバは、照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定し、各タイムバケットには、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納されている。最後に、サーバは、少なくとも1つのタイムバケット内で、ターゲットエンティティの動的関連関係を照会する。本願は、従来技術と比較して、タイムバケット方式を用いて、ターゲットエンティティの動的関連情報を照会することで、演算量を効果的に減少し、動的関連情報の照会速度を向上させることができる。 In the inquiry method provided in the embodiments of the present application, the server first receives the inquiry request sent by the terminal device, and the inquiry request is used to request the inquiry of the dynamic association relationship of the target entity. , the inquiry request contains the identifier of the target entity and the start and end time of the inquiry. Subsequently, the server determines at least one time bucket in the query database to query based on the start time and end time of the query, and each time bucket includes a target within the time period corresponding to the time bucket. Contains dynamic associations for entities. Finally, the server queries the target entity's dynamic associations within at least one time bucket. Compared with the prior art, the present application uses the time bucket method to query the dynamic related information of the target entity, thereby effectively reducing the amount of computation and improving the query speed of the dynamic related information. can be done.

上記の実施例を基に、以下、サーバがどのようにタイムバケットを決定するか、どのように照会するかについて説明する。図3は、本願の実施例にて提供される別の照会方法の概略フローチャートである。図3に示すように、照会方法は、S301と、S302と、S303と、S304と、を含む。 Based on the above example, the following describes how the server determines and queries the time buckets. FIG. 3 is a schematic flow chart of another query method provided in an embodiment of the present application. As shown in FIG. 3, the inquiry method includes S301, S302, S303 and S304.

S301において、端末機器によって送信される照会要求を受信し、照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む。 In S301, receive an inquiry request sent by the terminal device, the inquiry request is used to request inquiry of the dynamic association relationship of the target entity, the inquiry request includes the identifier of the target entity and the start time of the inquiry; Includes end time.

S301の技術用語、技術的効果、技術的特徴、及び選択可能な実施形態は、図2に示すS201を参照して理解することができ、重複する内容について、ここでは詳細な説明を省略する。 Technical terms, technical effects, technical features, and selectable embodiments of S301 can be understood with reference to S201 shown in FIG. 2, and detailed descriptions of overlapping contents are omitted here.

S302において、照会の開始時間と終了時間をカバーするために使用される数が最も少ないタイムバケットを、照会データベース内の照会対象の少なくとも1つのタイムバケットとして決定する。 At S302, the least number of time buckets used to cover the start time and end time of the query is determined as at least one time bucket to be queried in the query database.

ここで、照会データベースに、少なくとも2つのタイプのタイムバケットが含まれる。 Here, the query database contains at least two types of time buckets.

本ステップでは、サーバは、端末機器によって送信される照会要求を受信した後、照会の開始時間と終了時間をカバーするために使用される数が最も少ないタイムバケットを、照会データベース内の照会対象の少なくとも1つのタイムバケットとして決定することができる。 In this step, the server, after receiving the inquiry request sent by the terminal device, selects the least number of time buckets used to cover the start time and end time of the inquiry to the query target in the inquiry database. It can be determined as at least one time bucket.

例示的に、タイムバケットに週レベルバケット及び日レベルバケットが含まれることを例として、ユーザによって入力された照会の開始時間と終了時間が2019年01月01日から2019年01月20日である場合、サーバは、照会データベースにおいて、照会対象になるのは2019年の第1週と第2週の2つの週レベルバケット、及び2019年01月15日から20日までの6つの日レベルバケットであると決定できる。 For example, the time buckets include weekly level buckets and daily level buckets, and the start time and end time of the query entered by the user are from January 01, 2019 to January 20, 2019. In this case, the server indicates that in the query database, queries are made in two week-level buckets, week 1 and week 2 of 2019, and six day-level buckets from January 15 to 20, 2019. You can decide that there is.

S303において、照会要求に対応するSQLを生成する。 In S303, SQL corresponding to the inquiry request is generated.

本ステップにおいて、サーバは、照会の開始時間と終了時間をカバーするために使用される数が最も少ないタイムバケットを、照会データベース内の照会対象の少なくとも1つのタイムバケットとして決定した後、照会要求に対応するSQLを生成することができる。 In this step, the server determines the least number of time buckets used to cover the start time and end time of the query as at least one time bucket to be queried in the query database, and then responds to the query request. Corresponding SQL can be generated.

本願の実施例は、サーバがどのように照会要求を対応するSQLに変換するかについて限定せず、実際の状況に応じて適切な方式を使用できる。 The embodiments of the present application do not limit how the server converts the query request into the corresponding SQL, and any suitable method can be used according to the actual situation.

S304において、SQLに基づいて、少なくとも1つのタイムバケット内で、ターゲットエンティティの動的関連関係を照会する。 At S304, based on SQL, the dynamic association relationship of the target entity is queried within at least one time bucket.

本ステップにおいて、サーバは、照会要求に対応するSQLを生成した後、SQLに基づいて、少なくとも1つのタイムバケット内でターゲットエンティティの動的関連関係を照会することができる。 In this step, after the server generates the SQL corresponding to the query request, the server can query the dynamic association relationship of the target entity within at least one time bucket according to the SQL.

上記の実施例を基に、以下、サーバがターゲットエンティティの動的関連関係から利用可能なターゲットエンティティの動的関連関係を決定することについて説明する。図4は本願の実施例にて提供される別の照会方法の概略フローチャートである。図4に示すように、照会方法は、S401からS406を含む。 Based on the above embodiment, the server determines the available dynamic associations of the target entity from the dynamic associations of the target entity. FIG. 4 is a schematic flowchart of another query method provided in an embodiment of the present application. As shown in FIG. 4, the inquiry method includes S401 to S406.

S401において、端末機器によって送信される照会要求を受信し、照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む。 At S401, receive an inquiry request sent by the terminal device, the inquiry request is used to request inquiry of the dynamic association relationship of the target entity, the inquiry request includes the identifier of the target entity and the start time of the inquiry; Includes end time.

S402において、照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定し、各タイムバケットには、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納されている。 At S402, determine at least one time bucket to be queried in the query database based on the start time and end time of the query, and each time bucket includes the movement of the target entity within the time period corresponding to the time bucket. relationship is stored.

S403において、少なくとも1つのタイムバケット内で、ターゲットエンティティの識別子に基づいて、ターゲットエンティティの動的関連関係を照会する。 At S403, query the dynamic association relationship of the target entity based on the identifier of the target entity within at least one time bucket.

S401からS403の技術用語、技術的効果、技術的特徴、及び選択可能実施形態は、図2に示すS201からS203を参照して理解することができ、重複する内容について、ここでは詳細な説明を省略する。 The technical terms, technical effects, technical features, and alternative embodiments of S401 to S403 can be understood with reference to S201 to S203 shown in FIG. omitted.

S404において、動的関連関係の注目レベルに関連付けられるターゲットエンティティの動的関連関係の重みを取得する。 At S404, obtain the weight of the dynamic relationship of the target entity associated with the attention level of the dynamic relationship.

本願では、サーバは、ターゲットエンティティの動的関連関係を見つけた後、ターゲットエンティティの動的関連関係の重みを取得して、ターゲットエンティティの動的関連関係の重みをソートすることができる。 In the present application, after finding the dynamic association relationship of the target entity, the server can obtain the weight of the dynamic association relationship of the target entity and sort the weight of the dynamic association relationship of the target entity.

本願の実施例は、ターゲットエンティティの動的関連関係の重みをどのように決定するかについて限定せず、1つの選択可能な一実施形態では、ターゲットエンティティの動的関連関係の重みは、動的関連関係の注目レベルに関連付けられる。例示的に、ある人が警察の重点観察対象であれば、その注目度を高く設定してもよい。対応して、ソート時に、サーバもそれにより高い重みを設定してもよい。 Embodiments of the present application do not limit how the target entity's dynamic relationship weight is determined, and in one optional embodiment, the target entity's dynamic relationship weight is determined by dynamic Associated with the attention level of the relationship. By way of example, if a certain person is an important target of police observation, the degree of attention may be set high. Correspondingly, when sorting, the server may also set a higher weight accordingly.

別のいくつかの実施例において、ターゲットエンティティの動的関連関係の重みは、収集機器の密度に関連してもよい。例示的に、100メートルの交差点にカメラが50個ある場合、この50個のカメラによって収集されたターゲットエンティティの動的関連関係に、より低い重みを設定することができる。例示的に、100メートルの交差点にカメラが1つある場合、この1つのカメラによって収集されたターゲットエンティティの動的関連関係に、より高い重みを設定することができる。 In some other examples, the weight of the target entity's dynamic association relationship may be related to the density of the collection devices. Illustratively, if there are 50 cameras at a 100 meter intersection, lower weights can be set on the dynamic associations of target entities collected by the 50 cameras. Illustratively, if there is one camera at a 100-meter intersection, a higher weight can be set for the dynamic associations of target entities collected by this one camera.

さらに、ターゲットエンティティの動的関連関係の重みは、時間ウィンドウのセグメント化、空間ウィンドウのセグメント化、画素統合などに関連付けられてもよい。 In addition, the weight of the target entity's dynamic association relationship may be associated with temporal window segmentation, spatial window segmentation, pixel integration, and the like.

S405において、ターゲットエンティティの動的関連関係の重みに基づいて、ターゲットエンティティの動的関連関係をソートする。 At S405, sort the dynamic associations of the target entity according to the weight of the dynamic associations of the target entity.

本ステップにおいて、サーバは、ターゲットエンティティの動的関連関係の重みを取得した後、ターゲットエンティティの動的関連関係の重みに基づいて、ターゲットエンティティの動的関連関係をソートすることができる。 In this step, the server may sort the dynamic association relations of the target entity according to the weight of the dynamic association relations of the target entity after obtaining the weight of the dynamic association relations of the target entity.

いくつかの実施例において、ターゲットエンティティの動的関連関係の発生頻度と重みとの積に基づいて、ターゲットエンティティの動的関連関係をソートすることができる。 In some embodiments, the dynamic associations of the target entity can be sorted based on the product of the frequency of occurrence of the dynamic association of the target entity and the weight.

別のいくつかの実施例において、ターゲットエンティティの動的関連関係の発生頻度が頻度閾値を超える場合、ターゲットエンティティの動的関連関係が異常であると決定する。このとき、サーバは、異常なターゲットエンティティの動的関連関係を削除することができ、それにより、ソートの正確性を向上させることができる。 In some other embodiments, it is determined that the dynamic association of the target entity is abnormal if the frequency of occurrence of the dynamic association of the target entity exceeds a frequency threshold. At this time, the server can remove dynamic associations of abnormal target entities, thereby improving sorting accuracy.

また、サーバは、ソート時にブラックリストとホワイトリストを設定することもできる。プライバシ及びセキュリティの観点から、ブラックリストにおける動的関連関係を除去してもよい。ホワイトリストにおける動的関連関係について、ソート中の位置を向上させることができる。 The server can also set blacklists and whitelists when sorting. For privacy and security reasons, dynamic associations in blacklists may be removed. The position in the sorting can be improved for dynamic association relationships in the whitelist.

S406において、ソート後のターゲットエンティティの動的関連関係から、使用可能なターゲットエンティティの動的関連関係を決定する。 At S406, the dynamic association relations of the target entities that can be used are determined from the dynamic association relations of the target entities after sorting.

本ステップにおいて、サーバが、ターゲットエンティティの動的関連関係の重みに基づいて、ターゲットエンティティの動的関連関係をソートした後、ソート後のターゲットエンティティの動的関連関係から、使用可能なターゲットエンティティの動的関連関係を決定することができる。 In this step, after the server sorts the dynamic relationship of the target entity based on the weight of the dynamic relationship of the target entity, from the dynamic relationship of the target entity after sorting, the available target entity Dynamic associations can be determined.

ここで、使用可能なターゲットエンティティの動的関連関係は、数の最多照会及び最もホットな照会を含み得る。 Here, the available target entity dynamic associations may include the highest number of referrals and the hottest referrals.

いくつかの実施例において、例えば同じフレームワークの関係などのいくつかの動的関連関係は、正規分布に従うので、ソート後、いくつかの重みが小さく、入力が多いターゲットエンティティの動的関連関係は、無駄なデータと見なして、削除することができる。 In some embodiments, some dynamic association relationships, such as relationships in the same framework, follow a normal distribution, so that after sorting, some dynamic association relationships for target entities with low weights and high inputs are , can be considered useless data and deleted.

本願の実施例にて提供される照会方法は、サーバが、動的関連関係の注目レベルに関連付けられるターゲットエンティティの動的関連関係の重みを取得する。続いて、サーバは、ターゲットエンティティの動的関連関係の重みに基づいて、ターゲットエンティティの動的関連関係の重みをソートする。最後に、サーバは、ソート後のターゲットエンティティの動的関連関係から、使用可能なターゲットエンティティの動的関連関係を決定する。本願は、従来技術と比較して、照会してからマージ・ソートする方法を用いて、照会速度を向上させ、ソートするデータ量を低減することができる。 A query method provided in an embodiment of the present application enables a server to obtain a dynamic relationship weight of a target entity associated with an attention level of the dynamic relationship. Subsequently, the server sorts the target entity's dynamic relationship weights based on the target entity's dynamic relationship weights. Finally, the server determines the available target entity dynamic associations from the sorted target entity dynamic associations. Compared with the prior art, the present application can improve the query speed and reduce the amount of data to be sorted by using the method of querying and then merging and sorting.

上記の実施例を基に、サーバが照会する前に、オフラインシステムをさらに設定することができ、当該オフラインシステムは、データベース内で各エンティティの動的関連関係を更新するために用いられる。図5は、本願の実施例にて提供されるさらなる照会方法の概略フローチャートである。図5に示すように、照会方法は、S501からS505を含む。 Based on the above examples, an offline system can also be set up before the server queries, and the offline system is used to update the dynamic associations of each entity in the database. FIG. 5 is a schematic flowchart of a further query method provided in an embodiment of the present application; As shown in FIG. 5, the inquiry method includes S501 to S505.

S501において、収集機器によって収集された各エンティティのデータを取得する。 At S501, the data of each entity collected by the collecting device is obtained.

S502において、各エンティティのデータに基づいて、照会データベース内で各エンティティの動的関連関係を更新する。 At S502, the dynamic association relationship of each entity is updated in the query database based on the data of each entity.

S503において、端末機器によって送信される照会要求を受信し、照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む。 In S503, receive an inquiry request sent by the terminal device, the inquiry request is used to request inquiry of the dynamic association relationship of the target entity, the inquiry request includes the identifier of the target entity and the start time of the inquiry; Includes end time.

S504において、照会の開始時間と終了時間に基づいて、前記照会データベース内の照会対象の少なくとも1つのタイムバケットを決定し、各タイムバケットには、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納されている。 At S504, determine at least one time bucket in the query database to be queried based on the start time and end time of the query, each time bucket includes the number of target entities within the time period corresponding to the time bucket; Contains dynamic associations.

S505において、少なくとも1つのタイムバケット内で、ターゲットエンティティの識別子に基づいてターゲットエンティティの動的関連関係を照会する。 At S505, query the dynamic association relationship of the target entity based on the identifier of the target entity within at least one time bucket.

図5を基に、以下、データベース内で各エンティティの動的関連関係をどのように更新するかについて説明する。図6は、本願の実施例にて提供されるさらなる照会方法の概略フローチャートである。図6に示すように、照会方法は、S601からS604を含む。 Based on FIG. 5, how to update the dynamic relationship of each entity in the database will be described below. FIG. 6 is a schematic flow chart of a further query method provided in an embodiment of the present application. As shown in FIG. 6, the inquiry method includes S601 to S604.

S601において、収集機器によって収集された各エンティティのデータを取得する。 At S601, the data of each entity collected by the collecting device is obtained.

いくつかの実施例において、サーバは、収集機器のデータフォーマットの記述ファイルに基づいて、収集機器によって収集された各エンティティのデータから、各エンティティのデータのうちの指定列を抽出することができ、それにより各エンティティのデータがエンティティの識別子、地理的範囲及び時間的範囲のフォーマットを形成する。 In some embodiments, the server can extract specified columns of data for each entity from the data for each entity collected by the collection device based on the data format description file for the collection device; Each entity's data thereby forms the entity's identifier, geographic extent and temporal extent format.

いくつかの実施例において、サーバは、収集機器によって収集された各エンティティのデータを取得した後、さらに、各エンティティのデータを前処理し、各エンティティのデータから、無効エンティティ識別子、無効地理的位置、及び無効時間を含む少なくとも1つの無効データをフィルタリングすることができ、さらに、データ更新及びデータ記憶の速度を向上させ、更新される動的関連関係の正確性を保証する。 In some embodiments, after obtaining the data of each entity collected by the collection device, the server further pre-processes the data of each entity and, from the data of each entity, extracts invalid entity identifiers, invalid geographic locations, , and at least one invalid data including invalid time can be filtered, further improving the speed of data update and data storage and ensuring the accuracy of updated dynamic associations.

S602において、各エンティティのデータを経度、緯度、及び時間からなるトリプル組である少なくとも1つの時空間仮想点に併合する。 At S602, the data of each entity is merged into at least one spatio-temporal virtual point that is a triple set consisting of longitude, latitude and time.

ここで、時空間仮想点は、実際の状況に応じて具体的に設定することができ、例示的に、1000メートル毎及び6時間毎に1つの時空間仮想点を設定することができる。 Here, the spatio-temporal virtual point can be specifically set according to the actual situation. For example, one spatio-temporal virtual point can be set every 1000 meters and every 6 hours.

いくつかの実施例において、あるエンティティのデータに対応する地理的位置及び時間が、ある時空間仮想点の範囲内にある場合、このエンティティのデータをこの時空間仮想点に併合することができる。 In some embodiments, if the geographic location and time corresponding to an entity's data is within a spatio-temporal virtual point, the entity's data can be merged with this spatio-temporal virtual point.

いくつかの実施例において、サーバは、各エンティティのデータを少なくとも1つの時空間仮想点に併合した後、各時空間仮想点における各エンティティのデータに対して正規化処理を行ってもよい。選択可能な正規化方式として、密度に基づくクラスタリングである。具体的には、各時空間仮想点において、同じエンティティの異なるデータによって記録された距離が第2の距離閾値よりも小さく、かつ、時間差が第2の時間閾値よりも小さい場合、同じエンティティの異なるデータを1つのデータに正規化する。 In some embodiments, the server may merge each entity's data into at least one spatio-temporal virtual point, and then perform a normalization process on each entity's data at each spatio-temporal virtual point. An alternative normalization scheme is density-based clustering. Specifically, at each spatio-temporal virtual point, if the distance recorded by different data of the same entity is less than a second distance threshold, and the time difference is less than a second time threshold, then different data of the same entity Normalize the data to a single datum.

例示的に、時空間仮想点には、それぞれ、滬A36F77、E121.36040、N121.29720、T1561946400と、滬A36F77、E121.36040、N121.29720、T1561946401と、滬A36F77、E121.36040、N121.29720、T1561946402との3組の車両のデータが含まれている。ここで、Eは東経、Nは北緯である。滬A36F77の車両は同じ位置で、3秒連続で記録が3回あるので、これを1回の収集行為とみなし、3組の車両のデータを1組のデータに正規化する。 Illustratively, the spatio-temporal virtual points include, respectively, A36F77, E121.36040, N121.29720, T1561946400, A36F77, E121.36040, N121.29720, T1561946401, 29720, T1561946402 and three sets of vehicle data are included. Here, E is east longitude and N is north latitude. Since the vehicle of A36F77 is at the same position and records three times in three consecutive seconds, this is regarded as one collecting act, and the three sets of vehicle data are normalized to one set of data.

本願では、データを正規化処理することにより、照会時のデータ量を減らすことができ、照会データの速度をさらに向上させる。 By normalizing the data, the present application can reduce the amount of data at the time of query, further increasing the speed of the query data.

S603において、各時空間仮想点における各エンティティ間の動的関連関係を決定する。 In S603, the dynamic association relationship between each entity at each spatio-temporal virtual point is determined.

本願の実施例は、各時空間仮想点における各エンティティ間の動的関連関係をどのように決定するかについて限定せず、動的関連関係のタイプに基づいて具体的に決定することができる。 Embodiments of the present application do not limit how to determine the dynamic relationship between entities in each spatio-temporal virtual point, and can be specifically determined based on the type of dynamic relationship.

選択可能な一実施形態において、動的関連関係が同じフレームワークの関係である場合、それに対応して、時空間仮想点における2つのエンティティ間の距離が第1の距離閾値よりも小さく、かつ、2つのエンティティ間の時間差が第1の時間閾値よりも小さい場合、2つのエンティティ間には同じフレームワークの関係が存在すると決定する。 In an optional embodiment, if the dynamic association relationships are relationships in the same framework, correspondingly the distance between the two entities at the spatio-temporal virtual point is less than a first distance threshold, and If the time difference between the two entities is less than a first time threshold, then it is determined that the same framework relationship exists between the two entities.

いくつかの実施例において、サーバが各時空間仮想点における各エンティティ間の動的関連関係を決定した後、各エンティティ間の動的関連関係の隣接テーブルを対応して取得することができる。 In some embodiments, after the server determines the dynamic association relationship between each entity at each spatio-temporal virtual point, it can correspondingly obtain an adjacency table of the dynamic association relationship between each entity.

S604において、各時空間仮想点における各エンティティ間の動的関連関係を、対応するタイムバケットに更新する。 At S604, the dynamic association relationship between each entity at each spatio-temporal virtual point is updated to the corresponding time bucket.

本ステップにおいて、サーバが各時空間仮想点における各エンティティ間の動的関連関係を決定した後、各時空間仮想点における各エンティティ間の動的関連関係を、対応するタイムバケットに更新してもよい。 In this step, after the server determines the dynamic relationship between each entity at each spatio-temporal virtual point, the dynamic relationship between each entity at each spatio-temporal virtual point may be updated to the corresponding time bucket. good.

例示的に、タイムバケットに月レベルバケット、週レベルバケット、及び日レベルバケットが含まれることを例とすると、サーバは、まず、各エンティティ間の動的関連関係が属されている月レベルバケット、週レベルバケット、及び日レベルバケットを計算し、続いて、サーバは、各エンティティ間の動的関連関係又は各エンティティ間の動的関連関係に対応する隣接テーブルを、対応する月レベルバケット、週レベルバケット、及び日レベルバケットにそれぞれ累計してもよい。 For example, if the time buckets include month-level buckets, week-level buckets, and day-level buckets, the server first creates month-level buckets to which dynamic association relationships between entities belong, Calculate the week-level buckets and the day-level buckets, then the server converts the adjacency table corresponding to the dynamic association relationship between each entity or the dynamic association relationship between each entity into the corresponding month-level buckets, week-level It may be accumulated into buckets and day-level buckets, respectively.

また、本願は、複数の表現タイプのデータアクセスもサポートし、1つのデータベース内のオフラインデータフローを維持することのみを必要とするため、維持コストを低減した。データ遅延のシナリオをサポートし、データベースへの同時書き込みによる競合を解決できる。 The present application also supports data access for multiple representation types and reduces maintenance costs as it only needs to maintain offline data flow in one database. Supports data latency scenarios and can resolve conflicts with concurrent writes to the database.

本願の実施例にて提供される照会方法では、サーバは、まず、収集機器によって収集された各エンティティのデータを取得する。次に、サーバは、各エンティティのデータを経度、緯度、及び時間からなるトリプル組である少なくとも1つの時空間仮想点に併合する。続いて、サーバは、各時空間仮想点における各エンティティ間の動的関連関係を決定する。最後に、サーバは、各時空間仮想点における各エンティティ間の動的関連関係を、対応するタイムバケットに更新する。従来技術と比較して、時空間仮想点を区切り、データベース内で各エンティティ間の動的関連関係を、対応するタイムバケットに順次更新することにより、照会時に各バケット内の同じフレームワーク内でのランキングを計算するだけでよく、計算量を低減することができる。 In the inquiry method provided in the embodiments of the present application, the server first obtains the data of each entity collected by the collection equipment. The server then merges each entity's data into at least one spatio-temporal virtual point that is a triple-tuple of longitude, latitude, and time. The server then determines the dynamic association relationship between each entity at each spatio-temporal virtual point. Finally, the server updates the dynamic association relationship between each entity at each spatio-temporal virtual point to the corresponding time bucket. Compared with the prior art, by delimiting the spatio-temporal virtual points and sequentially updating the dynamic association relationship between each entity in the database to the corresponding time bucket, the same framework within each bucket at the time of query It is only necessary to calculate the ranking, and the amount of calculation can be reduced.

当業者であれば、上記の方法の実施例を実現するステップの全部又は一部が、プログラム情報に関連付けられたハードウェアによって実現されることができ、前述のプログラムがコンピュータ読み取り可能な記憶媒体に格納されることができ、当該プログラムが実行されると、上記の方法の実施例を含むステップが実行され、前述の記憶媒体が、ROM、RAM、磁気ディスク、又は光ディスクなどの、プログラムコードを記憶可能な様々な媒体を含むことは理解することができる。 A person skilled in the art will recognize that all or part of the steps for implementing the above method embodiments can be implemented by hardware associated with program information, and that the above program is stored in a computer-readable storage medium. can be stored and, when the program is run, the steps comprising the above method embodiments are performed, and the above storage medium, such as ROM, RAM, magnetic disk, or optical disk, stores the program code. It can be understood to include a variety of possible media.

図7は、本願の実施例にて提供される照会装置の概略構造図である。当該照会装置は、ソフトウェア、ハードウェア、又はその両方の組み合わせによって実現することができ、例えば上記のサーバ又はサーバ内のチップは、上記の照会方法を実行するために用いられる。図7に示すように、当該照会装置700は、受信モジュール701、処理モジュール702、照会モジュール703、取得モジュール704、及び更新モジュール705を含む。 FIG. 7 is a schematic structural diagram of an inquiry device provided in an embodiment of the present application; The inquiry device can be implemented by software, hardware, or a combination of both, for example the above server or a chip in the server is used to carry out the above inquiry method. As shown in FIG. 7 , the inquiry device 700 includes a receiving module 701 , a processing module 702 , an inquiry module 703 , an acquisition module 704 and an update module 705 .

受信モジュール701は、端末機器によって送信される照会要求を受信するために用いられ、照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む。 The receiving module 701 is used to receive a query request sent by the terminal device, the query request is used to request querying of the dynamic association relationship of the target entity, and the query request includes the identifier of the target entity. and the query start and end time.

処理モジュール702は、照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定するために用いられ、各タイムバケットには、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納されている。 The processing module 702 is used to determine at least one time bucket to be queried in the query database based on the start time and end time of the query, each time bucket having a time period corresponding to the time bucket. contains the dynamic associations of the target entities in the .

照会モジュール703は、少なくとも1つのタイムバケット内で、ターゲットエンティティの識別子に基づいて、ターゲットエンティティの動的関連関係を照会するために用いられる。 A query module 703 is used to query the dynamic association relationship of the target entity based on the identifier of the target entity within at least one time bucket.

選択可能な一実施形態において、照会データベースには、それぞれ異なる持続時間に対応する少なくとも2種類のタイムバケットが含まれ、処理モジュール702は、具体的には、照会の開始時間と終了時間をカバーするために使用される数が最も少ないタイムバケットを、照会データベース内の照会対象の少なくとも1つのタイムバケットとして決定するために用いられる。 In an optional embodiment, the query database includes at least two types of time buckets, each corresponding to a different duration, and the processing module 702 specifically covers the query start and end times. is used to determine the least number of time buckets used for querying as at least one time bucket to be queried in the query database.

選択可能な一実施形態において、照会モジュール703は、具体的には、照会要求に対応する構造化クエリ言語SQLを生成するために用いられる。 In one optional embodiment, query module 703 is specifically used to generate structured query language SQL corresponding to query requests.

SQLによれば、少なくとも1つのタイムバケット内で、ターゲットエンティティの動的関連関係を照会する。 According to SQL, query the target entity's dynamic associations within at least one time bucket.

選択可能な一実施形態において、取得モジュール704、処理モジュール702をさらに含む。 An optional embodiment further includes an acquisition module 704 and a processing module 702 .

取得モジュール704は、動的関連関係の注目レベルに関連付けられるターゲットエンティティの動的関連関係の重みを取得するために用いられる。 The acquisition module 704 is used to acquire the dynamic association weight of the target entity associated with the attention level of the dynamic association.

処理モジュール702は、さらに、ターゲットエンティティの動的関連関係の重みに基づいて、ターゲットエンティティの動的関連関係をソートすること、及びソート後のターゲットエンティティの動的関連関係から、使用可能なターゲットエンティティの動的関連関係を決定すること、に用いられる。 The processing module 702 further comprises sorting the dynamic associations of the target entities based on the weights of the dynamic associations of the target entities, and from the sorted dynamic associations of the target entities, the available target entities is used to determine the dynamic association of

選択可能な一実施形態において、処理モジュール702は、さらに、ターゲットエンティティの動的関連関係の発生頻度が頻度閾値を超える場合、ターゲットエンティティの動的関連関係が異常であると決定すること、及び異常なターゲットエンティティの動的関連関係を削除すること、に用いられる。 In an optional embodiment, the processing module 702 further determines that the dynamic association of the target entity is abnormal if the frequency of occurrence of the dynamic association of the target entity exceeds a frequency threshold; It is used to remove dynamic associations of any target entity.

選択可能な一実施形態において、更新モジュール705をさらに含む。 In one optional embodiment, an update module 705 is further included.

更新モジュール705は、収集機器によって収集された各エンティティのデータを取得すること、及び各エンティティのデータに基づいて、照会データベース内で各エンティティの動的関連関係を更新すること、に用いられる。 The update module 705 is used to obtain the data of each entity collected by the collection device and update the dynamic association relationship of each entity in the query database based on the data of each entity.

選択可能な一実施形態において、更新モジュール705は、具体的には、各エンティティのデータを経度、緯度、及び時間からなるトリプル組である少なくとも1つの時空間仮想点に併合すること、各時空間仮想点における各エンティティ間の動的関連関係を決定すること、及び各時空間仮想点における各エンティティ間の動的関連関係を、対応するタイムバケットに更新すること、に用いられる。 In one optional embodiment, the update module 705 specifically merges each entity's data into at least one spatio-temporal virtual point that is a triple set of longitude, latitude, and time; It is used to determine the dynamic relation between each entity at the virtual point and update the dynamic relation between each entity at each spatio-temporal virtual point to the corresponding time bucket.

選択可能な一実施形態において、動的関連関係には、同じフレームワークの関係が含まれる。 In an optional embodiment, the dynamic association relationships include relationships of the same framework.

選択可能な一実施形態において、更新モジュール705は、具体的には、時空間仮想点における2つのエンティティ間の距離が第1の距離閾値よりも小さく、かつ、2つのエンティティ間の時間差が第1の時間閾値よりも小さい場合、2つのエンティティ間には同じフレームワークの関係が存在すると決定するために用いられる。 In an optional embodiment, the updating module 705 specifically determines that the distance between the two entities at the spatio-temporal virtual point is less than a first distance threshold and the time difference between the two entities is a first is used to determine that the same framework relationship exists between two entities if it is less than a time threshold of .

選択可能な一実施形態において、更新モジュール705は、さらに、各エンティティのデータを前処理し、各エンティティのデータから無効エンティティ識別子、無効地理的位置、及び無効時間を含む少なくとも1つの無効データをフィルタリングするために用いられる。 In an optional embodiment, the update module 705 further preprocesses each entity's data and filters out at least one invalid data from each entity's data, including invalid entity identifiers, invalid geographic locations, and invalid times. used to

選択可能な一実施形態において、更新モジュール705は、さらに、各時空間仮想点における各エンティティのデータに対して正規化処理を行うために用いられる。 In an optional embodiment, update module 705 is also used to perform a normalization process on the data of each entity at each spatio-temporal virtual point.

選択可能な一実施形態において、更新モジュール705は、さらに、各時空間仮想点において、同じエンティティの異なるデータによって記録された距離が第2の距離閾値よりも小さく、かつ、時間差が第2の時間閾値よりも小さい場合、同じエンティティの異なるデータを1つのデータに正規化するために用いられる。 In an optional embodiment, the updating module 705 further determines that, at each spatiotemporal virtual point, the distance recorded by the different data of the same entity is less than a second distance threshold and the time difference is a second time If less than the threshold, it is used to normalize different data for the same entity into one data.

本願の実施例にて提供される照会装置は、上記の方法の実施例における照会方法の動作を実行することができ、その実現原理及び技術的効果は類似するため、ここでは、その詳細な説明を省略する。 Since the inquiry device provided in the embodiments of the present application can perform the operation of the inquiry method in the above method embodiments, and its implementation principle and technical effect are similar, the detailed description thereof is hereby given. omitted.

本願の実施例よれば、本願は、電子機器、及び読み取り可能な記憶媒体をさらに提供する。 According to embodiments of the present application, the present application further provides an electronic device and a readable storage medium.

本願の実施例よれば、コンピュータプログラムを提供し、前記コンピュータプログラムは、コンピュータ可読記憶媒体に記憶され、電子機器の少なくとも1つのプロセッサは、前記コンピュータ可読記憶媒体から前記コンピュータプログラムを読み取ることができ、前記少なくとも1つのプロセッサは、前記コンピュータプログラムを実行することによって、前記電子機器に上記方法の実施例における照会方法を実行させる。 According to an embodiment of the present application, there is provided a computer program, said computer program being stored on a computer readable storage medium, at least one processor of an electronic device being readable from said computer readable storage medium, The at least one processor causes the electronic device to perform the inquiry method in the above method embodiments by executing the computer program.

図8は、本願の実施例による照会方法の電子機器のブロック図である。電子機器は、ラップトップコンピュータ、デスクトップコンピュータ、ワークステーション、パーソナルデジタルアシスタント、サーバ、ブレードサーバ、メインフレームコンピュータ、及びその他の適切なコンピュータなどの様々な形態のデジタルコンピュータを表すことを意図している。電子機器は、例えば、パーソナルデジタルアシスタント、携帯電話、スマートフォン、ウェアラブルデバイス、他の類似するコンピューティングデバイスなどの様々な形態のモバイルデバイスを表すこともできる。本明細書に示されるコンポーネント、それらの接続と関係、及びそれらの機能は単なる例であり、本明細書の説明及び/又は要求される本願の実現を制限する意図したものではない。 FIG. 8 is a block diagram of the electronics of the query method according to an embodiment of the present application. Electronic equipment is intended to represent various forms of digital computers such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices such as, for example, personal digital assistants, mobile phones, smart phones, wearable devices, and other similar computing devices. The components, their connections and relationships, and their functionality illustrated herein are merely examples and are not intended to limit the description and/or required implementation of the application herein.

図8に示すように、当該電子機器は、1つ又は複数のプロセッサ801と、メモリ802と、高速インターフェース及び低速インターフェースを含む各コンポーネントを接続するためのインターフェースと、を含む。各コンポーネントは、異なるバスを介して互いに接続され、共通のマザーボードに取り付けられるか、又は必要に応じて他の方式で取り付けられることができる。プロセッサは、電子機器内で実行される命令を処理することができ、当該命令は、外部入力/出力装置(例えば、インターフェースに結合されたディスプレイデバイスなど)にGUIのグラフィック情報を表示するために、メモリ内又はメモリ上に格納されている命令を含む。他の実施形態では、複数のプロセッサ及び/又は複数のバスを、必要に応じて、複数のメモリと一緒に使用することができる。同様に、複数の電子機器を接続することができ、各機器は一部の必要な操作(例えば、サーバアレイ、ブレードサーバのグループ、又はマルチプロセッサシステムとする)を提供することができる。図8では、1つのプロセッサ801を例とする。 As shown in FIG. 8, the electronic device includes one or more processors 801, memory 802, and interfaces for connecting components including high speed and low speed interfaces. Each component can be connected to each other via different buses, mounted on a common motherboard, or otherwise mounted as desired. The processor is capable of processing instructions executed within the electronic device to display graphical information of the GUI on an external input/output device (e.g., a display device coupled to the interface, etc.). Contains instructions stored in or on memory. In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories, as appropriate. Similarly, multiple electronic devices can be connected, each device providing some required operation (eg, a server array, a group of blade servers, or a multi-processor system). In FIG. 8, one processor 801 is taken as an example.

メモリ802は、本願にて提供される非一時的なコンピュータ読み取り可能な記憶媒体である。メモリには、少なくとも1つの前記プロセッサが本願にて提供される照会方法を実行するように、少なくとも1つのプロセッサによって実行可能な命令が格納されている。本願の非一時的なコンピュータ読み取り可能な記憶媒体には、コンピュータに本願にて提供される照会方法を実行させるためのコンピュータ命令が格納されている。 Memory 802 is a non-transitory computer-readable storage medium provided herein. The memory stores instructions executable by at least one processor such that the at least one processor performs the query methods provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the query methods provided herein.

メモリ802は、非一時的なコンピュータ読み取り可能な記憶媒体として、本願の実施例における照会方法に対応するプログラム命令/モジュール(例えば、図7に示す受信モジュール701、処理モジュール702、照会モジュール703、取得モジュール704、及び更新モジュール705)のような非一時的なソフトウェアプログラム、非一時的なコンピュータ実行可能なプログラム及びモジュールを格納することができる。プロセッサ801は、メモリ802に格納されている非一時的なソフトウェアプログラム、命令、及びモジュールを実行することによって、サーバの様々な機能アプリケーション及びデータ処理を実行し、すなわち、上記方法の実施例における照会方法を実現する。 Memory 802 serves as a non-transitory computer-readable storage medium for program instructions/modules (e.g., receiving module 701, processing module 702, querying module 703, acquisition module 703 shown in FIG. Non-transitory software programs, such as module 704 and update module 705), non-transitory computer-executable programs and modules can be stored. Processor 801 performs the various functional applications and data processing of the server by executing non-transitory software programs, instructions, and modules stored in memory 802, i.e., queries in the above method embodiments. implement the method.

メモリ802は、プログラム記憶領域及びデータ記憶領域を含むことができ、ただし、プログラム記憶領域は、オペレーティングシステム、及び少なくとも1つの機能に必要なアプリケーションプログラムを格納することができ、データ記憶領域は、照会用電子機器の使用にしたがって作成されたデータなどを格納することができる。また、メモリ802は、高速ランダムアクセスメモリを含むことができ、さらに、例えば少なくとも1つの磁気ディスクストレージデバイス、フラッシュメモリデバイス、又は他の非一時的なソリッドステートストレージデバイスなどの非一時的なメモリを含むことができる。いくつかの実施例では、メモリ802は、プロセッサ801に対して遠隔に設置されたメモリを選択的に含んでもよく、これらの遠隔メモリは、ネットワークを介して照会用電子機器に接続されることができる。上記のネットワークの例には、インターネット、イントラネット、ローカルエリアネットワーク、モバイル通信ネットワーク、及びそれらの組み合わせを含むが、これらに限定されない。 The memory 802 can include program storage and data storage, where the program storage can store an operating system and application programs required for at least one function; It can store data created according to the use of the electronic device for the device. The memory 802 may also include high speed random access memory and may also include non-transitory memory such as, for example, at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. can contain. In some embodiments, memory 802 may optionally include memory located remotely to processor 801, and these remote memories may be connected to inquiry electronics via a network. can. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

照会方法の電子機器は、入力装置803と出力装置804をさらに含んでもよい。プロセッサ801、メモリ802、入力装置803、及び出力装置804は、バス又は他の方式で接続されてもよく、図8では、バス接続を例にする。 The query method electronics may further include an input device 803 and an output device 804 . Processor 801, memory 802, input device 803, and output device 804 may be connected by a bus or in other manners, and FIG. 8 takes the bus connection as an example.

入力装置803は、入力された数字又はキャラクター情報を受信すること、照会用電子機器のユーザ設定及び機能制御に関連するキー信号入力を生成することができ、例えば、タッチスクリーン、キーパッド、マウス、トラックパッド、タッチパッド、インジケーターロッド、1つ又は複数のマウスボタン、トラックボール、ジョイスティックなどの入力装置である。出力装置804は、ディスプレイデバイス、補助照明装置(例えば、LED)、及び触覚フィードバック装置(例えば、振動モータ)などを含んでもよい。当該ディスプレイデバイスは、液晶ディスプレイ(LCD)、発光ダイオード(LED)ディスプレイ、及びプラズマディスプレイを含んでもよいが、これらに限定されない。いくつかの実施形態では、ディスプレイデバイスはタッチスクリーンであり得る。 The input device 803 is capable of receiving entered numeric or character information and generating key signal inputs associated with user settings and functional controls of the query electronics, such as touch screen, keypad, mouse, An input device such as a trackpad, touchpad, indicator rod, one or more mouse buttons, trackball, joystick, or the like. Output devices 804 may include display devices, supplemental lighting devices (eg, LEDs), tactile feedback devices (eg, vibration motors), and the like. Such display devices may include, but are not limited to, liquid crystal displays (LCD), light emitting diode (LED) displays, and plasma displays. In some embodiments, the display device can be a touch screen.

本明細書で説明されるシステム及び技術の様々な実施形態は、デジタル電子回路システム、集積回路システム、特定用途向けASIC(特定用途向け集積回路)、コンピュータハードウェア、ファームウェア、ソフトウェア、及び/又はそれらの組み合わせで実現することができる。これらの様々な実施形態は、1つ又は複数のコンピュータプログラムで実施され、当該1つ又は複数のコンピュータプログラムは、少なくとも1つのプログラマブルプロセッサを含むプログラマブルシステムで実行及び/又は解釈されることができ、当該プログラマブルプロセッサは専用又は汎用のプログラマブルプロセッサであってもよく、ストレージシステム、少なくとも1つの入力装置、及び少なくとも1つの出力装置からデータ及び命令を受信し、データ及び命令を当該ストレージシステム、当該少なくとも1つの入力装置、及び当該少なくとも1つの出力装置に伝送することができる。 Various embodiments of the systems and techniques described herein may be digital electronic circuit systems, integrated circuit systems, application specific integrated circuits (ASICs), computer hardware, firmware, software, and/or can be realized by a combination of These various embodiments are embodied in one or more computer programs, which can be executed and/or interpreted in a programmable system comprising at least one programmable processor, The programmable processor may be a dedicated or general-purpose programmable processor that receives data and instructions from the storage system, at least one input device, and at least one output device, and transmits data and instructions to the storage system, the at least one one input device and the at least one output device.

これらのコンピュータプログラム(プログラム、ソフトウェア、ソフトウェアアプリケーション、又はコードとも呼ばれる)には、プログラマブルプロセッサの機械命令が含まれ、高レベルのプロセス及び/又はオブジェクト指向のプログラミング言語、及び/又はアセンブリ/機械言語でこれらのコンピューティングプログラムを実施することができる。本明細書に使用されるような、「機械読み取り可能な媒体」及び「コンピュータ読み取り可能な媒体」という用語は、機械命令及び/又はデータをプログラマブルプロセッサに提供するための任意のコンピュータプログラム製品、機器、及び/又は装置(例えば、磁気ディスク、光ディスク、メモリ、プログラマブルロジック機器(PLD))を指し、機械読み取り可能な信号である機械命令を受信するための機械読み取り可能な媒体を含む。「機械読み取り可能な信号」という用語は、プログラマブルプロセッサに機械命令及び/又はデータを提供するための任意の信号を指す。 These computer programs (also called programs, software, software applications, or code) contain machine instructions for programmable processors and can be written in high-level process and/or object-oriented programming languages and/or assembly/machine language. These computing programs can be implemented. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus for providing machine instructions and/or data to a programmable processor. , and/or device (eg, magnetic disk, optical disk, memory, programmable logic device (PLD)), including a machine-readable medium for receiving machine instructions, which are machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and/or data to a programmable processor.

ユーザとのインタラクションを提供するために、コンピュータ上で本明細書に説明したシステム及び技術をコンピュータに実施することができ、当該コンピュータは、ユーザに情報を表示するための表示装置(例えば、CRT(陰極線管)又はLCD(液晶ディスプレイ)モニタ)と、キーボード及びポインティングデバイス(例えば、マウスやトラックボール)とを有し、ユーザは、当該キーボード及び当該ポインティングデバイスによって、コンピュータに入力することが可能になる。他の種類の装置も、ユーザとのインタラクションを提供することができ、例えば、ユーザに提供されるフィードバックは、任意の形態のセンシングフィードバック(例えば、視覚的フィードバック、聴覚フィードバック、又は触覚フィードバック)であってもよく、そして、任意の形態(音響入力、音声入力、又は触覚入力を含む)でユーザからの入力を受信することができる。 The systems and techniques described herein on a computer can be implemented in a computer to provide interaction with a user, and the computer includes a display device (e.g., a CRT ( cathode ray tube) or LCD (liquid crystal display) monitor), and a keyboard and pointing device (e.g., mouse or trackball) that allows a user to input into the computer . Other types of devices can also provide interaction with a user, e.g., the feedback provided to the user can be any form of sensing feedback (e.g., visual, auditory, or tactile feedback). and can receive input from the user in any form (including acoustic, speech, or tactile input).

本明細書に説明したシステム及び技術は、バックエンドコンポーネントを含むコンピューティングシステム(例えば、データサーバとする)、又はミドルウェアコンポーネントを含むコンピューティングシステム(例えば、アプリケーションサーバ)、又はフロントエンドコンポーネントを含むコンピューティングシステム(例えば、グラフィカルユーザインターフェース又はWEBブラウザーを有するユーザコンピュータであり、ユーザは、当該グラフィカルユーザインターフェース又は当該WEBブラウザーを介して本明細書に説明したシステム及び技術の実施形態とインタラクションすることができる)、又はこのようなバックエンドコンポーネント、ミドルウェアコンポーネント、又はフロントエンドコンポーネントを含む任意の組み合わせのコンピューティングシステム中で実施できる。任意の形態又は媒体のデジタルデータ通信(例えば、通信ネットワーク)を介してシステムのコンポーネントを相互に接続することができる。通信ネットワークの例は、ローカルエリアネットワーク(LAN)、ワイドエリアネットワーク(WAN)、及びインターネットを含む。 The systems and techniques described herein may be computing systems that include back-end components (e.g., data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include front-end components. a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein. ), or any combination of computing systems that include such back-end, middleware, or front-end components. The components of the system can be interconnected via any form or medium of digital data communication (eg, a communication network). Examples of communication networks include local area networks (LAN), wide area networks (WAN), and the Internet.

コンピュータシステムは、クライアントとサーバとを含むことができる。クライアントとサーバは、通常、互いに遠く離れており、通信ネットワークを介して互いにインタラクションするのが一般的である。クライアントとサーバの関係は、対応するコンピュータで実行され、且つ互いにクライアント-サーバの関係を持つコンピュータプログラムによって生成される。 The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server is created by computer programs running on the corresponding computers and having a client-server relationship to each other.

本願の実施例の技術的解決手段によれば、端末機器によって送信される照会要求を受信し、照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、照会要求には、ターゲットエンティティの識別子と照会の開始時間と終了時間とが含まれ、照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定し、各タイムバケットには、当該タイムバケットに対応する時間帯内のエンティティの動的関連関係が格納され、少なくとも1つのタイムバケット内で、ターゲットエンティティの動的関連関係を照会する。これにより、本願は、従来技術と比較して、タイムバケット方式を用いて、ターゲットエンティティの動的関連情報を照会することで、演算量を効果的に減少し、動的関連情報の照会速度を向上させることができる。 According to the technical solution of the embodiments of the present application, receiving a query request sent by a terminal device, the query request is used to request querying the dynamic association relationship of the target entity, the query request includes: , including the identifier of the target entity and the start time and end time of the inquiry, determining at least one time bucket in the inquiry database to be queried based on the start time and end time of the inquiry, each time bucket having , the dynamic association relationship of the entity within the time period corresponding to the time bucket is stored, and querying the dynamic association relationship of the target entity within at least one time bucket. Therefore, compared with the prior art, the present application uses the time bucket method to query the dynamic related information of the target entity, thereby effectively reducing the amount of calculation and increasing the query speed of the dynamic related information. can be improved.

なお、上記の様々な形態のフローを使用して、ステップを並べ替えたり、追加したり、削除したりすることができる。例えば、本願に記載の各ステップは、本願に開示されている技術案が所望の結果を達成できる限り、並行に実施されてもよいし、順次実施されてもよいし、異なる順序で実施されてもよく、本明細書では、それについて限定しない。 Note that steps can be rearranged, added, or deleted using the various forms of flow described above. For example, each step described in the present application can be performed in parallel, sequentially, or in a different order, as long as the technical solution disclosed in the present application can achieve the desired result. well, and the specification is not limited thereto.

上記の具体的な実施形態は、本願の特許保護範囲に対する制限を構成するものではない。当業者にとって明らかなように、設計要件及び他の要因に応じて、様々な修正、組み合わせ、サブ組み合わせ、及び置換を行うことができる。本願の精神と原則の範囲内で行われる修正、同等の置換、及び改良であれば、本願の特許保護範囲に含まれるべきである。
The specific embodiments described above do not constitute limitations on the patent protection scope of the present application. Various modifications, combinations, subcombinations, and substitutions can be made, as will be apparent to those skilled in the art, depending on design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present application should fall within the patent protection scope of the present application.

Claims (24)

端末機器によって送信される照会要求を受信するステップであって、前記照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、前記照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含むステップと、
前記照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定するステップであって、前記タイムバケットの各々には、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納されているステップと、
前記少なくとも1つのタイムバケット内で、前記ターゲットエンティティの識別子に基づいて前記ターゲットエンティティの動的関連関係を照会するステップと、
前記ターゲットエンティティの前記動的関連関係の注目レベルに関連付けられる動的関連関係の重みを取得するステップと、
前記ターゲットエンティティの動的関連関係の重みに基づいて、前記ターゲットエンティティの動的関連関係をソートするステップと、
ソート後のターゲットエンティティの動的関連関係から、使用可能な前記ターゲットエンティティの動的関連関係を決定するステップとを含み、ここで、
ソート後のターゲットエンティティの動的関連関係から、使用可能な前記ターゲットエンティティの動的関連関係を決定する前記ステップの前に、さらに、
前記ターゲットエンティティの動的関連関係の発生頻度が頻度閾値を超える場合、前記ターゲットエンティティの動的関連関係が異常であると決定するステップと、
異常なターゲットエンティティの動的関連関係を削除するステップと、を含む、
サーバに適用される照会方法。
a step of receiving an inquiry request sent by a terminal device, the inquiry request being used to request an inquiry of a dynamic association relationship of a target entity, the inquiry request including an identifier of the target entity and an inquiry request; a step that includes a start time and an end time;
determining at least one time bucket in a query database to query based on the query start and end times, each of the time buckets including: a step in which the target entity's dynamic association relationship is stored;
querying the target entity's dynamic association relationship based on the target entity's identifier within the at least one time bucket;
obtaining a dynamic association weight associated with the attention level of the dynamic association of the target entity;
sorting the dynamic associations of the target entity based on the weight of the dynamic associations of the target entity;
determining a usable target entity dynamic association relationship from the target entity dynamic association relationships after sorting, wherein:
Prior to the step of determining a usable target entity dynamic relationship from sorted target entity dynamic relationships, further comprising:
determining that the dynamic association of the target entity is abnormal if the frequency of occurrence of the dynamic association of the target entity exceeds a frequency threshold;
removing dynamic associations of the target entities that are abnormal ;
The query method applied to the server .
前記照会データベースには、それぞれ異なる持続時間に対応する少なくとも2種類のタイムバケットが含まれ、前記照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定する前記ステップは、
前記照会の開始時間と終了時間をカバーするために使用される数が最も少ないタイムバケットを、前記照会データベース内の照会対象の少なくとも1つのタイムバケットとして決定するステップを含む、
請求項1に記載の照会方法。
The query database includes at least two types of time buckets corresponding to different durations, and determining at least one time bucket to be queried in the query database based on the start time and end time of the query. Said step includes:
determining the least number of time buckets used to cover the query start and end times as at least one time bucket to be queried in the query database;
The inquiry method of claim 1.
前記少なくとも1つのタイムバケット内で、前記ターゲットエンティティの識別子に基づいて前記ターゲットエンティティの動的関連関係を照会する前記ステップは、
前記照会要求に対応する構造化クエリ言語SQLを生成するステップと、
前記構造化クエリ言語SQLに基づいて、前記少なくとも1つのタイムバケット内で、前記ターゲットエンティティの動的関連関係を照会するステップと、を含む、
請求項1又は2に記載の照会方法
querying the target entity's dynamic association relationship based on the target entity's identifier within the at least one time bucket;
generating a structured query language SQL corresponding to the query request;
querying dynamic association relationships of the target entity within the at least one time bucket based on the Structured Query Language SQL;
The inquiry method according to claim 1 or 2 .
端末機器によって送信される照会要求を受信する前記ステップの前に、さらに、
収集機器によって収集された各エンティティのデータを取得するステップと、
前記各エンティティのデータに基づいて、前記照会データベース内で前記各エンティティの動的関連関係を更新するステップと、を含む、
請求項1に記載の照会方法。
Prior to said step of receiving a query request sent by the terminal device, further comprising:
obtaining data for each entity collected by the collection device;
updating dynamic association relationships for each entity in the query database based on the data for each entity;
The inquiry method of claim 1.
前記各エンティティのデータに基づいて、前記照会データベース内で前記各エンティティの動的関連関係を更新する前記ステップは、
前記各エンティティのデータを経度、緯度、及び時間からなるトリプル組である少なくとも1つの時空間仮想点に併合するステップと、
各時空間仮想点における各エンティティ間の動的関連関係を決定するステップと、
前記各時空間仮想点における各エンティティ間の動的関連関係を、対応するタイムバケットに更新するステップと、を含む、
請求項に記載の照会方法。
updating dynamic association relationships for each entity in the query database based on data for each entity;
merging the data for each entity into at least one spatio-temporal virtual point that is a triple-tuple of longitude, latitude and time;
determining dynamic association relationships between each entity at each spatio-temporal virtual point;
updating the dynamic association relationship between each entity at each spatio-temporal virtual point to the corresponding time bucket;
The inquiry method according to claim 4 .
前記動的関連関係には、同じフレームワークの関係が含まれる、
請求項に記載の照会方法。
the dynamic association relationships include relationships of the same framework;
The inquiry method according to claim 5 .
各時空間仮想点における各エンティティ間の動的関連関係を決定するステップは、
時空間仮想点における2つのエンティティ間の距離が第1の距離閾値よりも小さく、かつ、前記2つのエンティティ間の時間差が第1の時間閾値よりも小さい場合、前記2つのエンティティ間には同じフレームワークの関係が存在すると決定するステップを含む、
請求項に記載の照会方法。
Determining a dynamic association relationship between each entity at each spatio-temporal virtual point includes:
If the distance between two entities at a spatio-temporal virtual point is less than a first distance threshold, and the time difference between the two entities is less than a first time threshold, then there is no same frame between the two entities. determining that a work relationship exists;
The inquiry method according to claim 6 .
収集機器によって収集された各エンティティのデータを取得した後、さらに、
前記各エンティティのデータを前処理し、前記各エンティティのデータのうちの、無効エンティティ識別子、無効地理的位置、及び無効時間を含む少なくとも1つの無効データをフィルタリングするステップを含む、
請求項に記載の照会方法。
After obtaining the data for each entity collected by the Collection Equipment, further:
preprocessing the data for each entity and filtering out at least one invalid data from the data for each entity, including invalid entity identifiers, invalid geographic locations, and invalid times;
The inquiry method according to claim 4 .
前記各エンティティのデータを少なくとも1つの時空間仮想点に併合した後、さらに、
各時空間仮想点における前記各エンティティのデータに対して正規化処理を行うステップを含む、
請求項に記載の照会方法。
After merging the data of each entity into at least one spatio-temporal virtual point, further:
including the step of normalizing the data of each entity at each spatio-temporal virtual point;
The inquiry method according to claim 5 .
各時空間仮想点における前記各エンティティのデータに対して正規化処理を行う前記ステップは、
前記各時空間仮想点における同一エンティティの異なるデータによって記録された距離が第2の距離閾値よりも小さく、かつ、時間差が第2の時間閾値よりも小さい場合、前記同一エンティティの異なるデータを1つのデータに正規化するステップを含む、
請求項に記載の照会方法。
The step of normalizing the data of each entity at each spatio-temporal virtual point includes:
If the distance recorded by different data of the same entity at each spatio-temporal virtual point is less than a second distance threshold and the time difference is less than a second time threshold, the different data of the same entity are combined into one including the step of normalizing to the data,
10. The inquiry method according to claim 9 .
端末機器によって送信される照会要求を受信するための受信モジュールであって、前記照会要求は、ターゲットエンティティの動的関連関係の照会を要求するために用いられ、前記照会要求は、ターゲットエンティティの識別子及び照会の開始時間と終了時間を含む受信モジュールと、
前記照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定するための処理モジュールであって、前記タイムバケットの各々には、当該タイムバケットに対応する時間帯内のターゲットエンティティの動的関連関係が格納される処理モジュールと、
前記少なくとも1つのタイムバケット内で、前記ターゲットエンティティの識別子に基づいて前記ターゲットエンティティの動的関連関係を照会するための照会モジュールと、を含む照会装置であって
前記照会装置は、前記ターゲットエンティティの前記動的関連関係の注目レベルに関連付けられる動的関連関係の重みを取得するための取得モジュールをさらに含み、
前記処理モジュールは、さらに、前記ターゲットエンティティの動的関連関係の重みに基づいて、前記ターゲットエンティティの動的関連関係をソートすること、及びソート後のターゲットエンティティの動的関連関係から、使用可能な前記ターゲットエンティティの動的関連関係を決定すること、に用いられ、
前記処理モジュールは、さらに、前記ターゲットエンティティの動的関連関係の発生頻度が頻度閾値を超える場合、前記ターゲットエンティティの動的関連関係が異常であると決定すること、及び異常なターゲットエンティティの動的関連関係を削除すること、に用いられる、
照会装置。
A receiving module for receiving an inquiry request sent by a terminal device, wherein the inquiry request is used to request inquiry of a dynamic association relationship of a target entity, the inquiry request includes an identifier of the target entity and a receiving module containing the start time and end time of the inquiry;
A processing module for determining at least one time bucket to be queried in a query database based on the start time and end time of the query, each of the time buckets including a time corresponding to the time bucket. a processing module in which dynamic associations of target entities in a band are stored;
a query module for querying the dynamic association relationship of the target entity based on the identifier of the target entity within the at least one time bucket;
The querying device further comprises an obtaining module for obtaining a dynamic association weight associated with the attention level of the dynamic association of the target entity;
The processing module further comprises: sorting the dynamic associations of the target entity based on the weight of the dynamic associations of the target entity; determining a dynamic association relationship of the target entity;
The processing module is further configured to determine that the dynamic association of the target entity is abnormal if the frequency of occurrence of the dynamic association of the target entity exceeds a frequency threshold; used to remove associations,
Inquiry device.
前記照会データベースには、それぞれ異なる持続時間に対応する少なくとも2種類のタイムバケットが含まれ、前記処理モジュールは、具体的には、前記照会の開始時間と終了時間をカバーするために使用される数が最も少ないタイムバケットを、前記照会データベース内の照会対象の少なくとも1つのタイムバケットとして決定するために用いられる、
請求項11に記載の照会装置。
The query database includes at least two types of time buckets, each corresponding to a different duration, and the processing module specifically includes the number used to cover the start time and end time of the query. as at least one time bucket to be queried in the query database;
12. Inquiry device according to claim 11 .
前記照会モジュールは、具体的には、前記照会要求に対応する構造化クエリ言語SQLを生成すること、及び前記構造化クエリ言語SQLに基づいて、前記少なくとも1つのタイムバケット内で、前記ターゲットエンティティの動的関連関係を照会すること、に用いられる、
請求項11又は12に記載の照会装置
Specifically, the query module generates a structured query language SQL corresponding to the query request, and based on the structured query language SQL, within the at least one time bucket, the target entity's used to query dynamic associations,
13. A query device according to claim 11 or 12 .
収集機器によって収集された各エンティティのデータを取得し、前記各エンティティのデータに基づいて、前記照会データベース内で前記各エンティティの動的関連関係を更新するための更新モジュールをさらに含む、
請求項11に記載の照会装置。
further comprising an update module for retrieving data for each entity collected by a collection device and updating dynamic association relationships for each entity in the query database based on the data for each entity;
12. Inquiry device according to claim 11 .
前記更新モジュールは、具体的には、前記各エンティティのデータを経度、緯度、及び時間からなるトリプル組である少なくとも1つの時空間仮想点に併合すること、各時空間仮想点における各エンティティ間の動的関連関係を決定すること、及び前記各時空間仮想点における各エンティティ間の動的関連関係を、対応するタイムバケットに更新すること、に用いられる、
請求項14に記載の照会装置。
Specifically, the update module merges the data of each entity into at least one spatio-temporal virtual point that is a triple set consisting of longitude, latitude, and time; used to determine the dynamic association relationship, and update the dynamic association relationship between each entity at each spatio-temporal virtual point to the corresponding time bucket;
15. A query device as claimed in claim 14 .
前記動的関連関係には、同じフレームワークの関係が含まれる、
請求項15に記載の照会装置。
the dynamic association relationships include relationships of the same framework;
16. A query device as claimed in claim 15 .
前記更新モジュールは、具体的には、時空間仮想点における2つのエンティティ間の距離が第1の距離閾値よりも小さく、かつ、前記2つのエンティティ間の時間差が第1の時間閾値よりも小さい場合、前記2つのエンティティ間には同じフレームワークの関係が存在すると決定するために用いられる、
請求項16に記載の照会装置。
Specifically, if the distance between two entities at the spatio-temporal virtual point is smaller than a first distance threshold and the time difference between the two entities is smaller than a first time threshold , used to determine that the same framework relationship exists between the two entities;
17. A query device according to claim 16 .
前記更新モジュールは、さらに、前記各エンティティのデータを前処理し、前記各エンティティのデータのうちの、無効エンティティ識別子、無効地理的位置、及び無効時間を含む少なくとも1つの無効データをフィルタリングするために用いられる、
請求項14に記載の照会装置。
The update module is further configured to preprocess the data of each entity and filter at least one invalid data of the data of each entity including invalid entity identifier, invalid geographic location, and invalid time. used,
15. A query device as claimed in claim 14 .
前記更新モジュールは、さらに、各時空間仮想点における前記各エンティティのデータに対して正規化処理を行うために用いられる、
請求項15に記載の照会装置。
The update module is further used to perform normalization processing on the data of each entity at each spatio-temporal virtual point,
16. A query device as claimed in claim 15 .
前記更新モジュールは、さらに、前記各時空間仮想点における同一エンティティの異なるデータによって記録された距離が第2の距離閾値よりも小さく、かつ、時間差が第2の時間閾値よりも小さい場合、前記同一エンティティの異なるデータを1つのデータに正規化するために用いられる、
請求項19に記載の照会装置。
The update module further determines that if the distance recorded by the different data of the same entity at each spatio-temporal virtual point is less than a second distance threshold and the time difference is less than a second time threshold, then the same used to normalize different data for an entity into one data,
20. A query device as claimed in claim 19 .
少なくとも1つのプロセッサと、
前記少なくとも1つのプロセッサと通信可能に接続されるメモリと、を含み、
前記メモリには、前記少なくとも1つのプロセッサによって実行可能な命令が格納され、前記命令は、前記少なくとも1つのプロセッサが請求項1~10のいずれか1項に記載の方法を実行できるように、前記少なくとも1つのプロセッサによって実行される、
電子機器。
at least one processor;
a memory communicatively coupled to the at least one processor;
Instructions executable by the at least one processor are stored in the memory, and the instructions enable the at least one processor to perform the method according to any one of claims 1 to 10 . executed by at least one processor;
Electronics.
コンピュータ命令が格納されている非一時的コンピュータ読み取り可能な記憶媒体であって、前記コンピュータ命令は、コンピュータに請求項1~10のいずれか1項に記載の方法を実行させるために用いられる、
非一時的コンピュータ読み取り可能な記憶媒体。
A non-transitory computer-readable storage medium storing computer instructions, said computer instructions being used to cause a computer to perform the method of any one of claims 1 to 10 ,
Non-transitory computer-readable storage medium.
照会要求における照会の開始時間と終了時間に基づいて、照会データベース内の照会対象の少なくとも1つのタイムバケットを決定するステップであって、前記タイムバケットの各々には、当該タイムバケットに対応する時間帯内のエンティティの動的関連関係が格納されているステップと、
前記少なくとも1つのタイムバケットから前記照会要求におけるターゲットエンティティの動的関連関係を照会するステップと、
前記ターゲットエンティティの前記動的関連関係の注目レベルに関連付けられる動的関連関係の重みを取得するステップと、
前記ターゲットエンティティの動的関連関係の重みに基づいて、前記ターゲットエンティティの動的関連関係をソートするステップと、
ソート後のターゲットエンティティの動的関連関係から、使用可能な前記ターゲットエンティティの動的関連関係を決定するステップとを含み、ここで、
ソート後のターゲットエンティティの動的関連関係から、使用可能な前記ターゲットエンティティの動的関連関係を決定する前記ステップの前に、さらに、
前記ターゲットエンティティの動的関連関係の発生頻度が頻度閾値を超える場合、前記ターゲットエンティティの動的関連関係が異常であると決定するステップと、
異常なターゲットエンティティの動的関連関係を削除するステップと、を含む、
サーバに適用される照会方法。
determining at least one time bucket in a query database to be queried based on a query start time and an end time in the query request, each of said time buckets including a time period corresponding to said time bucket; a step in which the dynamic associations of the entities in the are stored;
querying dynamic association relationships of target entities in the query request from the at least one time bucket;
obtaining a dynamic association weight associated with the attention level of the dynamic association of the target entity;
sorting the dynamic associations of the target entity based on the weight of the dynamic associations of the target entity;
determining a usable target entity dynamic association relationship from the target entity dynamic association relationships after sorting, wherein:
Prior to the step of determining a usable target entity dynamic relationship from sorted target entity dynamic relationships, further comprising:
determining that the dynamic association of the target entity is abnormal if the frequency of occurrence of the dynamic association of the target entity exceeds a frequency threshold;
removing dynamic associations of the target entities that are abnormal ;
The query method applied to the server .
コンピュータプログラムであって、前記コンピュータプログラムはプロセッサで実行されるとき、コンピュータに請求項1~10のいずれか1項に記載の方法を実行させる、
コンピュータプログラム。
A computer program, said computer program causing a computer to perform the method of any one of claims 1 to 10 when run on a processor,
computer program.
JP2021052984A 2020-06-30 2021-03-26 INQUIRY METHOD, DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM Active JP7166381B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010607625.XA CN111782872B (en) 2020-06-30 2020-06-30 Query method, query device, electronic equipment and storage medium
CN202010607625.X 2020-06-30

Publications (2)

Publication Number Publication Date
JP2021103579A JP2021103579A (en) 2021-07-15
JP7166381B2 true JP7166381B2 (en) 2022-11-07

Family

ID=72761169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021052984A Active JP7166381B2 (en) 2020-06-30 2021-03-26 INQUIRY METHOD, DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM

Country Status (5)

Country Link
US (1) US11487773B2 (en)
EP (1) EP3819793B1 (en)
JP (1) JP7166381B2 (en)
KR (1) KR102557613B1 (en)
CN (1) CN111782872B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112364264B (en) * 2020-11-27 2023-10-27 支付宝(杭州)信息技术有限公司 Risk prevention and control method, device and equipment
CN112559522A (en) * 2020-12-07 2021-03-26 百度在线网络技术(北京)有限公司 Data storage method and device, query method, electronic device and readable medium
CN113220950A (en) * 2021-05-19 2021-08-06 国网浙江省电力有限公司湖州供电公司 Electricity price query system and electricity price query method
CN113222735B (en) * 2021-05-21 2024-03-29 中国农业银行股份有限公司 Transaction associated information query method and related device
CN113672640A (en) * 2021-06-28 2021-11-19 深圳云之家网络有限公司 Data query method and device, computer equipment and storage medium
CN113377804B (en) * 2021-06-30 2022-08-26 北京三快在线科技有限公司 Data processing method and device, storage medium and electronic equipment
CN113723940B (en) * 2021-09-01 2023-11-03 京东科技控股股份有限公司 Account data processing method and device, electronic equipment and storage medium
CN113836405B (en) * 2021-09-09 2024-03-12 深圳Tcl新技术有限公司 Information query method, device and computer readable storage medium
CN113806651B (en) * 2021-09-18 2024-05-24 深圳市酷开网络科技股份有限公司 Data caching method, device, server and storage medium
CN114416817A (en) * 2021-12-21 2022-04-29 北京镁伽科技有限公司 Method, apparatus, device, system and storage medium for processing data
CN113946594B (en) * 2021-12-22 2022-07-12 昆仑智汇数据科技(北京)有限公司 Integrated query method, device and equipment for industrial multi-source heterogeneous data
CN114297322A (en) * 2021-12-31 2022-04-08 深圳Tcl新技术有限公司 Data processing method, device, terminal and storage medium
CN115174958B (en) * 2022-06-27 2023-09-08 杭州海康威视数字技术股份有限公司 Video query method, device, logistics monitoring system, equipment and program product
CN115190044B (en) * 2022-06-28 2023-08-08 平安银行股份有限公司 Device connection state checking method, device and storage medium
CN116089437B (en) * 2022-11-30 2023-10-03 荣耀终端有限公司 Data processing method and server

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140258281A1 (en) 2011-11-16 2014-09-11 Tencent Technology (Shenzhen) Company Limited Method And Server For Searching For Nearby User In Social Networking Services

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7440848B2 (en) * 2006-05-30 2008-10-21 Horizon Marine Methods and systems for integrating environmental data with mobile asset tracking
EP2074505A4 (en) * 2006-10-05 2010-01-13 Splunk Inc Time series search engine
US8515975B1 (en) * 2009-12-07 2013-08-20 Google Inc. Search entity transition matrix and applications of the transition matrix
US9116982B1 (en) * 2012-04-27 2015-08-25 Google Inc. Identifying interesting commonalities between entities
US20140337373A1 (en) * 2013-05-07 2014-11-13 Magnet Systems, Inc. System for managing graph queries on relationships among entities using graph index
US9712420B2 (en) 2014-03-05 2017-07-18 Redvector Networks, Inc. Method and medium for implicit relationship discovery based on cumulative co-temporal activity
US11200130B2 (en) * 2015-09-18 2021-12-14 Splunk Inc. Automatic entity control in a machine data driven service monitoring system
US10902025B2 (en) * 2015-08-20 2021-01-26 Skyhook Wireless, Inc. Techniques for measuring a property of interest in a dataset of location samples
US10540360B2 (en) * 2016-07-29 2020-01-21 Hewlett Packard Enterprise Development Lp Identifying relationship instances between entities
AU2016231506B2 (en) * 2016-09-20 2022-02-17 Global Software Innovation Pty Ltd Systems and methods for accessing a database management system
US10817524B2 (en) * 2017-04-10 2020-10-27 Servicenow, Inc. Systems and methods for querying time series data
US10489425B2 (en) * 2017-10-26 2019-11-26 Salesforce.Com, Inc. User clustering based on query history
CN108021618B (en) * 2017-11-13 2020-10-16 北京天元创新科技有限公司 Data query method and system
CN109508344B (en) * 2018-09-29 2024-03-12 中国平安人寿保险股份有限公司 Service data query method and device, electronic equipment and storage medium
CN110334109B (en) * 2019-05-08 2020-07-24 重庆猪八戒知识产权服务有限公司 Relational database data query method, system, medium and electronic device
CN110619008A (en) * 2019-09-17 2019-12-27 北京百度网讯科技有限公司 Database query method and device, electronic equipment and storage medium
US11304172B2 (en) * 2020-05-06 2022-04-12 At&T Intellectual Property I, L.P. Site estimation based on crowd sourced data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140258281A1 (en) 2011-11-16 2014-09-11 Tencent Technology (Shenzhen) Company Limited Method And Server For Searching For Nearby User In Social Networking Services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAN, Haoyu et al.,CloST: A Hadoop-based Storage System for Big Spatio-Temporal Data Analytics,CIKM '12: Proceedings of the 21st ACM international conference on Information and knowledge management [online],ACM,2012年10月29日,pp.2139-2143,[検索日:2022.02.21], <DOI: 10.1145/2396761.2398589>

Also Published As

Publication number Publication date
CN111782872A (en) 2020-10-16
KR20210038859A (en) 2021-04-08
JP2021103579A (en) 2021-07-15
EP3819793A3 (en) 2021-09-22
CN111782872B (en) 2023-08-08
KR102557613B1 (en) 2023-07-19
US11487773B2 (en) 2022-11-01
EP3819793A2 (en) 2021-05-12
EP3819793B1 (en) 2023-03-08
US20210224273A1 (en) 2021-07-22

Similar Documents

Publication Publication Date Title
JP7166381B2 (en) INQUIRY METHOD, DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM
US10769114B2 (en) Database syncing
CN110826594B (en) Track clustering method, equipment and storage medium
US9442905B1 (en) Detecting neighborhoods from geocoded web documents
US8856144B2 (en) Typed relevance scores in an identity resolution system
CN114244595B (en) Authority information acquisition method and device, computer equipment and storage medium
US10970300B2 (en) Supporting multi-tenancy in a federated data management system
CN111427971B (en) Business modeling method, device, system and medium for computer system
US11074267B2 (en) Staged approach to automatic data discovery and performance
WO2021189752A1 (en) Search method and apparatus
EP3828732A2 (en) Method and apparatus for processing identity information, electronic device, and storage medium
CN110914814A (en) Cognitive file and object management for distributed storage environments
CN111899822B (en) Medical institution database construction method, query method, device, equipment and medium
CN109145225B (en) Data processing method and device
CN111259090A (en) Graph generation method and device of relational data, electronic equipment and storage medium
CN112965943A (en) Data processing method and device, electronic equipment and storage medium
CN114996104A (en) Data processing method and device
CN111324825B (en) Method and device for searching target personnel
CN113722573B (en) Method, system and storage medium for generating network security threat data set
CN114969044A (en) Materialized column creating method based on data lake and data query method
CN113505172B (en) Data processing method, device, electronic equipment and readable storage medium
US11683656B2 (en) Recommendation of region of interest
US11899680B2 (en) Techniques for metadata value-based mapping during data load in data integration job
US11500947B2 (en) Search method and apparatus
US20230086429A1 (en) Method of recognizing address, electronic device and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220601

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220927

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221025

R150 Certificate of patent or registration of utility model

Ref document number: 7166381

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150