[go: up one dir, main page]

TWI819215B - Data acquisition method, data transfer equipment, platform server, data sharing system, storage device - Google Patents

Data acquisition method, data transfer equipment, platform server, data sharing system, storage device Download PDF

Info

Publication number
TWI819215B
TWI819215B TW109113450A TW109113450A TWI819215B TW I819215 B TWI819215 B TW I819215B TW 109113450 A TW109113450 A TW 109113450A TW 109113450 A TW109113450 A TW 109113450A TW I819215 B TWI819215 B TW I819215B
Authority
TW
Taiwan
Prior art keywords
data
platform
user
target
data acquisition
Prior art date
Application number
TW109113450A
Other languages
Chinese (zh)
Other versions
TW202127329A (en
Inventor
王之龍
鄒雨竹
鄭猛猛
Original Assignee
大陸商上海商湯智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商上海商湯智能科技有限公司 filed Critical 大陸商上海商湯智能科技有限公司
Publication of TW202127329A publication Critical patent/TW202127329A/en
Application granted granted Critical
Publication of TWI819215B publication Critical patent/TWI819215B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Educational Technology (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本發明公開了一種數據獲取方法、數據中轉設備、平台伺服器、數據共享系統、儲存裝置。其中,數據獲取方法包括:獲取數據獲取請求,其中,數據獲取請求用於請求獲取目標數據提供側的目標數據,且目標數據用於提供給數據請求側,數據請求側和目標數據提供側屬不同的平台;從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式;採用選擇的數據獲取方式,向目標數據提供側獲取目標數據。The invention discloses a data acquisition method, data transfer equipment, platform server, data sharing system and storage device. Wherein, the data acquisition method includes: obtaining a data acquisition request, wherein the data acquisition request is used to request acquisition of target data on the target data providing side, and the target data is used to provide to the data requesting side, and the data requesting side and the target data providing side are different platform; select the data acquisition method associated with the target data provider from a variety of pre-stored data acquisition methods; use the selected data acquisition method to obtain the target data from the target data provider.

Description

數據獲取方法、數據中轉設備、平台伺服器、數據共享系統、儲存裝置Data acquisition method, data transfer equipment, platform server, data sharing system, storage device

本發明涉及數據處理技術領域,特別是涉及一種數據獲取方法、數據中轉設備、平台伺服器、數據共享系統、儲存裝置。The present invention relates to the field of data processing technology, and in particular to a data acquisition method, data transfer equipment, platform server, data sharing system, and storage device.

在訊息化時代,越來越多的平台提供給用戶進行訪問。例如,學校提供的訊息化教育平台,學生可以登錄該訊息化教育平台瞭解學校的一些訊息;又例如一些線上教育平台,學生可登陸該線上教育平台進行遠端上課。通常,同一個用戶都會使用多個不同的平台,由於不同平台是相互獨立的,故用戶訪問不同的平台的時候,需要分別登陸,且不同平台在用戶登錄之後,再從自身數據庫中獲取用戶數據,進而爲用戶提供對應的平台功能。In the information age, more and more platforms are provided for users to access. For example, the information-based education platform provided by the school allows students to log in to the information-based education platform to learn some information about the school; and some online education platforms allow students to log in to the online education platform for remote classes. Usually, the same user will use multiple different platforms. Since different platforms are independent of each other, when users access different platforms, they need to log in separately, and different platforms obtain user data from their own databases after the user logs in. , and then provide users with corresponding platform functions.

實際上,對於一些平台,其用戶數據如用戶的姓名、年齡、班級等這些訊息都是相同的,故這些用戶數據可以供多個平台使用,然而,不同平台的底層數據模型設計不同,故不同平台之間無法實現數據獲取。In fact, for some platforms, the user data such as the user's name, age, class, etc. are the same, so these user data can be used by multiple platforms. However, the underlying data models of different platforms are designed differently, so they are different. Data acquisition is not possible between platforms.

基於此,如何實現不同平台之間的數據獲取,成爲極待解決的問題。Based on this, how to achieve data acquisition between different platforms has become an issue that needs to be solved.

本發明提供一種數據獲取方法、數據中轉設備、平台伺服器、數據共享系統、儲存裝置。The invention provides a data acquisition method, data transfer equipment, platform server, data sharing system, and storage device.

本發明第一方面提供了一種數據獲取方法,包括:獲取數據獲取請求,其中,數據獲取請求用於請求獲取目標數據提供側的目標數據,且目標數據用於提供給數據請求側,數據請求側和目標數據提供側屬不同的平台;從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式;採用選擇的數據獲取方式,從目標數據提供側獲取目標數據。A first aspect of the present invention provides a data acquisition method, including: obtaining a data acquisition request, wherein the data acquisition request is used to request acquisition of target data on the target data providing side, and the target data is used to provide to the data requesting side, and the data requesting side It belongs to a different platform than the target data provider; from the multiple pre-stored data acquisition methods, select the data acquisition method associated with the target data provider; use the selected data acquisition method to obtain the target data from the target data provider.

因此,能夠爲數據請求側向數據提供側獲取數據,實現不同平台之間的數據獲取。而且,在獲得數據獲取請求後,從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式,使得被獲取數據的目標數據提供側與數據獲取方式一一對應,實現向目標數據提供側獲取目標數據,故可爲不同數據提供側配置不同的數據獲取方式實現不同數據提供側的數據獲取,即可兼容多種數據獲取方式,從而實現爲數據請求側獲取多個數據提供側的數據。Therefore, it is possible to provide side-acquisition data for data request side data and realize data acquisition between different platforms. Moreover, after obtaining the data acquisition request, the data acquisition method associated with the target data provider is selected from a variety of pre-stored data acquisition methods, so that the target data provider of the acquired data corresponds to the data acquisition method one-to-one, realizing the target data acquisition method. The data provider obtains the target data, so different data acquisition methods can be configured for different data providers to achieve data acquisition on different data providers. It can be compatible with multiple data acquisition methods, thereby achieving the acquisition of multiple data providers for the data requesting side. data.

其中,所述多種數據獲取方式包括預設通訊介面方式、運行SQL腳本方式和運行預存代碼方式中的至少一種。The multiple data acquisition methods include at least one of a default communication interface method, a SQL script running method, and a pre-stored code running method.

因此,能夠兼容預設通訊介面方式、運行SQL腳本方式和運行預存代碼方式,以實現透過預設通訊介面方式、運行SQL腳本方式和運行預存代碼方式來實現與不同數據提供側之間的數據交互。Therefore, it is compatible with the default communication interface mode, the running SQL script mode and the running pre-stored code mode to realize data interaction with different data providers through the default communication interface mode, running SQL script mode and running pre-stored code mode. .

其中,預設通訊介面方式包括HTTP介面方式、RPC介面方式中的至少一種,預存代碼包括Java代碼、Lua代碼、JavaScript代碼和Groovy代碼中的至少一種。The default communication interface method includes at least one of HTTP interface method and RPC interface method, and the pre-stored code includes at least one of Java code, Lua code, JavaScript code and Groovy code.

因此,可進一步兼容HTTP介面方式、RPC介面方式以及運行Java代碼、Lua代碼、JavaScript代碼和Groovy代碼方式,以採用更多種的獲取方式來實現與更多的不同的數據提供側進行數據交互。Therefore, it can be further compatible with HTTP interface mode, RPC interface mode and running Java code, Lua code, JavaScript code and Groovy code, so as to use more various acquisition methods to realize data interaction with more different data providers.

其中,所述方法還包括:獲取用戶輸入的一數據提供側所需的數據獲取方式;建立所述數據提供側與其所需的數據獲取方式之間的關聯關係,並將數據獲取方式和所述關聯關係保存作爲配置訊息;所述從預存的多種數據獲取方式中,選擇與所述目標數據提供側關聯的數據獲取方式,包括:從所述配置訊息中,尋找出與所述目標數據提供側具有關聯關係的數據獲取方式。Wherein, the method also includes: obtaining a data acquisition method required by a data provider input by the user; establishing an association between the data provider and its required data acquisition method, and combining the data acquisition method with the data acquisition method. The association relationship is saved as a configuration message; selecting a data acquisition method associated with the target data provider from a variety of pre-stored data acquisition methods includes: finding the data provider associated with the target data provider from the configuration message. Data acquisition methods with associated relationships.

因此,能夠實現根據用戶輸入爲不同的數據提供側配置其對應的數據獲取方式。Therefore, it is possible to configure corresponding data acquisition methods for different data providing sides based on user input.

其中,所述獲取用戶輸入的一數據提供側所需的數據獲取方式,包括:在所述數據獲取方式爲預設通訊介面方式的情況下,獲取用戶輸入的一數據提供側所需的預設通訊介面訊息;在所述數據獲取方式爲運行SQL腳本方式的情況下,獲取用戶輸入的一數據提供側所需的SQL腳本;在所述數據獲取方式爲運行預存代碼方式的情況下,獲取用戶輸入的一數據提供側所需的代碼;所述將數據獲取方式和所述關聯關係保存作爲配置訊息,包括:將數據獲取方式和所述關聯關係作爲配置訊息保存在預設數據庫中。Wherein, the method of obtaining the data required by a data provider input by the user includes: when the data acquisition method is a default communication interface method, obtaining the default data required by the data provider input by the user. Communication interface message; when the data acquisition method is to run a SQL script, obtain a SQL script required by the data provider input by the user; when the data acquisition method is to run a pre-stored code, obtain the user Enter a code required by the data provider side; the storing the data acquisition method and the association relationship as configuration information includes: saving the data acquisition method and the association relationship as configuration information in a default database.

因此,能夠實現基於用戶輸入訊息,而獲得預設通訊介面訊息、SQL腳本和代碼,進而實現採用預設通訊介面方式、運行SQL腳本方式和運行預存代碼方式來實現與不同數據提供側之間的數據交互。Therefore, it is possible to obtain the default communication interface information, SQL scripts and codes based on user input information, and then use the default communication interface method, running SQL script method and running pre-stored code method to achieve communication with different data providers. Data interaction.

其中,所述採用所述選擇的數據獲取方式,從所述目標數據提供側獲取所述目標數據,包括:在所述數據獲取方式爲預設通訊介面方式的情況下,利用預設通訊介面,向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果;以及利用預存通訊介面模板從所述數據查詢結果中識別並提取關鍵字段內容,得到所述目標數據;在所述數據獲取方式爲運行SQL腳本方式的情況下,運行SQL腳本以生成數據查詢請求;向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果;以及基於所述數據查詢結果,獲得所述目標數據;在所述數據獲取方式爲運行預存代碼方式的情況下,運行所述預存代碼,以實現生成並向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果,對所述數據查詢結果進行解析得到目標數據。Wherein, using the selected data acquisition method to obtain the target data from the target data providing side includes: when the data acquisition method is a default communication interface method, using the default communication interface, Send a data query request to the target data providing side, and receive the data query results fed back by the target data providing side; and use a pre-stored communication interface template to identify and extract key field contents from the data query results to obtain the Target data; when the data acquisition method is to run an SQL script, run the SQL script to generate a data query request; send a data query request to the target data providing side, and receive data fed back by the target data providing side Query results; and based on the data query results, obtain the target data; when the data acquisition method is to run a pre-stored code, run the pre-stored code to generate and send it to the target data providing side A data query request is made, and the data query result fed back by the target data provider is received, and the data query result is parsed to obtain the target data.

因此,能夠實現利用預設通訊介面向數據提供側獲得數據查詢結果,並利用預存通訊介面模板從數據查詢結果中識別並提取得到目標數據;或者,透過運行SQL腳本或預存代碼實現生成並發送數據查詢請求並獲取目標數據;由此,可實現採用預設通訊介面方式、運行SQL腳本方式和運行預存代碼方式來實現與不同數據提供側之間的數據交互。Therefore, it is possible to use the default communication interface to obtain data query results from the data provider, and use the pre-stored communication interface template to identify and extract the target data from the data query results; or, generate and send data by running SQL scripts or pre-stored codes. Query requests and obtains target data; thus, data interaction with different data providers can be achieved by using the default communication interface method, running SQL scripts, and running pre-stored code.

其中,所述獲取數據獲取請求,包括:透過預設通訊介面接收到所述數據請求側的數據獲取請求;或者,檢測到滿足預設條件時,生成數據獲取請求。Wherein, the obtaining the data acquisition request includes: receiving the data acquisition request from the data requesting side through a preset communication interface; or generating a data acquisition request when detecting that the preset conditions are met.

因此,實現了數據獲取請求的獲取,而且,可透過預設通訊介面能實現與數據請求側進行通訊,進而接收數據請求側的數據獲取請求,由此響應於數據請求側的請求從相應的數據提供側中獲取目標數據,實現不同平台之間的數據獲取。Therefore, the acquisition of the data acquisition request is realized, and communication with the data requesting side can be realized through the preset communication interface, thereby receiving the data acquisition request from the data requesting side, thereby responding to the request from the data requesting side and obtaining the corresponding data from the data requesting side. Provides side-centered acquisition of target data to achieve data acquisition between different platforms.

其中,數據請求側和目標數據提供側屬不同教育平台,所述目標數據爲目標用戶的數據。Wherein, the data requesting side and the target data providing side belong to different education platforms, and the target data is the data of the target user.

因此,可實現不同教育平台之間的目標用戶數據的獲取。Therefore, the acquisition of target user data between different education platforms can be achieved.

其中,所述方法還包括:將來自所述數據請求側的驗證請求發送給所述數據提供側,其中,所述驗證請求用於請求驗證目標用戶是否在所述數據提供側登錄;接收所述數據提供側的驗證結果,並反饋給所述數據請求側。Wherein, the method further includes: sending a verification request from the data requesting side to the data providing side, wherein the verification request is used to request verification whether the target user is logged in on the data providing side; receiving the The data providing side verifies the result and feeds it back to the data requesting side.

因此,能夠實現數據請求側和數據提供側之間對用戶登錄的驗證。Therefore, the verification of user login between the data requesting side and the data providing side can be achieved.

本發明第二方面提供了一種數據獲取方法,包括:第一平台檢測到存在對目標數據的獲取需求;透過數據中轉平台從第二平台獲取所述目標數據。A second aspect of the present invention provides a data acquisition method, which includes: the first platform detects that there is a need to acquire target data; and the target data is acquired from the second platform through a data transfer platform.

因此,第一平台在需要獲取第二平台的目標數據時,透過數據中轉平台從第二平台獲取目標數據,故實現不同平台之間的數據獲取。Therefore, when the first platform needs to obtain the target data of the second platform, it obtains the target data from the second platform through the data transfer platform, thus realizing data acquisition between different platforms.

其中,所述檢測到存在對目標數據的獲取需求,包括:接收用戶的訪問請求;其中,所述訪問請求是在所述用戶訪問第二平台時生成的;基於所述訪問請求驗證所述用戶是否已在所述第二平台登錄;若是,則確定存在對所述目標數據的獲取需求,其中,所述目標數據爲所述用戶的數據。Wherein, detecting that there is a need to obtain target data includes: receiving an access request from a user; wherein the access request is generated when the user accesses the second platform; verifying the user based on the access request Whether you have logged in on the second platform; if so, it is determined that there is a need to obtain the target data, where the target data is the user's data.

因此,第一平台在接收到用戶的訪問請求時,若確定用戶已在第二平台登錄,則第一平台作爲數據請求側且第二平台作爲數據提供側,第一平台透過數據中轉平台直接從第二平台獲取所述用戶的數據,即第一平台在用戶訪問時,主動向第二平台查詢用戶數據,實現獲取用戶的最新數據,提高數據獲取的即時性和準確性。Therefore, when the first platform receives the user's access request, if it is determined that the user has logged in to the second platform, the first platform will act as the data requesting side and the second platform will act as the data providing side. The first platform will directly use the data transfer platform to Obtaining the user's data from the second platform means that the first platform actively queries the second platform for user data when the user visits, thereby obtaining the user's latest data and improving the immediacy and accuracy of data acquisition.

其中,還包括:若所述用戶已在所述第二平台登錄,則確定所述用戶在所述第一平台登錄成功。The method further includes: if the user has logged in on the second platform, determining that the user has logged in successfully on the first platform.

因此,在確定用戶在第二平台登錄後直接確定該用戶在第一平台登錄成功,無需用戶重複登錄,提高了平台登錄效率。Therefore, after it is determined that the user has logged in to the second platform, it is directly determined that the user has successfully logged in to the first platform, without the user having to log in repeatedly, which improves platform login efficiency.

其中,在所述透過數據中轉平台從所述第二平台獲取所述目標數據之後,還包括:基於所述用戶的數據,確定所述用戶在所述第一平台上的可訪問內容。Wherein, after obtaining the target data from the second platform through the data transfer platform, the method further includes: determining content accessible to the user on the first platform based on the user's data.

因此,能夠爲不同用戶提供不同的訪問內容,實現用戶區別化的訪問。Therefore, different access contents can be provided for different users to achieve differentiated access for users.

其中,所述第一平台和第二平台爲不同的兩個教育平台,所述用戶的數據包括姓名、學校、班級、角色中的至少一種;所述可訪問內容包括可上課課程、可授課課程中的至少一種。Wherein, the first platform and the second platform are two different educational platforms, and the user's data includes at least one of name, school, class, and role; the accessible content includes courses that can be taken and courses that can be taught. at least one of them.

因此,能夠實現不同教育平台之間用戶數據的獲取,另外,可針對用戶的具體數據內容爲該用戶提供可上課課程和/或可授課課程。Therefore, the acquisition of user data between different education platforms can be achieved. In addition, the courses and/or courses that can be taught can be provided for the user based on the user's specific data content.

其中,所述訪問請求包括第二平台地址和第一密鑰;所述基於所述訪問請求驗證所述用戶是否已在所述第二平台登錄,包括:基於所述第二平台地址,向所述第二平台發送包含所述第一密鑰的驗證請求,以請求驗證所述第一密鑰與所述第二平台在所述用戶成功登錄所述第二平台時生成的第二密鑰是否匹配;接收所述第二平台反饋對所述第一密鑰的驗證結果;若所述驗證結果爲所述第一密鑰和所述第二密鑰匹配,則確定所述用戶已在所述第二平台登錄。Wherein, the access request includes a second platform address and a first key; and verifying whether the user has logged in on the second platform based on the access request includes: based on the second platform address, The second platform sends a verification request including the first key to request verification whether the first key and the second key generated by the second platform when the user successfully logs in to the second platform are matching; receiving feedback from the second platform on the verification result of the first key; if the verification result is that the first key and the second key match, it is determined that the user has entered the Log in to the second platform.

因此,透過第二平台對密鑰的驗證實現了用戶在第二平台的登錄狀態的驗證。Therefore, the verification of the user's login status on the second platform is realized through the verification of the key by the second platform.

其中,所述透過數據中轉平台從所述第二平台獲取所述目標數據,包括:向所述數據中轉平台發送數據獲取請求,以使所述數據中轉平台採用與所述第二平台關聯的數據獲取方式,從所述第二平台獲取所述目標數據。Wherein, obtaining the target data from the second platform through the data transfer platform includes: sending a data acquisition request to the data transfer platform, so that the data transfer platform adopts the same method as the second platform. The associated data acquisition method is to acquire the target data from the second platform.

因此,數據中轉平台能夠採用與第二平台關聯的數據獲取方式實現目標數據的獲取,即能夠爲不同數據獲取方式的第二平台選擇與之匹配的數據獲取方式,故可兼容多種數據獲取方式,從而實現爲第一平台獲取不同的第二平台的數據。Therefore, the data transfer platform can use the data acquisition method associated with the second platform to achieve the acquisition of target data, that is, it can select a matching data acquisition method for the second platform with different data acquisition methods, so it is compatible with multiple data acquisition methods. , thereby achieving the acquisition of different second platform data for the first platform.

本發明第三方面提供了一種數據獲取裝置,該裝置包括:獲取模組,用於獲取數據獲取請求,其中,所述數據獲取請求用於請求獲取目標數據提供側的目標數據,且所述目標數據用於提供給數據請求側,所述數據請求側和目標數據提供側屬不同的平台;選擇模組,用於從預存的多種數據獲取方式中,選擇與所述目標數據提供側關聯的數據獲取方式;獲取模組,用於採用所述選擇的數據獲取方式,從所述目標數據提供側獲取所述目標數據。A third aspect of the present invention provides a data acquisition device. The device includes: an acquisition module for acquiring a data acquisition request, wherein the data acquisition request is used to request acquisition of target data on the target data providing side, and the target Data is used to provide data to the data requesting side, and the data requesting side and the target data providing side belong to different platforms; the selection module is used to select data associated with the target data providing side from a variety of pre-stored data acquisition methods. Acquisition method; an acquisition module, used to obtain the target data from the target data providing side using the selected data acquisition method.

因此,能夠爲數據請求側向數據提供側獲取數據,實現不同平台之間的數據獲取。而且,在獲得數據獲取請求後,從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式,使得被獲取數據的目標數據提供側與數據獲取方式一一對應,實現向目標數據提供側獲取目標數據,故可爲不同數據提供側配置不同的數據獲取方式實現不同數據提供側的數據獲取,即可兼容多種數據獲取方式,從而實現爲數據請求側獲取多個數據提供側的數據。Therefore, it is possible to provide side-acquisition data for data request side data and realize data acquisition between different platforms. Moreover, after obtaining the data acquisition request, the data acquisition method associated with the target data provider is selected from a variety of pre-stored data acquisition methods, so that the target data provider of the acquired data corresponds to the data acquisition method one-to-one, realizing the target data acquisition method. The data provider obtains the target data, so different data acquisition methods can be configured for different data providers to achieve data acquisition on different data providers. It can be compatible with multiple data acquisition methods, thereby achieving the acquisition of multiple data providers for the data requesting side. data.

本發明第四方面提供了一種數據獲取裝置,應用於第一平台,包括:檢測模組,用於檢測到存在對目標數據的獲取需求;獲取模組,用於透過數據中轉平台從所述第二平台獲取所述目標數據。The fourth aspect of the present invention provides a data acquisition device, which is applied to the first platform and includes: a detection module for detecting the need to acquire target data; and an acquisition module for obtaining data from the data through the data transfer platform. The second platform obtains the target data.

因此,第一平台在需要獲取第二平台的目標數據時,透過數據中轉平台從第二平台獲取目標數據,故實現不同平台之間的數據獲取。Therefore, when the first platform needs to obtain the target data of the second platform, it obtains the target data from the second platform through the data transfer platform, thus realizing data acquisition between different platforms.

本發明第五方面提供了一種數據中轉設備,包括處理器以及與處理器耦接的通訊電路和記憶體,其中,處理器用於執行記憶體儲存的電腦程式以結合通訊電路執行上述第一方面的數據獲取方法。A fifth aspect of the present invention provides a data transfer device, including a processor, a communication circuit and a memory coupled to the processor, wherein the processor is used to execute a computer program stored in the memory to combine with the communication circuit to execute the first aspect. data acquisition method.

因此,能夠爲數據請求側向數據提供側獲取數據,實現不同平台之間的數據獲取。而且,在獲得數據獲取請求後,從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式,使得被獲取數據的目標數據提供側與數據獲取方式一一對應,實現向目標數據提供側獲取目標數據,故可爲不同數據提供側配置不同的數據獲取方式實現不同數據提供側的數據獲取,即可兼容多種數據獲取方式,從而實現爲數據請求側獲取多個數據提供側的數據。Therefore, it is possible to provide side-acquisition data for data request side data and realize data acquisition between different platforms. Moreover, after obtaining the data acquisition request, the data acquisition method associated with the target data provider is selected from a variety of pre-stored data acquisition methods, so that the target data provider of the acquired data corresponds to the data acquisition method one-to-one, realizing the target data acquisition method. The data provider obtains the target data, so different data acquisition methods can be configured for different data providers to achieve data acquisition on different data providers. It can be compatible with multiple data acquisition methods, thereby achieving the acquisition of multiple data providers for the data requesting side. data.

本發明第六方面提供了一種平台伺服器,包括處理器以及與處理器耦接的通訊電路和記憶體,其中,處理器用於執行記憶體儲存的電腦程式以結合通訊電路執行上述第二方面的數據獲取方法。A sixth aspect of the present invention provides a platform server, including a processor, a communication circuit and a memory coupled to the processor, wherein the processor is used to execute the computer program stored in the memory to combine with the communication circuit to perform the above-mentioned second aspect. Data acquisition methods.

因此,第一平台在需要獲取第二平台的目標數據時,透過數據中轉平台從第二平台獲取目標數據,故實現不同平台之間的數據獲取。Therefore, when the first platform needs to obtain the target data of the second platform, it obtains the target data from the second platform through the data transfer platform, thus realizing data acquisition between different platforms.

本發明第七方面提供了一種數據共享系統,包括數據中轉設備以及分別與數據中轉設備連接的第一平台伺服器和至少一個第二平台伺服器;其中,數據中轉設備爲上述第五方面的設備,第一平台伺服器爲上述第六方面的伺服器,以實現第一平台伺服器透過數據中轉設備獲取第二平台伺服器的用戶數據。A seventh aspect of the present invention provides a data sharing system, including a data transfer device and a first platform server and at least one second platform server respectively connected to the data transfer device; wherein the data transfer device is the above-mentioned fifth platform server. In the aspect of equipment, the first platform server is the server of the above-mentioned sixth aspect, so as to realize that the first platform server obtains the user data of the second platform server through the data transfer equipment.

因此,能夠透過數據中轉設備爲第一平台伺服器向第二平台伺服器獲取數據,實現不同平台之間的數據獲取。而且,能夠爲不同的第二平台伺服器配置不同的數據獲取方式實現不同第二平台的數據獲取,即可兼容多種數據獲取方式,從而實現爲第一平台伺服器獲取不同的第二平台伺服器的數據。Therefore, the data transfer device can be used to obtain data from the first platform server to the second platform server, thereby realizing data acquisition between different platforms. Moreover, different data acquisition methods can be configured for different second platform servers to achieve data acquisition for different second platforms, which means that it is compatible with multiple data acquisition methods, thereby achieving the acquisition of different second platform servers for the first platform server. data.

本發明第八方面提供了一種儲存裝置,儲存有能夠被處理器運行以實現上述第一方面和/或第二方面的數據獲取方法的電腦程式。An eighth aspect of the present invention provides a storage device that stores a computer program that can be run by a processor to implement the data acquisition method of the first aspect and/or the second aspect.

因此,作爲不同平台的數據請求側和數據提供側,數據請求側可透過數據中轉平台獲取數據提供側的數據,故可實現不同平台之間的數據獲取。Therefore, as the data requesting side and the data providing side of different platforms, the data requesting side can obtain the data of the data providing side through the data transfer platform, so data acquisition between different platforms can be realized.

本發明第九方面提供了一種電腦程式,其中,包括電腦可讀代碼,當所述電腦代碼在電子設備中運行時,所述電子設備中的處理器執行用於實現上述第一方面和/或第二方面的數據獲取方法。A ninth aspect of the present invention provides a computer program, which includes computer readable code. When the computer code is run in an electronic device, the processor in the electronic device executes to implement the above first aspect and/or The second aspect of data acquisition methods.

因此,作爲不同平台的數據請求側和數據提供側,數據請求側可透過數據中轉平台獲取數據提供側的數據,故可實現不同平台之間的數據獲取。Therefore, as the data requesting side and the data providing side of different platforms, the data requesting side can obtain the data of the data providing side through the data transfer platform, so data acquisition between different platforms can be realized.

下面結合說明書附圖,對本發明實施例的方案進行詳細說明。The solutions of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

請參閱圖1,圖1是本發明數據獲取方法一實施例的流程示意圖。具體而言,本公開實施例方法包括以下步驟:Please refer to Figure 1, which is a schematic flow chart of an embodiment of the data acquisition method of the present invention. Specifically, the method of the present disclosure includes the following steps:

步驟S101:獲取數據獲取請求。Step S101: Obtain data acquisition request.

數據獲取請求用於請求獲取目標數據提供側的目標數據,該目標數據用於提供給數據請求側。其中,目標數據提供側與數據請求側屬不同的平台,如不同的教育平台。例如,數據請求側爲一線上教育平台,數據提供側爲一第三方教育平台。The data acquisition request is used to request acquisition of target data on the target data providing side, and the target data is used to be provided to the data requesting side. Among them, the target data providing side and the data requesting side belong to different platforms, such as different education platforms. For example, the data requesting side is an online education platform, and the data providing side is a third-party education platform.

目標數據可以爲數據提供側中的任意數據,在一些實施例中,該目標數據可以是目標用戶的數據,目標數據可因目標數據提供側的平台類型不同而有所差異。平台類型不作任何限定,例如,教育平台、政務平台和法律諮詢平台等。在一具體應用中,數據請求側和目標數據提供側屬不同教育平台時,目標數據是目標用戶的數據可理解爲:目標用戶可以是學生、老師等,目標用戶的數據包括用戶名稱、課程、班級、學校等。The target data can be any data in the data providing side. In some embodiments, the target data can be the data of the target user. The target data can vary depending on the platform type of the target data providing side. There are no restrictions on the type of platform, such as education platform, government affairs platform, legal consulting platform, etc. In a specific application, when the data requesting side and the target data providing side belong to different education platforms, the target data is the target user's data, which can be understood as: the target user can be a student, teacher, etc., and the target user's data includes user name, course, Class, school, etc.

本公開實施例方法的執行主體爲數據中轉設備(即用於支持運行數據中轉平台的設備),其實現目標數據提供側與數據請求側兩者之間的交互。具體地,該數據中轉設備可以爲伺服器、終端設備等硬體設備,或者爲執行特定電腦程式的處理器等。可以理解的是,本發明實施例的數據中轉設備和該數據請求側可爲不同設備,或者由同一設備實現。The execution subject of the method in the embodiment of the present disclosure is a data transfer device (that is, a device used to support the operation of the data transfer platform), which realizes the interaction between the target data providing side and the data requesting side. Specifically, the data transfer equipment can be hardware equipment such as servers and terminal equipment, or a processor that executes a specific computer program. It can be understood that the data transfer device and the data requesting side in the embodiment of the present invention may be different devices, or implemented by the same device.

該數據獲取請求可以爲數據中轉設備主動生成或由數據請求側生成。例如,數據中轉設備在自身檢測到預設條件(如預定時間)時生成數據獲取請求,進而執行下述步驟以獲得目標數據,數據中轉設備保存該目標數據,以後續在數據請求側需要獲取該目標數據時直接向數據中轉設備獲取該保存的目標數據,由此提前爲數據請求側準備數據,可減少數據請求側的數據獲取時間。又例如,由數據請求側在需要獲取目標數據時生成數據獲取請求,數據中轉設備獲得該數據獲取請求後執行下述步驟以獲得目標數據,進而將該目標數據反饋給數據請求側,由此直接在數據請求側有需求時執行本發明實施例以獲得目標數據,數據中轉設備不預先獲取並保存數據,可減低對數據中轉設備的儲存空間需求。在由數據請求側生成數據獲取請求的具體應用中,數據中轉設備對數據獲取請求的獲取方式包括預設通訊介面等,也即,數據中轉設備可透過預設通訊介面接收到數據請求側的數據獲取請求。該預設通訊介面可以爲標準且通用的數據介面,具體可以根據數據請求側的設備確定。The data acquisition request can be actively generated by the data transfer device or generated by the data requesting side. For example, the data transfer device generates a data acquisition request when it detects a preset condition (such as a scheduled time), and then performs the following steps to obtain the target data. The data transfer device saves the target data for subsequent use on the data request side. When acquiring the target data, the saved target data is directly obtained from the data transfer device, thereby preparing data for the data requesting side in advance, which can reduce the data acquisition time on the data requesting side. For another example, the data requesting side generates a data acquisition request when it needs to obtain target data. After obtaining the data acquisition request, the data transfer device performs the following steps to obtain the target data, and then feeds the target data back to the data requesting side. Thus, The embodiments of the present invention are directly executed when the data requesting side has needs to obtain the target data. The data transfer device does not obtain and save the data in advance, which can reduce the storage space requirement of the data transfer device. In a specific application where the data request side generates a data acquisition request, the data transfer device obtains the data acquisition request through a default communication interface. That is, the data transfer device can receive the data request side through the default communication interface. data retrieval request. The default communication interface can be a standard and universal data interface, and the details can be determined according to the device on the data requesting side.

步驟S102:從預存的多種數據獲取方式中,選擇與所述目標數據提供側關聯的數據獲取方式。Step S102: Select a data acquisition method associated with the target data providing side from a variety of pre-stored data acquisition methods.

多種數據獲取方式包括預設通訊介面方式、運行SQL(Structured Query Language,結構化查詢語言)腳本方式和運行預存代碼方式中的至少一種。其中,預設通訊介面方式可以包括HTTP(HyperText Transfer Protocol,超文本傳輸協議)介面方式、RPC(Remote Procedure Call,遠端程序呼叫)介面方式中的至少一種,當然還可以爲其餘網路通訊介面;預存代碼包括但不限於包括Java(一種面向對象程式化語言)代碼、Lua(一種輕量小巧的腳本語言)代碼、JavaScript(具有函數優先的輕量級,解釋型或即時編譯型的程式化語言)代碼和Groovy(一種基於Java虛擬機的敏捷開發語言)代碼中的至少一種。The multiple data acquisition methods include at least one of a default communication interface method, a SQL (Structured Query Language, Structured Query Language) script method, and a pre-stored code method. Among them, the default communication interface method may include at least one of the HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol) interface method, RPC (Remote Procedure Call, remote procedure call) interface method, and of course it can also be other network communication interfaces. ;Pre-stored code includes but is not limited to Java (an object-oriented programming language) code, Lua (a lightweight and compact scripting language) code, JavaScript (lightweight, interpreted or just-in-time compiled programming with function priority) Language) code and Groovy (an agile development language based on the Java virtual machine) code.

不同目標數據提供側對應的數據獲取方式不同,因此,數據獲取過程中,需選擇與目標數據提供側關聯的數據獲取方式。例如,在本步驟S102之前獲取並保存用戶輸入的數據提供側所需的數據獲取方式。在一些實施例中,在本步驟S102之前,所述方法還包括:獲取用戶輸入的一數據提供側所需的數據獲取方式;建立該數據提供側與其所需的數據獲取方式之間的關聯關係,並將數據獲取方式和關聯關係保存作爲配置訊息。若需從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式,則從配置訊息中,尋找出與目標數據提供側具有關聯關係的數據獲取方式即可。當然,在另一公開實施例中,該數據獲取方式也可不是由用戶輸入,而是由其他設備導入,例如,由數據提供側所在的設備、數據請求側所在的設備或者爲預設用戶如管理員在其他終端設備輸入後導入至該數據中轉設備上的,故在此不作任何限定。Different target data providing sides have different data acquisition methods. Therefore, during the data acquisition process, it is necessary to select the data acquisition method associated with the target data providing side. For example, before this step S102, the data acquisition method required by the data provider input by the user is acquired and saved. In some embodiments, before step S102, the method further includes: obtaining a data acquisition method required by a data provider input by the user; establishing an association between the data provider and its required data acquisition method. , and save the data acquisition method and association relationship as configuration information. If you need to select a data acquisition method associated with the target data provider from a variety of pre-stored data acquisition methods, just find the data acquisition method associated with the target data provider from the configuration message. Of course, in another disclosed embodiment, the data acquisition method may not be input by the user, but imported by other devices, for example, by the device where the data providing side is located, the device where the data requesting side is located, or by a preset user such as The administrator imports it to the data transfer device after inputting it on other terminal devices, so there is no limitation here.

具體地,數據中轉設備可提供給管理員輸入數據獲取方式的介面,例如管理員可在數據中轉設備的後台操作界面輸入相應數據獲取方式。其中,在數據獲取方式爲預設通訊介面方式的情況下,獲取用戶輸入的一數據提供側所需的預設通訊介面訊息;在數據獲取方式爲運行SQL腳本方式的情況下,獲取用戶輸入的一數據提供側所需的SQL腳本;在數據獲取方式爲運行預存代碼方式的情況下,獲取用戶輸入的一數據提供側所需的代碼。數據中轉設備在接收到上述用戶輸入的數據獲取方式,可將上述用戶輸入的數據獲取方式保存作爲配置訊息。Specifically, the data transfer device can provide an interface for the administrator to input the data acquisition method. For example, the administrator can input the corresponding data acquisition method on the background operation interface of the data transfer device. Among them, when the data acquisition method is the default communication interface method, the default communication interface information required by the data provider side input by the user is obtained; when the data acquisition method is the running SQL script method, the user input is obtained. A SQL script required by the data providing side; when the data acquisition method is to run pre-stored code, obtain the code required by the data providing side input by the user. After receiving the above-mentioned data acquisition method input by the user, the data transfer device may save the above-mentioned data acquisition method input by the user as a configuration message.

上述配置訊息可以儲存於數據中轉設備關聯的數據庫中。例如,該數據庫包含至少一個表,以用於存入配置訊息。數據庫的表可包括目標數據提供側名稱、目標數據提供側的地址訊息和數據獲取方式等,在此不作任何限定。The above configuration information can be stored in a database associated with the data transfer device. For example, the database includes at least one table for storing configuration information. The tables of the database may include the name of the target data providing side, the address information of the target data providing side, the data acquisition method, etc., without any limitation here.

在一具體應用中,與數據中轉設備連接的數據庫設備(如數據庫伺服器)預先搭建數據庫,並透過初始化SQL腳本,創建數據庫的表,以用於存入數據中轉設備所需要的配置訊息。當然,該數據庫也可直接設於數據中轉設備中,即直接由數據中轉設備進行上述數據庫的搭建以及相關表的創建。數據中轉設備爲了提供數據請求側與目標數據提供側之間的數據中轉服務,需安裝運行環境,並配置數據庫參數,以運行數據中轉平台,實現數據請求側和目標數據側之間的數據獲取。其中,若該數據中轉平台由Java代碼實現,即該運行環境爲Java運行環境,例如,爲Java 語言的軟體開發工具包JDK(Java Development Kit,Java開發套件)。數據庫參數包括但不限於用於儲存配置訊息數據庫的地址,透過該用於儲存配置訊息數據庫的地址,即可訪問儲存有配置訊息的數據庫,進而獲取到數據庫中的數據提供側關聯的數據獲取方式。In a specific application, the database device (such as a database server) connected to the data transfer device pre-builds a database, and creates a database table through an initialization SQL script to store the configuration information required by the data transfer device. . Of course, the database can also be directly installed in the data transfer device, that is, the data transfer device directly performs the construction of the above-mentioned database and the creation of related tables. In order to provide data transfer services between the data requesting side and the target data providing side, the data transfer equipment needs to install the operating environment and configure the database parameters to run the data transfer platform and realize the data transfer between the data requesting side and the target data side. Data acquisition. Among them, if the data transfer platform is implemented by Java code, that is, the running environment is a Java running environment, for example, a software development kit JDK (Java Development Kit, Java Development Kit) of the Java language. The database parameters include but are not limited to the address of the database for storing configuration information. Through the address of the database for storing configuration information, you can access the database where the configuration information is stored, and then obtain the data acquisition method associated with the data provider in the database. .

上述多種數據獲取方式均已預先儲存,並且由於不同的目標數據提供側擁有不同的底層數據模型設計,因而,目標數據提供側進行數據傳輸時的數據獲取方式不同。爲了能夠適配於不同的目標數據提供側,可預先儲存數據提供側與其所需的數據獲取方式,當識別數據提供側後,即可快速獲知其對應的數據獲取方式,以提高數據獲取的效率。The various data acquisition methods mentioned above have been stored in advance, and because different target data providers have different underlying data model designs, the data acquisition methods used by the target data providers during data transmission are different. In order to be able to adapt to different target data providers, the data providers and their required data acquisition methods can be stored in advance. Once the data providers are identified, their corresponding data acquisition methods can be quickly learned to improve the efficiency of data acquisition. .

步驟S103:採用所述選擇的數據獲取方式,從所述目標數據提供側獲取所述目標數據。Step S103: Use the selected data acquisition method to obtain the target data from the target data providing side.

針對目標數據提供側,確定其所需的數據獲取方式後,即可從目標數據提供側獲取目標數據。After determining the required data acquisition method for the target data providing side, the target data can be obtained from the target data providing side.

在數據獲取方式爲預設通訊介面方式的情況下,利用預設通訊介面,向目標數據提供側發送數據查詢請求,並接收目標數據提供側反饋的數據查詢結果;以及利用預存通訊介面模板從數據查詢結果中識別並提取關鍵字段內容,得到目標數據。When the data acquisition method is the default communication interface method, use the default communication interface to send a data query request to the target data provider, and receive the data query results fed back by the target data provider; and use the pre-stored communication interface template to obtain the data from the data. Identify and extract key field contents from the query results to obtain target data.

預設通訊介面爲目標數據提供側所支持的介面,故可用於數據中轉設備與目標數據提供側的數據交互。數據中轉設備透過預設通訊介面能夠生成目標數據提供側能夠解讀的數據查詢請求,目標數據提供側利用其對應的預設通訊介面解析並執行數據查詢請求,以獲得並向數據中轉設備發送數據查詢結果;數據中轉設備透過預設通訊介面接收目標數據提供側反饋的數據查詢結果後進行數據解析。The default communication interface is an interface supported by the target data provider, so it can be used for data interaction between the data transfer device and the target data provider. The data transfer device can generate a data query request that can be interpreted by the target data provider through the default communication interface. The target data provider uses its corresponding default communication interface to parse and execute the data query request to obtain and send it to the data transfer device. Data query results; the data transfer device receives the data query results fed back by the target data provider through the default communication interface and performs data analysis.

預存通訊介面模板用於預先定義對應通訊介面接收到的數據查詢結果中的關鍵字段,以實現正確解析數據查詢結果得到目標數據,如定義關鍵字段username表示姓名,定義class表示班級等。例如,線上教育平台向數據中轉設備發送數據獲取請求,以請求獲取第三方教育平台中關於用戶ID爲12314的用戶數據,數據中轉設備確定該第三方教育平台對應的數據獲取方式爲HTTP介面方式,故生成並向第三方教育平台發送HTTP請求,該HTTP請求中包含URL:http://exchange.study.com/userInfo/12314,第三方教育平台查詢用戶ID爲12314的用戶數據,並返回包含數據查詢結果的響應報文如下:The pre-stored communication interface template is used to pre-define the key fields in the data query results received by the corresponding communication interface, so as to correctly parse the data query results and obtain the target data, such as defining the key fields username to represent the name, defining class to represent the class, etc. For example, the online education platform sends a data acquisition request to the data transfer device to request the user data of the third-party education platform with user ID 12314. The data transfer device determines that the data acquisition method corresponding to the third-party education platform is the HTTP interface. method, so an HTTP request is generated and sent to the third-party education platform. The HTTP request contains the URL: http://exchange.study.com/userInfo/12314. The third-party education platform queries the user data with user ID 12314 and returns The response message containing the data query results is as follows:

{{

"name":"張三","name":"Zhang San",

"age": 18,"age": 18,

"gradeId": "g123123""gradeId": "g123123"

"gradeName":"高一一班","gradeName":"Grade 11",

"schoolId":"s3243243""schoolId":"s3243243"

"schoolName":"幸福中學","schoolName":"Happiness Middle School",

"role":"STUDENT""role":"STUDENT"

}}

數據中轉平台利用對應的HTTP介面模板,從上述響應報文中提取關鍵字段“name”的內容“張三”作爲用戶姓名;關鍵字段“age”的內容“18”作爲用戶年齡;關鍵字段“gradeId”的內容“g123123”作爲用戶的班級ID;關鍵字段“gradeName”的內容“高一一班”作爲用戶班級;關鍵字段“schoolId”的內容“s3243243”作爲用戶學校ID;關鍵字段“schoolname”的內容“幸福中學”作爲用戶學校名稱;關鍵字段“role”的內容“STUDENT”作爲用戶角色爲學生。由此數據中轉設備將上述解析得到的用戶數據發送給線上教育平台,線上教育平台即獲得用戶ID爲12314的上述用戶數據。The data transfer platform uses the corresponding HTTP interface template to extract the content "Zhang San" of the key field "name" from the above response message as the user's name; the content "18" of the key field "age" is used as the user's age; the keyword The content "g123123" of the segment "gradeId" is used as the user's class ID; the content "Grade 11" of the key field "gradeName" is used as the user's class; the content "s3243243" of the key field "schoolId" is used as the user's school ID; key The content of the field "schoolname" is "Happiness Middle School" as the user's school name; the content of the key field "role" is "STUDENT" as the user role is student. The data transfer device sends the user data obtained by the above analysis to the online education platform, and the online education platform obtains the above user data with the user ID of 12314.

在數據獲取方式爲運行預存代碼方式的情況下,運行預存代碼,以實現以下內容:生成並向目標數據提供側發送數據查詢請求,並接收目標數據提供側反饋的數據查詢結果,對數據查詢結果進行解析得到目標數據。對於採用一些非標準介面的數據提供側,數據中轉設備無法直接與該數據提供側進行數據交互。故可透過由用戶輸入相應代碼,並運行該代碼實現與數據提供側進行數據交互。在一些實施例中,數據中轉設備可在Java運行環境中,對該預存代碼進行編譯執行。其中,運行預存代碼時,可利用Java運行環境中的預設工具編譯並執行預存代碼,即針對Java代碼、Lua代碼、JavaScript代碼和Groovy代碼等不同代碼,可採用對應的工具進行編譯執行。具體地,對於Java代碼,可採用JavaCompiler進行動態編譯代碼,即時編譯Java代碼片段;對於JavaScript和Groovy代碼,可採用criptEngineManager類實現編譯執行;對於Lua代碼,可採用LuaJ工具實現編譯執行。When the data acquisition method is to run the pre-stored code, run the pre-stored code to achieve the following: generate and send data query requests to the target data provider, receive data query results fed back by the target data provider, and compare the data query results Perform analysis to obtain target data. For data providers that use some non-standard interfaces, the data transfer device cannot directly interact with the data provider. Therefore, the user can enter the corresponding code and run the code to realize data interaction with the data provider. In some embodiments, the data transfer device can compile and execute the pre-stored code in the Java runtime environment. Among them, when running the pre-stored code, you can use the preset tools in the Java runtime environment to compile and execute the pre-stored code. That is, for different codes such as Java code, Lua code, JavaScript code, and Groovy code, you can use the corresponding tools to compile and execute. Specifically, for Java code, JavaCompiler can be used to dynamically compile the code and compile Java code snippets on the fly; for JavaScript and Groovy code, the scriptEngineManager class can be used to implement compilation and execution; for Lua code, the LuaJ tool can be used to implement compilation and execution.

上述運行預存代碼方式,可支持線上編輯代碼獲取目標數據提供側的目標數據,並且針對不同應用場景和數據查詢內容編寫具體的業務代碼,靈活兼容多種類型的目標數據提供側。此外,預存代碼可採用Java代碼、Lua代碼、JavaScript代碼和Groovy代碼等,支持多語言線上編輯的代碼生成。即使數據中轉設備並無目標數據提供側對應的介面配置,由於預存代碼方式的自定義編碼,仍能實現與目標數據提供側的目標數據獲取。The above method of running pre-stored code can support online editing of code to obtain target data from the target data provider, and write specific business codes for different application scenarios and data query content, and is flexibly compatible with multiple types of target data providers. In addition, the pre-stored code can use Java code, Lua code, JavaScript code, Groovy code, etc., and supports multi-language online editing code generation. Even if the data transfer device does not have an interface configuration corresponding to the target data provider, due to the custom coding of the pre-stored code, the target data can still be obtained from the target data provider.

在數據獲取方式爲運行SQL腳本方式的情況下,運行SQL腳本以生成數據查詢請求;向目標數據提供側發送數據查詢請求,並接收目標數據提供側反饋的數據查詢結果;以及基於數據查詢結果,獲得目標數據。SQL腳本用於創建數據庫對象的語句的集合,可對數據庫進行訪問。上述預設通訊介面方式和運行預存代碼方式可直接與相應平台進行數據獲取,例如,直接與第三方教育平台交互,以由該第三方教育平台從其用戶數據庫獲取對應的用戶數據並返回該數據中轉設備。在一些實施例中,數據中轉設備也可直接向平台的數據庫交互,例如,透過運行SQL腳本方式向該第三方教育平台的用戶數據庫查詢對應用戶數據並由該用戶數據庫返回該用戶數據。例如,線上教育平台向數據中轉設備發送數據獲取請求,以請求獲取第三方教育平台中關於用戶ID爲12314的用戶數據,數據中轉設備確定該數據提供側爲第三方教育平台的用戶數據庫,故其對應的數據獲取方式爲運行SQL方式,故運行相應SQL腳本:“select name,age,gradeId,gradeName,schoolId,schoolName,role from user where id=12314”,以生成並向第三方教育平台的用戶數據庫發送數據查詢請求,第三方教育平台的用戶數據庫查詢用戶ID爲12314的用戶數據,並返回數據查詢結果如下:“張三,18,g123123,高一一班,s3243243,幸福中學,STUDENT”,由此數據中轉設備將上述返回的用戶數據發送給線上教育平台,線上教育平台即獲得用戶ID爲12314的上述用戶數據。When the data acquisition method is to run an SQL script, run the SQL script to generate a data query request; send a data query request to the target data provider, and receive data query results fed back by the target data provider; and based on the data query results, Get target data. A SQL script is a collection of statements used to create database objects that provide access to the database. The above-mentioned default communication interface method and running pre-stored code method can directly obtain data from the corresponding platform, for example, directly interact with a third-party education platform, so that the third-party education platform obtains the corresponding user data from its user database and returns the data. Transfer equipment. In some embodiments, the data transfer device can also directly interact with the database of the platform, for example, by running a SQL script to query the user database of the third-party education platform for corresponding user data and have the user database return the user data. For example, the online education platform sends a data acquisition request to the data transfer device to request the user data of the third-party education platform with user ID 12314. The data transfer device determines that the data provider is the user database of the third-party education platform. Therefore, the corresponding data acquisition method is to run SQL, so run the corresponding SQL script: "select name, age, gradeId, gradeName, schoolId, schoolName, role from user where id=12314" to generate and send it to the third-party education platform The user database sends a data query request, and the user database of the third-party education platform queries the user data with user ID 12314, and returns the data query results as follows: "Zhang San, 18, g123123, Grade 1, Class 1, s3243243, Xingfu Middle School, STUDENT" , the data transfer device sends the above-mentioned returned user data to the online education platform, and the online education platform obtains the above-mentioned user data with the user ID of 12314.

值得注意的是,上述數據請求側可以爲一平台設備,該平台設備和數據中轉設備可爲同一設備(如伺服器)上,也可屬不同設備;上述數據提供側可以爲另一平台伺服器,或者爲另一平台的數據庫所在的設備,在此不作限定。It is worth noting that the above-mentioned data requesting side can be a platform device, and the platform device and the data transfer device can be on the same device (such as a server), or they can belong to different devices; the above-mentioned data providing side can be another platform server. server, or the device where the database of another platform is located, which is not limited here.

透過上述方式,作爲不同平台的數據請求側和數據提供側,數據請求側可透過數據中轉平台獲取數據提供側的數據,故可實現不同平台之間的數據獲取。而且,數據中轉平台接收來自數據請求側的數據獲取請求後,從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式,使得被獲取數據的目標數據提供側與數據獲取方式一一對應,實現向目標數據提供側獲取目標數據,故可爲不同數據提供側配置不同的數據獲取方式實現不同數據提供側的數據獲取,即數據中轉平台可兼容多種數據獲取方式,從而實現數據請求側獲取多個數據提供側的數據。Through the above method, as the data requesting side and the data providing side of different platforms, the data requesting side can obtain the data of the data providing side through the data transfer platform, so data acquisition between different platforms can be realized. Moreover, after the data transfer platform receives the data acquisition request from the data requesting side, it selects the data acquisition method associated with the target data providing side from the multiple pre-stored data obtaining methods, so that the target data providing side of the acquired data is consistent with the data obtaining side. The methods correspond to one-to-one to achieve the acquisition of target data from the target data provider. Therefore, different data acquisition methods can be configured for different data providers to achieve data acquisition on different data providers. That is, the data transfer platform can be compatible with multiple data acquisition methods, thus Implement the data requesting side to obtain data from multiple data providing sides.

可以理解的是,數據中轉設備除了用於實現數據請求側與數據提供側之間的目標數據獲取外,還可用於進行數據請求側與數據提供側之間其他的任意訊息交互。如在一公開實施例中,該獲取方法除包含執行上述步驟外,還包括將來自所述數據請求側的驗證請求發送給所述數據提供側,其中,所述驗證請求用於請求驗證目標用戶是否在所述數據提供側登錄;接收所述數據提供側的驗證結果,並反饋給所述數據請求側。由此,能夠實現數據請求側與數據提供側之間的用戶登錄驗證。其中,數據中轉設備與數據請求側和數據提供側之間的交互方式可參考上面描述,例如可獲取與數據提供側關聯的獲取方式,如爲一預設通訊介面方式,則利用該通訊介面方式將驗證請求發送給數據提供側並接收數據提供側反饋的驗證結果,利用預設通訊介面模板對驗證結果進行識別得到結果內容,進而反饋給數據請求側。It can be understood that, in addition to achieving target data acquisition between the data requesting side and the data providing side, the data transfer device can also be used for any other message interaction between the data requesting side and the data providing side. As in a disclosed embodiment, in addition to performing the above steps, the acquisition method also includes sending a verification request from the data requesting side to the data providing side, wherein the verification request is used to request verification of the target user. Whether to log in at the data providing side; receive the verification result from the data providing side and feed it back to the data requesting side. This enables user login verification between the data requesting side and the data providing side. Among them, the interaction method between the data transfer device, the data requesting side and the data providing side can refer to the above description. For example, the acquisition method associated with the data providing side can be obtained. If it is a default communication interface method, use the communication interface. The method sends the verification request to the data providing side and receives the verification results fed back by the data providing side, uses the default communication interface template to identify the verification results to obtain the result content, and then feeds back to the data requesting side.

另外,數據請求側在收到該驗證結果後,若確定目標用戶已在數據提供側登錄,則可以直接確定目標用戶在自身平台也完成登錄,無需用戶重複登錄,提高了平台登錄效率。上述目標數據可以爲該目標用戶的數據,在數據請求側確定目標用戶已在數據提供側登錄之後,再執行上述步驟S101至S103以向數據提供側獲取該目標用戶的數據,進而可根據該目標用戶的數據進行相應處理,例如爲目標用戶提供與之匹配的可訪問內容等。In addition, after receiving the verification result, if the data requesting side determines that the target user has logged in on the data providing side, it can directly determine that the target user has also logged in on its own platform, eliminating the need for the user to log in repeatedly, which improves platform login efficiency. The above target data can be the data of the target user. After the data requesting side determines that the target user has logged in on the data providing side, the above steps S101 to S103 are performed to obtain the data of the target user from the data providing side, and then the data can be obtained according to the target. The user's data is processed accordingly, such as providing target users with matching accessible content, etc.

請參閱圖2,圖2是本發明數據獲取方法另一實施例的流程示意圖。具體而言,本發明實施例方法包括以下步驟:Please refer to Figure 2, which is a schematic flow chart of another embodiment of the data acquisition method of the present invention. Specifically, the method according to the embodiment of the present invention includes the following steps:

步驟S201:第一平台檢測到存在對目標數據的獲取需求。Step S201: The first platform detects that there is a need to obtain target data.

本發明實施例中,第一平台可根據實際情況設定自身何時存在對目標數據的獲取需求。例如,第一平台在接收到用戶對目標數據的獲取指令時,確定當前存在對目標數據的獲取需求;又例如,第一平台也存有該目標數據,故檢測到自身儲存的目標數據出錯時,確定當前存在對目標數據的獲取需求;又例如,第一平台可定期獲取目標數據,故檢測到當前已到達預先設定時間時,確定當前存在對目標數據的獲取需求。再例如,第一平台需要在用戶訪問時獲取用戶數據,故第一平台可在接收到用戶的訪問請求時,確定當前存在對目標數據的獲取需求。故在此不對第一平台檢測到存在獲取需求的觸發事件或觸發時間進行具體限定。In the embodiment of the present invention, the first platform can set when it needs to acquire target data according to the actual situation. For example, when the first platform receives the user's instruction to obtain the target data, it determines that there is currently a need to obtain the target data; for another example, the first platform also stores the target data, so it detects that the target data stored by itself is incorrect. , to determine that there is currently a need to obtain target data; for another example, the first platform can regularly obtain target data, so when it detects that the preset time has been reached, it is determined that there is currently a need to obtain target data. For another example, the first platform needs to obtain user data when the user accesses. Therefore, when receiving the user's access request, the first platform can determine that there is currently a need to obtain the target data. Therefore, the triggering event or triggering time when the first platform detects the acquisition requirement is not specifically limited here.

步驟S202:透過數據中轉平台從第二平台獲取所述目標數據。Step S202: Obtain the target data from the second platform through the data transfer platform.

本公開實施例中,第一平台與第二平台爲不同的兩個平台,但平台類型不作限定,例如教育平台、政務平台等。在一具體應用中,第一平台爲一線上程式化教育平台,第二平台爲第三方教育平台如教育局或學校提供的訊息化教育平台。In this disclosed embodiment, the first platform and the second platform are two different platforms, but the platform type is not limited, such as an education platform, a government affairs platform, etc. In a specific application, the first platform is an online programmed education platform, and the second platform is a third-party education platform such as an information-based education platform provided by an education bureau or a school.

數據中轉平台、第一平台、第二平台爲不同的平台,以用於分別實現對應平台的功能。具體地,用於運行數據中轉平台、第一平台、第二平台的設備均可以爲伺服器、終端設備等硬體設備,或者爲執行特定電腦程式的處理器等。另外,該數據中轉平台和第一平台可由同一設備實現或分別由不同設備實現,在此不做限定。The data transfer platform, the first platform, and the second platform are different platforms and are used to realize the functions of the corresponding platforms respectively. Specifically, the devices used to run the data transfer platform, the first platform, and the second platform can be hardware devices such as servers and terminal devices, or processors that execute specific computer programs. In addition, the data transfer platform and the first platform can be implemented by the same device or implemented by different devices respectively, which is not limited here.

第一平台檢測到當前存在對目標數據的獲取需求,則透過數據中轉平台從第二平台獲取所述目標數據,由此,在第一平台有需求時執行本發明實施例以獲得目標數據。具體地,本步驟可具體包括第一平台向數據中轉平台發送數據獲取請求,以使數據中轉平台響應該數據獲取請求而從第二平台獲取目標數據,或者以使數據中轉平台響應數據獲取請求從本地獲取目標數據,其中,該目標數據爲數據中轉平台預先從第二平台中獲取的。The first platform detects that there is currently a need to obtain target data, and then obtains the target data from the second platform through the data transfer platform. Therefore, when the first platform has a need, the embodiment of the present invention is executed to obtain the target data. Specifically, this step may specifically include the first platform sending a data acquisition request to the data transfer platform, so that the data transfer platform responds to the data acquisition request and acquires the target data from the second platform, or so that the data transfer platform responds to the data The acquisition request acquires target data locally, where the target data is obtained by the data transfer platform from the second platform in advance.

針對於不同平台可能其獲取方式有所不同,爲實現第一平台可向不同第二平台獲得數據,數據中轉平台可預先配置多種獲取方式,進而選擇與目標數據所在的第二平台匹配的獲取方式來獲取數據,具體獲取過程可參閱上述實施例的描述,在此不做贅述。當然,若第二平台的獲取方式統一,則數據中轉平台無需配置多種獲取方式,直接透過統一方式來向第二平台獲取數據。Different platforms may have different acquisition methods. In order to enable the first platform to obtain data from different second platforms, the data transfer platform can pre-configure multiple acquisition methods and then select the acquisition method that matches the second platform where the target data is located. To obtain data, please refer to the description of the above embodiment for the specific acquisition process, which will not be described in detail here. Of course, if the acquisition methods of the second platform are unified, the data transfer platform does not need to configure multiple acquisition methods and directly obtains data from the second platform through a unified method.

透過上述方式,第一平台在檢測到存在對目標數據的獲取需求,透過數據中轉平台從第二平台獲取目標數據,故實現不同平台之間的數據獲取。Through the above method, the first platform detects that there is a need to obtain target data, and obtains the target data from the second platform through the data transfer platform, thus realizing data acquisition between different platforms.

請參閱圖3,圖3是本發明數據獲取方法再一實施例的流程示意圖。具體而言,本發明實施例方法包括以下步驟:Please refer to Figure 3. Figure 3 is a schematic flow chart of another embodiment of the data acquisition method of the present invention. Specifically, the method according to the embodiment of the present invention includes the following steps:

步驟S301:第一平台接收用戶的訪問請求;其中,所述訪問請求是在所述用戶訪問第二平台時生成的。Step S301: The first platform receives a user's access request; wherein the access request is generated when the user accesses the second platform.

平台訪問時,需進行用戶首次註冊或用戶登錄。例如,用戶訪問一平台時,需進行帳號和密碼認證、人臉識別、指紋識別等登錄操作,以使該平台檢測到帳號與密碼均正確、人臉配成成功、指紋匹配成功後完成登錄認證,並爲該用戶提供對應的可訪問內容。When accessing the platform, user registration or user login is required for the first time. For example, when a user accesses a platform, he or she needs to perform login operations such as account and password authentication, face recognition, and fingerprint recognition, so that the platform can complete the login authentication after detecting that the account and password are correct, face matching is successful, and fingerprint matching is successful. , and provide corresponding accessible content to the user.

本公開實施例中,第一平台與第二平台爲不同的兩個平台,但平台類型不作限定,例如教育平台、政務平台等。在一具體應用中,第一平台爲一線上程式化教育平台,第二平台爲第三方教育平台如教育局或學校提供的訊息化教育平台。觸發訪問第一平台的路徑不作限定,可以爲用戶在訪問第二平台過程中的任意時刻發生的。例如,用戶透過其設備登錄第二平台後,第二平台提供第一平台的入口連結;用戶透過點擊設備上顯示的第一平台的連結,用戶設備即發送訪問請求至第一平台。In this disclosed embodiment, the first platform and the second platform are two different platforms, but the platform type is not limited, such as an education platform, a government affairs platform, etc. In a specific application, the first platform is an online programmed education platform, and the second platform is a third-party education platform such as an information-based education platform provided by an education bureau or a school. The path that triggers access to the first platform is not limited and can occur at any time during the user's access to the second platform. For example, after the user logs in to the second platform through his device, the second platform provides an entrance link to the first platform; when the user clicks on the link to the first platform displayed on the device, the user device sends an access request to the first platform.

訪問請求是在用戶訪問第二平台時生成,其包含對應第二平台的標識訊息和該用戶訊息,例如訪問請求包括第二平台地址和第二平台爲該登錄用戶生成的第一密鑰,以使第一平台可利用第二平台地址確定用戶所來自的第二平台,進而向該第二平台驗證該用戶是否登錄並獲取該用戶訊息。The access request is generated when the user accesses the second platform, and includes identification information corresponding to the second platform and user information. For example, the access request includes the address of the second platform and the first key generated by the second platform for the logged-in user. The first platform can use the second platform address to determine the second platform where the user comes from, and then verify with the second platform whether the user is logged in and obtain the user information.

步驟S302:基於所述訪問請求驗證所述用戶是否已在所述第二平台登錄。Step S302: Verify whether the user has logged in on the second platform based on the access request.

例如,第一平台基於訪問請求向第二平台發送驗證請求,而第二平台判斷用戶是否在第二平台登錄,從而反饋驗證結果給第一平台。其中,該驗證請求可以由第一平台直接發送給第二平台,且第二平台直接將驗證結果反饋給第一平台;或者第一平台透過數據中轉平台將驗證請求轉發給第二平台,第二平台透過數據中轉平台將驗證結果反饋給第一平台,其中數據中轉平台與第一平台和第二平台之間的交互方式可參考上述實施例的相關描述,在此不做贅述。For example, the first platform sends a verification request to the second platform based on the access request, and the second platform determines whether the user is logged in on the second platform, thereby feeding back the verification result to the first platform. Among them, the verification request can be sent directly from the first platform to the second platform, and the second platform directly feeds back the verification result to the first platform; or the first platform forwards the verification request to the second platform through the data transfer platform, and the first platform forwards the verification request to the second platform through the data transfer platform. The second platform feeds back the verification results to the first platform through the data transfer platform. The interaction between the data transfer platform and the first platform and the second platform can be referred to the relevant descriptions of the above embodiments, which will not be described again here.

在一實施例中,訪問請求包括第二平台地址和第一密鑰,本步驟S302可具體包括:基於第二平台地址,向第二平台發送包含第一密鑰的驗證請求,以請求驗證第一密鑰與第二平台在用戶成功登錄第二平台時生成的第二密鑰是否匹配;接收第二平台反饋對第一密鑰的驗證結果;若驗證結果爲第一密鑰和第二密鑰匹配,則確定用戶已在第二平台登錄。也即,第一平台從訪問請求中獲得第一密鑰,第二平台在確認用戶成功登錄時生成第二密鑰。第一平台透過訪問請求中的第二平台地址發送第一密鑰給第二平台,而第二平台獲取第一密鑰後匹配第一密鑰和第二密鑰,檢測到兩者匹配成功,則確定該用戶已在第二平台登錄。In one embodiment, the access request includes the second platform address and the first key. This step S302 may specifically include: sending a verification request including the first key to the second platform based on the second platform address to request verification of the second platform. Whether the first key matches the second key generated by the second platform when the user successfully logs in to the second platform; receive feedback from the second platform on the verification result of the first key; if the verification result is the first key and the second password If the key matches, it is determined that the user has logged in on the second platform. That is, the first platform obtains the first key from the access request, and the second platform generates the second key when confirming that the user has successfully logged in. The first platform sends the first key to the second platform through the second platform address in the access request, and the second platform obtains the first key and matches the first key and the second key, and detects that the two match successfully. Then it is determined that the user has logged in on the second platform.

上述第二平台反饋的驗證結果可包括用於表示該用戶是否已登錄的結果字段。在一些實施例中,當該用戶已在第二平台登錄時,第二平台反饋的驗證結果除包括上述結果字段以外,還可包括該用戶的ID,以使第一平台可利用該ID透過數據中轉平台向第二平台查詢得到與該ID匹配的用戶數據。當然,第二平台反饋的驗證結果也可以只包含用戶ID,即,若驗證結果包含用戶ID,則表示用戶已登錄,否則未登錄。The verification result fed back by the second platform may include a result field indicating whether the user has logged in. In some embodiments, when the user has logged in on the second platform, the verification result fed back by the second platform may also include the user's ID in addition to the above result fields, so that the first platform can use the ID to pass through the data. The transfer platform queries the second platform to obtain user data matching the ID. Of course, the verification result fed back by the second platform may also only contain the user ID. That is, if the verification result contains the user ID, it means that the user has logged in, otherwise, he has not logged in.

可以理解的是,由第一平台向第二平台請求驗證用戶是否已在第二平台登錄時,第一平台與第二平台之間的交互可以是第一平台與第二平台之間直接進行數據交互,或者,透過數據中轉平台實現第一平台與第二平台之間的數據交互,在此不作限定。It can be understood that when the first platform requests the second platform to verify whether the user has logged in on the second platform, the interaction between the first platform and the second platform may be direct data exchange between the first platform and the second platform. Interaction, or data interaction between the first platform and the second platform through a data transfer platform, is not limited here.

步驟S303:若是,則確定存在對所述目標數據的獲取需求數據。Step S303: If yes, it is determined that there is acquisition requirement data for the target data.

其中,目標數據可以爲該用戶的數據,具體進而包括用戶名稱、課程、班級、學校等。Among them, the target data can be the user's data, specifically including user name, course, class, school, etc.

在一些實施例中,第一平台還可根據用戶在第二平台的登錄狀態對應完成本平台的登錄。例如,若用戶已在第二平台登錄,第一平台可確定用戶在第一平台登錄成功。由此,用戶僅需在第二平台登錄認證成功,在第二平台獲取第一平台的訪問路徑並觸發,即可直接登錄第一平台,無需再次進行第一平台的登錄認證。此外,用戶可從第一平台返回第二平台,實現不同平台的來回切換。第一平台和第二平台的訪問不會彼此影響,用戶可在兩平台間自由切換。例如,用戶在其設備上的一網頁上登錄第二平台後,點擊該網頁上提供的第一平台的入口連結,用戶設備顯示另一網頁來打開並自動登錄第一平台,用戶可直接點選對應網頁來訪問對應平台,實現來回切換訪問互不影響。In some embodiments, the first platform can also complete the login of the platform according to the user's login status on the second platform. For example, if the user has logged in on the second platform, the first platform can determine that the user has successfully logged in on the first platform. Therefore, the user only needs to successfully log in and authenticate on the second platform, obtain the access path to the first platform on the second platform and trigger it, and then log in directly to the first platform without the need to perform login authentication on the first platform again. In addition, users can return to the second platform from the first platform to switch back and forth between different platforms. Access to the first platform and the second platform will not affect each other, and users can freely switch between the two platforms. For example, after the user logs in to the second platform on a web page on his device, he clicks on the entrance link of the first platform provided on the web page, and the user device displays another web page to open and automatically log in to the first platform. The user can directly click Use the corresponding web page to access the corresponding platform, and switch back and forth without affecting each other.

步驟S304:透過數據中轉平台從所述第二平台獲取目標數據。Step S304: Obtain target data from the second platform through the data transfer platform.

本公開實施例中,若用戶已在第二平台登錄,則確定存在對用戶數據的獲取需求數據,故第一平台向數據中轉平台發送數據獲取請求,以使數據中轉平台採用與第二平台關聯的數據獲取方式,從第二平台獲取用戶的數據。例如,以用戶的數據作爲目標數據,數據中轉平台接收來自第一平台的數據獲取請求,其中,數據獲取請求用於請求獲取第二平台的目標數據,且目標數據用於提供給第一平台;從預存的多種數據獲取方式中,選擇與第二平台關聯的數據獲取方式;採用選擇的數據獲取方式,從第二平台獲取目標數據。具體地,第一平台作爲上述數據請求側,第二平台作爲上述數據提供側,數據中轉平台可採用上述數據獲取方法實施例的步驟來獲取得到第二平台的數據。In this disclosed embodiment, if the user has logged in on the second platform, it is determined that there is a demand for acquiring user data, so the first platform sends a data acquisition request to the data transfer platform, so that the data transfer platform adopts the same method as the second platform. The platform-related data acquisition method obtains user data from the second platform. For example, using the user's data as the target data, the data transfer platform receives a data acquisition request from the first platform, where the data acquisition request is used to request acquisition of the target data of the second platform, and the target data is used to provide it to the first platform ; From multiple pre-stored data acquisition methods, select the data acquisition method associated with the second platform; use the selected data acquisition method to obtain target data from the second platform. Specifically, the first platform serves as the above-mentioned data requesting side, and the second platform serves as the above-mentioned data providing side. The data transfer platform can adopt the steps of the above-mentioned data acquisition method embodiment to obtain the data of the second platform.

其中,若上述第二平台反饋的驗證結果包括用戶ID,則第一平台可將包含用戶ID的數據獲取請求透過數據中轉設備發送至第二平台,以從第二平台獲取用戶的數據。Among them, if the verification result fed back by the second platform includes the user ID, the first platform can send the data acquisition request including the user ID to the second platform through the data transfer device to obtain the user's data from the second platform.

第一平台在透過數據中轉平台從第二平台獲取用戶的數據之後,可基於用戶的數據,確定用戶在第一平台上的可訪問內容。例如,第一平台和第二平台爲不同的兩個教育平台時,用戶的數據包括姓名、學校、班級、角色(例如爲學生或老師等)中的至少一種;可訪問內容包括可上課課程、可授課課程中的至少一種。可以理解的,不同用戶的數據,對應的可訪問內容可能相同或不同,例如,若第一平台登錄用戶爲初一一班的學生,則僅提供該初一一班的線上上課課程以及初一一班的互動模組,以使學生與同班同學可一起參加該線上上課課程和進行互動;若第一平台的登錄用戶爲初二一班和初二四班的老師,則提供該初二一班和初二四班的線上授課課程和線上答疑模組,以使該老師可對相應班級同學進行授課並進行答疑。由此,可實現班級即時互動、老師線上答疑等功能,在此不作限定。After the first platform obtains the user's data from the second platform through the data transfer platform, it can determine the user's accessible content on the first platform based on the user's data. For example, when the first platform and the second platform are two different education platforms, the user's data includes at least one of name, school, class, role (for example, student or teacher, etc.); the accessible content includes available courses, At least one of the courses available to be taught. It is understandable that the accessible content corresponding to the data of different users may be the same or different. For example, if the first platform login user is a student in the first class of junior high school, only the online courses of the first class and the first class of junior high school will be provided. An interactive module for Class 1, so that students and their classmates can participate in the online course and interact together; if the logged-in user of the first platform is a teacher of Class 1, Class 2 and Class 4, the Class 1, Class 2 and Class 4 teachers will be provided with Online teaching courses and online Q&A modules for the second and fourth grades of junior high school, so that the teacher can teach and answer questions for the students in the corresponding classes. This enables real-time class interaction, online teacher Q&A and other functions, which are not limited here.

可以理解的是,上述第一平台與第二平台所執行的步驟可以爲相應平台設備所執行的步驟,例如上述方法中第一平台相關步驟由第一平台伺服器執行、數據中轉平台相關步驟由數據中轉設備執行,第二平台相關步驟由第二平台伺服器執行。另外,第一平台與數據中轉平台可屬同一伺服器上,亦可以不在同一伺服器上,在此不作限定。當第一平台與數據中轉平台分屬不同伺服器時,兩者可透過通用標準介面連接,第一平台可配置接入數據中轉平台的地址和介面號等,以此透過該介面與數據中轉平台進行數據交互。爲進一步理解本發明一些實施例的技術方案,以下爲一具體應用舉例:It can be understood that the steps performed by the first platform and the second platform may be steps performed by the corresponding platform equipment. For example, in the above method, the steps related to the first platform are performed by the first platform server, and the steps related to the data transfer platform are performed by the first platform server. It is executed by the data transfer equipment, and the steps related to the second platform are executed by the second platform server. In addition, the first platform and the data transfer platform may or may not be on the same server, and are not limited here. When the first platform and the data transfer platform belong to different servers, they can be connected through a common standard interface. The first platform can configure the address and interface number to access the data transfer platform, so as to communicate with the data through the interface. The transfer platform conducts data exchange. In order to further understand the technical solutions of some embodiments of the present invention, the following is a specific application example:

第一平台爲線上程式化教育平台(也可稱爲線上程式化教育系統),該平台內可實現即時線上學習和授課等;第二平台爲深圳中學的教育平台;數據中轉平台也可稱爲UserDataExchange,該UserDataExchange爲可實現上述數據獲取方法的軟體産品。用戶爲學生張三,其登錄深圳中學的教育平台後,觸發在深圳中學的教育平台中顯示的線上程式化教育平台的入口連結,從而直接免登錄地進入線上程式化教育平台。此時,張三所用設備將發送訪問請求給線上程式化教育平台,該訪問請求包括深圳中學的教育平台的地址和第一密鑰。線上程式化教育平台接收到張三的訪問請求後,透過深圳中學的教育平台的地址發送第一密鑰給深圳中學的教育平台,以使深圳中學的教育平台匹配第一密鑰和張三成功登錄深圳中學的教育平台時生成的第二密鑰。深圳中學的教育平台確定張三成功登錄深圳中學的教育平台後,反饋張三的ID給線上程式化教育平台。線上程式化教育平台接收到張三的ID,確定張三成功登錄深圳中學的教育平台,從而透過數據中轉平台向深圳中學的教育平台獲取用戶的數據。線上程式化教育平台透過數據中轉平台向深圳中學的教育平台獲取用戶的數據時,數據中轉平台從預存的多種數據獲取方式中,選擇與深圳中學的教育平台關聯的預設通訊介面方式爲HTTP介面方式,該HTTP介面方式爲深圳中學的教育平台關聯的數據獲取方式,從而利用HTTP介面,向深圳中學的教育平台發送數據查詢請求,並接收深圳中學的教育平台反饋的數據查詢結果;以及利用對應HTTP介面的預存通訊介面模板從數據查詢結果中識別並提取關鍵字段內容,得到張三的姓名、學校、班級等用戶的數據,以及可上課課程等可訪問內容。The first platform is an online programmed education platform (also known as an online programmed education system), which can realize real-time online learning and teaching; the second platform is the education platform of Shenzhen Middle School; the data transfer platform can also be called is UserDataExchange, which is a software product that can implement the above data acquisition method. The user is student Zhang San. After logging into the education platform of Shenzhen Middle School, he triggers the entrance link to the online programmatic education platform displayed in the education platform of Shenzhen Middle School, thereby directly entering the online programmatic education platform without logging in. At this time, the device used by Zhang San will send an access request to the online programmed education platform. The access request includes the address and first key of the education platform of Shenzhen Middle School. After receiving Zhang San's access request, the online programmed education platform sends the first key to the Shenzhen Middle School education platform through the address of the Shenzhen Middle School education platform, so that the Shenzhen Middle School education platform successfully matches the first key with Zhang San. The second key generated when logging into the education platform of Shenzhen Middle School. After confirming that Zhang San successfully logged into the education platform of Shenzhen Middle School, the education platform of Shenzhen Middle School fed back Zhang San’s ID to the online programmed education platform. The online programmatic education platform received Zhang San's ID and confirmed that Zhang San successfully logged into the education platform of Shenzhen Middle School, thereby obtaining the user's data from the education platform of Shenzhen Middle School through the data transfer platform. When the online programmatic education platform obtains user data from the education platform of Shenzhen Middle School through the data transfer platform, the data transfer platform selects the default communication interface method associated with the education platform of Shenzhen Middle School from a variety of pre-stored data acquisition methods. HTTP interface method, which is the data acquisition method associated with the education platform of Shenzhen Middle School, thereby using the HTTP interface to send data query requests to the education platform of Shenzhen Middle School and receive data query results fed back by the education platform of Shenzhen Middle School; and Use the pre-stored communication interface template corresponding to the HTTP interface to identify and extract key field contents from the data query results, and obtain user data such as Zhang San's name, school, class, etc., as well as accessible content such as available courses.

本發明實施例中,第一平台接收用戶訪問第二平台時生成的訪問請求;基於訪問請求驗證用戶是否已在第二平台登錄;在確定用戶已在第二平台登錄後,則確定存在對所述目標數據的獲取需求數據,進而透過數據中轉平台向第二平台獲取用戶的數據,從而實現不同平台之間的數據獲取。第一平台在接收到用戶的訪問請求時,若確定用戶已在第二平台登錄,則第一平台作爲數據請求側且第二平台作爲數據提供側,第一平台透過數據中轉平台直接從第二平台獲取所述用戶的數據,即第一平台在用戶訪問時,主動向第二平台查詢用戶數據,實現獲取用戶的最新數據,相比於線下定時同步數據,本發明實施例方法提高數據獲取的即時性和準確性。In the embodiment of the present invention, the first platform receives an access request generated when a user accesses the second platform; verifies whether the user has logged in on the second platform based on the access request; and after determining that the user has logged in on the second platform, determines that there is an access request to the second platform. The target data acquisition requirement data is described, and then the user's data is obtained from the second platform through the data transfer platform, thereby achieving data acquisition between different platforms. When the first platform receives the user's access request, if it is determined that the user has logged in to the second platform, the first platform will serve as the data requesting side and the second platform will serve as the data providing side. The first platform directly obtains the data from the second platform through the data transfer platform. The two platforms obtain the user's data, that is, when the user visits, the first platform actively queries the second platform for user data to obtain the user's latest data. Compared with offline scheduled synchronization data, the method of the embodiment of the present invention improves data Immediacy and accuracy of acquisition.

爲實現不同平台之間的數據獲取,本發明實施例的第一平台可主動查詢第二平台的數據,即時獲取用戶的最新數據,即時性更高。相較於傳統定期同步不同平台之間的數據,且同步方法爲拷貝、全量同步、增量同步等,本發明實施例的方法無需平台做任何功能更改,配置簡單,且即時主動查詢數據,可減少由於數據同步滯後而導致不同平台訊息不一致的情況,提高數據獲取的準確性和效率。In order to achieve data acquisition between different platforms, the first platform in the embodiment of the present invention can actively query the data of the second platform and obtain the latest data of the user in real time, with higher immediacy. Compared with the traditional periodic synchronization of data between different platforms, and the synchronization methods are copy, full synchronization, incremental synchronization, etc., the method of the embodiment of the present invention does not require any functional changes on the platform, is simple in configuration, and can actively query data in real time. Reduce the inconsistency of information on different platforms due to data synchronization lag, and improve the accuracy and efficiency of data acquisition.

請參閱圖4,圖4是本發明數據獲取裝置一實施例的結構示意圖。具體而言,本發明實施例中,數據獲取裝置40包括:第一獲取模組41、選擇模組42和第二獲取模組43。其中,第一獲取模組41,用於接收來自數據請求側的數據獲取請求,其中,數據獲取請求用於請求獲取目標數據提供側的目標數據,數據請求側和目標數據提供側屬不同的平台;選擇模組42,用於從預存的多種數據獲取方式中,選擇與目標數據提供側關聯的數據獲取方式;第二獲取模組43,用於採用選擇的數據獲取方式,向目標數據提供側獲取目標數據。Please refer to Figure 4, which is a schematic structural diagram of an embodiment of the data acquisition device of the present invention. Specifically, in the embodiment of the present invention, the data acquisition device 40 includes: a first acquisition module 41 , a selection module 42 and a second acquisition module 43 . Among them, the first acquisition module 41 is used to receive a data acquisition request from the data requesting side, where the data acquisition request is used to request acquisition of target data on the target data providing side, and the data requesting side and the target data providing side belong to different platforms. ; The selection module 42 is used to select the data acquisition method associated with the target data providing side from a variety of pre-stored data acquisition methods; the second acquisition module 43 is used to use the selected data acquisition method to provide the target data to the side. Get target data.

本發明實施例中,選擇模組42所選擇的多種數據獲取方式包括預設通訊介面方式、運行SQL腳本方式和運行預存代碼方式中的至少一種。預設通訊介面方式包括HTTP介面方式、RPC介面方式中的至少一種,所述預存代碼包括Java代碼、Lua代碼、JavaScript代碼和Groovy代碼中的至少一種。In the embodiment of the present invention, the multiple data acquisition methods selected by the selection module 42 include at least one of a default communication interface method, a SQL script running method, and a pre-stored code running method. The default communication interface method includes at least one of HTTP interface method and RPC interface method, and the pre-stored code includes at least one of Java code, Lua code, JavaScript code and Groovy code.

第一獲取模組41包括獲取單元和保存單元。其中,獲取單元用於獲取用戶輸入的一數據提供側所需的數據獲取方式;保存單元用於建立所述數據提供側與其所需的數據獲取方式之間的關聯關係,並將數據獲取方式和所述關聯關係保存作爲配置訊息,並且選擇模組42還用於從所述配置訊息中,尋找出與所述目標數據提供側具有關聯關係的數據獲取方式。在一發明實施例中,獲取單元用於在所述數據獲取方式爲預設通訊介面方式的情況下,獲取用戶輸入的一數據提供側所需的預設通訊介面訊息;用於在所述數據獲取方式爲運行SQL腳本方式的情況下,獲取用戶輸入的一數據提供側所需的SQL腳本;還用於在所述數據獲取方式爲運行預存代碼方式的情況下,獲取用戶輸入的一數據提供側所需的代碼。並且保存單元還用於將數據獲取方式和所述關聯關係作爲配置訊息保存在預設數據庫中。The first acquisition module 41 includes an acquisition unit and a storage unit. Wherein, the obtaining unit is used to obtain the data obtaining method required by a data providing side input by the user; the saving unit is used to establish an association between the data providing side and the data obtaining method required by the data providing side, and combine the data obtaining method with the required data obtaining method. The association relationship is saved as a configuration message, and the selection module 42 is also used to find a data acquisition method that has an association relationship with the target data provider from the configuration message. In an embodiment of the invention, the acquisition unit is configured to acquire the default communication interface information required by a data provider input by the user when the data acquisition method is a default communication interface method; When the acquisition method is to run a SQL script, obtain the SQL script required by the data provider input by the user; and is also used to obtain a data provider input by the user when the data acquisition method is to run the pre-stored code. side required code. And the saving unit is also used to save the data acquisition method and the association relationship as configuration information in the default database.

在一發明實施例中,第二獲取模組43還用於在所述數據獲取方式爲預設通訊介面方式的情況下,利用預設通訊介面,向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果;以及利用預存通訊介面模板從所述數據查詢結果中識別並提取關鍵字段內容,得到所述目標數據;還用於在所述數據獲取方式爲運行SQL腳本方式的情況下,運行SQL腳本以生成數據查詢請求;向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果;以及基於所述數據查詢結果,獲得所述目標數據;還用於在所述數據獲取方式爲運行預存代碼方式的情況下,運行所述預存代碼,以實現生成並向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果,對所述數據查詢結果進行解析得到目標數據。In an embodiment of the invention, the second acquisition module 43 is also used to use the default communication interface to send a data query request to the target data provider when the data acquisition method is a default communication interface method. And receive the data query results fed back by the target data provider; and use a pre-stored communication interface template to identify and extract key field contents from the data query results to obtain the target data; and also be used in the data acquisition method. In the case of running SQL script mode, run the SQL script to generate a data query request; send a data query request to the target data providing side, and receive the data query result fed back by the target data providing side; and based on the data query As a result, the target data is obtained; and when the data acquisition method is to run the pre-stored code, run the pre-stored code to generate and send a data query request to the target data providing side, and receive The target data provides side-feedback data query results, and the data query results are parsed to obtain the target data.

在一公開實施例中,第一獲取模組41用於透過預設通訊介面接收到所述數據請求側的數據獲取請求。第一獲取模組41還用於檢測到滿足預設條件時,生成數據獲取請求。其中,所述數據請求側和目標數據提供側屬不同教育平台,所述目標數據爲目標用戶的數據。In a disclosed embodiment, the first acquisition module 41 is configured to receive the data acquisition request from the data requesting side through a default communication interface. The first acquisition module 41 is also used to generate a data acquisition request when detecting that the preset conditions are met. Wherein, the data requesting side and the target data providing side belong to different education platforms, and the target data is the data of the target user.

請參閱圖5,圖5是本發明數據獲取裝置另一實施例的結構示意圖。具體而言,本公開實施例中,數據獲取裝置50包括:檢測模組51、獲取模組52。其中,檢測模組51用於檢測到存在對目標數據的獲取需求;獲取模組52用於透過數據中轉平台從所述第二平台獲取所述目標數據。Please refer to Figure 5. Figure 5 is a schematic structural diagram of another embodiment of the data acquisition device of the present invention. Specifically, in the embodiment of the present disclosure, the data acquisition device 50 includes: a detection module 51 and an acquisition module 52 . Among them, the detection module 51 is used to detect that there is a need to obtain target data; the acquisition module 52 is used to obtain the target data from the second platform through the data transfer platform.

檢測模組51包括接收單元、驗證單元和確定單元。其中,接收單元,用於接收用戶的訪問請求;其中,訪問請求是在用戶訪問第二平台時生成的;驗證單元,用於基於訪問請求驗證用戶是否已在第二平台登錄;確定單元,用於在驗證用戶已在第二平台登錄時,確定存在對所述目標數據的獲取需求。The detection module 51 includes a receiving unit, a verification unit and a determination unit. Among them, the receiving unit is used to receive the user's access request; wherein the access request is generated when the user accesses the second platform; the verification unit is used to verify whether the user has logged in on the second platform based on the access request; the determining unit is used When verifying that the user has logged in on the second platform, it is determined that there is a need to obtain the target data.

檢測模組51的確定單元還用於在確定存在對所述目標數據的獲取需求之後,基於所述用戶的數據,確定所述用戶在所述第一平台上的可訪問內容。The determination unit of the detection module 51 is also configured to determine the user's accessible content on the first platform based on the user's data after determining that there is a demand for obtaining the target data.

在一發明實施例中,第一平台和第二平台爲不同的兩個教育平台,所述用戶的數據包括姓名、學校、班級、角色中的至少一種;所述可訪問內容包括可上課課程、可授課課程中的至少一種。In an embodiment of the invention, the first platform and the second platform are two different educational platforms, and the user's data includes at least one of name, school, class, and role; the accessible content includes available courses, At least one of the courses available to be taught.

在一發明實施例中,訪問請求包括第二平台地址和第一密鑰,檢測模組51的驗證單元還用於基於所述第二平台地址,向所述第二平台發送包含所述第一密鑰的驗證請求,以請求驗證所述第一密鑰與所述第二平台在所述用戶成功登錄所述第二平台時生成的第二密鑰是否匹配;接收所述第二平台反饋對所述第一密鑰的驗證結果;若所述驗證結果爲所述第一密鑰和所述第二密鑰匹配,則確定所述用戶已在所述第二平台登錄。In an embodiment of the invention, the access request includes a second platform address and a first key, and the verification unit of the detection module 51 is further configured to send a message containing the first key to the second platform based on the second platform address. A key verification request to request verification of whether the first key matches the second key generated by the second platform when the user successfully logs in to the second platform; receiving feedback from the second platform The verification result of the first key; if the verification result is that the first key and the second key match, it is determined that the user has logged in on the second platform.

在一發明實施例中,獲取模組52還用於向所述數據中轉平台發送數據獲取請求,以使所述數據中轉平台採用與所述第二平台關聯的數據獲取方式,從所述第二平台獲取所述目標數據。In an embodiment of the invention, the acquisition module 52 is also used to send a data acquisition request to the data transfer platform, so that the data transfer platform uses the data acquisition method associated with the second platform to obtain data from the second platform. The second platform obtains the target data.

上述發明實施例中數據獲取裝置的各模組的功能可參閱上述方法實施例的相關步驟,在此不做贅述。For the functions of each module of the data acquisition device in the above embodiments of the invention, please refer to the relevant steps in the above method embodiments, and will not be described again here.

請參閱圖6,圖6爲本發明數據中轉設備一實施例的框架示意圖。具體而言,本發明實施例中數據中轉設備60包括處理器61以及與處理器61耦接的通訊電路62和記憶體63,其中,處理器61用於執行記憶體63儲存的電腦程式以結合通訊電路62執行上述數據獲取方法任一實施例的步驟。Please refer to FIG. 6 , which is a schematic framework diagram of an embodiment of the data transfer device of the present invention. Specifically, in the embodiment of the present invention, the data transfer device 60 includes a processor 61, a communication circuit 62 and a memory 63 coupled to the processor 61, where the processor 61 is used to execute the computer program stored in the memory 63 to The steps of any embodiment of the above data acquisition method are performed in combination with the communication circuit 62 .

請參閱圖7,圖7爲本發明平台伺服器一實施例的框架示意圖。具體而言,本發明實施例中平台伺服器70包括處理器71以及與處理器71耦接的通訊電路72和記憶體73,其中,處理器71用於執行記憶體73儲存的電腦程式以結合通訊電路72執行上述數據獲取方法任一實施例的步驟。Please refer to FIG. 7 , which is a schematic framework diagram of an embodiment of the platform server of the present invention. Specifically, in the embodiment of the present invention, the platform server 70 includes a processor 71, a communication circuit 72 and a memory 73 coupled to the processor 71, where the processor 71 is used to execute the computer program stored in the memory 73 to combine The communication circuit 72 performs the steps of any embodiment of the above data acquisition method.

上述數據中轉設備實施例和平台伺服器實施例中的處理器還可以稱爲CPU(Central Processing Unit,中央處理單元)。處理器可能是一種積體電路晶片,具有訊號的處理能力。處理器還可以是通用處理器、數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式化邏輯閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式化邏輯裝置、分立門或者晶體管邏輯裝置、分立硬體組件。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。另外,處理器可以由多個成電路晶片共同實現。The processor in the above-mentioned data transfer device embodiment and platform server embodiment may also be called a CPU (Central Processing Unit). The processor may be an integrated circuit chip with signal processing capabilities. The processor can also be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or a Field-Programmable Gate Array (FPGA). or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. In addition, the processor can be implemented by multiple circuit chips.

請參閱圖8,圖8爲本發明數據共享系統一實施例的框架示意圖。具體而言,本發明實施例中數據共享系統80包括數據中轉設備81以及分別與數據中轉設備81連接的第一平台伺服器82和至少一個第二平台伺服器83,如圖8所示,本發明實施例包括三個第二平台伺服器83;其中,數據中轉設備81爲上述數據中轉設備實施例,第一平台伺服器82爲上述平台伺服器實施例,以實現第一平台伺服器82透過數據中轉設備81獲取第二平台伺服器的用戶數據。Please refer to FIG. 8 , which is a schematic framework diagram of an embodiment of the data sharing system of the present invention. Specifically, the data sharing system 80 in the embodiment of the present invention includes a data transfer device 81 and a first platform server 82 and at least one second platform server 83 respectively connected to the data transfer device 81, as shown in Figure 8 , the embodiment of the present invention includes three second platform servers 83; among them, the data transfer device 81 is the above-mentioned data transfer device embodiment, and the first platform server 82 is the above-mentioned platform server embodiment to realize the first platform The server 82 obtains the user data of the second platform server through the data transfer device 81 .

請參閱圖9,圖9爲本發明儲存裝置90一實施例的框架示意圖。本發明實施例儲存裝置90儲存有能夠被處理器運行的程式指令901,程式指令901用於實現上述任一方法實施例中步驟。Please refer to FIG. 9 , which is a schematic diagram of a frame of a storage device 90 according to an embodiment of the present invention. The storage device 90 in the embodiment of the present invention stores program instructions 901 that can be run by the processor. The program instructions 901 are used to implement the steps in any of the above method embodiments.

該儲存裝置90具體可以爲USB記憶體、行動硬碟、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁碟或者光碟等可以儲存程式指令901的媒體,或者也可以爲儲存有該程式指令901的伺服器,該伺服器可將儲存的程式指令901發送給其他設備運行,或者也可以自運行該儲存的程式指令901。The storage device 90 can be a USB memory, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, a random access memory), a magnetic disk or an optical disk, which can store program instructions. The media of 901 may also be a server that stores the program instructions 901. The server may send the stored program instructions 901 to other devices for execution, or may run the stored program instructions 901 itself.

本發明實施例還提供了一種儲存裝置或電腦可讀儲存媒體,其上儲存有電腦程式指令,所述電腦程式指令被處理器執行時實現上述方法。儲存裝置或電腦可讀儲存媒體可以包括非揮發性電腦可讀儲存媒體或者揮發性電腦可讀儲存媒體。Embodiments of the present invention also provide a storage device or a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented. The storage device or computer-readable storage medium may include non-volatile computer-readable storage media or volatile computer-readable storage media.

本發明實施例還提供了一種電子設備,包括:處理器;用於儲存處理器可執行指令的記憶體;其中,所述處理器被配置爲上述任一實施例提供的方法。An embodiment of the present invention also provides an electronic device, including: a processor; and a memory used to store instructions executable by the processor; wherein the processor is configured to perform the method provided in any of the above embodiments.

本發明實施例還提供了一種電腦程式,其包括電腦可讀代碼,當所述電腦代碼在電子設備中運行時,所述電子設備中的處理器執行上述任一實施例提供的方法。An embodiment of the present invention also provides a computer program, which includes computer readable code. When the computer code is run in an electronic device, the processor in the electronic device executes the method provided by any of the above embodiments.

本發明實施例還提供了一種電腦程式産品,用於儲存電腦可讀指令,指令被執行時使得電腦執行上述任一實施例提供的方法的操作。Embodiments of the present invention also provide a computer program product for storing computer-readable instructions. When the instructions are executed, they cause the computer to perform the operations of the method provided by any of the above embodiments.

該電腦程式産品可以具體透過硬體、軟體或其結合的方式實現。在一個可選實施例中,所述電腦程式産品具體體現爲電腦儲存媒體,在另一個可選實施例中,電腦程式産品具體體現爲軟體産品,例如軟體開發套件(Software Development Kit,SDK)等等。The computer program product can be implemented specifically through hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a Software Development Kit (SDK), etc. wait.

在本發明所提供的幾個實施例中,應該理解到,所揭露的方法和裝置,可以透過其它的方式實現。例如,以上所描述的裝置實施方式是示意性的,例如,模組或單元的劃分,爲一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或組件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通訊連接可以是透過一些介面,裝置或單元的間接耦合或通訊連接,可以是電性,機械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is schematic. For example, the division of modules or units is a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.

作爲分離部件說明的單元可以是或者也可以不是物理上分開的,作爲單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分布到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本實施方式方案的目的。A unit described as a separate component may or may not be physically separate. A component shown as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of this embodiment.

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

集成的單元如果以軟體功能單元的形式實現並作爲獨立的産品銷售或使用時,可以儲存在一個電腦可讀取儲存媒體中。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做出貢獻的部分或者該技術方案的全部或部分可以以軟體産品的形式體現出來,該電腦軟體産品儲存在一個儲存媒體中,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)或處理器(processor)執行本發明各個實施方式方法的全部或部分步驟。而前述的儲存媒體包括:USB記憶體、行動硬盤、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁碟或者光碟等各種可以儲存程式代碼的媒體。Integrated units may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. Based on this understanding, the technical solution of the present invention is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, It includes a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the various implementation methods of the present invention. The aforementioned storage media include: USB memory, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. that can store program codes. media.

40:數據獲取裝置 41:第一獲取模組 42:選擇模組 43:第二獲取模組 50:數據獲取裝置 51:檢測模組 52:獲取模組 60:數據中轉設備 61:處理器 62:通訊電路 63:記憶體 70:平台伺服器 71:處理器 72:通訊電路 73:記憶體 80:數據共享系統 81:數據中轉裝置 82:第一平台伺服器 83:第二平台伺服器 90:儲存裝置 901:程式指令40: Data acquisition device 41:First acquisition module 42:Select module 43: Second acquisition module 50: Data acquisition device 51:Detection module 52: Get the module 60:Data transfer equipment 61: Processor 62: Communication circuit 63:Memory 70:Platform server 71: Processor 72: Communication circuit 73:Memory 80:Data sharing system 81:Data transfer device 82:First platform server 83: Second platform server 90:Storage device 901: Program command

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是本發明數據獲取方法一實施例的流程示意; 圖2是本發明數據獲取方法另一實施例的流程示意圖; 圖3是本發明數據獲取方法再一實施例的流程示意圖; 圖4是本發明數據獲取裝置一實施例的結構示意圖; 圖5是本發明數據獲取裝置另一實施例的結構示意圖; 圖6是本發明數據中轉設備一實施例的框架示意圖; 圖7是本發明平台伺服器一實施例的框架示意圖; 圖8是本發明數據共享系統一實施例的框架示意圖;及 圖9是本發明儲存裝置一實施例的框架示意圖。Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a flow diagram of an embodiment of the data acquisition method of the present invention; Figure 2 is a schematic flow chart of another embodiment of the data acquisition method of the present invention; Figure 3 is a schematic flow chart of another embodiment of the data acquisition method of the present invention; Figure 4 is a schematic structural diagram of an embodiment of the data acquisition device of the present invention; Figure 5 is a schematic structural diagram of another embodiment of the data acquisition device of the present invention; Figure 6 is a schematic framework diagram of an embodiment of the data transfer device of the present invention; Figure 7 is a schematic framework diagram of an embodiment of the platform server of the present invention; Figure 8 is a schematic framework diagram of an embodiment of the data sharing system of the present invention; and FIG. 9 is a schematic diagram of a frame of an embodiment of a storage device according to the present invention.

Claims (12)

一種數據獲取方法,其中,包括:獲取數據獲取請求,其中,所述數據獲取請求用於請求獲取目標數據提供側的目標數據,且所述目標數據用於提供給數據請求側,所述數據請求側和目標數據提供側屬不同的平台,其中,所述目標數據為在所述數據提供測和所述數據請求側之間共享的目標用戶的數據,所述數據獲取請求是所述數據請求側確定所述目標用戶已在所述數據提供測登錄的情況下生成的;從預存的多種數據獲取方式中,選擇與所述目標數據提供側關聯的數據獲取方式;採用所述選擇的數據獲取方式,從所述目標數據提供側獲取所述目標數據;其中,所述方法還包括:將來自所述數據請求側的驗證請求發送給所述數據提供側,其中,所述驗證請求用於請求驗證所述目標用戶是否在所述數據提供側登錄;接收所述數據提供側的驗證結果,並反饋給所述數據請求側;若所述目標用戶已在所述數據提供測登錄,則確定所述目標用戶在所述數據請求側登錄成功;和/或,基於所述目標用戶的數據,確定所述目標用戶在所述數據請求側的可訪問內容。 A data acquisition method, which includes: obtaining a data acquisition request, wherein the data acquisition request is used to request acquisition of target data on the target data providing side, and the target data is used to provide to the data requesting side, and the data request The target data provider side and the target data provider side belong to different platforms, wherein the target data is the target user's data shared between the data provider side and the data requester side, and the data acquisition request is the data requester side. Determine that the target user has been generated when the data provider logs in; select a data acquisition method associated with the target data provider from a variety of pre-stored data acquisition methods; use the selected data acquisition method , obtaining the target data from the target data providing side; wherein the method further includes: sending a verification request from the data requesting side to the data providing side, wherein the verification request is used to request verification Whether the target user has logged in on the data providing side; receives the verification result from the data providing side and feeds it back to the data requesting side; if the target user has logged in on the data providing side, determine that the The target user successfully logs in on the data requesting side; and/or, based on the target user's data, the content accessible to the target user on the data requesting side is determined. 如請求項1所述的方法,其中,所述方法還包括:獲取用戶輸入的一數據提供側所需的數據獲取方式;建立所述數據提供側與其所需的數據獲取方式之間的關聯關係,並將數據獲取方式和所述關聯關係保存作為配置訊息;所述從預存的多種數據獲取方式中,選擇與所述目標數據提供側關聯的數據獲取方式,包括:從所述配置訊息中,尋找出與所述目標數據提供側具有關聯關係的數據獲取方式。 The method as described in claim 1, wherein the method further includes: obtaining a data acquisition method required by a data provider input by the user; and establishing an association between the data provider and its required data acquisition method. and save the data acquisition method and the association relationship as a configuration message; selecting the data acquisition method associated with the target data provider from a variety of pre-stored data acquisition methods includes: from the configuration message, Find a data acquisition method that is associated with the target data provider. 如請求項2所述的方法,其中,所述獲取用戶輸入的一數據提供側所需的數據獲取方式,包括:在所述數據獲取方式為預設通訊介面方式的情況下,獲取用戶輸入的一數據提供側所需的預設通訊介面訊息;在所述數據獲取方式為運行SQL腳本方式的情況下,獲取用戶輸入的一數據提供側所需的SQL腳本;在所述數據獲取方式為運行預存代碼方式的情況下,獲取用戶輸入的一數據提供側所需的代碼;所述將數據獲取方式和所述關聯關係保存作為配置訊息,包括:將數據獲取方式和所述關聯關係作為配置訊息保存在預設數據庫中。 The method as described in claim 2, wherein said obtaining the data acquisition method required by a data provider side input by the user includes: when the data acquisition method is a default communication interface method, obtaining the data input by the user. A default communication interface message required by the data provider; when the data acquisition method is to run an SQL script, obtain a SQL script required by the data provider input by the user; when the data acquisition method is to run In the case of pre-stored code mode, obtaining a code required by a data provider input by the user; saving the data acquisition method and the association relationship as a configuration message includes: using the data acquisition method and the association relationship as a configuration message Saved in default database. 如請求項1所述的方法,其中,所述採用所述選擇的數據獲取方式,從所述目標數據提供側獲取所述目標數據,包括: 在所述數據獲取方式為預設通訊介面方式的情況下,利用預設通訊介面,向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果;以及利用預存通訊介面模板從所述數據查詢結果中識別並提取關鍵字段內容,得到所述目標數據;在所述數據獲取方式為運行SQL腳本方式的情況下,運行SQL腳本以生成數據查詢請求;向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果;以及基於所述數據查詢結果,獲得所述目標數據;在所述數據獲取方式為運行預存代碼方式的情況下,運行所述預存代碼,以實現生成並向所述目標數據提供側發送數據查詢請求,並接收所述目標數據提供側反饋的數據查詢結果,對所述數據查詢結果進行解析得到目標數據。 The method as described in claim 1, wherein using the selected data acquisition method to obtain the target data from the target data providing side includes: When the data acquisition method is the default communication interface method, use the default communication interface to send a data query request to the target data providing side, and receive the data query results fed back by the target data providing side; and use The pre-stored communication interface template identifies and extracts key field contents from the data query results to obtain the target data; when the data acquisition method is to run an SQL script, run the SQL script to generate a data query request; The target data providing side sends a data query request, and receives the data query result fed back by the target data providing side; and based on the data query result, obtains the target data; the data acquisition method is to run a pre-stored code method In the case of , run the pre-stored code to generate and send a data query request to the target data providing side, receive the data query results fed back by the target data providing side, and parse the data query results to obtain the target data. 如請求項1所述的方法,其中,所述獲取數據獲取請求,包括:透過預設通訊介面接收到所述數據請求側的數據獲取請求;或者,檢測到滿足預設條件時,生成數據獲取請求。 The method as described in claim 1, wherein the obtaining the data acquisition request includes: receiving the data acquisition request from the data requesting side through a preset communication interface; or, when detecting that the preset condition is met, generating a data acquisition request. request. 一種數據獲取方法,其中,包括:第一平台檢測到存在對目標數據的獲取需求;透過數據中轉平台從第二平台獲取所述目標數據;其中,所述透過數據中轉平台從第二平台獲取所述目標數據,包括: 向所述數據中轉平台發送數據獲取請求,以使所述數據中轉平台採用與所述第二平台關聯的數據獲取方式,從所述第二平台獲取所述目標數據;其中,所述檢測到存在對目標數據的獲取需求,包括:接收用戶的訪問請求;其中,所述訪問請求是在所述用戶訪問所述第二平台時生成的;基於所述訪問請求驗證所述用戶是否已在所述第二平台登錄;若是,則確定存在對所述目標數據的獲取需求,其中,所述目標數據為在所述第二平台和所述第一平台之間共享的所述用戶的數據;所述方法還包括:若所述用戶已在所述第二平台登錄,則確定所述用戶在所述第一平台登錄成功;和/或,在所述透過數據中轉平台從第二平台獲取所述目標數據之後,還包括:基於所述用戶的數據,確定所述用戶在所述第一平台上的可訪問內容。 A data acquisition method, which includes: the first platform detects that there is a need to acquire target data; the target data is acquired from the second platform through a data transfer platform; wherein the target data is obtained from the second platform through the data transfer platform Obtain the target data, including: Send a data acquisition request to the data transfer platform, so that the data transfer platform uses the data acquisition method associated with the second platform to acquire the target data from the second platform; wherein the detection When there is a demand for obtaining target data, the method includes: receiving an access request from a user; wherein the access request is generated when the user accesses the second platform; and verifying whether the user is already on the platform based on the access request. Log in to the second platform; if so, it is determined that there is a need to obtain the target data, where the target data is the user's data shared between the second platform and the first platform; The method further includes: if the user has logged in on the second platform, determining that the user has successfully logged in on the first platform; and/or obtaining the data from the second platform through the data transfer platform. After the target data, the method further includes: determining content accessible to the user on the first platform based on the user's data. 如請求項6所述的方法,其中,所述第一平台和第二平台為不同的兩個教育平台,所述用戶的數據包括姓名、學校、班級、角色中的至少一種;所述可訪問內容包括可上課課程、可授課課程中的至少一種。 The method of claim 6, wherein the first platform and the second platform are two different educational platforms, and the user's data includes at least one of name, school, class, and role; the accessible The content includes at least one of courses that can be taken and courses that can be taught. 如請求項6或7所述的方法,其中,所述訪問請求包括第二平台地址和第一密鑰; 所述基於所述訪問請求驗證所述用戶是否已在所述第二平台登錄,包括:基於所述第二平台地址,向所述第二平台發送包含所述第一密鑰的驗證請求,以請求驗證所述第一密鑰與所述第二平台在所述用戶成功登錄所述第二平台時生成的第二密鑰是否匹配;接收所述第二平台反饋對所述第一密鑰的驗證結果;若所述驗證結果為所述第一密鑰和所述第二密鑰匹配,則確定所述用戶已在所述第二平台登錄。 The method according to claim 6 or 7, wherein the access request includes the second platform address and the first key; Verifying whether the user has logged in on the second platform based on the access request includes: sending a verification request containing the first key to the second platform based on the second platform address to Requesting to verify whether the first key matches the second key generated by the second platform when the user successfully logs in to the second platform; receiving feedback from the second platform about the first key Verification result; if the verification result is that the first key and the second key match, it is determined that the user has logged in on the second platform. 一種數據中轉設備,其中,包括處理器以及與所述處理器耦接的通訊電路和記憶體,其中,所述處理器用於執行所述記憶體儲存的電腦程式以結合所述通訊電路執行請求項1至5任一項所述的方法。 A data transfer device, which includes a processor, a communication circuit and a memory coupled to the processor, wherein the processor is used to execute a computer program stored in the memory to execute a request in conjunction with the communication circuit The method described in any one of items 1 to 5. 一種平台伺服器,其中,包括處理器以及與所述處理器耦接的通訊電路和儲存器,其中,所述處理器用於執行所述儲存器儲存的電腦程式以結合所述通訊電路執行請求項6至8其中任一項所述的方法。 A platform server, which includes a processor, a communication circuit and a storage coupled to the processor, wherein the processor is used to execute a computer program stored in the storage to execute a request in conjunction with the communication circuit The method described in any one of 6 to 8. 一種數據共享系統,其中,包括數據中轉設備以及分別與所述數據中轉設備連接的第一平台伺服器和至少一個第二平台伺服器;其中,所述數據中轉設備為請求項9所述的設備,所述第一平台伺服器為請求項10所述的伺服器,以實現所述第一平台伺服器透過所述數據中轉設備獲取所述第二平台 伺服器的用戶數據。 A data sharing system, which includes a data transfer device and a first platform server and at least one second platform server respectively connected to the data transfer device; wherein the data transfer device is the one specified in claim 9 The above-mentioned equipment, the first platform server is the server described in claim 10, so as to realize that the first platform server obtains the second platform through the data transfer equipment User data for the server. 一種儲存裝置,其中,儲存有能夠被處理器運行以實現如請求項1至5其中任一項所述數據獲取方法的電腦程式;和/或,儲存有能夠被處理器運行以實現如請求項6至8其中任一項所述數據獲取方法的電腦程式。 A storage device, which stores a computer program that can be run by a processor to implement the data acquisition method described in any one of claims 1 to 5; and/or stores a computer program that can be run by a processor to implement the data acquisition method as claimed. A computer program for the data acquisition method described in any one of 6 to 8.
TW109113450A 2019-12-31 2020-04-22 Data acquisition method, data transfer equipment, platform server, data sharing system, storage device TWI819215B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911416897.5A CN111177632A (en) 2019-12-31 2019-12-31 Data acquisition method and related equipment, system and storage device thereof
CN201911416897.5 2019-12-31

Publications (2)

Publication Number Publication Date
TW202127329A TW202127329A (en) 2021-07-16
TWI819215B true TWI819215B (en) 2023-10-21

Family

ID=70657660

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109113450A TWI819215B (en) 2019-12-31 2020-04-22 Data acquisition method, data transfer equipment, platform server, data sharing system, storage device

Country Status (5)

Country Link
JP (1) JP2022518890A (en)
KR (1) KR20210113603A (en)
CN (1) CN111177632A (en)
TW (1) TWI819215B (en)
WO (1) WO2021134873A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767093B (en) * 2020-06-29 2023-08-08 抖音视界有限公司 Data processing method, apparatus and storage medium
CN115168459A (en) * 2021-04-02 2022-10-11 国网电子商务有限公司 Data acquisition method and device
CN112860752B (en) * 2021-04-23 2021-08-20 支付宝(杭州)信息技术有限公司 Data query method, device and system for multi-party secure database
CN114065178A (en) * 2021-11-01 2022-02-18 浪潮云信息技术股份公司 Government affair data and authentication processing method
TWI817300B (en) * 2021-12-28 2023-10-01 博盛半導體股份有限公司 Integrated system and method for quality management of mosfet
WO2025170225A1 (en) * 2024-02-05 2025-08-14 주식회사 호패 Method and system for supporting context-based use of verifiable presentation
CN118656165A (en) * 2024-08-16 2024-09-17 杭州云深科技有限公司 A client task running method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029514A1 (en) * 2008-07-31 2011-02-03 Larry Kerschberg Case-Based Framework For Collaborative Semantic Search
US20110072487A1 (en) * 2009-09-23 2011-03-24 Computer Associates Think, Inc. System, Method, and Software for Providing Access Control Enforcement Capabilities in Cloud Computing Systems
TWI624797B (en) * 2015-07-09 2018-05-21 南臺科技大學 Cross-platform cloud-based method, system and program product for accessing production history
US20190236154A1 (en) * 2018-01-26 2019-08-01 Vmware, Inc. Client side query model extensibility framework

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140956A (en) * 2001-10-30 2003-05-16 Nec Corp File shared proxy system and file shared control method
CN101789023A (en) * 2010-03-04 2010-07-28 浙江中医药大学 Food material information release management system based on Web and release management method thereof
CN102111410B (en) * 2011-01-13 2013-07-03 中国科学院软件研究所 Agent-based single sign on (SSO) method and system
JP5895415B2 (en) * 2011-09-19 2016-03-30 株式会社リコー COMMUNICATION SYSTEM, COMMUNICATION DEVICE, PROGRAM, AND ALLOCATION DEVICE
JP2013156713A (en) * 2012-01-27 2013-08-15 Hitachi Consumer Electronics Co Ltd Information terminal and information processing method
US9495227B2 (en) * 2012-02-10 2016-11-15 Twilio, Inc. System and method for managing concurrent events
CN102609657A (en) * 2012-02-11 2012-07-25 林福泉 Login method and device for user identified by radio frequency
US9158785B1 (en) * 2014-09-22 2015-10-13 Edifire LLC Managing and synchronizing content between a document sharing platform and an enterprise social platform
US20170046745A1 (en) * 2015-04-03 2017-02-16 Excalibur Ip, Llc Method and system for providing relevant advertisements
US10291732B2 (en) * 2015-09-17 2019-05-14 Uptake Technologies, Inc. Computer systems and methods for sharing asset-related information between data platforms over a network
CN109697215A (en) * 2018-12-14 2019-04-30 安徽同徽网络技术有限公司 Collecting method, data collection system and nonvolatile computer storage media
CN110196875B (en) * 2019-06-03 2023-07-25 浪潮通用软件有限公司 Method for realizing data interaction based on configuration
CN110309636B (en) * 2019-07-04 2022-11-25 创新先进技术有限公司 Identity authentication method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029514A1 (en) * 2008-07-31 2011-02-03 Larry Kerschberg Case-Based Framework For Collaborative Semantic Search
US20110072487A1 (en) * 2009-09-23 2011-03-24 Computer Associates Think, Inc. System, Method, and Software for Providing Access Control Enforcement Capabilities in Cloud Computing Systems
TWI624797B (en) * 2015-07-09 2018-05-21 南臺科技大學 Cross-platform cloud-based method, system and program product for accessing production history
US20190236154A1 (en) * 2018-01-26 2019-08-01 Vmware, Inc. Client side query model extensibility framework

Also Published As

Publication number Publication date
KR20210113603A (en) 2021-09-16
JP2022518890A (en) 2022-03-17
TW202127329A (en) 2021-07-16
WO2021134873A1 (en) 2021-07-08
CN111177632A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
TWI819215B (en) Data acquisition method, data transfer equipment, platform server, data sharing system, storage device
CN111767095B (en) Micro-service generation method, device, terminal equipment and storage medium
CA2915619C (en) Method and apparatus for customized software development kit (sdk) generation
CN108228166B (en) Template-based back-end code generation method and system
US10055238B2 (en) Method and apparatus for code virtualization and remote process call generation
CN111460356B (en) Automatic login method, device, medium and equipment
CN106341444B (en) Data access method and device
US8239493B2 (en) Automated server controlled client-side logging
CN112988599A (en) Page debugging method and device, electronic equipment and storage medium
CN113761514B (en) Cloud desktop multi-factor security authentication method and system
CN110874278A (en) Embedding method, workflow system, device and storage medium of external system
CN112148390A (en) Task processing method and device, electronic equipment and computer readable storage medium
US10324766B1 (en) Task profile collection
US20090125580A1 (en) Displaying server errors on the client machine that caused the failed request
CN114840574A (en) Data query method, server, node and storage medium
CN113347062A (en) SIP performance test method, device, equipment and storage medium
US11647066B2 (en) Embedded remote desktop in integrated module
US9137289B2 (en) Facilitating a stateless transmission of data in an information technology system
CN114629955B (en) Identity authentication method, equipment and computer readable storage medium
CN115086321A (en) Multi-cluster traffic forwarding method and device, and electronic device
CN114003483B (en) Data problem troubleshooting method, device, equipment and computer-readable storage medium
JP7766287B1 (en) SNS posting system and program
CN114281849B (en) Data query method and device
US20250377941A1 (en) Execution of api-based tasks using generative ai
US11210146B1 (en) Integration of medical data systems using emulation of user interface