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 PDF

Info

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
Application number
TW107145603A
Other languages
Chinese (zh)
Other versions
TWI683556B (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 英業達股份有限公司
Priority to TW107145603A priority Critical patent/TWI683556B/en
Application granted granted Critical
Publication of TWI683556B publication Critical patent/TWI683556B/en
Publication of TW202025668A publication Critical patent/TW202025668A/en

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A system for maintaining a login record to transfer data and a method thereof are provided. By providing servers registering by a platform, transferring login data from the platform to at least one of the server when the platform receives the login data sent from a client, updating a login record according to a verification result of the login data sent from the server, and transferring a report data from the platform to the servers which the client is logged in when the platform receives the report data sent from the client, the system and the method can reduce costs of human and financial of developing large number of similar small programs, and can achieve the effect of integrating large number of similar small programs.

Description

維護登入狀態記錄以轉送資料之裝置及方法Device and method for maintaining log-in status record to transfer data

一種資料轉送裝置及方法,特別係指一種維護登入狀態記錄以轉送資料之裝置及其方法。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 business server 100, a service platform 200, and a computing device 400 including a client 410.

業務伺服器100可以透過有線或無線網路與服務平台200連接,藉以傳送資料或訊號給服務平台200,並接收服務平台200所傳送的資料或訊號,以及透過服務平台200與客戶端410通訊。The business server 100 can be connected to the service platform 200 via a wired or wireless network, so as to transmit data or signals to the service platform 200, receive data or signals transmitted by the service platform 200, and communicate with the client 410 through the service platform 200.

業務伺服器100負責向服務平台200註冊。一般而言,業務伺服器100可以傳送識別資料以及介面資訊至服務平台200,藉以向服務平台200註冊。其中,業務伺服器100所傳送的識別資料足以代表傳送的業務伺服器100,可以由任意數量的文字、字母、數字、符號任意排列而成,且識別資料為唯一值;介面資訊為業務伺服器100所提供之服務介面的連接資訊,包含但不限於網路位址、埠號、路徑、資料格式等。The business server 100 is responsible for registering with the service platform 200. Generally speaking, the business server 100 can send identification data and interface information to the service platform 200 to register with the service platform 200. Among them, the identification data sent by the business server 100 is sufficient to represent the sent business server 100, which can be composed of any number of words, letters, numbers, and symbols, and the identification data is a unique value; the interface information is the business server The connection information of the service interface provided by 100, including but not limited to network address, port number, path, data format, etc.

在部分的實施例中,業務伺服器100在向服務平台200註冊時,除了傳送識別資料之外,還可以傳送時間戳(timestamp)及/或簽章至服務平台200。其中,上述之簽章可以是業務伺服器100的數位簽章,或是透過如MD5等特定演算法所計算出的資料,本發明並沒有特別的限制。In some embodiments, when the business server 100 registers with the service platform 200, in addition to sending identification data, it may also send a timestamp and/or signature to the service platform 200. Wherein, the above-mentioned signature may be a digital signature of the business server 100, or data calculated through a specific algorithm such as MD5, and the present invention is not particularly limited.

業務伺服器100也負責接收客戶端410透過服務平台200所傳送的登入資料,並驗證所接收到的登入資料。一般而言,業務伺服器100是透過所提供的服務介面接收登入資料。其中,本發明所提之登入資料為可以辨識客戶端410之使用者身分的資料,包含但不限於帳號密碼、指紋等。The business server 100 is also responsible for receiving the login information sent by the client 410 through the service platform 200 and verifying the received login information. Generally speaking, the business server 100 receives the login information through the provided service interface. The login data mentioned in the present invention is data that can identify the user identity of the client 410, including but not limited to account passwords, fingerprints, and the like.

業務伺服器100也可以在驗證登入資料後,產生與登入資料相對應的驗證結果(例如,登入資料通過驗證或沒有通過驗證),並可以透過服務平台200將所產生的驗證結果傳送至發出相對應之登入資料的客戶端410。業務伺服器100也可以只在登入資料通過驗證時,才傳送驗證結果。The business server 100 may also generate a verification result corresponding to the login data after verifying the login data (for example, the login data is verified or not), and may send the generated verification result to the issuing party through the service platform 200 The client 410 corresponding to the login data. The business server 100 may also transmit the verification result only when the login data is verified.

在部分的實施例中,業務伺服器100也可以向服務平台200註冊後,接收服務平台200所傳送的存取安全標誌,並可以在傳送驗證結果至服務平台200時,一併傳送所接收到的存取安全標誌。存取安全標誌為與業務伺服器100對應的資料,通常為唯一值,可以由任意數量的文字、數字、字母、符號任意排列而成。In some embodiments, the business server 100 may also register with the service platform 200, receive the access security token sent by the service platform 200, and send the received authentication result to the service platform 200 together. Access security sign. The access security flag is data corresponding to the business server 100, and is usually a unique value, which can be formed by arbitrarily arranging any number of words, numbers, letters, and symbols.

業務伺服器100也負責接收客戶端410透過服務平台200所傳送的回報資料,並對所接收到的回報資料進行相關的業務處理。一般而言,業務伺服器100是透過所提供的服務介面接收回報資料。其中,回報資料包含客戶端410提供給業務伺服器100進行業務處理的資料,在部分的實施例中,回報資料也可以包含登入資料及/或與一個或多個業務伺服器100對應的服務參數。其中,服務參數通常為唯一值,可以由任意數量的文字、字母、符號、數字任意排列而成,用來表示相對應的業務伺服器100。The business server 100 is also responsible for receiving the report data sent by the client 410 through the service platform 200 and performing relevant business processing on the received report data. Generally speaking, the business server 100 receives the report data through the provided service interface. The report data includes data provided by the client 410 to the business server 100 for business processing. In some embodiments, the report data may also include login data and/or service parameters corresponding to one or more business servers 100. . Wherein, the service parameter is usually a unique value, which can be arbitrarily arranged by any number of words, letters, symbols, and numbers, and is used to represent the corresponding business server 100.

在部分的實施例中,業務伺服器100也可以在對所接收到的回報資料進行相關的業務處理後,產生通知訊息,並傳送所產生的通知訊息至服務平台200。In some embodiments, the business server 100 may also generate a notification message after performing related business processing on the received report data, and send the generated notification message to the service platform 200.

客戶端410可以透過有線或無線網路連線到服務平台200,藉以接收服務平台200所傳送的資料或訊號,並傳送資料或訊號至服務平台200,以及透過服務平台200與業務伺服器100通訊。The client 410 can connect to the service platform 200 through a wired or wireless network, so as to receive data or signals transmitted by the service platform 200, and transmit the data or signals to the service platform 200, and communicate with the service server 100 through the service platform 200 .

客戶端410可以提供輸入登入資料,並將被輸入的登入資料透過服務平台200傳送給業務伺服器100。客戶端410也可以接收業務伺服器100透過服務平台200所傳送之與登入資料對應的驗證結果。The client 410 can provide input login information, and send the input login information to the business server 100 through the service platform 200. The client 410 may also receive the verification result corresponding to the login data sent by the business server 100 through the service platform 200.

客戶端410也可以透過通訊模組210接收服務平台所傳送之已登入訊息及未登入訊息,並可以在接收到未登入訊息時,提供輸入登入資料。其中,已登入訊息可以表示客戶端410已登入業務伺服器100,已登入訊息可以表示客戶端410尚未登入業務伺服器100。The client 410 can also receive the logged-in message and the non-logged-in message sent by the service platform through the communication module 210, and can provide input log-in information when receiving the non-logged-in message. The logged-in message may indicate that the client 410 has logged in to the service server 100, and the logged-in message may indicate that the client 410 has not logged in to the service server 100.

客戶端410負責產生回報資料,並透過服務平台200將所產生的回報資料傳送至業務伺服器100。在部分的實施例中,客戶端410在傳送回報資料前,可以依據所接收到的驗證結果判斷客戶端410是否已登入業務伺服器100。若是,則客戶端410可以透過服務平台200傳送回報資料給業務伺服器100;而若客戶端判斷尚未登入業務伺服器100,則客戶端410可以先透過服務平台200傳送登入資料給業務伺服器100,並在接收到業務伺服器100透過服務平台200所傳送之表示登入資料通過驗證的驗證結果後,再透過服務平台200傳送回報資料給業務伺服器100。The client 410 is responsible for generating report data, and transmits the generated report data to the business server 100 through the service platform 200. In some embodiments, the client 410 may determine whether the client 410 has logged in to the service server 100 according to the received verification result before sending the report data. If yes, the client 410 can send the report data to the business server 100 through the service platform 200; and if the client determines that the business server 100 has not been logged in, the client 410 can first send the login data to the business server 100 through the service platform 200 , And after receiving the verification result that the login data has been verified by the business server 100 through the service platform 200, the report data is sent to the business server 100 through the service platform 200.

服務平台200負責提供業務伺服器100註冊,並轉送客戶端410所產生的回報資料至對應的業務伺服器100。其中,服務平台200更包含通訊模組210、註冊模組220、登入處理模組250,以及可以附加的推播模組290。The service platform 200 is responsible for providing registration for the business server 100 and forwarding the report data generated by the client 410 to the corresponding business server 100. The service platform 200 further includes a communication module 210, a registration module 220, a login processing module 250, and an additional push module 290.

通訊模組210負責提供業務伺服器100及客戶端410透過有線或無線網路連接服務平台200,並可以傳送資料或訊號至業務伺服器100及/或客戶端410,也可以接收業務伺服器100及/或客戶端410所傳送的資料或訊號。The communication module 210 is responsible for providing the service server 100 and the client 410 to connect to the service platform 200 through a wired or wireless network, and can transmit data or signals to the service server 100 and/or the client 410, and can also receive the service server 100 And/or the data or signal sent by the client 410.

註冊模組220負責提供業務伺服器100註冊,並產生與業務伺服器100對應的註冊資料,藉以完成業務伺服器100的註冊。其中,註冊模組220所產生的註冊資料包含各個業務伺服器100所傳送的介面資訊。The registration module 220 is responsible for providing registration of the business server 100 and generating registration data corresponding to the business server 100, so as to complete the registration of the business server 100. Among them, the registration data generated by the registration module 220 includes the interface information sent by each service server 100.

在部分的實施例中,註冊模組220可以在完成業務伺服器100的註冊後,產生與完成註冊之業務伺服器100對應的存取安全標誌,並將所產生之存取安全標誌透過通訊模組210傳送給相對應的業務伺服器。In some embodiments, the registration module 220 can generate an access security mark corresponding to the registered business server 100 after completing the registration of the business server 100, and pass the generated access security mark through the communication module. The group 210 is sent to the corresponding service server.

註冊模組220也可以依據註冊資料中的介面資訊定期檢查各個完成註冊之業務伺服器100是否正常運作,例如,註冊模組220可以在預定的時間或每隔一段時間,依據業務伺服器100之服務介面的網路位址、埠號(及路徑),透過通訊模組210傳送心跳訊息(heart beat)給業務伺服器100,並依據通訊模組210是否接收到業務伺服器100所傳回的回應訊息判斷業務伺服器100是否正常運作。The registration module 220 can also periodically check whether each registered business server 100 is operating normally according to the interface information in the registration data. For example, the registration module 220 can be based on the business server 100 at a predetermined time or at regular intervals. The network address, port number (and path) of the service interface, send a heartbeat message (heart beat) to the business server 100 through the communication module 210, and based on whether the communication module 210 receives the return from the business server 100 The response message determines whether the business server 100 is operating normally.

登入處理模組250負責透過通訊模組210接收客戶端410所傳送的登入資料,並負責透過通訊模組210將所接收到之登入資料轉送給業務伺服器100。其中,登入處理模組250可以判斷登入資料中是否包含服務參數,若登入資料包含服務參數,登入處理模組250可以選擇將登入資料傳送給與服務參數對應的一個或多個業務伺服器100;而若登入資料沒有包含服務參數,登入處理模組250可以將登入資料傳送所有業務伺服器100。The login processing module 250 is responsible for receiving the login data transmitted by the client 410 through the communication module 210, and is responsible for forwarding the received login data to the business server 100 through the communication module 210. The login processing module 250 can determine whether the login data contains service parameters. If the login data includes service parameters, the login processing module 250 can choose to send the login data to one or more business servers 100 corresponding to the service parameters; If the login data does not include service parameters, the login processing module 250 can send the login data to all the business servers 100.

登入處理模組250也負責在傳送登入資料至業務伺服器100後,透過通訊模組210接收業務伺服器100所傳送之與登入資料對應的驗證結果。在部分的實施例中,登入處理模組250也可以將所接收到的驗證結果傳送給發出與驗證結果對應之登入資料的客戶端410。The login processing module 250 is also responsible for receiving the verification result corresponding to the login data sent by the service server 100 through the communication module 210 after sending the login data to the service server 100. In some embodiments, the login processing module 250 may also send the received verification result to the client 410 that sends the login data corresponding to the verification result.

登入處理模組250也負責依據所接收到的驗證結果選擇是否更新登入狀態記錄。更詳細的說,登入處理模組250可以在接收到業務伺服器100所傳送的驗證結果時,判斷所接收到的驗證結果是否表示登入資料通過驗證,若登入處理模組250所接收到的驗證結果表示相對應的登入資料通過驗證時,登入處理模組250可以將傳送通過驗證之登入資料之客戶端410的識別資料以及傳送驗證結果之業務伺服器100的識別資料作為一筆資料並儲存到登入狀態記錄中;而若登入處理模組250所接收到的驗證結果表示相對應的登入資料沒有通過驗證時,登入處理模組250可以丟棄 (drop)登入資料與驗證資料。其中,登入狀態記錄通常被用來記錄客戶端410已登入的業務伺服器100,但並不以此為限,在部分的實施例中,登入狀態記錄可以記錄客戶端410與業務伺服器100之間的登入關係,例如,已登入、拒絕登入、或未登入等。The login processing module 250 is also responsible for selecting whether to update the login status record according to the received verification result. In more detail, when the login processing module 250 receives the verification result sent by the business server 100, it can determine whether the received verification result indicates that the login data is verified. If the verification received by the login processing module 250 The result indicates that when the corresponding login data is verified, the login processing module 250 can use the identification data of the client 410 that sent the verified login data and the identification data of the business server 100 that sent the verification result as a piece of data and store it in the login In the status record; and if the verification result received by the login processing module 250 indicates that the corresponding login data has not been verified, the login processing module 250 may drop the login data and the verification data. The login status record is usually used to record the business server 100 that the client 410 has logged in, but is not limited to this. In some embodiments, the login status record can record the difference between the client 410 and the business server 100. The login relationship between, for example, logged in, denied login, or not logged in, etc.

登入處理模組250也負責判斷客戶端410是否登入業務伺服器100。例如,登入處理模組250可以在透過通訊模組210接收到客戶端410所傳送的登入資料/回報資料時,由所接到的登入資料/回報資料中取出客戶端410的識別資料,並判斷所取出之客戶端410的識別資料是否與任一業務伺服器100的識別資料被儲存為登入狀態記錄中的同一筆資料,若是,表示客戶端410至少通過一個業務伺服器100的驗證,登入處理模組250可以判斷客戶端410已登入該業務伺服器100;若否,表示客戶端410沒有通過任何業務伺服器100的驗證,登入處理模組250可以判斷客戶端410尚未登入任何一個業務伺服器100。The login processing module 250 is also responsible for determining whether the client 410 logs in to the service server 100. For example, when the login processing module 250 receives the login data/report data sent by the client 410 through the communication module 210, it can extract the identification data of the client 410 from the received login data/report data, and determine Whether the retrieved identification data of the client 410 and the identification data of any service server 100 are stored as the same data in the login status record, if yes, it means that the client 410 has passed the verification of at least one service server 100, and the login process The module 250 can determine that the client 410 has logged in to the service server 100; if not, it means that the client 410 has not passed the verification of any service server 100, and the login processing module 250 can determine that the client 410 has not logged in to any service server. 100.

而若登入處理模組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 login processing module 250 through the communication module 210 also includes service parameters, the login processing module 250 can retrieve the service parameters when extracting the identification data of the client 410. And determine whether the extracted identification data of the client 410 and the identification data of the business server 100 corresponding to the extracted service parameters are stored as the same data in the login status record. If so, it means that the client 410 at least passed the service parameters Corresponding to the verification of the business server 100, the login processing module 250 can determine that the client 410 has logged in the business server 100 corresponding to the service parameter; if not, it means that the client 410 has not passed the verification of the business server 100 corresponding to the service parameter. The login processing module 250 can determine that the client 410 has not logged in to the service server 100 corresponding to the service parameter.

登入處理模組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 login processing module 250 can send the login data to all the service servers 100 or one or more service servers 100 corresponding to the service parameters according to the interface information of each service server 100 in the registration data generated by the registration module 220 , Or send the report data to one or more service servers 100 that the client 410 has logged in or one or more service servers 100 corresponding to the service parameters.

推播模組290可以透過通訊模組210接收各個業務伺服器100所產生的通知訊息,及用以依據客戶伺服器在服務平台200上所設定的設定資料選擇一個或多個客戶伺服器,並可以透過通訊模組210傳送通知訊息至被選擇的客戶伺服器。其中,上述之客戶伺服器可以是特定的業務伺服器100,也可以是與服務平台200連接的其他伺服器。The push module 290 can receive notification messages generated by each service server 100 through the communication module 210, and is used to select one or more client servers according to the setting data set by the client servers on the service platform 200, and The notification message can be sent to the selected client server through the communication module 210. Wherein, the aforementioned client server may be a specific business server 100, or may be another server connected to the service platform 200.

接著以第一實施例來解說本發明的運作系統與方法,並請參照「第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 client 410 is a small program in the communication software executed on the computing device 400, but the invention is not limited to this.

首先,服務平台200的註冊模組220可以提供註冊服務,使得業務伺服器100可以向服務平台200註冊(步驟301),註冊模組220可以產生與註冊之業務伺服器100對應的註冊資料(步驟310)。在本實施例中,假設業務伺服器100可以將識別資料以及時間戳進行兩次MD5編碼後產生簽章,並傳送識別資料、介面資訊、時間戳以及簽章等資料至服務平台200;服務平台200的註冊模組220在透過服務平台200的通訊模組210接收到業務伺服器100所傳送的資料後,可以產生與傳送資料之業務伺服器100對應的註冊資料。一般而言,註冊模組220還可以產生與傳送資料之業務伺服器100對應的存取安全標誌,並可以將所產生之存取安全標誌透過通訊模組210傳送給相對應的業務伺服器100。First, the registration module 220 of the service platform 200 can provide registration services, so that the business server 100 can register with the service platform 200 (step 301), and the registration module 220 can generate registration data corresponding to the registered business server 100 (step 310). In this embodiment, it is assumed that the business server 100 can MD5 encode the identification data and timestamp twice to generate a signature, and send the identification data, interface information, timestamp, and signature to the service platform 200; service platform After the registration module 220 of the 200 receives the data transmitted by the business server 100 through the communication module 210 of the service platform 200, it can generate registration data corresponding to the business server 100 that transmits the data. Generally speaking, the registration module 220 can also generate an access security mark corresponding to the business server 100 that transmits the data, and can transmit the generated access security mark to the corresponding business server 100 through the communication module 210. .

在業務伺服器100至服務平台200註冊,且服務平台200產生註冊資料後,客戶端410可以提供輸入登入資料,並傳送被輸入的登入資料至服務平台200(步驟320)。在本實施例中,假設登入資料為帳號密碼,客戶端410可以提供計算設備400的使用者輸入登入資料。After the business server 100 registers with the service platform 200, and the service platform 200 generates registration information, the client 410 can provide input login information, and send the input login information to the service platform 200 (step 320). In this embodiment, assuming that the login information is an account password, the client 410 may provide the user of the computing device 400 to input the login information.

在服務平台200的通訊模組210接收到客戶端410所傳送的登入資料後,服務平台200的登入處理模組250可以將通訊模組210所接收到的登入資料轉送給所有在服務平台200上註冊的業務伺服器100(步驟330)。在本實施例中,假設登入處理模組250可以依據服務平台200之註冊模組220所產生的註冊資料所包含之各個業務伺服器100的介面資訊,透過通訊模組210將登入資料傳送給各個業務伺服器100。After the communication module 210 of the service platform 200 receives the login data transmitted by the client 410, the login processing module 250 of the service platform 200 can forward the login data received by the communication module 210 to all the login data on the service platform 200 Registered business server 100 (step 330). In this embodiment, it is assumed that the login processing module 250 can send the login data to each service server 100 through the communication module 210 based on the interface information of each business server 100 included in the registration data generated by the registration module 220 of the service platform 200 Business server 100.

在業務伺服器100接收到服務平台200所傳送的登入資料後,業務伺服器100可以驗證所接收到的登入資料,產生相對應的驗證結果,並可以將所產生的驗證結果傳送給服務平台200(步驟340)。在本實施例中,業務伺服器100可以比對所接收到之登入資料是否與所儲存之帳號密碼相符,若是,則業務伺服器100可以產生表示登入資料通過驗證的驗證結果,並可以將所產生的驗證結果以及註冊時所接收到的存取安全標誌傳回服務平台200;若否,則業務伺服器100可以產生表示登入資料沒有通過驗證的驗證結果,並可以將所產生的驗證結果以及註冊時所接收到的存取安全標誌傳回服務平台200。After the business server 100 receives the login data sent by the service platform 200, the business server 100 can verify the received login data, generate a corresponding verification result, and send the generated verification result to the service platform 200 (Step 340). In this embodiment, the business server 100 can compare whether the received login data is consistent with the stored account password. If so, the business server 100 can generate a verification result indicating that the login data has been verified, and can compare all The generated verification result and the access security mark received during registration are returned to the service platform 200; if not, the business server 100 can generate a verification result indicating that the login data has not been verified, and can send the generated verification result and The access security sign received during registration is transmitted back to the service platform 200.

在服務平台200的通訊模組210接收到業務伺服器100所傳送的驗證結果後,服務平台200的登入處理模組250可以判斷通訊模組210所接收到的驗證結果是否表示登入資料通過驗證,若是,則登入處理模組250可以將傳送通過驗證之登入資料之客戶端410的識別資料以及傳送驗證結果之業務伺服器100的識別資料作為一筆資料並儲存到登入狀態記錄中(步驟350)。同時,登入處理模組250也可以透過通訊模組210將所接收到的驗證結果傳回傳送登入資料的客戶端410。要說明的是,在本實施例中,登入處理模組250可以先判斷通訊模組210所接收到的存取安全標誌是否與傳送給發送驗證結果之業務伺服器100的存取安全標誌相同,若否,則登入處理模組250可以丟棄或不處理通訊模組210所接收到的驗證結果;若是,則登入處理模組250才可以如上述更新登入狀態記錄。After the communication module 210 of the service platform 200 receives the verification result sent by the business server 100, the login processing module 250 of the service platform 200 can determine whether the verification result received by the communication module 210 indicates that the login data has been verified. If yes, the login processing module 250 may use the identification data of the client 410 that has transmitted the authenticated login data and the identification data of the business server 100 that has transmitted the verification result as a piece of data and store it in the login status record (step 350). At the same time, the login processing module 250 can also send the received verification result back to the client 410 that sends the login data through the communication module 210. It should be noted that, in this embodiment, the login processing module 250 may first determine whether the access security flag received by the communication module 210 is the same as the access security flag sent to the service server 100 that sent the verification result. If not, the login processing module 250 can discard or not process the verification result received by the communication module 210; if so, the login processing module 250 can update the login status record as described above.

在客戶端410接收到服務平台200所傳送的驗證結果後,客戶端410可以判斷驗證結果是否表示登入資料通過驗證,若否,則客戶端410可以再次提供輸入登入資料並透過服務平台200傳送登入資料至業務伺服器100(步驟320、330),使得業務伺服器100再次驗證登入資料,並透過服務平台200傳回驗證結果(步驟340),直到驗證結果表示登入資料通過驗證或客戶端410拒絕提供輸入登入資料為止。After the client 410 receives the verification result sent by the service platform 200, the client 410 can determine whether the verification result indicates that the login information has been verified. If not, the client 410 can provide the login information again and send the login through the service platform 200 The data is sent to the business server 100 (steps 320, 330), so that the business server 100 verifies the login information again, and returns the verification result through the service platform 200 (step 340), until the verification result indicates that the login data is verified or the client 410 rejects Provided to enter the login information.

在客戶端410判斷所接收到的驗證結果表示登入資料通過驗證後,客戶端410可以產生回報資料,並將所產生的回報資料傳送至服務平台200(步驟360)。在本實施例中,假設客戶端410可以透過計算設備400掃描待維修裝置上的識別條碼,藉以依據掃描所得的識別條碼產生用來報修裝置的回報資料。After the client 410 determines that the received verification result indicates that the login information has been verified, the client 410 may generate report data, and send the generated report data to the service platform 200 (step 360). In this embodiment, it is assumed that the client 410 can scan the identification barcode on the device to be repaired through the computing device 400, so as to generate report data for repairing the device based on the scanned identification barcode.

在服務平台200的通訊模組210接收到客戶端410所傳送的回報資料後,服務平台200的登入處理模組250可以判斷客戶端410是否已登入任何一個業務伺服器100(步驟371)。在本實施例中,假設登入處理模組250可以由回報資料中取出客戶端410的識別資料,並比對所維護的登入狀態記錄中是否存在客戶端410的識別資料,藉以判斷客戶端410是否已登入任何一個在服務平台200上註冊之業務伺服器100。After the communication module 210 of the service platform 200 receives the report data sent by the client 410, the login processing module 250 of the service platform 200 can determine whether the client 410 has logged in to any business server 100 (step 371). In this embodiment, it is assumed that the login processing module 250 can extract the identification data of the client 410 from the report data, and compare whether the identification data of the client 410 exists in the maintained login status record, so as to determine whether the client 410 is You have logged in to any business server 100 registered on the service platform 200.

若登入狀態記錄中不存在客戶端410的識別資料,則服務平台200的登入處理模組250可以產生未登入訊息,並透過服務平台200的通訊模組210傳送所產生的未登入訊息至客戶端410,客戶端410在接收到服務平台200所傳送的未登入訊息後,可以重複上述的登入過程,也就是客戶端410可以提供輸入登入資料並透過服務平台200傳送登入資料至業務伺服器100(步驟320、330),業務伺服器100驗證登入資料並透過服務平台200傳回驗證結果(步驟340),直到驗證結果表示登入資料通過驗證或客戶端410拒絕提供輸入登入資料為止。If the identification data of the client 410 does not exist in the login status record, the login processing module 250 of the service platform 200 can generate a non-login message, and send the generated non-login message to the client through the communication module 210 of the service platform 200 410. After receiving the non-login message sent by the service platform 200, the client 410 can repeat the aforementioned login process, that is, the client 410 can provide input login information and send the login information to the business server 100 through the service platform 200 ( Steps 320, 330), the business server 100 verifies the login information and returns a verification result through the service platform 200 (step 340), until the verification result indicates that the login information is verified or the client 410 refuses to provide the input login information.

而若登入狀態記錄中存在客戶端410的識別資料,則服務平台200的登入處理模組250可以依據服務平台200之註冊模組220所維護的註冊資料,透過服務平台200的通訊模組210將回報資料傳送給客戶端410已登入之業務伺服器100(步驟375),使得業務伺服器100可以對所接收到的回報資料進行對應處理。在本實施例中,假設登入處理模組250可以由登入狀態記錄中讀出與客戶端410之識別資料儲存為同一筆資料的業務伺服器100的識別資料,並依據所讀出之業務伺服器100的識別資料由註冊資料中取得相對應之業務伺服器100的介面資訊,以及依據所取得之介面資訊將回報資料傳送給相對應的業務伺服器100。And if the identification data of the client 410 exists in the login status record, the login processing module 250 of the service platform 200 can transfer the registration data maintained by the registration module 220 of the service platform 200 through the communication module 210 of the service platform 200 The report data is sent to the business server 100 that the client 410 has logged in (step 375), so that the business server 100 can perform corresponding processing on the received report data. In this embodiment, it is assumed that the login processing module 250 can read the identification data of the business server 100 that is stored as the same data as the identification data of the client 410 from the login status record, and based on the read business server The identification data of 100 obtains the interface information of the corresponding business server 100 from the registration data, and sends the report data to the corresponding business server 100 according to the obtained interface information.

繼續以第二實施例來解說本發明的運作系統與方法,並請繼續參照「第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 client 410 is a small program in the communication software executed on the computing device 400, but the invention is not limited to this.

首先,服務平台200的註冊模組220可以提供業務伺服器100可以向服務平台200註冊(步驟301),並可以在業務伺服器100註冊後產生與註冊之業務伺服器100對應的註冊資料(步驟310)。First, the registration module 220 of the service platform 200 can provide that the service server 100 can register with the service platform 200 (step 301), and can generate registration data corresponding to the registered service server 100 after the service server 100 is registered (step 310).

之後,當客戶端410傳送被輸入的登入資料至服務平台200(步驟320)後,服務平台200的登入處理模組250可以由通訊模組210所接收到的登入資料中讀取出服務參數,並將登入資料轉送給與所讀出之服務參數對應的一個或多個業務伺服器100(步驟330)。After that, after the client 410 transmits the input login data to the service platform 200 (step 320), the login processing module 250 of the service platform 200 can read the service parameters from the login data received by the communication module 210. And forward the login information to one or more service servers 100 corresponding to the read service parameters (step 330).

在業務伺服器100接收到服務平台200所傳送的登入資料後,業務伺服器100可以驗證所接收到的登入資料,產生相對應的驗證結果,並可以將所產生的驗證結果傳回給服務平台200(步驟340)。在本實施例中,假設業務伺服器100可以比對所接收到之登入資料是否與所儲存之帳號密碼相符,若是,則業務伺服器100可以產生表示登入資料通過驗證的驗證結果,並可以將所產生的驗證結果傳回服務平台200;若否,則業務伺服器100可以不產生驗證結果,當然也不傳送驗證結果至服務平台200。After the business server 100 receives the login data sent by the service platform 200, the business server 100 can verify the received login data, generate a corresponding verification result, and send the generated verification result back to the service platform 200 (step 340). In this embodiment, it is assumed that the business server 100 can compare the received login data with the stored account password. If so, the business server 100 can generate a verification result indicating that the login data has been verified, and can compare The generated verification result is transmitted back to the service platform 200; if not, the business server 100 may not generate the verification result, and certainly does not send the verification result to the service platform 200.

在服務平台200的通訊模組210接收到業務伺服器100所傳回的驗證結果後,服務平台200的登入處理模組250可以將傳送登入資料之客戶端410的識別資料以及傳送驗證結果之業務伺服器100的識別資料作為一筆資料並儲存到登入狀態記錄中(步驟350)。同時,登入處理模組250也可以透過通訊模組210將所接收到的驗證結果傳回傳送登入資料的客戶端410。在本實施例中,假設登入處理模組250可以先判斷通訊模組210所接收到的驗證結果是否表示登入資料通過驗證,若是,登入處理模組250才可以如上述更新登入狀態記錄;若否,則登入處理模組250可以丟棄驗證結果。After the communication module 210 of the service platform 200 receives the verification result returned by the business server 100, the login processing module 250 of the service platform 200 can transfer the identification data of the client 410 that sends the login data and the business that sends the verification result. The identification data of the server 100 is used as a piece of data and stored in the login status record (step 350). At the same time, the login processing module 250 can also send the received verification result back to the client 410 that sends the login data through the communication module 210. In this embodiment, it is assumed that the login processing module 250 can first determine whether the verification result received by the communication module 210 indicates that the login data has been verified. If so, the login processing module 250 can update the login status record as described above; if not, , The login processing module 250 can discard the verification result.

當客戶端410在一段時間內沒有接收到業務伺服器100透過服務平台200所傳送的驗證結果,客戶端410可以判斷登入資料沒有通過驗證;客戶端410也可以在接收到服務平台200所傳送的驗證結果後,判斷驗證結果是否表示登入資料通過驗證時,若否,也就是登入資料沒有通過驗證,則客戶端410可以再次提供輸入登入資料並透過服務平台200傳送登入資料至業務伺服器100(步驟320、330),直到業務伺服器100透過服務平台200傳回表示登入資料通過驗證的驗證結果(步驟340)或客戶端410拒絕提供輸入登入資料為止。When the client 410 does not receive the verification result sent by the business server 100 through the service platform 200 within a period of time, the client 410 can determine that the login data has not passed the verification; the client 410 can also receive the verification result sent by the service platform 200 After the verification result, it is judged whether the verification result indicates that the login data is verified. If not, that is, the login data has not been verified, the client 410 can provide the login data again and send the login data to the business server 100 through the service platform 200 ( Steps 320, 330), until the business server 100 returns a verification result indicating that the login information is verified through the service platform 200 (step 340) or the client 410 refuses to provide the input login information.

而若客戶端410判斷所接收到的驗證結果表示登入資料通過驗證,則客戶端410可以產生回報資料,並將所產生的回報資料傳送至服務平台200(步驟360)。在本實施例中,假設客戶端410的使用者可以輸入待維修之裝置的相關資訊,使得客戶端410依據被輸入的相關資訊產生回報資料。If the client 410 determines that the received verification result indicates that the login data is verified, the client 410 may generate report data, and send the generated report data to the service platform 200 (step 360). In this embodiment, it is assumed that the user of the client 410 can input related information of the device to be repaired, so that the client 410 generates report data based on the input related information.

在服務平台200的通訊模組210接收到客戶端410所傳送的回報資料後,服務平台200的登入處理模組250可以判斷客戶端410是否已登入與回報資料中之服務參數對應的業務伺服器100(步驟371)。在本實施例中,假設登入處理模組250可以由回報資料中取出服務參數以及客戶端410的識別資料,並比對所維護的登入狀態記錄中是否存在包含客戶端410之識別資料以及與服務參數對應之業務伺服器100之識別資料的資料,藉以判斷客戶端410是否已登入與回報資料中之服務參數對應的一個或多個業務伺服器100。After the communication module 210 of the service platform 200 receives the report data sent by the client 410, the login processing module 250 of the service platform 200 can determine whether the client 410 has logged in to the business server corresponding to the service parameter in the report data. 100 (Step 371). In this embodiment, it is assumed that the login processing module 250 can extract the service parameters and the identification data of the client 410 from the report data, and compare whether the maintained login status record contains the identification data of the client 410 and the service The identification data of the business server 100 corresponding to the parameter is used to determine whether the client 410 has logged in one or more business servers 100 corresponding to the service parameter in the report data.

若登入狀態記錄中不存在同時包含客戶端410之識別資料以及與服務參數對應之業務伺服器100之識別資料的資料,則服務平台200的登入處理模組250可以產生未登入訊息,並透過服務平台200的通訊模組210傳送所產生的未登入訊息至客戶端410,客戶端410在接收到服務平台200所傳送的未登入訊息後,可以重複上述的登入過程。If the login status record does not contain both the identification data of the client 410 and the identification data of the business server 100 corresponding to the service parameters, the login processing module 250 of the service platform 200 can generate a non-login message and use the service The communication module 210 of the platform 200 transmits the generated non-login message to the client 410, and the client 410 can repeat the aforementioned login process after receiving the non-login message sent by the service platform 200.

而若登入狀態記錄中存在同時包含客戶端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 client 410 and the identification data of the business server 100 corresponding to the service parameters, the login processing module 250 of the service platform 200 can be based on the registration module of the service platform 200 The registration data maintained by 220 is sent to the service server 100 where the client 410 has logged in through the communication module 210 of the service platform 200 (step 375), that is, the report data is sent to the service parameters in the report data The corresponding service server 100 enables the service server 100 to perform corresponding processing on the received report data after receiving the report data. In this embodiment, it is assumed that the login processing module 250 can read the identification data of the business server 100 corresponding to the service parameters, and obtain the corresponding business from the registration data according to the read identification data of the business server 100 The interface information of the server 100 and the report data are sent to the corresponding business server 100 based on the obtained interface information.

如此,由上述兩實施例可知,透過本發明,在不同計算設備上執行相同程式所產生的不同客戶端都可以透過服務平台傳送回報資料給對應的業務伺服器,使得各個業務伺服器可以依據所接收到的不同回報資料各自執行不同的業務程序。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 login processing module 250 of the service platform 200 transmits the report data to the client 410 through the communication module 210 of the service platform 200 according to the registration data maintained by the registration module 220 of the service platform 200. Log in to the business server 100 (step 375). After the business server 100 responds to the received report data, the business server 100 can generate a notification message and send it as shown in the process shown in "Figure 3B". The generated notification message is sent to the service platform 200 (step 380). After the communication module 210 of the service platform 200 receives the notification message sent by the service server 100, the push module 290 of the service platform 200 can use the setting data to The communication module 210 transmits the notification message received by the communication module 210 to the client server (step 390), for example, the dispatch server.

綜上所述,可知本發明與先前技術之間的差異在於具有服務平台提供業務伺服器註冊後,在客戶端傳送登入資料時,將登入資料轉送至業務伺服器,並依據業務伺服器所傳回的驗證結果更新登入狀態記錄,並在客戶端傳送回報資料時,依據登入狀態記錄判斷客戶端已登入業務伺服器時,依據註冊資料轉送回報資料至客戶端已登入的業務伺服器之技術手段,藉由此一技術手段可以來解決先前技術所存在開發大量相似的小程式時需要花費大量成本維運的問題,進而達成整合相似小程式的技術功效。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)

一種維護登入狀態記錄以轉送資料之方法,該方法至少包含下列步驟: 多個業務伺服器向一服務平台註冊,使該服務平台產生與該些業務伺服器對應之一註冊資料; 一客戶端提供輸入一登入資料並傳送該登入資料至該服務平台; 該服務平台傳送該登入資料至該些業務伺服器; 各該業務伺服器分別驗證該登入資料,並傳送與該登入資料對應之一驗證結果至該服務平台; 該服務平台依據該驗證結果更新一登入狀態記錄; 該客戶端產生一回報資料並傳送該回報資料至該服務平台; 該服務平台依據該登入狀態記錄判斷該客戶端已登入任一該業務伺服器時,依據該註冊資料傳送該回報資料至該客戶端已登入之該些業務伺服器。A method for maintaining log-in status records to transfer data, the method at least including the following steps: a plurality of business servers register with a service platform, so that the service platform generates registration data corresponding to the business servers; a client provides Enter a login information and send the login information to the service platform; the service platform sends the login information to the business servers; each of the business servers verifies the login information separately, and sends a verification result corresponding to the login information To the service platform; the service platform updates a login status record based on the verification result; the client generates a report data and transmits the report data to the service platform; the service platform determines that the client has logged in according to the login status record In the case of a business server, the report data is sent to the business servers that the client has logged in according to the registration data. 如申請專利範圍第1項所述之維護登入狀態記錄以轉送資料之方法,其中該些業務伺服器向該服務平台註冊之步驟為每一該業務伺服器分別傳送識別資料及時間戳至該服務平台,該服務平台分別產生與各該業務伺服器對應之各存取安全標誌,並傳送各該存取安全標誌至相對應之各該業務伺服器。For example, the method for maintaining log-in status records to transfer data as described in item 1 of the scope of patent application, wherein the steps for the business servers to register with the service platform are for each business server to send identification data and time stamps to the service. Platform, the service platform generates each access security mark corresponding to each business server, and transmits each access security mark to each corresponding business server. 如申請專利範圍第1項所述之維護登入狀態記錄以轉送資料之方法,其中該方法於該些業務伺服器向該服務平台註冊之步驟後,更包含該服務平台定期檢查各該業務係伺服器是否正常之步驟。For example, the method for maintaining log-in status records to transfer data as described in item 1 of the scope of patent application, wherein after the steps of registering the service servers with the service platform, the method also includes the service platform regularly checking each service system server The steps of whether the device is normal. 如申請專利範圍第1項所述之維護登入狀態記錄以轉送資料之方法,其中該方法於該服務平台傳送該回報資料至該客戶端已登入之該些業務伺服器後,更包含該客戶端已登入之各該業務伺服器產生一通知訊息並傳送該通知訊息至該服務平台,及該服務平台依據設定資料傳送該通知訊息至客戶伺服器之步驟。For example, the method of maintaining log-in status records to transfer data as described in the first item of the scope of patent application, wherein the method further includes the client after the service platform sends the report data to the business servers where the client has logged in Each of the business servers that have logged in generates a notification message and sends the notification message to the service platform, and the service platform sends the notification message to the client server according to the setting data. 如申請專利範圍第1項所述之維護登入狀態記錄以轉送資料之方法,其中該服務平台傳送該登入資料至該些業務伺服器之步驟及該服務平台傳送該回報資料至該客戶端已登入之該些業務伺服器之步驟,更包含該服務平台依據該回報資料所包含之一服務參數選擇至少一該業務伺服器,並傳送該登入資料或該回報資料至該被選擇之業務伺服器之步驟。For example, the method of maintaining the log-in status record to transfer data as described in item 1 of the scope of patent application, wherein the service platform sends the log-in data to the business servers and the service platform sends the report data to the client. The steps of the business servers further include that the service platform selects at least one business server according to a service parameter included in the report data, and sends the login data or the report data to the selected business server step. 一種維護登入狀態記錄以轉送資料之裝置,提供多個業務伺服器及至少一客戶端連接,該裝置至少包含: 一註冊模組,用以提供該些業務伺服器註冊,並產生與該些業務伺服器對應之一註冊資料;及 一登入處理模組,用以依據一登入狀態記錄判斷該至少一客戶端未登入任一該業務伺服器時,傳送該客戶端所傳送之一登入資料至至少一該業務伺服器,並接收各該業務伺服器於該登入資料通過驗證時所傳送之一驗證結果,藉以依據該驗證結果更新該登入狀態記錄,及用以依據該登入狀態記錄判斷該客戶端已登入任一該業務伺服器時,依據該註冊資料傳送該回報資料至該客戶端已登入之至少一該業務伺服器。A device for maintaining log-in status records to transfer data, providing a plurality of service servers and at least one client connection, the device at least includes: a registration module for providing registration of the service servers, and generating and connecting the services The server corresponds to a piece of registration data; and a login processing module for judging that the at least one client has not logged in to any of the business servers according to a log-in status record, and transmits a piece of the login data sent by the client to at least A business server, and receives a verification result sent by each business server when the login data is verified, so as to update the login status record according to the verification result, and to determine the client according to the login status record When any one of the service servers is logged in, the report data is sent to at least one of the service servers that the client has logged in according to the registration data. 如申請專利範圍第6項所述之維護登入狀態記錄以轉送資料之裝置,其中該註冊模組更用以接收各該業務伺服器分別傳送之識別資料及時間戳以完成各該業務伺服器之註冊,及用以產生與各該業務伺服器對應之各存取安全標誌,並傳送各該存取安全標誌至相對應之各該業務伺服器,使各該業務伺服器於傳送該驗證結果時,一併傳送相對應之一該存取安全標誌。For example, the device for maintaining log-in status records to transfer data described in item 6 of the scope of patent application, wherein the registration module is further used to receive identification data and time stamps sent by each service server to complete the operation of each service server Register, and used to generate each access security flag corresponding to each business server, and send each access security flag to each corresponding business server, so that each business server sends the verification result , And send the corresponding one of the access security signs together. 如申請專利範圍第6項所述之維護登入狀態記錄以轉送資料之裝置,其中該註冊模組更用以定期檢查各該業務係伺服器是否正常。For example, the device for maintaining log-in status records to transfer data as described in item 6 of the scope of patent application, wherein the registration module is used to regularly check whether the servers of each business system are normal. 如申請專利範圍第6項所述之維護登入狀態記錄以轉送資料之裝置,其中該裝置更包含一推播模組,用以接收各該業務伺服器所產生之一通知訊息,及用以依據設定資料傳送該通知訊息至客戶伺服器。For example, the device for maintaining log-in status records to transfer data as described in item 6 of the scope of patent application, wherein the device further includes a push module for receiving a notification message generated by each service server, and used for Set the data to send the notification message to the client server. 如申請專利範圍第6項所述之維護登入狀態記錄以轉送資料之裝置,其中該登入處理模組更用以依據該登入資料/該回報資料中之一服務參數選擇至少一該業務伺服器,並傳送該登入資料/該回報資料至該被選擇之業務伺服器。For example, the device for maintaining log-in status records to transfer data as described in item 6 of the scope of patent application, wherein the log-in processing module is further used to select at least one service server according to one of the log-in data/the return data, And send the login data/the report data to the selected business server.
TW107145603A 2018-12-18 2018-12-18 System for maintaining login record to transfer data and method thereof TWI683556B (en)

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)

* Cited by examiner, † Cited by third party
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

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