TW201734861A - Description information generating method and device - Google Patents

Description information generating method and device Download PDF

Info

Publication number
TW201734861A
TW201734861A TW106104941A TW106104941A TW201734861A TW 201734861 A TW201734861 A TW 201734861A TW 106104941 A TW106104941 A TW 106104941A TW 106104941 A TW106104941 A TW 106104941A TW 201734861 A TW201734861 A TW 201734861A
Authority
TW
Taiwan
Prior art keywords
data table
data
traversed
adjacent
connection
Prior art date
Application number
TW106104941A
Other languages
Chinese (zh)
Inventor
Lin-Jun Yin
pei-kun Lin
Jing Luo
Hong-Po Zhu
Original Assignee
Alibaba Group Services 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 Alibaba Group Services Ltd filed Critical Alibaba Group Services Ltd
Publication of TW201734861A publication Critical patent/TW201734861A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Fuzzy Systems (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)

Abstract

A description information generating method and device. The method comprises: obtaining field information comprised in each of multiple data tables; determining association relationships among the multiple data tables according to the field information; and generating description information according to the association relationships among the multiple data tables, wherein the description information is used for recording a join order of the multiple data tables and a join condition between adjacent data tables. The method solves the technical problem in the related art of being unable to implement data analysis by automatically generating a legal table join SQL statement when multiple data tables are given and relationships of the data tables can be obtained.

Description

產生描述資訊的方法及裝置 Method and apparatus for generating description information

本發明涉及電腦領域,具體而言,涉及一種產生描述資訊的方法及裝置。 The present invention relates to the field of computers, and in particular to a method and apparatus for generating description information.

目前,隨著大資料技術的迅猛發展,如何便於業務人員快速分析資料,是大資料應用需要解決的關鍵問題。 At present, with the rapid development of big data technology, how to facilitate the rapid analysis of data by business personnel is a key issue that needs to be solved in large data applications.

業務人員經常需要基於基礎資料進行各種統計分析,該過程通常需要編寫SQL語句在資料庫中運行。例如:對於基於多張資料表的統計分析,需要採用人工方式透過資料表的元資訊來獲取資料表之間的連接關係。假設第一張資料表包含有3個欄位,其分別為:設備標識(ID)、日期以及設備狀態;第二張資料表包含有2個欄位,其分別為:設備ID和公司ID;第三張資料表包含有2個欄位,其分別為:公司ID和公司名稱,那麼透過資料表的元資訊可以獲知,第一張資料表和第二張資料表可以透過“設備ID”加以連接,第二張資料表和第三張資料表可以透過“公司ID”加以連接,透過連接這三張資料表,可以分析出每個公司在預設時間段內(例如:最近1個 月)發生的特定事件(例如:設備故障率)。 Business people often need to perform various statistical analysis based on the basic data, which usually requires writing SQL statements to run in the database. For example, for statistical analysis based on multiple data tables, it is necessary to manually obtain the connection relationship between the data tables through the meta information of the data table. Assume that the first data sheet contains three fields, namely: device identification (ID), date, and device status; the second data table contains two fields, which are: device ID and company ID; The third data sheet contains two fields, namely: company ID and company name. The information in the data sheet can be obtained. The first data sheet and the second data sheet can be obtained through the “device ID”. Connection, the second data sheet and the third data sheet can be connected through the "company ID". By connecting these three data sheets, each company can be analyzed within a preset time period (for example: the last one) Specific events that occur (eg, equipment failure rate).

對於case by case的統計分析,表連接語句可以根據特定案例來編寫,即業務人員需要為每個案例分別定制不同的SQL語句。然而,正是由於case by case的統計分析方式需要針對每個案例分別編寫SQL語句,由此易造成此種操作方式不僅工作效率較低,而且發生錯誤的概率較高。 For case by case statistical analysis, table join statements can be written according to specific cases, that is, business personnel need to customize different SQL statements for each case. However, it is precisely because of the statistical analysis of case by case that SQL statements need to be written separately for each case, which is easy to cause this kind of operation mode, not only work efficiency is low, but also the probability of error is high.

因此,相關技術中並沒有提供在給定若干張資料表且可獲知資料表之間的關係的情況下,如何透過採用自動產生合法的表連接SQL語句的實現方式來完成資料分析。 Therefore, the related art does not provide how to perform data analysis by adopting an implementation method of automatically generating a legal table connection SQL statement given a plurality of data tables and knowing the relationship between the data tables.

針對上述的問題,目前尚未提出有效的解決方案。 In response to the above problems, no effective solution has been proposed yet.

本發明實施例提供了一種產生描述資訊的方法及裝置,以至少解決相關技術中無法在給定若干張資料表且可獲知資料表之間的關係的情況下,透過採用自動產生合法的表連接SQL語句的實現方式來完成資料分析的技術問題。 The embodiment of the invention provides a method and a device for generating description information, so as to at least solve the problem that the related information cannot be given a plurality of data tables and the relationship between the data tables can be obtained, and the legal table connection is automatically generated. The implementation of SQL statements to complete the technical problems of data analysis.

根據本發明實施例的一個方面,提供了一種產生描述資訊的方法,包括:獲取多張資料表中每張資料表所包含的欄位資訊;根據欄位資訊確定多張資料表相互間的關聯關係;利用多張資料表相互間的關聯關係產生描述資訊,其中,描述資訊用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 According to an aspect of an embodiment of the present invention, a method for generating description information includes: obtaining field information included in each data table in a plurality of data tables; and determining association between multiple data tables according to field information. Relationship; generating description information by using a plurality of data tables to associate with each other, wherein the description information is used to record the order of connection between the plurality of data tables and the connection conditions used between adjacent data tables.

可選地,根據欄位資訊確定多張資料表相互間的關聯關係包括:選取步驟:從多張資料表中選取任意一張待遍歷的資料表;查找步驟:查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為選取的資料表的待連接資料表;在選取的資料表與待連接資料表之間建立關聯關係;返回選取步驟,直至多張資料表被全部遍歷。 Optionally, determining, according to the field information, the relationship between the plurality of data tables includes: selecting a step: selecting any one of the plurality of data tables to be traversed; and searching step: searching and selecting the included data table The field information has one or more data tables of the same field, and sets the found data table as the data table to be connected of the selected data table; establishes an association between the selected data table and the data table to be connected Relationship; return to the selection step until multiple sheets are traversed.

可選地,利用多張資料表相互間的關聯關係產生描述資訊包括:按照多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與下一個遍歷的資料表相鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,鄰接的資料表為已經遍歷過的資料表;採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊。 Optionally, generating the description information by using the relationship between the plurality of data tables includes: obtaining the identification information of the next traversed data table from the initial traversed data table according to the relationship between the plurality of data tables, and The identification information of the data table adjacent to the traversed data table and the connection condition between the next traversed data table and the adjacent data table, wherein the adjacent data table is the data table that has been traversed; The identification information of the next traversed data table, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table generate description information.

可選地,採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊包括:先根據下一個遍歷的資料表的標識資訊和鄰接的資料表的標識資訊建立下一個遍歷的資料表與鄰接的資料表之間的關聯關係後,再記錄下一個遍歷的資料表與鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;聯合全部分段連接資訊,產生描述資訊。 Optionally, using the acquired identification information of the next traversed data table, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table to generate description information includes: The identification information of a traversed data table and the identification information of the adjacent data table establish an association relationship between the next traversed data table and the adjacent data table, and then record the next traversed data table and the adjacent data table. The connection condition respectively generates segment connection information corresponding to the data table that has been traversed; and combines all segment connection information to generate description information.

可選地,如果下一個遍歷的資料表同時與多個資料表相鄰接和/或下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的下一個遍歷的資料表與鄰接的資料表之間的連接條件是由下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 Optionally, if the next traversed data table is adjacent to the plurality of data tables at the same time and/or the next traversed data table and the plurality of adjacent data tables have multiple identical fields, then the record is The connection condition between a traversed data table and an adjacent data table is a connection condition generated by the next traversed data table adjacent to the plurality of data tables and/or adjacent to the data table by the next traversed data table The connected data table has a union of connection conditions generated by multiple identical fields.

根據本發明實施例的另一方面,還提供了一種產生描述資訊的裝置,包括:獲取模組,用於獲取多張資料表中每張資料表所包含的欄位資訊;確定模組,用於根據欄位資訊確定多張資料表相互間的關聯關係;產生模組,用於利用多張資料表相互間的關聯關係產生描述資訊,其中,描述資訊用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 According to another aspect of the embodiments of the present invention, an apparatus for generating description information is provided, including: an obtaining module, configured to acquire field information included in each data table in a plurality of data tables; Determining the relationship between the plurality of data tables according to the field information; generating a module for generating description information by using the relationship between the plurality of data tables, wherein the description information is used to record the plurality of data tables The connection order and the connection conditions used between adjacent data tables.

可選地,確定模組包括:選取單元,用於從多張資料表中選取任意一張待遍歷的資料表;查找單元,用於查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為選取的資料表的待連接資料表;建立單元,用於在選取的資料表與待連接資料表之間建立關聯關係;返回選取單元,直至多張資料表被全部遍歷。 Optionally, the determining module includes: a selecting unit, configured to select any one of the plurality of data tables to be traversed; the searching unit is configured to search and select one of the field information included in the selected data table. Or a plurality of data tables of the same field, and setting the found data table as the data table to be connected of the selected data table; establishing a unit for establishing an association relationship between the selected data table and the data table to be connected; Returns the selection unit until multiple sheets are traversed.

可選地,產生模組包括:獲取單元,用於按照多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與下一個遍歷的資料表 相鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,鄰接的資料表為已經遍歷過的資料表;產生單元,用於採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊。 Optionally, the generating module includes: an obtaining unit, configured to sequentially acquire, according to the relationship between the plurality of data tables, the identification information of the next traversed data table from the initial traversed data table, and the next traversed data table. The identification information of the adjacent data table and the connection condition between the next traversed data table and the adjacent data table, wherein the adjacent data table is a data table that has been traversed; the generating unit is configured to adopt the acquired information The identification information of the next traversed data table, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table generate description information.

可選地,產生單元包括:第一產生子單元,用於先根據下一個遍歷的資料表的標識資訊和鄰接的資料表的標識資訊建立下一個遍歷的資料表與鄰接的資料表之間的關聯關係後,再記錄下一個遍歷的資料表與鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;第二產生子單元,用於聯合全部分段連接資訊,產生描述資訊。 Optionally, the generating unit includes: a first generating subunit, configured to first establish, between the next traversed data table and the adjacent data table, according to the identification information of the next traversed data table and the identification information of the adjacent data table After the association relationship, the connection condition between the next traversed data table and the adjacent data table is recorded, respectively, and segment connection information corresponding to the already traversed data table is generated; and the second generation sub-unit is used to unite all segments. Connect information and generate description information.

可選地,第一產生子單元,用於在下一個遍歷的資料表同時與多個資料表相鄰接和/或下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的下一個遍歷的資料表與鄰接的資料表之間的連接條件是由下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 Optionally, the first generating subunit is configured to simultaneously associate with the plurality of data tables in the next traversed data table and/or the data table of the next traversal has a plurality of identical columns with the partially adjacent data table. When the bit is recorded, the connection condition between the next traversed data table and the adjacent data table is the connection condition generated by the next traversed data table adjacent to the plurality of data tables and/or by the next traversal The data table and the adjacent data table have a combination of connection conditions generated by multiple identical fields.

在本發明實施例中,採用透過獲取多張資料表中每張資料表所包含的欄位資訊並根據欄位資訊確定多張資料表相互間的關聯關係的方式,利用多張資料表相互間的關聯關係產生用於記錄多張資料表相互間的連接次序以及相鄰 資料表之間所使用的連接條件的描述資訊,達到了不需要人工參與便可以自動產生上述描述資訊(例如:合法的表連接SQL語句)來完成資料分析的目的,從而實現了透過自動產生資料表之間相互關係的描述資訊不僅提高了資料分析效率而且還提升了資料分析結果準確性的技術效果,進而解決了相關技術中無法在給定若干張資料表且可獲知資料表之間的關係的情況下,透過採用自動產生合法的表連接SQL語句的實現方式來完成資料分析的技術問題。 In the embodiment of the present invention, by using the field information included in each data table in the plurality of data tables and determining the relationship between the plurality of data tables according to the field information, the plurality of data tables are used by each other. The association relationship is generated for recording the order of connection between multiple data tables and adjacent The description information of the connection conditions used between the data tables achieves the purpose of automatically generating the above description information (for example, a legal table connection SQL statement) without manual intervention, thereby realizing the automatic generation of data. The description information of the relationship between the tables not only improves the efficiency of data analysis but also improves the technical effect of the accuracy of the data analysis results, thereby solving the relationship between the related data that cannot be given a number of data tables and the available data tables. In the case of the problem, the technical problem of data analysis is completed by adopting an implementation method of automatically generating a legal table connection SQL statement.

10‧‧‧獲取模組 10‧‧‧Getting module

20‧‧‧確定模組 20‧‧‧Determining the module

30‧‧‧產生模組 30‧‧‧ generating module

10‧‧‧電腦終端 10‧‧‧Computer terminal

102‧‧‧處理器 102‧‧‧Processor

104‧‧‧記憶體 104‧‧‧ memory

106‧‧‧傳輸裝置 106‧‧‧Transportation device

200‧‧‧選取單元 200‧‧‧Selection unit

202‧‧‧查找單元 202‧‧‧Search unit

204‧‧‧建立單元 204‧‧‧Building unit

300‧‧‧獲取單元 300‧‧‧Acquisition unit

302‧‧‧產生單元 302‧‧‧Generating unit

此處所說明的圖式用來提供對本發明的進一步理解,構成本申請的一部分,本發明的示意性實施例及其說明用於解釋本發明,並不構成對本發明的不當限定。在圖式中:圖1是本發明實施例的一種產生描述資訊的方法的電腦終端的硬體結構方塊圖;圖2是根據本發明實施例的產生描述資訊的方法的流程圖;圖3是根據本發明較佳實施例的在多張資料表的相互間建立完整的拓撲結構的示意圖;圖4是根據本發明較佳實施例的產生描述資訊的方法的示意圖;圖5是根據本發明實施例的產生描述資訊的裝置的結 構方塊圖;圖6是根據本發明較佳實施例的產生描述資訊的裝置的結構方塊圖;圖7是根據本發明實施例的一種電腦終端的結構方塊圖。 The drawings are intended to provide a further understanding of the present invention, and are intended to be a part of the invention. In the drawings: FIG. 1 is a block diagram showing a hardware structure of a computer terminal for generating a method for describing information according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for generating description information according to an embodiment of the present invention; A schematic diagram of establishing a complete topology between a plurality of data tables in accordance with a preferred embodiment of the present invention; FIG. 4 is a schematic diagram of a method of generating description information in accordance with a preferred embodiment of the present invention; FIG. 5 is an implementation in accordance with the present invention. Example of generating a device describing the information FIG. 6 is a block diagram showing the structure of an apparatus for generating description information according to a preferred embodiment of the present invention; and FIG. 7 is a block diagram showing the structure of a computer terminal according to an embodiment of the present invention.

為了使本技術領域的人員更好地理解本發明方案,下面將結合本發明實施例中的圖式,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分的實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明保護的範圍。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.

需要說明的是,本發明的說明書和申請專利範圍及上述圖式中的術語“第一”、“第二”等是用於區別類似的物件,而不必用於描述特定的順序或先後次序。應該理解這樣使用的資料在適當情況下可以互換,以便這裡描述的本發明的實施例能夠以除了在這裡圖示或描述的那些以外的順序實施。此外,術語“包括”和“具有”以及他們的任何變形,意圖在於涵蓋不排他的包含,例如,包含了一系列步驟或單元的過程、方法、系統、產品或設備不必限於清楚地列出的那些步驟或單元,而是可包括沒有清楚地列出的或對於這些過程、方法、產品或設備固有的其它步 驟或單元。 It should be noted that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar items, and are not necessarily used to describe a particular order or order. It is to be understood that the materials so used are interchangeable, where appropriate, so that the embodiments of the invention described herein can be carried out in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to include a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units, but may include other steps not explicitly listed or inherent to such processes, methods, products or equipment Step or unit.

實施例1 Example 1

根據本發明實施例,還提供了一種產生描述資訊的方法實施例,需要說明的是,在圖式的流程圖示出的步驟可以在諸如一組電腦可執行指令的電腦系統中執行,並且,雖然在流程圖中示出了邏輯順序,但是在某些情況下,可以以不同於此處的循序執行所示出或描述的步驟。 In accordance with an embodiment of the present invention, there is also provided an embodiment of a method of generating description information, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and Although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than here.

本申請實施例一所提供的方法實施例可以在移動終端、電腦終端或者類似的運算裝置中執行。以運行在電腦終端上為例,圖1是本發明實施例的一種產生描述資訊的方法的電腦終端的硬體結構方塊圖。如圖1所示,電腦終端10可以包括一個或多個(圖中僅示出一個)處理器102(處理器102可以包括但不限於微處理器MCU或可程式設計邏輯器件FPGA等的處理裝置)、用於儲存資料的記憶體104、以及用於通訊功能的傳輸裝置106。本領域普通技術人員可以理解,圖1所示的結構僅為示意,其並不對上述電子裝置的結構造成限定。例如,電腦終端10還可包括比圖1中所示更多或者更少的元件,或者具有與圖1所示不同的配置。 The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like. Taking a computer terminal as an example, FIG. 1 is a block diagram showing a hardware structure of a computer terminal for generating a method for describing information according to an embodiment of the present invention. As shown in FIG. 1, computer terminal 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc. ), a memory 104 for storing data, and a transmission device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, computer terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.

記憶體104可用於儲存應用軟體的軟體程式以及模組,如本發明實施例中的產生描述資訊的方法對應的程式指令/模組,處理器102透過運行儲存在記憶體104內的軟體程式以及模組,從而執行各種功能應用以及資料處 理,即實現上述的產生描述資訊的方法。記憶體104可包括高速隨機記憶體,還可包括非易失性記憶體,如一個或者多個磁性儲存裝置、快閃記憶體、或者其他非易失性固態記憶體。在一些實例中,記憶體104可進一步包括相對於處理器102遠端設置的記憶體,這些遠端存放器可以透過網路連接至電腦終端10。上述網路的實例包括但不限於網際網路、企業內部網、局域網、移動通訊網及其組合。 The memory 104 can be used to store software programs and modules of the application software, such as the program instructions/modules corresponding to the method for generating the description information in the embodiment of the present invention, and the processor 102 runs the software program stored in the memory 104 and Modules to perform various functional applications and data offices To achieve the above method of generating description information. Memory 104 may include high speed random memory and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 can further include memory disposed remotely from processor 102, which can be connected to computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

傳輸裝置106用於經由一個網路接收或者發送資料。上述的網路具體實例可包括電腦終端10的通訊供應商提供的無線網路。在一個實例中,傳輸裝置106包括一個網路介面卡(Network Interface Controller,NIC),其可透過基地台與其他網路設備相連從而可與網際網路進行通訊。在一個實例中,傳輸裝置106可以為射頻(Radio Frequency,RF)模組,其用於透過無線方式與網際網路進行通訊。 Transmission device 106 is for receiving or transmitting data via a network. The above specific network example may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network interface controller (NIC) that can be connected to other network devices through the base station to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module for communicating wirelessly with the Internet.

在上述運行環境下,本申請提供了如圖2所示的產生描述資訊的方法。圖2是根據本發明實施例的產生描述資訊的方法的流程圖。如圖2所示,該方法可以包括以下處理步驟:步驟S20:獲取多張資料表中每張資料表所包含的欄位資訊;步驟S22:根據欄位資訊確定多張資料表相互間的關聯關係; 步驟S24:利用多張資料表相互間的關聯關係產生描述資訊,其中,描述資訊用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 In the above operating environment, the present application provides a method of generating description information as shown in FIG. 2. 2 is a flow chart of a method of generating description information in accordance with an embodiment of the present invention. As shown in FIG. 2, the method may include the following processing steps: Step S20: Acquire field information included in each data table in multiple data tables; Step S22: Determine association between multiple data tables according to field information relationship; Step S24: generating description information by using the relationship between the plurality of data tables, wherein the description information is used to record the connection order of the plurality of data tables and the connection conditions used between the adjacent data tables.

相關技術中,以表連接語句為主的記錄多張資料表之間相互關係的描述資訊需要業務人員根據特定案例來進行手工編寫,即業務人員需要為每個案例分別定制不同的SQL語句,由此不僅造成工作效率較低,而且發生錯誤的概率也較高。然而,透過本發明實施例所提供的技術方案,採用透過獲取多張資料表中每張資料表所包含的欄位資訊並根據欄位資訊確定多張資料表相互間的關聯關係的方式,利用多張資料表相互間的關聯關係產生用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件的描述資訊,達到了不需要人工參與便可以自動產生上述描述資訊(例如:合法的表連接SQL語句)來完成資料分析的目的,從而實現了透過自動產生資料表之間相互關係的描述資訊不僅提高了資料分析效率而且還提升了資料分析結果準確性的技術效果,尤其是對於批量的資料分析工作而言,其效率提升更為顯著,進而解決了相關技術中無法在給定若干張資料表且可獲知資料表之間的關係的情況下,透過採用自動產生合法的表連接SQL語句的實現方式來完成資料分析的技術問題。 In the related art, the description information of the relationship between the plurality of data tables, which is mainly based on the table connection statement, requires the business personnel to manually write according to the specific case, that is, the business personnel need to separately customize different SQL statements for each case, This not only results in lower work efficiency, but also a higher probability of error. However, the technical solution provided by the embodiment of the present invention utilizes the manner in which the field information included in each data table in the plurality of data tables is acquired, and the relationship between the plurality of data tables is determined according to the field information. The association relationship between the plurality of data tables generates description information for recording the order of connection between the plurality of data tables and the connection conditions used between the adjacent data tables, so that the above description can be automatically generated without manual participation. Information (for example, legal tables connect SQL statements) to complete the purpose of data analysis, thereby realizing the technology that not only improves the efficiency of data analysis but also improves the accuracy of data analysis results by automatically generating description information of the relationship between data tables. The effect, especially for the data analysis work of batches, is more significant, which solves the problem that the related technology cannot be given the relationship between several data sheets and the data tables can be obtained. The technical problem of data analysis is completed by generating a legal table connection SQL statement implementation.

可選地,在步驟S22中,根據欄位資訊確定多張資料表相互間的關聯關係可以包括以下執行步驟:選取步驟S220:從多張資料表中選取任意一張待遍 歷的資料表;查找步驟S222:查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為選取的資料表的待連接資料表;建立步驟S224:在選取的資料表與待連接資料表之間建立關聯關係;返回選取步驟,直至多張資料表被全部遍歷。 Optionally, in step S22, determining, according to the field information, the association relationship between the plurality of data tables may include the following steps: selecting step S220: selecting any one of the plurality of data tables to be used. The data table of the calendar; the searching step S222: searching for a data table having one or more identical fields in the field information included in the selected data table, and setting the found data table to be selected as the selected data table to be connected Data table; establishing step S224: establishing an association relationship between the selected data table and the data table to be connected; returning the selection step until all the data tables are traversed.

在需要建立相互之間的關聯關係的多張資料表中,可以先隨機選取其中一張資料表作為起始遍歷的資料表或者作為參照資料表,然後依次存取其餘資料表。由於每張資料表都包含有多個欄位(例如:欄位1為產品名稱,欄位2為產品型號,欄位3為生產廠商,欄位4為使用壽命),因此,在選定其中一張資料表之後,便需要查找與該資料表具有相同欄位的其他資料表。此處,具有相同欄位的其他資料表可以為一張,當然也可以為多張。在查找到具有相同欄位的其他資料表之後,便可以將此類資料表設置為先前選取的資料表的待連接資料表,並建立彼此之間的連接關係。在對當前遍歷的資料表的待連接資料表查找完畢後,再繼續遍歷下一張資料表,以此類推,直至全部資料表均經歷過一次遍歷,從而在上述多張資料表的相互間建立完整的拓撲結構。 In a plurality of data tables that need to establish a relationship with each other, one of the data tables may be randomly selected as a starting traversal data table or as a reference data table, and then the remaining data tables are sequentially accessed. Since each data sheet contains multiple fields (for example, field 1 is the product name, field 2 is the product model, field 3 is the manufacturer, and field 4 is the service life). Therefore, one of them is selected. After the data sheet, you need to find other data sheets with the same fields as the data sheet. Here, other data sheets with the same field can be one, or of course multiple. After finding other data tables with the same fields, you can set such data tables as the data tables to be connected of the previously selected data tables and establish a connection relationship with each other. After searching the data table to be connected of the currently traversed data table, continue to traverse the next data table, and so on, until all the data tables have undergone one traversal, thereby establishing between the plurality of data tables. Complete topology.

例如:圖3是根據本發明較佳實施例的在多張資料表的相互間建立完整的拓撲結構的示意圖。如圖3所示(圖3中僅示出多張資料表相互間的相同欄位),在該示例 中,資料表1包含的欄位為:欄位1、欄位2、欄位3和欄位4,資料表2包含的欄位為:欄位1、欄位3和欄位5,資料表3包含的欄位為:欄位2、欄位5和欄位7以及資料表4包含的欄位為:欄位7、欄位8、欄位9和欄位10。根據上述分析,首先隨機選取資料表1作為起始遍歷的資料表或者作為參照資料表,然後依次存取其餘資料表。透過比較可以發現,資料表1與資料表2具有相同欄位(欄位1和欄位3)以及資料表1與資料表3具有相同欄位(欄位2),由此,可以確定資料表2和資料表3均為資料表1的待連接資料表,並可以據此在資料表1與資料表2之間以及資料表1與資料表3之間建立關聯關係。其次,再遍歷資料表2,透過比較可以發現,資料表2僅與資料表3具有相同欄位(欄位5),由此,可以確定資料表3為資料表2的待連接資料表,並可以據此在資料表2與資料表3之間建立關聯關係。然後,再遍歷資料表3,透過比較可以發現,資料表3僅與資料表4具有相同欄位(欄位7),由此,可以確定資料表4為資料表3的待連接資料表,並可以據此在資料表3與資料表4之間建立關聯關係。最後,再遍歷資料表4,透過比較可以發現,除了上述已經建立關聯關係的資料表3之外,並沒有其他待連接資料表。至此,關於資料表1、資料表2、資料表3以及資料表4之間相互關聯關係的拓撲結構已經形成。 For example, FIG. 3 is a schematic diagram of establishing a complete topology between a plurality of data tables in accordance with a preferred embodiment of the present invention. As shown in Figure 3 (only the same fields between multiple data sheets are shown in Figure 3), in this example The data table 1 contains the fields: field 1, field 2, field 3 and field 4. The data sheet 2 contains the fields: field 1, field 3 and field 5, data sheet 3 The fields included are: Field 2, Field 5 and Field 7 and Data Table 4 contains the fields: Field 7, Field 8, Field 9, and Field 10. According to the above analysis, the data table 1 is first randomly selected as the starting traversal data table or as a reference data table, and then the remaining data tables are sequentially accessed. By comparison, it can be found that the data sheet 1 and the data sheet 2 have the same field (field 1 and field 3) and the data table 1 and the data table 3 have the same field (field 2), whereby the data table can be determined 2 and the data sheet 3 are the data tables to be connected in the data sheet 1, and the relationship between the data sheet 1 and the data sheet 2 and between the data sheet 1 and the data sheet 3 can be established accordingly. Secondly, traversing the data table 2, through comparison, it can be found that the data table 2 has only the same field (field 5) as the data table 3, thereby, it can be determined that the data table 3 is the data table to be connected of the data table 2, and Based on this, an association relationship can be established between the data sheet 2 and the data sheet 3. Then, traversing the data table 3, through comparison, it can be found that the data table 3 has only the same field (field 7) as the data table 4, thereby, it can be determined that the data table 4 is the data table to be connected of the data table 3, and Based on this, an association relationship can be established between Data Sheet 3 and Data Sheet 4. Finally, the data table 4 is traversed. By comparison, it can be found that there is no other data table to be connected except for the data table 3 in which the above relationship has been established. So far, the topology of the correlation between Data Table 1, Data Table 2, Data Table 3, and Data Table 4 has been formed.

可選地,在步驟S24中,利用多張資料表相互間的關 聯關係產生描述資訊可以包括以下執行步驟:步驟S240:按照多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與下一個遍歷的資料表相鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,鄰接的資料表為已經遍歷過的資料表;步驟S242:採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊。 Optionally, in step S24, using multiple data sheets to each other The generating the description information may include the following steps: Step S240: sequentially obtaining the identification information of the next traversed data table from the initial traversed data table according to the relationship between the plurality of data tables, and the next traversed data table. The identification information of the adjacent data table and the connection condition between the next traversed data table and the adjacent data table, wherein the adjacent data table is the data table that has been traversed; step S242: adopting the acquired next The identification information of the traversed data table, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table generate description information.

在確定多張資料表相互間的關聯關係後,可以從起始遍歷的資料表或者作為參照資料表開始依次獲取下一個遍歷的資料表的標識資訊,並進一步獲取與下一個遍歷的資料表相鄰接的資料表的標識資訊。需要說明的是,此處提到的與下一個遍歷的資料表相鄰接的資料表是指從起始遍歷的資料表開始到下一個遍歷的資料表為止已經被遍歷的全部資料表中與下一個遍歷的資料表鄰接的資料表。透過獲取上述標識資訊可以確定下一個遍歷的資料表與哪個或哪些已經被遍歷的資料表之間存在關聯關係,基於此,可以再獲取下一個遍歷的資料表與鄰接的資料表之間的連接條件(即存在哪些相同的欄位)。 After determining the relationship between the plurality of data tables, the identification information of the next traversed data table may be sequentially obtained from the data table that starts traversing or as the reference data table, and further acquired with the data table of the next traversal. Identification information of adjacent data sheets. It should be noted that the data table adjacent to the next traversed data table refers to all the data tables that have been traversed from the beginning of the traversed data table to the next traversed data table. The next traversed data table adjacent to the data sheet. By obtaining the above identification information, it can be determined that there is an association relationship between the next traversed data table and which data table has been traversed, and based on this, the connection between the next traversed data table and the adjacent data table can be obtained. Conditions (ie which of the same fields exist).

例如:基於上述已經形成的關於資料表1、資料表2、資料表3以及資料表4之間相互關聯關係的拓撲結構,產生描述資訊的具體方式如下:以資料表1為起始遍歷的資料表或者作為參照資料 表,然後依次存取其餘資料表。考慮到資料表2和資料表3均為資料表1的待連接資料表,並已經據此在資料表1與資料表2之間以及資料表1與資料表3之間建立過關聯關係,那麼可以在資料表2和資料表3之間先隨機選擇一個資料表。假設此次選取的是資料表2,那麼下一個遍歷的資料表即為資料表2,而已經遍歷的且與資料表2相鄰接的僅有資料表1,則此時的連接條件為資料表1與資料表2具有相同欄位(欄位1和欄位3)。接下來,在對資料表2完成遍歷後,由於資料表2僅與資料表3之間存在連接關係,因此,下一個遍歷的資料表即為資料表3。在已經遍歷的資料表1和資料表2中,資料表1與資料表3具有相同欄位(欄位2),資料表2與資料表3具有相同欄位(欄位5),則此時的連接條件為資料表1與資料表3具有相同欄位(欄位2),資料表2與資料表3具有相同欄位(欄位5)。然後,在對資料表3完成遍歷後,由於資料表3僅與資料表4之間存在連接關係,因此,下一個遍歷的資料表即為資料表4。在已經遍歷的資料表1、資料表2以及資料表3中,資料表3僅與資料表4具有相同欄位(欄位7),則此時的連接條件為資料表3與資料表4具有相同欄位(欄位7)。至此,關於資料表1、資料表2、資料表3以及資料表4之間相互關聯關係的描述資訊已經形成。 For example, based on the above-mentioned topology structure related to the correlation between Data Table 1, Data Table 2, Data Table 3, and Data Table 4, the specific way to generate the description information is as follows: Data traversed starting with Data Table 1 Table or as a reference material The table then accesses the remaining data tables in turn. Considering that the data sheet 2 and the data sheet 3 are the data sheets to be connected in the data sheet 1, and have been established between the data sheet 1 and the data sheet 2 and between the data sheet 1 and the data sheet 3, then A data sheet can be randomly selected between Data Sheet 2 and Data Sheet 3. Suppose that the data table 2 is selected this time, then the data table of the next traversal is the data table 2, and only the data table 1 that has been traversed and adjacent to the data table 2 is the data connection condition at this time. Table 1 has the same fields as Table 2 (field 1 and field 3). Next, after the traversal is completed for the data table 2, since the data table 2 only has a connection relationship with the data table 3, the data table of the next traversal is the data table 3. In the data table 1 and the data table 2 that have been traversed, the data table 1 and the data table 3 have the same field (field 2), and the data table 2 and the data table 3 have the same field (field 5), then The connection condition is that the data table 1 and the data table 3 have the same field (field 2), and the data table 2 and the data table 3 have the same field (field 5). Then, after the traversal is completed for the data table 3, since the data table 3 only has a connection relationship with the data table 4, the data table of the next traversal is the data table 4. In the data table 1, the data table 2 and the data table 3 that have been traversed, the data table 3 has only the same field (field 7) as the data table 4, and the connection conditions at this time are the data table 3 and the data table 4 Same field (field 7). So far, description information about the correlation between the data sheet 1, the data sheet 2, the data sheet 3, and the data sheet 4 has been formed.

可選地,在步驟S242中,採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一 個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊可以包括以下執行步驟:步驟S2420:先根據下一個遍歷的資料表的標識資訊和鄰接的資料表的標識資訊建立下一個遍歷的資料表與鄰接的資料表之間的關聯關係後,再記錄下一個遍歷的資料表與鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;步驟S2422:聯合全部分段連接資訊,產生描述資訊。 Optionally, in step S242, the identifier information of the acquired data table of the next traversal, the identification information of the adjacent data table, and the next The connection condition between the traversed data table and the adjacent data table may include the following execution steps: Step S2420: first establish the next traversal according to the identification information of the next traversed data table and the identification information of the adjacent data table. After the relationship between the data table and the adjacent data table, the connection condition between the next traversed data table and the adjacent data table is recorded, and segment connection information corresponding to the already traversed data table is generated respectively; S2422: Combine all segments to connect information and generate description information.

在產生描述資訊的過程中,資料表之間合法的表連接描述資訊需要同時滿足如下三個條件:條件一、所有資料表均被且僅被連接一次;條件二、所有連接條件均被且僅被使用一次;條件三、每個連接條件中出現的資料表需要先被連接。 In the process of generating description information, the legal table connection description information between the data tables needs to satisfy the following three conditions: condition one, all data tables are connected and only once; condition two, all connection conditions are and only Used once; condition three, the data table appearing in each connection condition needs to be connected first.

具體到上述示例中,在已經形成的關於資料表1、資料表2、資料表3以及資料表4之間相互關聯關係的拓撲結構中,資料表1、資料表2、資料表3以及資料表4已均被連接一次。所有的連接條件,包括:資料表1與資料表2具有相同欄位(欄位1和欄位3),資料表1與資料表3具有相同欄位(欄位2),資料表2與資料表3具有相同欄位(欄位5)以及資料表3與資料表4具有相同欄位(欄位7),已均被使用一次。在每遍歷一張資料表時,在連接條件中出現的資料表必須為已經被遍歷過的資 料表,即在遍歷資料表2時,已經遍歷的且與資料表2相鄰接的僅有資料表1,則此時的連接條件包含資料表1與資料表2具有相同欄位1和相同欄位3;在遍歷資料表3時,已經遍歷的且與資料表3相鄰接的有資料表1和資料表2,則此時的連接條件可以包含資料表1與資料表3具有相同欄位2以及資料表2與資料表3具有相同欄位5;在遍歷資料表4時,已經遍歷的且與資料表4相鄰接的僅有資料表3,則此時的連接條件僅包含資料表3與資料表4具有相同欄位7。 Specifically, in the above example, among the topological structures that have been formed regarding the correlation between the data table 1, the data table 2, the data table 3, and the data table 4, the data table 1, the data table 2, the data table 3, and the data table 4 has been connected once. All connection conditions, including: data sheet 1 and data sheet 2 have the same field (field 1 and field 3), data sheet 1 and data sheet 3 have the same field (field 2), data sheet 2 and data Table 3 has the same field (field 5) and data sheet 3 has the same field (field 7) as data sheet 4, and has been used once. Whenever a data sheet is traversed, the data sheet appearing in the connection condition must be the one that has been traversed. The material table, that is, when traversing the data table 2, only the data table 1 that has been traversed and adjacent to the data table 2, the connection condition at this time includes the data table 1 and the data table 2 have the same field 1 and the same Field 3; when traversing the data table 3, the data table 1 and the data table 2 that have been traversed and adjacent to the data table 3, the connection condition at this time may include the same column of the data table 1 and the data table 3 Bit 2 and data table 2 have the same field 5 as data table 3; when traversing data table 4, only data table 3 that has been traversed and adjacent to data table 4, the connection condition at this time only contains data Table 3 has the same field 7 as data sheet 4.

將得到上述分段連接資訊聯合起來便可以產生最終所要獲得的描述資訊,即資料表1,連接資料表2,其連接條件為:資料表1與資料表2具有相同欄位1和相同欄位3;連接資料表3,其連接條件為:資料表1與資料表3具有相同欄位2以及資料表2與資料表3具有相同欄位5;連接資料表4,其連接條件為:資料表3與資料表4具有相同欄位7。 The above segmentation connection information is combined to generate the final description information to be obtained, that is, the data table 1, the connection data table 2, and the connection condition is: the data table 1 and the data table 2 have the same field 1 and the same field 3; Connection data table 3, the connection conditions are: data sheet 1 and data sheet 3 have the same field 2 and data sheet 2 and data sheet 3 have the same field 5; connection data table 4, the connection conditions are: data sheet 3 has the same field 7 as data sheet 4.

在較佳實施過程中,在步驟S2420中,如果下一個遍歷的資料表同時與多個資料表相鄰接和/或下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的下一個遍歷的資料表與鄰接的資料表之間的連接條件是由下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 In a preferred implementation, in step S2420, if the next traversed data table is adjacent to multiple data tables at the same time and/or the next traversed data table and the partially adjacent data table have multiple identical In the case of a field, the connection condition between the next traversed data table and the adjacent data table is the connection condition generated by the next traversed data table adjacent to the plurality of data tables and/or by the next The traversed data table and the partially adjacent data table have a union of connection conditions generated by a plurality of identical fields.

在已經形成的關於資料表1、資料表2、資料表3以 及資料表4之間相互關聯關係的拓撲結構中,不僅包含因連接條件為資料表3與資料表4具有相同欄位7而在資料表3與資料表4形成的單一連接關係,而且還包含資料表1與資料表2之間以及資料表1、資料表2以及資料表3相互間形成的複雜連接關係,即對於資料表1與資料表2兩者之間的連接關係而言,在遍歷資料表2時,已經遍歷的且與資料表2相鄰接的僅有資料表1,則此時的連接條件包含資料表1與資料表2具有相同欄位1和相同欄位3,而正是由於資料表1與資料表2之間具有2個相同欄位,因此,資料表1與資料表2之間存在兩種連接關係,其為資料表1與資料表2具有相同欄位1和相同欄位3的聯集;對於資料表1、資料表2以及資料表3三者之間的連接關係而言,在遍歷資料表3時,已經遍歷的且與資料表3相鄰接的有資料表1和資料表2,而且資料表1與資料表3具有相同欄位2以及資料表2與資料表3具有相同欄位5,因此,資料表3與已經遍歷的資料表1和資料表2之間分別存在連接關係,其為資料表1與資料表3具有相同欄位2以及資料表2與資料表3具有相同欄位5的聯集。 In the already formed data sheet 1, data sheet 2, data sheet 3 The topology structure of the relationship between the data table 4 and the data table 4 includes not only the single connection relationship formed by the data table 3 and the data table 4 because the connection condition is the same field 7 of the data table 3 and the data table 4, but also includes The complex connection relationship between the data table 1 and the data table 2 and the data table 1, the data table 2, and the data table 3, that is, the traversal of the connection relationship between the data table 1 and the data table 2 In the data table 2, only the data table 1 that has been traversed and adjacent to the data table 2, the connection condition at this time includes the data table 1 and the data table 2 have the same field 1 and the same field 3, and Because there are two identical fields between Data Sheet 1 and Data Table 2, there are two kinds of connection between Data Table 1 and Data Table 2, which is the same field 1 in Data Table 1 and Data Table 2. The union of the same field 3; for the connection relationship between the data table 1, the data table 2, and the data table 3, when traversing the data table 3, it has been traversed and adjacent to the data table 3 Table 1 and Table 2, and Table 1 and Table 3 have the same field 2 And the data table 2 and the data table 3 have the same field 5, therefore, there is a connection relationship between the data table 3 and the already traversed data table 1 and the data table 2, which has the same field as the data table 1 and the data table 3 2 and the data sheet 2 and the data sheet 3 have the same column 5 combination.

下面將結合以下較佳實施方式對上述較佳實施過程作進一步地描述。 The above preferred implementation process will be further described below in conjunction with the following preferred embodiments.

圖4是根據本發明較佳實施例的產生描述資訊的方法的示意圖。如圖4所示,假設當前總共有4張資料表,其分別為資料表A、資料表B、資料表C以及資料表D,在 資料表的元資訊中定義了f1、f2、f3為連接欄位,即包含這些欄位的資料表可以連接在一起。 4 is a schematic diagram of a method of generating description information in accordance with a preferred embodiment of the present invention. As shown in Figure 4, it is assumed that there are currently four data sheets, which are Data Table A, Data Table B, Data Table C, and Data Table D, respectively. The meta information of the data table defines that f1, f2, and f3 are connection fields, that is, the data tables containing these fields can be connected together.

具體地,上述4張資料表所包含的連接欄位分別為:資料表A包含:連接欄位f3;資料表B包含:連接欄位f1,連接欄位f2以及連接欄位f3;資料表C包含:連接欄位f1;資料表D包含:連接欄位f1和連接欄位f2。 Specifically, the connection fields included in the above four data sheets are: the data table A includes: the connection field f3; the data table B includes: the connection field f1, the connection field f2, and the connection field f3; Contains: connection field f1; data table D contains: connection field f1 and connection field f2.

由此,可以得到這4張資料表之間存在如下連接條件:(資料表A,資料表B)之間存在的連接條件:資料表A.連接欄位f3=資料表B.連接欄位f3;(資料表B,資料表C)之間存在的連接條件:資料表B.連接欄位f1=資料表C.連接欄位f1;(資料表B,資料表D)之間存在的連接條件:資料表B.連接欄位f1=資料表D.連接欄位f1,資料表B.連接欄位f2=資料表D.連接欄位f2;(資料表C,資料表D)之間存在的連接條件:資料表C.連接欄位f1=資料表D.連接欄位f1;即資料表A和資料表B透過f3欄位連接,資料表B和資料表C透過f1欄位連接,資料表B和資料表D透過f1和f2兩個欄位連接以及資料表C和資料表D透過f1欄位連接。 Therefore, it can be obtained that the following connection conditions exist between the four data sheets: (data sheet A, data sheet B) connection conditions: data table A. connection field f3 = data table B. connection field f3 ; (data sheet B, data sheet C) connection conditions exist: data sheet B. connection field f1 = data table C. connection field f1; (data sheet B, data table D) connection conditions exist : data sheet B. connection field f1 = data table D. connection field f1, data table B. connection field f2 = data table D. connection field f2; (data sheet C, data table D) exists Connection conditions: data table C. connection field f1 = data table D. connection field f1; that is, data table A and data table B are connected through the f3 field, data table B and data table C are connected through the f1 field, data sheet B and data sheet D are connected through two fields f1 and f2 and data table C and data table D are connected through the f1 field.

在該較佳實施例中,如何根據資料表間的連接關係產 生合法的描述資訊(例如:表連接語句),該較佳實施例將其抽象為圖的遍歷問題,即,採用圖頂點來表示資料表,採用圖的邊來表示資料表之間的連接關係,上述舉例中的資料表以及相互間的連接關係可以表示為:首先從資料表A開始,依次連接其它3張資料表,為產生合法的表連接語句,其具體方式如下:從圖頂點A出發,按一定順序到達其它頂點,並將當前到達頂點與它前邊已經到達過的頂點之間的邊加到連接條件中,即可產生以圖頂點為連接表,圖的邊為連接條件的合法表連接語句,每個表和連接條件在該語句中出現且僅出現一次,且連接條件中出現的表已經先進行“join”(對應圖頂點已經到達過)。 In the preferred embodiment, how to produce a connection relationship between data sheets Raw legal description information (for example: table connection statement), the preferred embodiment abstracts it into the traversal problem of the graph, that is, the graph vertex is used to represent the data table, and the edge of the graph is used to represent the connection relationship between the data tables. The data table in the above example and the connection relationship between them can be expressed as follows: First, starting from the data table A, the other three data tables are sequentially connected, in order to generate a legal table connection statement, the specific manner is as follows: starting from the vertex A of the graph , the other vertices are reached in a certain order, and the edge between the current vertices and the vertices that have been reached before is added to the connection condition, and a legal table with the vertices as the connection table and the edges of the graph as the connection conditions is generated. The join statement, each table and join condition appears in the statement and appears only once, and the table that appears in the join condition has been "joined" first (the corresponding graph vertex has been reached).

該較佳實施例透過採用圖的遍歷方法(包括:深度優先遍歷和廣度優先遍歷)來確定頂點的到達次序。以廣度優先遍歷為例,從頂點A出發,將該頂點計為第1層,先到達與它有邊連接的第2層頂點,即與A距離為1的頂點,再依次到達與A距離遞增的各層頂點,同一層內到達順序隨機。在上述示例中,頂點A為第1層,頂點B為第2層,頂點C、D均與B相連,同屬第3層,所以這4個頂點的到達次序為A、B、C、D或者A、B、D、C。 The preferred embodiment determines the order of arrival of the vertices by employing a traversal method of the graph (including: depth-first traversal and breadth-first traversal). Taking breadth-first traversal as an example, starting from vertex A, the vertex is counted as the first layer, and the second layer vertex connected to its edge is reached first, that is, the vertex with distance A from A, and then reaches the distance increasing with A. The vertices of each layer are randomly ordered within the same layer. In the above example, the vertex A is the first layer, the vertex B is the second layer, the vertex C and D are both connected to B, and belong to the third layer, so the arrival order of the four vertices is A, B, C, D. Or A, B, D, C.

假設以到達次序A、B、C、D為例,來展開表連接語句的產生過程:第一步、從頂點A出發,到達頂點B後,join頂點B,並將頂點B與它前邊已經到達過的頂點之間的邊加到 連接條件中,由於在到達頂點B之前只到達過頂點A,因此,可以將頂點B與頂點A之間的邊添加到連接條件中,產生A join B on A.f3=B.f3;第二步、從頂點B出發,到達頂點C後,join頂點C,並將頂點C與它前邊已經到達過的頂點之間的邊添加到連接條件中,由於在到達頂點C之前已經到達過頂點A和頂點B,但頂點C只與頂點B之間有邊,所以將頂點C與頂點B之間的邊添加到連接條件中,產生join C on B.f1=C.f1;第三步、從頂點C觸發,到達頂點D後,join頂點D,並將頂點D與它前邊已經到達過的頂點之間的邊添加到連接條件中,由於在到達頂點D之前已經到達過頂點A、頂點B以及頂點C,而頂點D與頂點B、頂點C之間有邊,所以將頂點D與頂點B、頂點C之間的邊添加到連接條件中,產生join D on B.f1=D.f1 and B.f2=D.f2 and C.f1=D.f1;在所有頂點全部到達後,便可產生最終的表連接語句A join B on A.f3=B.f3 join C on B.f1=C.f1 join D on B.f1=D.f1 and B.f2=D.f2 and C.f1=D.f1。 Assume that the order of arrival A, B, C, D is taken as an example to expand the generation process of the table join statement: the first step, starting from vertex A, reaching vertex B, joining vertex B, and having vertex B and its front edge have arrived The edge between the vertices is added In the connection condition, since only the vertex A is reached before reaching the vertex B, the edge between the vertex B and the vertex A can be added to the join condition, resulting in A join B on A.f3=B.f3; Step, starting from vertex B, after reaching vertex C, join vertex C, and add the edge between vertex C and the vertex that it has reached before to the join condition, since vertex A has been reached before reaching vertex C and Vertex B, but vertex C only has an edge with vertex B, so the edge between vertex C and vertex B is added to the join condition, resulting in join C on B.f1=C.f1; the third step, from the vertex C triggers, after reaching vertex D, join vertex D, and adds the edge between vertex D and the vertex that it has reached before to the join condition, since vertex A, vertex B, and vertex have been reached before reaching vertex D C, and there is an edge between vertex D and vertex B and vertex C, so the edge between vertex D and vertex B and vertex C is added to the join condition, and join D on B.f1=D.f1 and B. F2=D.f2 and C.f1=D.f1; after all vertices have arrived, the final table join statement A join B can be generated On A.f3=B.f3 join C on B.f1=C.f1 join D on B.f1=D.f1 and B.f2=D.f2 and C.f1=D.f1.

因此,資料表A、資料表B、資料表C以及資料表D之間合法的表連接語句如下:A join B on A.f3=B.f3 join C on B.f1=C.f1 join D on B.f1=D.f1 and B.f2=D.f2 and C.f1=D.f1。 Therefore, the legal table join statement between Data Table A, Data Table B, Data Table C, and Data Table D is as follows: A join B on A.f3=B.f3 join C on B.f1=C.f1 join D on B.f1=D.f1 and B.f2=D.f2 and C.f1=D.f1.

假設以到達次序A、B、D、C為例,來展開表連接語 句的產生過程:第一步、從頂點A出發,到達頂點B後,join頂點B,並將頂點B與它前邊已經到達過的頂點之間的邊加到連接條件中,由於在到達頂點B之前只到達過頂點A,因此,可以將頂點B與頂點A之間的邊添加到連接條件中,產生A join B on A.f3=B.f3;第二步、從頂點B出發,到達頂點D後,join頂點D,並將頂點D與它前邊已經到達過的頂點之間的邊添加到連接條件中,由於在到達頂點D之前已經到達過頂點A和頂點B,但頂點D只與頂點B之間有邊,所以將頂點D與頂點B之間的邊添加到連接條件中,產生join D on B.f1=D.f1 and B.f2=D.f2;第三步、從頂點D出發,到達頂點C後,join頂點C,並將頂點C與它前邊已經到達過的頂點之間的邊添加到連接條件中,由於在到達頂點C之前已經到達過頂點A、頂點B以及頂點D,而頂點C與頂點B、頂點D之間有邊,所以將頂點C與頂點B、頂點D之間的邊添加到連接條件中,產生join C on B.f1=C.f1 and C.f1=D.f1;在所有頂點全部到達後,便可產生最終的表連接語句A join B on A.f3=B.f3 join D on B.f1=D.f1 and B.f2=D.f2 join C on B.f1=C.f1 and C.f1=D.f1。 Assume that the order of arrival A, B, D, C is used as an example to expand the table connection. The process of generating a sentence: the first step, starting from vertex A, after reaching vertex B, joining vertex B, and adding the edge between vertex B and the vertex that it has reached before to the join condition, since reaching vertex B Only the vertex A has been reached before, so the edge between vertex B and vertex A can be added to the join condition, resulting in A join B on A.f3=B.f3; the second step, starting from vertex B, reaching the vertex After D, join vertex D, and add the edge between vertex D and the vertex that it has reached before to the join condition. Since vertex A and vertex B have been reached before reaching vertex D, vertex D only has vertex There is an edge between B, so the edge between vertex D and vertex B is added to the join condition, resulting in join D on B.f1=D.f1 and B.f2=D.f2; the third step, from vertex D Starting, after reaching the vertex C, join the vertex C, and add the edge between the vertex C and the vertex that it has reached before to the join condition, since the vertex A, the vertex B, and the vertex D have been reached before reaching the vertex C , and there is an edge between vertex C and vertex B and vertex D, so between vertex C and vertex B and vertex D Adding to the join condition, produces join C on B.f1=C.f1 and C.f1=D.f1; after all the vertices have arrived, the final table join statement A join B on A.f3= B.f3 join D on B.f1=D.f1 and B.f2=D.f2 join C on B.f1=C.f1 and C.f1=D.f1.

因此,資料表A、資料表B、資料表C以及資料表D之間合法的表連接語句如下:A join B on A.f3=B.f3 join D on B.f1=D.f1 and B.f2=D.f2 join C on B.f1=C.f1 and C.f1=D.f1。 Therefore, the legal table connection statement between Data Table A, Data Table B, Data Table C, and Data Table D is as follows: A join B on A.f3=B.f3 join D on B.f1=D.f1 and B.f2=D.f2 join C on B.f1=C.f1 and C.f1=D.f1.

另外,與合法的表連接語句相對,不合法的表連接語句的示例如下:A join B on A.f3=B.f3 join C on B.f1=C.f1 and C.f1=D.f1 join D on B.f1=D.f1 and B.f2=D.f2;在該表連接語句中的連接條件“C.f1=D.f1”在“join D”之前出現是不合法的,其原因在於,連接條件中的資料表D需要先“join”,即當前遍歷的資料表為資料表C,已經遍歷的資料表僅為資料表A和資料表B,其並不包括資料表D,因此,資料表D不能出現在關於連接資料表C的連接條件中,而只能在繼續遍歷資料表D後,出現在關於連接資料表D的連接條件中。 In addition, as opposed to a valid table join statement, an example of an illegal table join statement is as follows: A join B on A.f3=B.f3 join C on B.f1=C.f1 and C.f1=D.f1 join D on B.f1=D.f1 and B.f2=D.f2; the connection condition "C.f1=D.f1" in the connection statement of the table is illegal before "join D", the reason Therefore, the data table D in the connection condition needs to be "joined" first, that is, the data table currently traversed is the data table C, and the data table that has been traversed is only the data table A and the data table B, which does not include the data table D, therefore The data table D cannot appear in the connection condition regarding the connection data table C, but can only appear in the connection condition regarding the connection data table D after continuing to traverse the data table D.

需要說明的是,對於前述的各方法實施例,為了簡單描述,故將其都表述為一系列的動作組合,但是本領域技術人員應該知悉,本發明並不受所描述的動作順序的限制,因為依據本發明,某些步驟可以採用其他順序或者同時進行。其次,本領域技術人員也應該知悉,說明書中所描述的實施例均屬於較佳實施例,所涉及的動作和模組並不一定是本發明所必須的。 It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

透過以上的實施方式的描述,本領域的技術人員可以清楚地瞭解到根據上述實施例的產生描述資訊的方法可借助軟體加必需的通用硬體平臺的方式來實現,當然也可以透過硬體,但很多情況下前者是更佳的實施方式。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做 出貢獻的部分可以以軟體產品的形式體現出來,該電腦軟體產品儲存在一個儲存媒體(如ROM/RAM、磁碟、光碟)中,包括若干指令用以使得一台終端設備(可以是手機,電腦,伺服器,或者網路設備等)執行本發明各個實施例所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the method for generating description information according to the above embodiment can be implemented by means of a software plus a necessary general hardware platform, and of course, through hardware. But in many cases the former is a better implementation. Based on this understanding, the technical solution of the present invention is essentially or prior to the prior art. The contributing part can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD), including a number of instructions for making a terminal device (which can be a mobile phone, A computer, server, or network device, etc., performs the methods described in various embodiments of the present invention.

實施例2 Example 2

根據本發明實施例,還提供了一種用於實施上述產生描述資訊的裝置的結構方塊圖,如圖5所示,該裝置包括:獲取模組10,用於獲取多張資料表中每張資料表所包含的欄位資訊;確定模組20,用於根據欄位資訊確定多張資料表相互間的關聯關係;產生模組30,用於利用多張資料表相互間的關聯關係產生描述資訊,其中,描述資訊用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 According to an embodiment of the present invention, a block diagram of a device for generating the description information is provided. As shown in FIG. 5, the device includes: an obtaining module 10, configured to acquire each data in multiple data tables. The field information included in the table; the determining module 20 is configured to determine the relationship between the plurality of data tables according to the field information; and the generating module 30 is configured to generate the description information by using the relationship between the plurality of data tables Wherein, the description information is used to record the order in which the plurality of data tables are connected to each other and the connection conditions used between the adjacent data tables.

可選地,圖6是根據本發明較佳實施例的產生描述資訊的裝置的結構方塊圖,如圖6所示,確定模組20包括:選取單元200,用於從多張資料表中選取任意一張待遍歷的資料表;查找單元202,用於查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為選取的資料表的待連接資料表;建立單元204,用於在選取的資料表與待連接資料表之間建立關聯關係;返回選取單元,直至多張資料表被全部遍歷。 Optionally, FIG. 6 is a structural block diagram of an apparatus for generating description information according to a preferred embodiment of the present invention. As shown in FIG. 6, the determining module 20 includes: a selecting unit 200, configured to select from multiple data tables. Any one of the data tables to be traversed; the searching unit 202 is configured to search for a data table having one or more identical fields in the field information included in the selected data table, and set the found data table to be selected. The data table to be connected to the data table; the establishing unit 204 is configured to establish an association relationship between the selected data table and the data table to be connected; and return the selected unit until the plurality of data tables are traversed.

可選地,如圖6所示,產生模組30包括:獲取單元300,用於按照多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與下一個遍歷的資料表相鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,鄰接的資料表為已經遍歷過的資料表;產生單元302,用於採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊。 Optionally, as shown in FIG. 6, the generating module 30 includes: an obtaining unit 300, configured to sequentially acquire, according to the relationship between the plurality of data tables, the identification information of the next traversed data table from the initial traversed data table. The identification information of the data table adjacent to the next traversed data table and the connection condition between the next traversed data table and the adjacent data table, wherein the adjacent data table is a data table that has been traversed; The unit 302 is configured to generate the description information by using the acquired identification information of the data table of the next traversal, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table.

可選地,產生單元302包括:第一產生子單元(圖中未示出),用於先根據下一個遍歷的資料表的標識資訊和鄰接的資料表的標識資訊建立下一個遍歷的資料表與鄰接的資料表之間的關聯關係後,再記錄下一個遍歷的資料表與鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;第二產生子單元(圖中未示出),用於聯合全部分段連接資訊,產生描述資訊。 Optionally, the generating unit 302 includes: a first generating subunit (not shown), configured to first establish a next traversed data table according to the identification information of the next traversed data table and the identification information of the adjacent data table. After the association relationship with the adjacent data table, the connection condition between the next traversed data table and the adjacent data table is recorded, and the segment connection information corresponding to the already traversed data table is generated respectively; the second generator A unit (not shown) is used to combine all segment connection information to generate description information.

可選地,第一產生子單元(圖中未示出),用於在下一個遍歷的資料表同時與多個資料表相鄰接和/或下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的下一個遍歷的資料表與鄰接的資料表之間的連接條件是由下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 Optionally, the first generating subunit (not shown) is configured to simultaneously associate with the plurality of data tables and/or the next traversed data table and the partially adjacent data in the next traversed data table. When there are multiple identical fields in the table, the connection condition between the next traversed data table and the adjacent data table is the connection condition generated by the next traversed data table adjacent to the plurality of data tables. And/or the data table generated by the next traversal and the partially adjacent data table have a union of connection conditions generated by a plurality of identical fields.

實施例3 Example 3

本發明的實施例可以提供一種電腦終端,該電腦終端可以是電腦終端群中的任意一個電腦終端設備。可選地,在本實施例中,上述電腦終端也可以替換為移動終端等終端設備。 An embodiment of the present invention may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.

可選地,在本實施例中,上述電腦終端可以位於電腦網路的多個網路設備中的至少一個網路設備。 Optionally, in this embodiment, the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.

可選地,圖7是根據本發明實施例的一種電腦終端的結構方塊圖。如圖7所示,該電腦終端可以包括:一個或多個(圖中僅示出一個)處理器以及記憶體。 Optionally, FIG. 7 is a structural block diagram of a computer terminal according to an embodiment of the present invention. As shown in FIG. 7, the computer terminal may include one or more (only one shown in the figure) processor and memory.

其中,記憶體可用於儲存軟體程式以及模組,如本發明實施例中的產生描述資訊的方法和裝置對應的程式指令/模組,處理器透過運行儲存在記憶體內的軟體程式以及模組,從而執行各種功能應用以及資料處理,即實現上述的產生描述資訊的方法。記憶體可包括高速隨機記憶體,還可以包括非易失性記憶體,如一個或者多個磁性儲存裝置、快閃記憶體、或者其他非易失性固態記憶體。在一些實例中,記憶體可進一步包括相對於處理器遠端設置的記憶體,這些遠端存放器可以透過網路連接至終端。上述網路的實例包括但不限於網際網路、企業內部網、局域網、移動通訊網及其組合。 The memory can be used to store the software program and the module. For example, the method and the module corresponding to the method and device for generating the description information in the embodiment of the present invention, the processor runs the software program and the module stored in the memory. Thereby performing various functional applications and data processing, that is, implementing the above-described method of generating description information. The memory may include high speed random memory and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory can further include memory disposed remotely from the processor, the remote registers being connectable to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

處理器可以透過傳輸裝置調用記憶體儲存的資訊及應用程式,以執行下述步驟: S1,獲取多張資料表中每張資料表所包含的欄位資訊;S2,根據欄位資訊確定多張資料表相互間的關聯關係;S3,利用多張資料表相互間的關聯關係產生描述資訊,其中,描述資訊用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 The processor can call the information and application stored in the memory through the transmission device to perform the following steps: S1, obtaining the field information included in each data table in the plurality of data tables; S2, determining the relationship between the plurality of data tables according to the field information; S3, using the relationship between the plurality of data tables to generate a description Information, wherein the description information is used to record the order in which the plurality of data sheets are connected to each other and the connection conditions used between the adjacent data sheets.

可選的,上述處理器還可以執行如下步驟的程式碼:選取步驟:從多張資料表中選取任意一張待遍歷的資料表;查找步驟:查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為選取的資料表的待連接資料表;在選取的資料表與待連接資料表之間建立關聯關係;返回選取步驟,直至多張資料表被全部遍歷。 Optionally, the processor may further execute the following code: the selecting step: selecting any data table to be traversed from the plurality of data tables; searching step: searching and selecting the field information included in the selected data table There is one or more data tables of the same field, and the found data table is set as the data table to be connected of the selected data table; the relationship between the selected data table and the data table to be connected is established; Steps until multiple sheets are traversed.

可選的,上述處理器還可以執行如下步驟的程式碼:按照多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與下一個遍歷的資料表相鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,鄰接的資料表為已經遍歷過的資料表;採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊。 Optionally, the processor may further execute the following code: according to the relationship between the plurality of data tables, the identification information of the next traversed data table is sequentially obtained from the initial traversed data table, and the next traversal The identification information of the data table adjacent to the data table and the connection condition between the next traversed data table and the adjacent data table, wherein the adjacent data table is the data table that has been traversed; the next traversal obtained is adopted. The identification information of the data table, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table generate description information.

可選的,上述處理器還可以執行如下步驟的程式碼: 先根據下一個遍歷的資料表的標識資訊和鄰接的資料表的標識資訊建立下一個遍歷的資料表與鄰接的資料表之間的關聯關係後,再記錄下一個遍歷的資料表與鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;聯合全部分段連接資訊,產生描述資訊。 Optionally, the foregoing processor may further execute the code of the following steps: Firstly, according to the identification information of the next traversed data table and the identification information of the adjacent data table, the relationship between the next traversed data table and the adjacent data table is established, and then the next traversed data table and the adjacent data are recorded. The connection conditions between the tables respectively generate segmentation connection information corresponding to the data table that has been traversed; the joint segmentation information is combined to generate description information.

可選的,上述處理器還可以執行如下步驟的程式碼:如果下一個遍歷的資料表同時與多個資料表相鄰接和/或下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的下一個遍歷的資料表與鄰接的資料表之間的連接條件是由下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 Optionally, the processor may further execute the following code: if the next traversed data table is adjacent to multiple data tables at the same time and/or the next traversed data table and the partially adjacent data table exist. When multiple identical fields are used, the connection condition between the next traversed data table and the adjacent data table is the connection condition generated by the next traversed data table adjacent to the plurality of data tables and/or Or the data table generated by the next traversal and the partially adjacent data table have a union of connection conditions generated by a plurality of identical fields.

採用本發明實施例,採用透過獲取多張資料表中每張資料表所包含的欄位資訊並根據欄位資訊確定多張資料表相互間的關聯關係的方式,利用多張資料表相互間的關聯關係產生用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件的描述資訊,達到了不需要人工參與便可以自動產生上述描述資訊(例如:合法的表連接SQL語句)來完成資料分析的目的,從而實現了透過自動產生資料表之間相互關係的描述資訊不僅提高了資料分析效率而且還提升了資料分析結果準確性的技術效果,進而解決了相關技術中無法在給定若干張資料表且可獲知資料表之間的關係的情況下,透過採用自動產生合法 的表連接SQL語句的實現方式來完成資料分析的技術問題。 According to the embodiment of the present invention, by using the field information included in each data table in the plurality of data tables and determining the relationship between the plurality of data tables according to the field information, the plurality of data tables are used by each other. The association relationship generates description information for recording the connection order of the plurality of data tables and the connection conditions used between the adjacent data tables, so that the description information can be automatically generated without manual participation (for example, a legal table) Connect the SQL statement to complete the purpose of data analysis, thus realizing the description information by automatically generating the relationship between the data tables not only improves the efficiency of data analysis but also improves the technical effect of the accuracy of the data analysis results, thereby solving the related technology. It is not possible to automatically generate legality by giving a number of data sheets and knowing the relationship between the data sheets. The table connects the implementation of the SQL statement to complete the technical problem of data analysis.

本領域普通技術人員可以理解,圖7所示的結構僅為示意,電腦終端也可以是智慧手機(如Android手機、iOS手機等)、平板電腦、掌聲電腦以及移動網際網路設備(Mobile Internet Devices,MID)、PAD等終端設備。圖7其並不對上述電子裝置的結構造成限定。例如,電腦終端還可包括比圖7中所示更多或者更少的元件(如網路介面、顯示裝置等),或者具有與圖7所示不同的配置。 Those skilled in the art can understand that the structure shown in FIG. 7 is only an illustration, and the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (Mobile Internet Devices). , MID), PAD and other terminal devices. FIG. 7 does not limit the structure of the above electronic device. For example, the computer terminal may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 7, or have a different configuration than that shown in FIG.

本領域普通技術人員可以理解上述實施例的各種方法中的全部或部分步驟是可以透過程式來指令終端設備相關的硬體來完成,該程式可以儲存於一電腦可讀儲存媒體中,儲存媒體可以包括:快閃記憶體隨身碟、唯讀記憶體(Read-Only Memory,ROM)、隨機存取記憶體(Random Aecess Memory,RAM)、磁片或光碟等。 A person skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by using a program to instruct a terminal device related hardware, and the program can be stored in a computer readable storage medium, and the storage medium can be Including: flash memory drive, Read-Only Memory (ROM), Random Aecess Memory (RAM), disk or CD.

實施例4 Example 4

本發明的實施例還提供了一種儲存媒體。可選地,在本實施例中,上述儲存媒體可以用於保存上述實施例一所提供的產生描述資訊的方法所執行的程式碼。 Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, the foregoing storage medium may be used to save the code executed by the method for generating description information provided by Embodiment 1 above.

可選地,在本實施例中,上述儲存媒體可以位於電腦網路中電腦終端群中的任意一個電腦終端中,或者位於移動終端群中的任意一個移動終端中。 Optionally, in this embodiment, the storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.

可選地,在本實施例中,儲存媒體被設置為儲存用於 執行以下步驟的程式碼:S1,獲取多張資料表中每張資料表所包含的欄位資訊;S2,根據欄位資訊確定多張資料表相互間的關聯關係;S3,利用多張資料表相互間的關聯關係產生描述資訊,其中,描述資訊用於記錄多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 Optionally, in this embodiment, the storage medium is set to be stored for storage. The code of the following steps is executed: S1, obtaining the field information included in each data table in the plurality of data tables; S2, determining the relationship between the plurality of data tables according to the field information; S3, using multiple data sheets The relationship between each other generates description information, wherein the description information is used to record the order of connection between the plurality of data tables and the connection conditions used between adjacent data tables.

可選地,儲存媒體還被設置為儲存用於執行以下步驟的程式碼:選取步驟:從多張資料表中選取任意一張待遍歷的資料表;查找步驟:查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為選取的資料表的待連接資料表;在選取的資料表與待連接資料表之間建立關聯關係;返回選取步驟,直至多張資料表被全部遍歷。 Optionally, the storage medium is further configured to store a code for performing the following steps: selecting step: selecting any one of the plurality of data tables to be traversed; searching step: searching and selecting the included data table The field information has one or more data tables of the same field, and sets the found data table as the data table to be connected of the selected data table; establishes an association between the selected data table and the data table to be connected Relationship; return to the selection step until multiple sheets are traversed.

可選地,儲存媒體還被設置為儲存用於執行以下步驟的程式碼:按照多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與下一個遍歷的資料表相鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,鄰接的資料表為已經遍歷過的資料表;採用獲取到的下一個遍歷的資料表的標識資訊,鄰接的資料表的標識資訊以及下一個遍歷的資料表與鄰接的資料表之間的連接條件產生描述資訊。 Optionally, the storage medium is further configured to store the code for performing the following steps: according to the relationship between the plurality of data tables, the identification information of the next traversed data table is sequentially obtained from the initial traversed data table, and The identification information of the data table adjacent to the next traversed data table and the connection condition between the next traversed data table and the adjacent data table, wherein the adjacent data table is a data table that has been traversed; The identification information of the next traversed data table, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table generate description information.

可選地,儲存媒體還被設置為儲存用於執行以下步驟的程式碼:先根據下一個遍歷的資料表的標識資訊和鄰接的資料表的標識資訊建立下一個遍歷的資料表與鄰接的資料表之間的關聯關係後,再記錄下一個遍歷的資料表與鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;聯合全部分段連接資訊,產生描述資訊。 Optionally, the storage medium is further configured to store a code for performing the following steps: first establishing a next traversed data table and adjacent data according to the identification information of the next traversed data table and the identification information of the adjacent data table. After the association relationship between the tables, the connection condition between the next traversed data table and the adjacent data table is recorded, and the segment connection information corresponding to the already traversed data table is generated respectively; Describe the information.

可選地,儲存媒體還被設置為儲存用於執行以下步驟的程式碼:如果下一個遍歷的資料表同時與多個資料表相鄰接和/或下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的下一個遍歷的資料表與鄰接的資料表之間的連接條件是由下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 Optionally, the storage medium is further configured to store a code for performing the following steps: if the next traversed data table is adjacent to the plurality of data tables at the same time and/or the next traversed data table is partially adjacent to the data table. When there are multiple identical fields in the data table, the connection condition between the next traversed data table and the adjacent data table is generated by the next traversed data table adjacent to the plurality of data tables. The connection condition and/or the data table generated by the next traversal and the partially adjacent data table have a union of connection conditions generated by a plurality of identical fields.

上述本發明實施例序號僅僅為了描述,不代表實施例的優劣。 The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.

在本發明的上述實施例中,對各個實施例的描述都各有側重,某個實施例中沒有詳述的部分,可以參見其他實施例的相關描述。 In the above-mentioned embodiments of the present invention, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.

在本申請所提供的幾個實施例中,應該理解到,所揭露的技術內容,可透過其它的方式實現。其中,以上所描述的裝置實施例僅僅是示意性的,例如所述單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分 方式,例如多個單元或元件可以結合或者可以整合到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通訊連接可以是透過一些介面,單元或模組的間接耦合或通訊連接,可以是電性或其它的形式。 In the several embodiments provided by the present application, it should be understood that the disclosed technical contents may be implemented in other manners. The device embodiments described above are only schematic, for example, the division of the unit is only a logical function division, and the actual implementation may have another division. Means, for example, a plurality of units or elements may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.

所述作為分離部件說明的單元可以是或者也可以不是實體上分開的,作為單元顯示的部件可以是或者也可以不是實體單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本實施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

另外,在本發明各個實施例中的各功能單元可以整合在一個處理單元中,也可以是各個單元單獨實體存在,也可以兩個或兩個以上單元整合在一個單元中。上述整合的單元既可以採用硬體的形式實現,也可以採用軟體功能單元的形式實現。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist as a separate entity, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of a hardware or a software functional unit.

所述整合的單元如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以儲存在一個電腦可讀取儲存媒體中。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做出貢獻的部分或者該技術方案的全部或部分可以以軟體產品的形式體現出來,該電腦軟體產品儲存在一個儲存媒體中,包括若干指令用以使得一台電腦設備(可為個人電腦、伺服器或者網路設備等)執行本發明各個實施例所述方法的全部或部分步驟。而前述的儲存媒體包括:USB隨身碟、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、移動硬碟、磁碟或者光碟等各種可以儲存程式碼的媒體。 The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium. Based on such an understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: USB flash drive, read-only memory (ROM, Read-Only Memory, random access memory (RAM, Random Access Memory), removable hard drive, disk or optical disc, and other media that can store code.

以上所述僅是本發明的較佳實施方式,應當指出,對於本技術領域的普通技術人員來說,在不脫離本發明原理的前提下,還可以做出若干改進和潤飾,這些改進和潤飾也應視為本發明的保護範圍。 The above is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can make several improvements and retouchings without departing from the principles of the present invention. It should also be considered as the scope of protection of the present invention.

Claims (10)

一種產生描述資訊的方法,其特徵在於,包括:獲取多張資料表中每張資料表所包含的欄位資訊;根據該欄位資訊確定該多張資料表相互間的關聯關係;利用該多張資料表相互間的關聯關係產生描述資訊,其中,該描述資訊用於記錄該多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 A method for generating description information, comprising: obtaining field information included in each data table of a plurality of data tables; determining, according to the field information, a relationship between the plurality of data tables; The association relationship between the data tables generates description information, wherein the description information is used to record the connection order of the plurality of data tables and the connection conditions used between the adjacent data tables. 根據申請專利範圍第1項的方法,其中,根據該欄位資訊確定該多張資料表相互間的關聯關係包括:選取步驟:從該多張資料表中選取任意一張待遍歷的資料表;查找步驟:查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為該選取的資料表的待連接資料表;在該選取的資料表與該待連接資料表之間建立關聯關係;返回該選取步驟,直至該多張資料表被全部遍歷。 According to the method of claim 1, wherein the determining the relationship between the plurality of data tables according to the field information comprises: selecting a step: selecting any one of the plurality of data tables to be traversed; Search step: searching for a data table having one or more identical fields in the field information included in the selected data table, and setting the found data table as the data table to be connected of the selected data table; A relationship between the selected data table and the data table to be connected is established; the selection step is returned until the plurality of data tables are traversed. 根據申請專利範圍第2項的方法,其中,利用該多張資料表相互間的關聯關係產生該描述資訊包括:按照該多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與該下一個遍歷的資料表相鄰接的資料表的標識資訊以及該下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,該鄰接的資料表為已經遍歷過的資料表; 採用獲取到的該下一個遍歷的資料表的標識資訊,該鄰接的資料表的標識資訊以及該下一個遍歷的資料表與該鄰接的資料表之間的連接條件產生該描述資訊。 According to the method of claim 2, wherein the generating the description information by using the relationship between the plurality of data tables comprises: obtaining the next order from the initial traversed data table according to the relationship between the plurality of data tables Identification information of a traversed data table, identification information of a data table adjacent to the next traversed data table, and connection conditions between the next traversed data table and an adjacent data table, wherein the adjacent The data sheet is a data sheet that has been traversed; Using the acquired identification information of the next traversed data table, the identification information of the adjacent data table and the connection condition between the next traversed data table and the adjacent data table generate the description information. 根據申請專利範圍第3項的方法,其中,採用獲取到的該下一個遍歷的資料表的標識資訊,該鄰接的資料表的標識資訊以及該下一個遍歷的資料表與該鄰接的資料表之間的連接條件產生該描述資訊包括:先根據該下一個遍歷的資料表的標識資訊和該鄰接的資料表的標識資訊建立該下一個遍歷的資料表與該鄰接的資料表之間的關聯關係後,再記錄該下一個遍歷的資料表與該鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;聯合全部分段連接資訊,產生該描述資訊。 According to the method of claim 3, wherein the acquired identification information of the next traversed data table, the identification information of the adjacent data table, and the next traversed data table and the adjacent data table are used. The connection information generated by the connection condition includes: first establishing an association relationship between the next traversed data table and the adjacent data table according to the identification information of the next traversed data table and the identification information of the adjacent data table Then, the connection condition between the next traversed data table and the adjacent data table is recorded, and the segment connection information corresponding to the already traversed data table is generated respectively; the all segment connection information is combined to generate the description information. 根據申請專利範圍第4項的方法,其中,如果該下一個遍歷的資料表同時與多個資料表相鄰接和/或該下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的該下一個遍歷的資料表與該鄰接的資料表之間的連接條件是由該下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由該下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 The method of claim 4, wherein if the next traversed data table is adjacent to the plurality of data tables at the same time and/or the next traversed data table and the partially adjacent data table are multiple When the same field is used, the connection condition between the recorded data table of the next traversal and the adjacent data table is a connection condition generated by the adjacent traversed data table and the plurality of data tables adjacent to each other. / or the data table generated by the next traversal and the partially adjacent data table have a union of connection conditions generated by a plurality of identical fields. 一種產生描述資訊的裝置,其特徵在於,包括:獲取模組,用於獲取多張資料表中每張資料表所包含的欄位資訊; 確定模組,用於根據該欄位資訊確定該多張資料表相互間的關聯關係;產生模組,用於利用該多張資料表相互間的關聯關係產生描述資訊,其中,該描述資訊用於記錄該多張資料表相互間的連接次序以及相鄰資料表之間所使用的連接條件。 An apparatus for generating description information, comprising: an obtaining module, configured to acquire field information included in each data table in a plurality of data tables; a determining module, configured to determine, according to the field information, a relationship between the plurality of data tables; and a generating module, configured to generate a description information by using the relationship between the plurality of data tables, wherein the description information is used The order of connection between the plurality of data tables and the connection conditions used between adjacent data tables are recorded. 根據申請專利範圍第6項的裝置,其中,該確定模組包括:選取單元,用於從該多張資料表中選取任意一張待遍歷的資料表;查找單元,用於查找與選取的資料表所包含的欄位資訊中具有一個或多個相同欄位的資料表,並將查找到的資料表設置為該選取的資料表的待連接資料表;建立單元,用於在該選取的資料表與該待連接資料表之間建立關聯關係;返回該選取單元,直至該多張資料表被全部遍歷。 The device of claim 6, wherein the determining module comprises: a selecting unit, configured to select any one of the plurality of data tables to be traversed; the searching unit is configured to search and select the data. The field information contained in the table has one or more data tables of the same field, and the found data table is set as the data table to be connected of the selected data table; the establishing unit is used for the selected data A relationship is established between the table and the data table to be connected; the selection unit is returned until the plurality of data tables are traversed. 根據申請專利範圍第7項的裝置,其中,該產生模組包括:獲取單元,用於按照該多張資料表相互間的關聯關係從初始遍歷的資料表開始依次獲取下一個遍歷的資料表的標識資訊,與該下一個遍歷的資料表相鄰接的資料表的標識資訊以及該下一個遍歷的資料表與鄰接的資料表之間的連接條件,其中,該鄰接的資料表為已經遍歷過的資料表; 產生單元,用於採用獲取到的該下一個遍歷的資料表的標識資訊,該鄰接的資料表的標識資訊以及該下一個遍歷的資料表與該鄰接的資料表之間的連接條件產生該描述資訊。 The device of claim 7, wherein the generating module comprises: an obtaining unit, configured to sequentially acquire the next traversed data table from the initially traversed data table according to the relationship between the plurality of data tables Identification information, identification information of the data table adjacent to the next traversed data table, and connection conditions between the next traversed data table and the adjacent data table, wherein the adjacent data table has been traversed Data sheet; a generating unit, configured to use the acquired identification information of the data table of the next traversal, the identification information of the adjacent data table, and the connection condition between the next traversed data table and the adjacent data table to generate the description News. 根據申請專利範圍第8項的裝置,其中,該產生單元包括:第一產生子單元,用於先根據該下一個遍歷的資料表的標識資訊和該鄰接的資料表的標識資訊建立該下一個遍歷的資料表與該鄰接的資料表之間的關聯關係後,再記錄該下一個遍歷的資料表與該鄰接的資料表之間的連接條件,分別產生與已經遍歷的資料表對應的分段連接資訊;第二產生子單元,用於聯合全部分段連接資訊,產生該描述資訊。 The device of claim 8 , wherein the generating unit comprises: a first generating subunit, configured to first establish the next one according to the identification information of the next traversed data table and the identification information of the adjacent data table After the relationship between the traversed data table and the adjacent data table, the connection condition between the next traversed data table and the adjacent data table is recorded, and segments corresponding to the already traversed data table are generated respectively. Connection information; a second generation sub-unit for combining all segment connection information to generate the description information. 根據申請專利範圍第9項的裝置,其中,該第一產生子單元,用於在該下一個遍歷的資料表同時與多個資料表相鄰接和/或該下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位時,則記錄的該下一個遍歷的資料表與該鄰接的資料表之間的連接條件是由該下一個遍歷的資料表與多個資料表相鄰接所產生的連接條件和/或由該下一個遍歷的資料表與部分相鄰接的資料表存在多個相同的欄位所產生的連接條件的聯集。 The device of claim 9, wherein the first generating subunit is configured to simultaneously associate with the plurality of data tables and/or the next traversed data table and the portion in the next traversed data table When there are multiple identical fields in the adjacent data table, the connection condition between the next traversed data table and the adjacent data table is recorded by the next traversed data table and multiple data tables. The connection condition generated by the adjacent connection and/or the data table generated by the next traversal and the partially adjacent data table have a union of connection conditions generated by the plurality of identical fields.
TW106104941A 2016-03-21 2017-02-15 Description information generating method and device TW201734861A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610162827.1A CN107220251A (en) 2016-03-21 2016-03-21 Generate the method and device of description information

Publications (1)

Publication Number Publication Date
TW201734861A true TW201734861A (en) 2017-10-01

Family

ID=59899308

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106104941A TW201734861A (en) 2016-03-21 2017-02-15 Description information generating method and device

Country Status (3)

Country Link
CN (1) CN107220251A (en)
TW (1) TW201734861A (en)
WO (1) WO2017162026A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382198B (en) * 2018-12-28 2023-09-19 中国移动通信集团山西有限公司 Data recovery method, device, equipment and storage medium
CN111708918A (en) * 2020-05-15 2020-09-25 北京明略软件系统有限公司 Data processing method, electronic equipment and storage medium
CN113434507B (en) * 2021-06-29 2023-07-07 中国联合网络通信集团有限公司 Data textualization method, device, equipment and storage medium
CN116756125B (en) * 2023-08-14 2023-10-27 中信证券股份有限公司 Descriptive information generation method, descriptive information generation device, electronic equipment and computer readable medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050080820A1 (en) * 2003-10-11 2005-04-14 Koppel Carl Arnold Method and system for generating, associating and employing user-defined fields in a relational database within an information technology system
US7689631B2 (en) * 2005-05-31 2010-03-30 Sap, Ag Method for utilizing audience-specific metadata
CN101482821A (en) * 2009-02-13 2009-07-15 山东浪潮齐鲁软件产业股份有限公司 Model driving development method implementing information assisted input function
CN101673287A (en) * 2009-10-16 2010-03-17 金蝶软件(中国)有限公司 SQL sentence generation method and system
CN102110134B (en) * 2010-12-28 2013-05-29 青岛海信网络科技股份有限公司 Real-time database for rail transit, operating method and operating device
CN103135976B (en) * 2011-11-30 2016-05-11 阿里巴巴集团控股有限公司 code automatic generation method and device
CN104182405B (en) * 2013-05-22 2017-05-24 阿里巴巴集团控股有限公司 Method and device for connection query
CN104317939A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Log statistics method and system on basis of digital film playing server
CN105224597A (en) * 2015-08-28 2016-01-06 上海斐讯数据通信技术有限公司 A kind of can by the system and method for the foreign key relationship synthetic image in database

Also Published As

Publication number Publication date
CN107220251A (en) 2017-09-29
WO2017162026A1 (en) 2017-09-28

Similar Documents

Publication Publication Date Title
US20230006882A1 (en) Method and system for node discovery and self-healing of blockchain networks
TW201734861A (en) Description information generating method and device
WO2018000607A1 (en) Method and electronic apparatus for identifying test case failure causes
CN109428737A (en) Change method, group creating method and the device of group type
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
CN107911249A (en) Order line sending method, device and the equipment of a kind of network equipment
US10078692B2 (en) Method and system for providing a social service based on music information
EP2990947A1 (en) Method and apparatus for backing up data and electronic device
CN104639426A (en) Method and device for adding group members
CN106446300A (en) Transaction processing method and system based on shared storage pool
CN103688513A (en) Content sharing method and Social Synchronizing Apparatus
CN114925072A (en) Data management method, apparatus, system, device, medium, and program product
WO2016141590A1 (en) Time sequence data processing method and apparatus
CN109067639B (en) Method for establishing communication group and joining communication group
AU2014203425A1 (en) Social workflow engine
CN106776136A (en) Data base processing method and device
WO2023202702A1 (en) Schedule information synchronization method and apparatus, and electronic device
CN104050264A (en) Method and device for generating SQL statement
JP2019510289A (en) Service processing method and apparatus
CN110059091A (en) Method, apparatus, client, server and the system of index construct
CN115495519A (en) Report data processing method and device
CN116974795A (en) Service path generation and service data verification method and device and electronic equipment
JP5913155B2 (en) Packet replay device and packet replay method
US11023487B2 (en) Data replication for cloud based in-memory databases
CN108683731B (en) Method and device for managing multi-screen interaction