TW202025668A - System for maintaining login record to transfer data and method thereof - Google Patents
System for maintaining login record to transfer data and method thereof Download PDFInfo
- Publication number
- TW202025668A TW202025668A TW107145603A TW107145603A TW202025668A TW 202025668 A TW202025668 A TW 202025668A TW 107145603 A TW107145603 A TW 107145603A TW 107145603 A TW107145603 A TW 107145603A TW 202025668 A TW202025668 A TW 202025668A
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- client
- login
- service platform
- service
- Prior art date
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
一種資料轉送裝置及方法,特別係指一種維護登入狀態記錄以轉送資料之裝置及其方法。A data transfer device and method, in particular, refers to a device and method for maintaining log-in status records to transfer data.
即時通訊(Instant Messaging, IM)是一種透過網路進行通訊的系統,允許兩人或多人使用網路即時的傳遞文字訊息、檔案、語音與視訊交流。通常以網站、電腦軟體或行動應用程式的方式提供服務。Instant Messaging (IM) is a system that communicates through the Internet, allowing two or more people to use the Internet to communicate text messages, files, voice and video in real time. Services are usually provided in the form of websites, computer software or mobile applications.
在部分的即時通訊程式中,可以提供使用者安裝各種小程式(或元件)。事實上,小程式能夠在即時通訊軟體中被安裝使用之前,開發者需要付款給即時通訊軟體的管理團隊,並需要將小程式提供給即時通訊軟體的管理團隊進行審核,以及在審核通過後進行上線前的測試。也就是說,對於開發者而言,申請讓小程式能夠在即時通訊軟體中被安裝使用的過程是繁瑣且冗長的。In some instant messaging programs, users can be provided to install various small programs (or components). In fact, before the mini program can be installed and used in the instant messaging software, the developer needs to pay the management team of the instant messaging software, and provide the mini program to the management team of the instant messaging software for review, and after the review is passed Testing before going live. In other words, for developers, the process of applying for small programs to be installed and used in instant messaging software is tedious and lengthy.
然而,在某些情況下,開發者需要針對不同客戶的需求開發相似但略有不同的小程式。當這樣的小程式數量過多時,開發者在進行小程式的版本更新時,每一個不同的小程式都需要重複上述的付款、審核與測試的過程,對於開發者而言,需要花費大量的時間與金錢。However, in some cases, developers need to develop similar but slightly different small programs for the needs of different customers. When the number of such small programs is too large, when the developer is updating the version of the small program, each different small program needs to repeat the above payment, review and testing process. For the developer, it takes a lot of time. With money.
綜上所述,可知先前技術中長期以來一直存在開發在即時通訊軟體上使用之大量相似的小程式時需要花費大量人力物力與財力成本進行維運的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that in the prior art, the development of a large number of similar small programs used on instant messaging software requires a lot of manpower, material resources and financial resources for maintenance. Therefore, it is necessary to propose improved technical methods. To solve this problem.
有鑒於先前技術存在開發大量相似的小程式時需要花費大量成本維運的問題,本發明遂揭露一種維護登入狀態記錄以轉送資料之裝置及方法,其中:In view of the fact that the prior art has the problem that a lot of costs are required for maintenance when developing a large number of similar small programs, the present invention discloses a device and method for maintaining a log-in status record to transfer data, in which:
本發明所揭露之維護登入狀態記錄以轉送資料之裝置,至少包含:註冊模組,用以提供業務伺服器註冊,並產生與業務伺服器對應之註冊資料;登入處理模組,用以依據登入狀態記錄判斷客戶端未登入業務伺服器時,傳送客戶端所傳送之登入資料至業務伺服器,並接收業務伺服器於登入資料通過驗證時所傳送之驗證結果,藉以依據驗證結果更新登入狀態記錄,及用以依據登入狀態記錄判斷客戶端已登入業務伺服器時,依據註冊資料傳送回報資料至客戶端已登入之業務伺服器。The device for maintaining log-in status records and transferring data disclosed in the present invention at least includes: a registration module for providing business server registration and generating registration data corresponding to the business server; and a login processing module for logging in according to When the status record judges that the client is not logged in to the business server, send the login data sent by the client to the business server, and receive the verification result sent by the business server when the login data is verified, so as to update the login status record based on the verification result , And used to determine that the client has logged in to the business server based on the login status record, and send report data to the business server that the client has logged in based on the registration data.
本發明所揭露之維護登入狀態記錄以轉送資料之方法,其步驟至少包括:業務伺服器向服務平台註冊,服務平台產生與業務伺服器對應之註冊資料;客戶端提供輸入登入資料並傳送登入資料至服務平台;服務平台傳送登入資料至業務伺服器;業務伺服器驗證登入資料,並傳送與登入資料對應之驗證結果至服務平台;服務平台依據驗證結果更新登入狀態記錄;客戶端產生回報資料並傳送回報資料至服務平台;服務平台依據登入狀態記錄判斷客戶端已登入業務伺服器時,依據註冊資料傳送回報資料至客戶端已登入之業務伺服器。The method for maintaining log-in status records and transferring data disclosed in the present invention includes at least the steps of: the business server registers with the service platform, the service platform generates registration data corresponding to the business server; the client provides the input log-in data and transmits the log-in data To the service platform; the service platform sends the login data to the business server; the business server verifies the login data and sends the verification result corresponding to the login data to the service platform; the service platform updates the login status record according to the verification result; the client generates report data and Send report data to the service platform; when the service platform judges that the client has logged in to the business server based on the login status record, it sends the report data to the business server that the client has logged in based on the registration data.
本發明所揭露之裝置與方法如上,與先前技術之間的差異在於本發明透過服務平台提供業務伺服器註冊後,在客戶端傳送登入資料時,將登入資料轉送至業務伺服器,並依據業務伺服器所傳回的驗證結果更新登入狀態記錄,並在客戶端傳送回報資料時,依據登入狀態記錄判斷客戶端已登入業務伺服器時,依據註冊資料轉送回報資料至客戶端已登入的業務伺服器,藉以解決先前技術所存在的問題,並可以達成整合相似小程式的技術功效。The device and method disclosed in the present invention are as above. The difference between the present invention and the prior art is that after the present invention provides the service server registration through the service platform, when the client sends the login data, the login data is forwarded to the service server, and according to the business The verification result returned by the server updates the login status record, and when the client sends the report data, when the client judges that the client has logged in to the business server based on the login status record, the report data is forwarded to the client's logged-in business server based on the registration data It solves the problems of the prior art and can achieve the technical effect of integrating similar small programs.
以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The following will describe the features and implementation of the present invention in detail with the drawings and embodiments. The content is sufficient to enable anyone familiar with the relevant art to easily and fully understand the technical means used by the present invention to solve the technical problems and implement them accordingly. The achievable effect of the present invention.
本發明可以透過服務平台集中管理多個客戶端與多個業務伺服器,使得各個客戶端可以在互不干擾下實現不同的業務功能。其中,本發明所提之客戶端通常是指執行於計算設備中之應用程式的子程式,但本發明並不以此為限,例如,也可以是計算設備中之應用程式。The present invention can centrally manage multiple clients and multiple business servers through a service platform, so that each client can realize different business functions without mutual interference. Among them, the client mentioned in the present invention generally refers to a subprogram of an application program executed in a computing device, but the present invention is not limited to this. For example, it may also be an application program in a computing device.
以下先以「第1圖」本發明所提之維護登入狀態記錄以轉送資料之系統架構圖及「第2圖」本發明所提之維護登入狀態記錄以轉送資料之裝置之元件示意圖來說明本發明的系統運作。如「第1圖」所示,本發明之系統含有業務伺服器100、服務平台200、以及包含客戶端410的計算設備400。In the following, the system architecture diagram of maintaining the login status record to transfer data mentioned in the present invention and the component diagram of the device for maintaining login status record to transfer data mentioned in the present invention are used to illustrate the present invention. Invented system operation. As shown in "Figure 1", the system of the present invention includes a
業務伺服器100可以透過有線或無線網路與服務平台200連接,藉以傳送資料或訊號給服務平台200,並接收服務平台200所傳送的資料或訊號,以及透過服務平台200與客戶端410通訊。The
業務伺服器100負責向服務平台200註冊。一般而言,業務伺服器100可以傳送識別資料以及介面資訊至服務平台200,藉以向服務平台200註冊。其中,業務伺服器100所傳送的識別資料足以代表傳送的業務伺服器100,可以由任意數量的文字、字母、數字、符號任意排列而成,且識別資料為唯一值;介面資訊為業務伺服器100所提供之服務介面的連接資訊,包含但不限於網路位址、埠號、路徑、資料格式等。The
在部分的實施例中,業務伺服器100在向服務平台200註冊時,除了傳送識別資料之外,還可以傳送時間戳(timestamp)及/或簽章至服務平台200。其中,上述之簽章可以是業務伺服器100的數位簽章,或是透過如MD5等特定演算法所計算出的資料,本發明並沒有特別的限制。In some embodiments, when the
業務伺服器100也負責接收客戶端410透過服務平台200所傳送的登入資料,並驗證所接收到的登入資料。一般而言,業務伺服器100是透過所提供的服務介面接收登入資料。其中,本發明所提之登入資料為可以辨識客戶端410之使用者身分的資料,包含但不限於帳號密碼、指紋等。The
業務伺服器100也可以在驗證登入資料後,產生與登入資料相對應的驗證結果(例如,登入資料通過驗證或沒有通過驗證),並可以透過服務平台200將所產生的驗證結果傳送至發出相對應之登入資料的客戶端410。業務伺服器100也可以只在登入資料通過驗證時,才傳送驗證結果。The
在部分的實施例中,業務伺服器100也可以向服務平台200註冊後,接收服務平台200所傳送的存取安全標誌,並可以在傳送驗證結果至服務平台200時,一併傳送所接收到的存取安全標誌。存取安全標誌為與業務伺服器100對應的資料,通常為唯一值,可以由任意數量的文字、數字、字母、符號任意排列而成。In some embodiments, the
業務伺服器100也負責接收客戶端410透過服務平台200所傳送的回報資料,並對所接收到的回報資料進行相關的業務處理。一般而言,業務伺服器100是透過所提供的服務介面接收回報資料。其中,回報資料包含客戶端410提供給業務伺服器100進行業務處理的資料,在部分的實施例中,回報資料也可以包含登入資料及/或與一個或多個業務伺服器100對應的服務參數。其中,服務參數通常為唯一值,可以由任意數量的文字、字母、符號、數字任意排列而成,用來表示相對應的業務伺服器100。The
在部分的實施例中,業務伺服器100也可以在對所接收到的回報資料進行相關的業務處理後,產生通知訊息,並傳送所產生的通知訊息至服務平台200。In some embodiments, the
客戶端410可以透過有線或無線網路連線到服務平台200,藉以接收服務平台200所傳送的資料或訊號,並傳送資料或訊號至服務平台200,以及透過服務平台200與業務伺服器100通訊。The
客戶端410可以提供輸入登入資料,並將被輸入的登入資料透過服務平台200傳送給業務伺服器100。客戶端410也可以接收業務伺服器100透過服務平台200所傳送之與登入資料對應的驗證結果。The
客戶端410也可以透過通訊模組210接收服務平台所傳送之已登入訊息及未登入訊息,並可以在接收到未登入訊息時,提供輸入登入資料。其中,已登入訊息可以表示客戶端410已登入業務伺服器100,已登入訊息可以表示客戶端410尚未登入業務伺服器100。The
客戶端410負責產生回報資料,並透過服務平台200將所產生的回報資料傳送至業務伺服器100。在部分的實施例中,客戶端410在傳送回報資料前,可以依據所接收到的驗證結果判斷客戶端410是否已登入業務伺服器100。若是,則客戶端410可以透過服務平台200傳送回報資料給業務伺服器100;而若客戶端判斷尚未登入業務伺服器100,則客戶端410可以先透過服務平台200傳送登入資料給業務伺服器100,並在接收到業務伺服器100透過服務平台200所傳送之表示登入資料通過驗證的驗證結果後,再透過服務平台200傳送回報資料給業務伺服器100。The
服務平台200負責提供業務伺服器100註冊,並轉送客戶端410所產生的回報資料至對應的業務伺服器100。其中,服務平台200更包含通訊模組210、註冊模組220、登入處理模組250,以及可以附加的推播模組290。The
通訊模組210負責提供業務伺服器100及客戶端410透過有線或無線網路連接服務平台200,並可以傳送資料或訊號至業務伺服器100及/或客戶端410,也可以接收業務伺服器100及/或客戶端410所傳送的資料或訊號。The
註冊模組220負責提供業務伺服器100註冊,並產生與業務伺服器100對應的註冊資料,藉以完成業務伺服器100的註冊。其中,註冊模組220所產生的註冊資料包含各個業務伺服器100所傳送的介面資訊。The
在部分的實施例中,註冊模組220可以在完成業務伺服器100的註冊後,產生與完成註冊之業務伺服器100對應的存取安全標誌,並將所產生之存取安全標誌透過通訊模組210傳送給相對應的業務伺服器。In some embodiments, the
註冊模組220也可以依據註冊資料中的介面資訊定期檢查各個完成註冊之業務伺服器100是否正常運作,例如,註冊模組220可以在預定的時間或每隔一段時間,依據業務伺服器100之服務介面的網路位址、埠號(及路徑),透過通訊模組210傳送心跳訊息(heart beat)給業務伺服器100,並依據通訊模組210是否接收到業務伺服器100所傳回的回應訊息判斷業務伺服器100是否正常運作。The
登入處理模組250負責透過通訊模組210接收客戶端410所傳送的登入資料,並負責透過通訊模組210將所接收到之登入資料轉送給業務伺服器100。其中,登入處理模組250可以判斷登入資料中是否包含服務參數,若登入資料包含服務參數,登入處理模組250可以選擇將登入資料傳送給與服務參數對應的一個或多個業務伺服器100;而若登入資料沒有包含服務參數,登入處理模組250可以將登入資料傳送所有業務伺服器100。The
登入處理模組250也負責在傳送登入資料至業務伺服器100後,透過通訊模組210接收業務伺服器100所傳送之與登入資料對應的驗證結果。在部分的實施例中,登入處理模組250也可以將所接收到的驗證結果傳送給發出與驗證結果對應之登入資料的客戶端410。The
登入處理模組250也負責依據所接收到的驗證結果選擇是否更新登入狀態記錄。更詳細的說,登入處理模組250可以在接收到業務伺服器100所傳送的驗證結果時,判斷所接收到的驗證結果是否表示登入資料通過驗證,若登入處理模組250所接收到的驗證結果表示相對應的登入資料通過驗證時,登入處理模組250可以將傳送通過驗證之登入資料之客戶端410的識別資料以及傳送驗證結果之業務伺服器100的識別資料作為一筆資料並儲存到登入狀態記錄中;而若登入處理模組250所接收到的驗證結果表示相對應的登入資料沒有通過驗證時,登入處理模組250可以丟棄 (drop)登入資料與驗證資料。其中,登入狀態記錄通常被用來記錄客戶端410已登入的業務伺服器100,但並不以此為限,在部分的實施例中,登入狀態記錄可以記錄客戶端410與業務伺服器100之間的登入關係,例如,已登入、拒絕登入、或未登入等。The
登入處理模組250也負責判斷客戶端410是否登入業務伺服器100。例如,登入處理模組250可以在透過通訊模組210接收到客戶端410所傳送的登入資料/回報資料時,由所接到的登入資料/回報資料中取出客戶端410的識別資料,並判斷所取出之客戶端410的識別資料是否與任一業務伺服器100的識別資料被儲存為登入狀態記錄中的同一筆資料,若是,表示客戶端410至少通過一個業務伺服器100的驗證,登入處理模組250可以判斷客戶端410已登入該業務伺服器100;若否,表示客戶端410沒有通過任何業務伺服器100的驗證,登入處理模組250可以判斷客戶端410尚未登入任何一個業務伺服器100。The
而若登入處理模組250透過通訊模組210所接收到之登入資料/回報資料中還包含服務參數,則登入處理模組250可以在取出客戶端410的識別資料時,一併取出服務參數,並判斷所取出之客戶端410的識別資料與所取出之服務參數對應之業務伺服器100的識別資料是否被儲存為登入狀態記錄中的同一筆資料,若是,表示客戶端410至少通過與服務參數對應之業務伺服器100的驗證,登入處理模組250可以判斷客戶端410已登入服務參數對應之業務伺服器100;若否,表示客戶端410沒有通過服務參數對應之業務伺服器100的驗證,登入處理模組250可以判斷客戶端410尚未登入服務參數對應之業務伺服器100。If the login data/reported data received by the
登入處理模組250也負責在依據客戶端410所傳送之登入資料判斷客戶端410已登入目的之業務伺服器100時,產生已登入訊息並透過通訊模組210傳送所產生之已登入訊息至客戶端410,並負責在依據客戶端410所傳送之登入資料判斷客戶端410未登入目的之業務伺服器100時,透過通訊模組210傳送登入資料至所有的業務伺服器100或是與登入資料中之服務參數對應的一個或多個業務伺服器100;登入處理模組250也負責在依據客戶端410所傳送之回報資料判斷客戶端410已登入一個或多個業務伺服器100時,透過通訊模組210傳送回報資料至客戶端410已登入的業務伺服器100或與回報資料中之服務參數對應的一個或多個業務伺服器100,並負責在依據客戶端410所傳送之回報資料判斷客戶端410尚未登入任一業務伺服器100或與回報資料中之服務參數對應的業務伺服器100時,產生未登入訊息並透過通訊模組210傳送所產生之未登入訊息至客戶端410。The login processing module 250 is also responsible for generating a logged-in message and sending the generated logged-in message to the client through the communication module 210 when judging that the client 410 has logged in to the business server 100 based on the login data sent by the client 410 The client 410 is responsible for sending the login data to all the service servers 100 or with the login data through the communication module 210 when judging that the client 410 has not logged in to the business server 100 of the purpose based on the login data sent by the client 410 The service parameter corresponds to one or more service servers 100; the login processing module 250 is also responsible for determining that the client 410 has logged in one or more service servers 100 based on the report data sent by the client 410, through the communication module The group 210 sends the report data to the business server 100 that the client 410 has logged in or one or more business servers 100 corresponding to the service parameters in the report data, and is responsible for judging the client based on the report data sent by the client 410 When 410 has not logged in to any service server 100 or the service server 100 corresponding to the service parameter in the report data, a non-login message is generated and the generated non-login message is sent to the client 410 through the communication module 210.
登入處理模組250可以依據註冊模組220所產生之註冊資料中各個業務伺服器100的介面資訊,將登入資料傳送給全部業務伺服器100或與服務參數對應之一個或多個業務伺服器100,或將回報資料傳送給客戶端410已登入之一個或多個業務伺服器100或與服務參數對應之一個或多個業務伺服器100。The
推播模組290可以透過通訊模組210接收各個業務伺服器100所產生的通知訊息,及用以依據客戶伺服器在服務平台200上所設定的設定資料選擇一個或多個客戶伺服器,並可以透過通訊模組210傳送通知訊息至被選擇的客戶伺服器。其中,上述之客戶伺服器可以是特定的業務伺服器100,也可以是與服務平台200連接的其他伺服器。The
接著以第一實施例來解說本發明的運作系統與方法,並請參照「第3A圖」本發明所提之維護登入狀態記錄以轉送資料之方法流程圖。在本實施例中,假設客戶端410為計算設備400上所執行之通訊軟體中的小程式,但本發明並不以此為限。Next, the first embodiment is used to explain the operating system and method of the present invention, and please refer to "Figure 3A" for the flow chart of the method for maintaining the log-in status record and transferring data mentioned in the present invention. In this embodiment, it is assumed that the
首先,服務平台200的註冊模組220可以提供註冊服務,使得業務伺服器100可以向服務平台200註冊(步驟301),註冊模組220可以產生與註冊之業務伺服器100對應的註冊資料(步驟310)。在本實施例中,假設業務伺服器100可以將識別資料以及時間戳進行兩次MD5編碼後產生簽章,並傳送識別資料、介面資訊、時間戳以及簽章等資料至服務平台200;服務平台200的註冊模組220在透過服務平台200的通訊模組210接收到業務伺服器100所傳送的資料後,可以產生與傳送資料之業務伺服器100對應的註冊資料。一般而言,註冊模組220還可以產生與傳送資料之業務伺服器100對應的存取安全標誌,並可以將所產生之存取安全標誌透過通訊模組210傳送給相對應的業務伺服器100。First, the
在業務伺服器100至服務平台200註冊,且服務平台200產生註冊資料後,客戶端410可以提供輸入登入資料,並傳送被輸入的登入資料至服務平台200(步驟320)。在本實施例中,假設登入資料為帳號密碼,客戶端410可以提供計算設備400的使用者輸入登入資料。After the
在服務平台200的通訊模組210接收到客戶端410所傳送的登入資料後,服務平台200的登入處理模組250可以將通訊模組210所接收到的登入資料轉送給所有在服務平台200上註冊的業務伺服器100(步驟330)。在本實施例中,假設登入處理模組250可以依據服務平台200之註冊模組220所產生的註冊資料所包含之各個業務伺服器100的介面資訊,透過通訊模組210將登入資料傳送給各個業務伺服器100。After the
在業務伺服器100接收到服務平台200所傳送的登入資料後,業務伺服器100可以驗證所接收到的登入資料,產生相對應的驗證結果,並可以將所產生的驗證結果傳送給服務平台200(步驟340)。在本實施例中,業務伺服器100可以比對所接收到之登入資料是否與所儲存之帳號密碼相符,若是,則業務伺服器100可以產生表示登入資料通過驗證的驗證結果,並可以將所產生的驗證結果以及註冊時所接收到的存取安全標誌傳回服務平台200;若否,則業務伺服器100可以產生表示登入資料沒有通過驗證的驗證結果,並可以將所產生的驗證結果以及註冊時所接收到的存取安全標誌傳回服務平台200。After the
在服務平台200的通訊模組210接收到業務伺服器100所傳送的驗證結果後,服務平台200的登入處理模組250可以判斷通訊模組210所接收到的驗證結果是否表示登入資料通過驗證,若是,則登入處理模組250可以將傳送通過驗證之登入資料之客戶端410的識別資料以及傳送驗證結果之業務伺服器100的識別資料作為一筆資料並儲存到登入狀態記錄中(步驟350)。同時,登入處理模組250也可以透過通訊模組210將所接收到的驗證結果傳回傳送登入資料的客戶端410。要說明的是,在本實施例中,登入處理模組250可以先判斷通訊模組210所接收到的存取安全標誌是否與傳送給發送驗證結果之業務伺服器100的存取安全標誌相同,若否,則登入處理模組250可以丟棄或不處理通訊模組210所接收到的驗證結果;若是,則登入處理模組250才可以如上述更新登入狀態記錄。After the
在客戶端410接收到服務平台200所傳送的驗證結果後,客戶端410可以判斷驗證結果是否表示登入資料通過驗證,若否,則客戶端410可以再次提供輸入登入資料並透過服務平台200傳送登入資料至業務伺服器100(步驟320、330),使得業務伺服器100再次驗證登入資料,並透過服務平台200傳回驗證結果(步驟340),直到驗證結果表示登入資料通過驗證或客戶端410拒絕提供輸入登入資料為止。After the
在客戶端410判斷所接收到的驗證結果表示登入資料通過驗證後,客戶端410可以產生回報資料,並將所產生的回報資料傳送至服務平台200(步驟360)。在本實施例中,假設客戶端410可以透過計算設備400掃描待維修裝置上的識別條碼,藉以依據掃描所得的識別條碼產生用來報修裝置的回報資料。After the
在服務平台200的通訊模組210接收到客戶端410所傳送的回報資料後,服務平台200的登入處理模組250可以判斷客戶端410是否已登入任何一個業務伺服器100(步驟371)。在本實施例中,假設登入處理模組250可以由回報資料中取出客戶端410的識別資料,並比對所維護的登入狀態記錄中是否存在客戶端410的識別資料,藉以判斷客戶端410是否已登入任何一個在服務平台200上註冊之業務伺服器100。After the
若登入狀態記錄中不存在客戶端410的識別資料,則服務平台200的登入處理模組250可以產生未登入訊息,並透過服務平台200的通訊模組210傳送所產生的未登入訊息至客戶端410,客戶端410在接收到服務平台200所傳送的未登入訊息後,可以重複上述的登入過程,也就是客戶端410可以提供輸入登入資料並透過服務平台200傳送登入資料至業務伺服器100(步驟320、330),業務伺服器100驗證登入資料並透過服務平台200傳回驗證結果(步驟340),直到驗證結果表示登入資料通過驗證或客戶端410拒絕提供輸入登入資料為止。If the identification data of the
而若登入狀態記錄中存在客戶端410的識別資料,則服務平台200的登入處理模組250可以依據服務平台200之註冊模組220所維護的註冊資料,透過服務平台200的通訊模組210將回報資料傳送給客戶端410已登入之業務伺服器100(步驟375),使得業務伺服器100可以對所接收到的回報資料進行對應處理。在本實施例中,假設登入處理模組250可以由登入狀態記錄中讀出與客戶端410之識別資料儲存為同一筆資料的業務伺服器100的識別資料,並依據所讀出之業務伺服器100的識別資料由註冊資料中取得相對應之業務伺服器100的介面資訊,以及依據所取得之介面資訊將回報資料傳送給相對應的業務伺服器100。And if the identification data of the
繼續以第二實施例來解說本發明的運作系統與方法,並請繼續參照「第3A圖」。在本實施例中,同樣假設客戶端410為計算設備400上所執行之通訊軟體中的小程式,但本發明並不以此為限。Continue to explain the operating system and method of the present invention with the second embodiment, and please continue to refer to "Figure 3A". In this embodiment, it is also assumed that the
首先,服務平台200的註冊模組220可以提供業務伺服器100可以向服務平台200註冊(步驟301),並可以在業務伺服器100註冊後產生與註冊之業務伺服器100對應的註冊資料(步驟310)。First, the
之後,當客戶端410傳送被輸入的登入資料至服務平台200(步驟320)後,服務平台200的登入處理模組250可以由通訊模組210所接收到的登入資料中讀取出服務參數,並將登入資料轉送給與所讀出之服務參數對應的一個或多個業務伺服器100(步驟330)。After that, after the
在業務伺服器100接收到服務平台200所傳送的登入資料後,業務伺服器100可以驗證所接收到的登入資料,產生相對應的驗證結果,並可以將所產生的驗證結果傳回給服務平台200(步驟340)。在本實施例中,假設業務伺服器100可以比對所接收到之登入資料是否與所儲存之帳號密碼相符,若是,則業務伺服器100可以產生表示登入資料通過驗證的驗證結果,並可以將所產生的驗證結果傳回服務平台200;若否,則業務伺服器100可以不產生驗證結果,當然也不傳送驗證結果至服務平台200。After the
在服務平台200的通訊模組210接收到業務伺服器100所傳回的驗證結果後,服務平台200的登入處理模組250可以將傳送登入資料之客戶端410的識別資料以及傳送驗證結果之業務伺服器100的識別資料作為一筆資料並儲存到登入狀態記錄中(步驟350)。同時,登入處理模組250也可以透過通訊模組210將所接收到的驗證結果傳回傳送登入資料的客戶端410。在本實施例中,假設登入處理模組250可以先判斷通訊模組210所接收到的驗證結果是否表示登入資料通過驗證,若是,登入處理模組250才可以如上述更新登入狀態記錄;若否,則登入處理模組250可以丟棄驗證結果。After the
當客戶端410在一段時間內沒有接收到業務伺服器100透過服務平台200所傳送的驗證結果,客戶端410可以判斷登入資料沒有通過驗證;客戶端410也可以在接收到服務平台200所傳送的驗證結果後,判斷驗證結果是否表示登入資料通過驗證時,若否,也就是登入資料沒有通過驗證,則客戶端410可以再次提供輸入登入資料並透過服務平台200傳送登入資料至業務伺服器100(步驟320、330),直到業務伺服器100透過服務平台200傳回表示登入資料通過驗證的驗證結果(步驟340)或客戶端410拒絕提供輸入登入資料為止。When the
而若客戶端410判斷所接收到的驗證結果表示登入資料通過驗證,則客戶端410可以產生回報資料,並將所產生的回報資料傳送至服務平台200(步驟360)。在本實施例中,假設客戶端410的使用者可以輸入待維修之裝置的相關資訊,使得客戶端410依據被輸入的相關資訊產生回報資料。If the
在服務平台200的通訊模組210接收到客戶端410所傳送的回報資料後,服務平台200的登入處理模組250可以判斷客戶端410是否已登入與回報資料中之服務參數對應的業務伺服器100(步驟371)。在本實施例中,假設登入處理模組250可以由回報資料中取出服務參數以及客戶端410的識別資料,並比對所維護的登入狀態記錄中是否存在包含客戶端410之識別資料以及與服務參數對應之業務伺服器100之識別資料的資料,藉以判斷客戶端410是否已登入與回報資料中之服務參數對應的一個或多個業務伺服器100。After the
若登入狀態記錄中不存在同時包含客戶端410之識別資料以及與服務參數對應之業務伺服器100之識別資料的資料,則服務平台200的登入處理模組250可以產生未登入訊息,並透過服務平台200的通訊模組210傳送所產生的未登入訊息至客戶端410,客戶端410在接收到服務平台200所傳送的未登入訊息後,可以重複上述的登入過程。If the login status record does not contain both the identification data of the
而若登入狀態記錄中存在同時包含客戶端410的識別資料以及與服務參數對應之業務伺服器100之識別資料的資料,則服務平台200的登入處理模組250可以依據服務平台200之註冊模組220所維護的註冊資料,透過服務平台200的通訊模組210將回報資料傳送給客戶端410已登入之業務伺服器100(步驟375),也就是將回報資料傳送給與回報資料中之服務參數對應的業務伺服器100,使得業務伺服器100在接收到回報資料後可以對所接收到的回報資料進行對應處理。在本實施例中,假設登入處理模組250可以讀取與服務參數對應之業務伺服器100的識別資料,並依據所讀出之業務伺服器100的識別資料由註冊資料中取得相對應之業務伺服器100的介面資訊,以及依據所取得之介面資訊將回報資料傳送給相對應的業務伺服器100。If the login status record contains both the identification data of the
如此,由上述兩實施例可知,透過本發明,在不同計算設備上執行相同程式所產生的不同客戶端都可以透過服務平台傳送回報資料給對應的業務伺服器,使得各個業務伺服器可以依據所接收到的不同回報資料各自執行不同的業務程序。In this way, it can be seen from the above two embodiments that through the present invention, different clients generated by executing the same program on different computing devices can send report data to the corresponding business server through the service platform, so that each business server can be Different return data received execute different business procedures.
上述的兩實施例中,在服務平台200的登入處理模組250依據服務平台200之註冊模組220所維護的註冊資料,透過服務平台200的通訊模組210將回報資料傳送給客戶端410已登入之業務伺服器100(步驟375),業務伺服器100對所接收到的回報資料進行對應處理後,可以如「第3B圖」之流程所示,業務伺服器100可以產生通知訊息並傳送所產生的通知訊息至服務平台200(步驟380),在服務平台200的通訊模組210接收到業務伺服器100所傳送的通知訊息後,服務平台200的推播模組290可以依據設定資料,透過通訊模組210傳送通訊模組210所接收到的通知訊息至客戶伺服器(步驟390),例如,派單伺服器等。In the above two embodiments, the
綜上所述,可知本發明與先前技術之間的差異在於具有服務平台提供業務伺服器註冊後,在客戶端傳送登入資料時,將登入資料轉送至業務伺服器,並依據業務伺服器所傳回的驗證結果更新登入狀態記錄,並在客戶端傳送回報資料時,依據登入狀態記錄判斷客戶端已登入業務伺服器時,依據註冊資料轉送回報資料至客戶端已登入的業務伺服器之技術手段,藉由此一技術手段可以來解決先前技術所存在開發大量相似的小程式時需要花費大量成本維運的問題,進而達成整合相似小程式的技術功效。To sum up, it can be seen that the difference between the present invention and the prior art is that after the service platform provides the service server registration, when the client sends the login information, the login information is forwarded to the service server, and according to the service server. The returned verification result updates the login status record, and when the client sends the report data, when the client judges that the client has logged in to the business server based on the login status record, the report data is transferred to the client's logged-in business server based on the registration data. With this technical means, it can solve the problem that the prior art requires a lot of cost to maintain when developing a large number of similar small programs, and then achieve the technical effect of integrating similar small programs.
再者,本發明之維護登入狀態記錄以轉送資料之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method of maintaining log-in status records and transferring data of the present invention can be implemented in hardware, software, or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or distributed in a number of interconnections with different components. The decentralized way of connecting the computer system is realized.
雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the embodiments of the present invention are disclosed as above, the content described is not intended to directly limit the scope of patent protection of the present invention. Anyone with ordinary knowledge in the technical field to which the present invention belongs, without departing from the spirit and scope of the present invention, makes some modifications in the form and details of the implementation of the present invention, all belong to the patent protection of the present invention range. The scope of patent protection of the present invention shall still be determined by the scope of the attached patent application.
100:業務伺服器200:服務平台210:通訊模組220:註冊模組250:登入處理模組290:推播模組400:計算設備410:客戶端步驟301:業務伺服器向服務平台註冊步驟310:服務平台產生與業務伺服器對應之註冊資料步驟320:客戶端傳送登入資料至服務平台步驟330:服務平台傳送登入資料至業務伺服器步驟340:業務伺服器驗證登入資料,並傳送驗證結果至服務平台步驟350:服務平台依據驗證結果更新登入狀態記錄步驟360:客戶端傳送回報資料至服務平台步驟371:服務平台依據登入狀態記錄判斷客戶端是否登入業務伺服器步驟375:服務平台依據註冊資料傳送回報資料至客戶端已登入之業務伺服器步驟380:業務伺服器產生通知訊息並傳送通知訊息至服務平台步驟390:服務平台依據設定資料傳送通知訊息至客戶伺服器100: business server 200: service platform 210: communication module 220: registration module 250: login processing module 290: push broadcast module 400: computing device 410: client step 301: business server registration step with the service platform 310: The service platform generates registration data corresponding to the business server Step 320: The client sends the login data to the service platform Step 330: The service platform sends the login data to the business server Step 340: The business server verifies the login data and sends the verification result Go to the service platform Step 350: The service platform updates the login status record according to the verification result Step 360: The client sends the report data to the service platform Step 371: The service platform judges whether the client has logged in to the business server according to the login status record Step 375: The service platform registers according to the registration Data transmission report data to the business server that the client has logged in Step 380: The business server generates a notification message and sends the notification message to the service platform Step 390: The service platform sends a notification message to the client server based on the configuration data
第1圖為本發明所提之維護登入狀態記錄以轉送資料之系統架構圖。 第2圖為本發明所提之維護登入狀態記錄以轉送資料之裝置之元件示意圖。 第3A圖為本發明所提之維護登入狀態記錄以轉送資料之方法流程圖。 第3B圖為本發明所提之資料推播之方法流程圖。Figure 1 is a diagram of the system architecture for maintaining log-in status records to transfer data according to the present invention. Figure 2 is a schematic diagram of the components of the device for maintaining log-in status records to transfer data according to the present invention. Figure 3A is a flow chart of the method for maintaining log-in status records to transfer data according to the present invention. Figure 3B is a flow chart of the method of data push provided by the present invention.
步驟301:業務伺服器向服務平台註冊 Step 301: The business server registers with the service platform
步驟310:服務平台產生與業務伺服器對應之註冊資料 Step 310: The service platform generates registration data corresponding to the business server
步驟320:客戶端傳送登入資料至服務平台 Step 320: The client sends the login information to the service platform
步驟330:服務平台傳送登入資料至業務伺服器 Step 330: The service platform sends the login information to the business server
步驟340:業務伺服器驗證登入資料,並傳送驗證結果至服務平台 Step 340: The business server verifies the login information and sends the verification result to the service platform
步驟350:服務平台依據驗證結果更新登入狀態記錄 Step 350: The service platform updates the login status record according to the verification result
步驟360:客戶端傳送回報資料至服務平台 Step 360: The client sends the report data to the service platform
步驟371:服務平台依據登入狀態記錄判斷客戶端是否登入業務伺服器 Step 371: The service platform determines whether the client has logged in to the business server according to the login status record
步驟375:服務平台依據註冊資料傳送回報資料至客戶端已登入之業務伺服器 Step 375: The service platform sends the report data to the business server that the client has logged in according to the registration data
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107145603A TWI683556B (en) | 2018-12-18 | 2018-12-18 | System for maintaining login record to transfer data and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107145603A TWI683556B (en) | 2018-12-18 | 2018-12-18 | System for maintaining login record to transfer data and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI683556B TWI683556B (en) | 2020-01-21 |
TW202025668A true TW202025668A (en) | 2020-07-01 |
Family
ID=69942936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107145603A TWI683556B (en) | 2018-12-18 | 2018-12-18 | System for maintaining login record to transfer data and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI683556B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050015490A1 (en) * | 2003-07-16 | 2005-01-20 | Saare John E. | System and method for single-sign-on access to a resource via a portal server |
CN102724103B (en) * | 2011-03-30 | 2015-04-01 | 国际商业机器公司 | Proxy server, hierarchical network system and distributed workload management method |
WO2012142854A1 (en) * | 2011-04-18 | 2012-10-26 | 北京新媒传信科技有限公司 | Application service platform system and implementation method thereof |
TWM549407U (en) * | 2017-05-24 | 2017-09-21 | 許世賓 | Medical information system |
-
2018
- 2018-12-18 TW TW107145603A patent/TWI683556B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI683556B (en) | 2020-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10824701B2 (en) | System and method for mapping decentralized identifiers to real-world entities | |
US20220231869A1 (en) | Cross-blockchain mutual data storage | |
US11050690B2 (en) | Method for providing recording and verification service for data received and transmitted by messenger service, and server using method | |
US20190317757A1 (en) | Deployment of infrastructure in pipelines | |
CN112005236A (en) | Document access over blockchain networks | |
CN108416589A (en) | Connection method, system and the computer readable storage medium of block chain node | |
CN104660557B (en) | operation processing method and device | |
WO2019219306A1 (en) | Identifying faults in a blockchain ordering service | |
WO2021232590A1 (en) | User verification method and apparatus based on private chain, and computer device and storage medium | |
WO2022166637A1 (en) | Blockchain network-based method and apparatus for data processing, and computer device | |
CN110535648A (en) | Electronic certificate is generated and verified and key controlling method, device, system and medium | |
CN111314172B (en) | Block chain-based data processing method, device, equipment and storage medium | |
CN101809585A (en) | Password management | |
US11916936B2 (en) | Techniques for incentivized intrusion detection system | |
CN112804354B (en) | Method and device for data transmission across chains, computer equipment and storage medium | |
CN104484620A (en) | Method for avoiding false declaration of sales volume and inventory in fast-selling sales management cloud system | |
CN111292057A (en) | Service processing method based on block chain | |
Perez et al. | Improving end-to-end verifiable voting systems with blockchain technologies | |
KR20200055178A (en) | Management server and method of digital signature for electronic document | |
CN101151874A (en) | Network node and method for providing internet services on internet marketplaces | |
CN110941840A (en) | Data processing method, system and terminal | |
CN110807209A (en) | Data processing method, device and storage medium | |
CN114500082A (en) | Access authentication method and device, equipment, server, storage medium and system | |
CN110535652A (en) | A kind of system and method by each operation system data integration displaying and unified login | |
CN111008251B (en) | Data processing method and device |