TWI763176B - System and method for identity authentication - Google Patents
System and method for identity authentication Download PDFInfo
- Publication number
- TWI763176B TWI763176B TW109144061A TW109144061A TWI763176B TW I763176 B TWI763176 B TW I763176B TW 109144061 A TW109144061 A TW 109144061A TW 109144061 A TW109144061 A TW 109144061A TW I763176 B TWI763176 B TW I763176B
- Authority
- TW
- Taiwan
- Prior art keywords
- server
- user device
- session initiation
- identity authentication
- account
- Prior art date
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本揭露是有關於一種身分認證方法與身分認證系統。The present disclosure relates to an identity authentication method and an identity authentication system.
傳統的互聯網語音協議(Voice over Internet Protocol,VoIP)身分認證與登入方式為業者發給用戶明碼的帳號與密碼。在用戶自行將帳號與密碼輸入至用戶裝置後,用戶裝置再發送至業者的伺服器以進行驗證。此種方式的帳號與密碼可能有被竊取的風險。另外,若用戶基於資安考量需要更換密碼,也需用戶手動輸入新的密碼,造成用戶使用不便。The traditional Voice over Internet Protocol (Voice over Internet Protocol, VoIP) identity authentication and login method is that the operator sends the user a clear account and password. After the user enters the account number and password into the user device, the user device sends it to the operator's server for verification. Accounts and passwords in this way may be at risk of being stolen. In addition, if the user needs to change the password based on information security considerations, the user also needs to manually input the new password, causing inconvenience to the user.
本揭露提供一種身分認證方法與身分認證系統,可為用戶裝置提供一種安全的身分認證方法。The present disclosure provides an identity authentication method and an identity authentication system, which can provide a secure identity authentication method for a user device.
本揭露的身分認證方法,適用於互聯網語音協議,身分認證方法包括:由儲存裝置儲存第一會話啟動協定帳號,並且由用戶裝置自儲存裝置取得第一會話啟動協定帳號;由用戶裝置和第一伺服器建立用戶裝置和第一伺服器之間的傳輸層通道;由第一伺服器通過傳輸層通道以自用戶裝置取得第一會話啟動協定帳號;由用戶裝置和第一伺服器建立用戶裝置和第一伺服器之間的應用層通道;由第一伺服器通過應用層通道以自用戶裝置取得第二會話啟動協定帳號;以及由第一伺服器根據第一會話啟動協定帳號與第二會話啟動協定帳號是否匹配以決定用戶裝置是否通過身分認證。The identity authentication method of the present disclosure is applicable to Voice over Internet Protocol, and the identity authentication method includes: storing a first session initiation agreement account in a storage device, and obtaining the first session initiation agreement account from the storage device by a user device; The server establishes a transport layer channel between the user device and the first server; the first server obtains the first session activation agreement account from the user device through the transport layer channel; the user device and the first server establish the user device and the first server. an application layer channel between the first servers; the first server obtains a second session activation agreement account from the user device through the application layer channel; and is activated by the first server according to the first session activation agreement account and the second session Whether the agreement accounts match to determine whether the user device is authenticated.
本揭露的身分認證系統,適用於互聯網語音協議,身分認證系統包括:儲存裝置、第一伺服器以及用戶裝置。儲存裝置儲存第一會話啟動協定帳號。用戶裝置通訊連接至儲存裝置,自儲存裝置取得第一會話啟動協定帳號,其中用戶裝置和第一伺服器建立用戶裝置和第一伺服器之間的傳輸層通道,其中第一伺服器通過傳輸層通道以自用戶裝置取得第一會話啟動協定帳號,其中用戶裝置和第一伺服器建立用戶裝置和第一伺服器之間的應用層通道,其中第一伺服器通過應用層通道以自用戶裝置取得第二會話啟動協定帳號,其中第一伺服器根據第一會話啟動協定帳號與第二會話啟動協定帳號是否匹配以決定用戶裝置是否通過身分認證。The identity authentication system of the present disclosure is applicable to the Voice over Internet Protocol, and the identity authentication system includes: a storage device, a first server and a user device. The storage device stores the first session activation agreement account. The user device is communicatively connected to the storage device, and obtains a first session activation agreement account from the storage device, wherein the user device and the first server establish a transport layer channel between the user device and the first server, wherein the first server passes the transport layer The channel is to obtain the first session initiation agreement account from the user device, wherein the user device and the first server establish an application layer channel between the user device and the first server, wherein the first server obtains from the user device through the application layer channel The second session initiation agreement account, wherein the first server determines whether the user device passes the identity authentication according to whether the first session initiation agreement account matches the second session initiation agreement account.
基於上述,本揭露的身分認證方法與身分認證系統可由用戶裝置取得儲存裝置所儲存的會話啟動協定帳號,伺服器可比對此會話啟動協定帳號與第二會話啟動協定帳號以決定用戶裝置是否通過身分認證,增加了用戶使用的安全性與便利性。Based on the above, in the identity authentication method and the identity authentication system of the present disclosure, the user device can obtain the session activation agreement account stored in the storage device, and the server can compare the session activation agreement account with the second session activation agreement account to determine whether the user device passes the identity Authentication increases the safety and convenience of users.
為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present disclosure more obvious and easy to understand, the following embodiments are given and described in detail in conjunction with the accompanying drawings as follows.
圖1是根據本揭露的一實施例繪示一種身分認證系統100的示意圖。身分認證系統100可包括儲存裝置110、用戶裝置120、第一伺服器130以及第二伺服器140。FIG. 1 is a schematic diagram illustrating an
儲存裝置110例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合。在本實施例中,儲存裝置110可儲存第一會話啟動協定帳號(session initiation protocol,SIP)。第一會話啟動協定帳號可以是互聯網語音協議的帳號。The
用戶裝置120可具有處理單元(例如:處理器但不限於此)、通訊單元(例如:各類通訊晶片、行動通訊晶片、藍芽晶片、WiFi晶片等但不限於此)及儲存單元(例如:可移動隨機存取記憶體、快閃記憶體、硬碟等但不限於此)等運行用戶設備120的必要構件。用戶設備120可包括例如桌上型電腦、筆記型電腦、個人數位助理(personal digital assistant,PDA)、智慧型手機或精簡型終端(thin client)等具備IP位址或連網功能的設備。用戶裝置120可通訊連接至儲存裝置110以及第一伺服器130。The
第一伺服器130可具有處理單元(例如:處理器但不限於此)、通訊單元(例如:各類通訊晶片、行動通訊晶片、藍芽晶片、WiFi晶片等但不限於此)及儲存單元(例如:可移動隨機存取記憶體、快閃記憶體、硬碟等但不限於此)等運行第一伺服器130的必要構件。第一伺服器130可包括例如移動台、高級移動台(advanced mobile station,AMS)、客戶端、桌上型電腦、筆記型電腦、個人數位助理或工作站等具備IP位址或連網功能的設備。第一伺服器130可通訊連接至用戶裝置120以及第二伺服器140。The
第二伺服器140可具有處理單元(例如:處理器但不限於此)、通訊單元(例如:各類通訊晶片、行動通訊晶片、藍芽晶片、WiFi晶片等但不限於此)及儲存單元(例如:可移動隨機存取記憶體、快閃記憶體、硬碟等但不限於此)等運行第二伺服器140的必要構件。第二伺服器140可包括例如移動台、高級移動台、客戶端、桌上型電腦、筆記型電腦、個人數位助理或工作站等具備IP位址或連網功能的設備。第二伺服器140可通訊連接至第一伺服器130。The
圖2是根據本揭露的一實施例繪示一種決定用戶裝置是否通過身分認證的信令圖。在步驟S201中,用戶裝置120可自儲存裝置110取得第一會話啟動協定帳號。FIG. 2 is a signaling diagram for determining whether a user equipment passes identity authentication according to an embodiment of the present disclosure. In step S201 , the
在步驟S202中,用戶裝置120和第一伺服器130可建立用戶裝置120和第一伺服器130之間的傳輸層通道。具體來說,用戶裝置120可向第一伺服器130傳送訊息以向第一伺服器130請求建立安全資料傳輸層(Secure Sockets Layer,SSL)連線,其中安全資料傳輸層連線可包含傳輸層通道。In step S202 , the
在步驟S203中,第一伺服器130可響應於安全資料傳輸層連線的建立而傳送伺服器憑證給用戶裝置120。In step S203, the
在步驟S204中,用戶裝置120可查驗伺服器憑證。舉例來說,用戶裝置120可預存參考伺服器憑證。用戶裝置120可響應於伺服器憑證與預存的參考伺服器憑證匹配而判斷第一伺服器130通過驗證。In step S204, the
在步驟S205中,第一伺服器130可在傳送伺服器憑證給用戶裝置120後,發送訊息給用戶裝置120以請求用戶裝置120傳送包含第一會話啟動協定帳號的用戶憑證給第一伺服器130。In step S205 , after sending the server certificate to the
在步驟S206中,用戶裝置120可響應於接收到第一伺服器130的請求而通過安全資料傳輸層連線的傳輸層通道傳送包含第一會話啟動協定帳號的用戶憑證至第一伺服器130。In step S206 , in response to receiving the request from the
在步驟S207中,第一伺服器130可查驗第一會話啟動協定帳號。舉例來說,第一伺服器130可預存參考會話啟動協定帳號。用戶裝置120可響應於用戶憑證中的第一會話啟動協定帳號與預存的參考會話啟動協定帳號而判斷用戶裝置120通過驗證。In step S207, the
在步驟S208中,用戶裝置120可傳送會話啟動協定註冊(SIP Register)給第一伺服器130以建立用戶裝置120與第一伺服器130之間的應用層通道,其中會話啟動協定註冊可包括第二會話啟動協定帳號。換句話說,第一伺服器130可通過應用層通道以自用戶裝置120取得第二會話啟動協定帳號。In step S208, the
在步驟S209中,第一伺服器130可根據第一會話啟動協定帳號與第二會話啟動協定帳號是否匹配以決定用戶裝置120是否通過身分認證。若第一會話啟動協定帳號與第二會話啟動協定帳號不匹配,則第一伺服器130可決定用戶裝置120未通過身分認證。據此,第一伺服器130可中斷用戶裝置120與第一伺服器130之間的應用層通道。若第一會話啟動協定帳號與第二會話啟動協定帳號匹配,第一伺服器130可繼續進行後續的步驟以決定用戶裝置120是否通過身分認證。In step S209, the
在一實施例中,第二伺服器140可儲存第二會話啟動協定帳號的憑證狀態。例如,憑證狀態可以是「憑證未逾期」或是「憑證已逾期」。在步驟S210中,第一伺服器130可向第二伺服器140查詢第二會話啟動協定帳號的憑證狀態。In one embodiment, the
在步驟S211中,第二伺服器140可傳送第二會話啟動協定帳號的憑證狀態給第一伺服器130。In step S211 , the
在步驟S212中,第一伺服器130可根據憑證狀態是否為有效的以決定用戶裝置120是否通過身分認證。例如,若憑證狀態是「憑證已逾期」,則第一伺服器130可決定用戶裝置120未通過身分認證,並可中斷第一伺服器130與用戶裝置120之間的連線。若第一伺服器130決定用戶裝置120未通過身分認證,第一伺服器130可中斷第一伺服器130與用戶裝置120之間的傳輸層及應用層通道。若憑證狀態是「憑證未逾期」,則第一伺服器130可繼續進行後續的步驟以決定用戶裝置120是否通過身分認證。In step S212, the
在一實施例中,第一伺服器130可預存第三會話啟動協定帳號。在步驟S213中,第一伺服器130可根據第二會話啟動協定帳號與第三會話啟動協定帳號是否匹配以決定用戶裝置120是否通過身分認證。若第二會話啟動協定帳號與第三會話啟動協定帳號不匹配,則第一伺服器130可決定用戶裝置120未通過身分認證。據此,第一伺服器130可中斷第一伺服器130與用戶裝置120之間的傳輸層及應用層通道。若第二會話啟動協定帳號與第三會話啟動協定帳號匹配,則第一伺服器130可繼續進行後續的步驟以決定用戶裝置120是否通過身分認證。In one embodiment, the
在步驟S214中,第一伺服器130可響應於接收到會話啟動協定註冊而產生隨機數(nonce)。In step S214, the
在步驟S215中,第一伺服器130可傳送會話啟動協定碼401(SIP Code 401)給用戶裝置120,其中會話啟動協定碼401可包括隨機數。In step S215, the
在步驟S216中,用戶裝置120可根據隨機數產生數位簽章。In step S216, the
在步驟S217中,用戶裝置120可將數位簽章傳送給第一伺服器130。In step S217 , the
在步驟S218中,第一伺服器130可根據隨機數和第二會話啟動協定帳號判斷所述數位簽章是否正確,從而決定用戶裝置120是否通過身分認證。若數位簽章是錯誤的,則第一伺服器130可判斷用戶裝置120未通過身分認證。據此,第一伺服器130可中斷第一伺服器130與用戶裝置120之間的傳輸層及應用層通道。若數位簽章是正確的,則第一伺服器130可基於第一會話啟動協定帳號與第二會話啟動協定帳號匹配、第二會話啟動協定帳號的憑證狀態為「憑證未逾期」、第二會話啟動協定帳號與第三會話啟動協定帳號匹配以及數位簽章是正確的來決定用戶裝置120通過身分認證。In step S218, the
在步驟S219中,第一伺服器130可傳送會話啟動協定碼200(SIP code 200)給用戶裝置120,以通知用戶裝置120其已通過身分認證。In step S219, the
值得注意的是,「步驟S209」、「步驟S210~S212」、「步驟S213」以及「步驟S214~S218」等多個步驟可同時執行或可由使用者根據需求而調整該些步驟的順序,本揭露不限於此。It is worth noting that multiple steps such as "step S209", "steps S210-S212", "step S213", and "steps S214-S218" can be executed simultaneously or the order of these steps can be adjusted by the user according to requirements. The disclosure is not limited to this.
圖3是根據本揭露的一實施例繪示一種身分認證方法的流程圖,其中身分認證方法可由如圖1所示的身分認證系統100實施。FIG. 3 is a flowchart illustrating an identity authentication method according to an embodiment of the present disclosure, wherein the identity authentication method can be implemented by the
在步驟S301中,由儲存裝置儲存第一會話啟動協定帳號,並且由用戶裝置自儲存裝置取得第一會話啟動協定帳號。In step S301, the storage device stores the first session initiation agreement account, and the user device obtains the first session initiation agreement account from the storage device.
在步驟S302中,由用戶裝置和第一伺服器建立用戶裝置和第一伺服器之間的傳輸層通道。In step S302, a transport layer channel between the user device and the first server is established by the user device and the first server.
在步驟S303中,由第一伺服器通過傳輸層通道以自用戶裝置取得第一會話啟動協定帳號。In step S303, the first server obtains the first session activation agreement account from the user device through the transport layer channel.
在步驟S304中,由用戶裝置和第一伺服器建立用戶裝置和第一伺服器之間的應用層通道。In step S304, an application layer channel between the user device and the first server is established by the user device and the first server.
在步驟S305中,由第一伺服器通過應用層通道以自用戶裝置取得第二會話啟動協定帳號。In step S305, the first server obtains the second session activation agreement account from the user device through the application layer channel.
在步驟S306中,由第一伺服器根據第一會話啟動協定帳號與第二會話啟動協定帳號是否匹配以決定用戶裝置是否通過身分認證。In step S306, the first server determines whether the user device has passed the identity authentication according to whether the first session activation agreement account matches the second session activation agreement account.
綜上所述,本揭露的身分認證方法與身分認證系統可由用戶裝置取得儲存裝置所儲存的會話啟動協定帳號。用戶裝置可分別通過傳輸層通道和應用層通道將會話啟動協定帳號傳送給伺服器。伺服器可比對分別通過傳輸層通道和應用層通道所接收的兩個會話啟動協定帳號是否匹配,並且根據匹配結果以決定用戶裝置是否通過身分認證。除此之外,伺服器還可與第二伺服器確認會話啟動協定帳號的憑證狀態,身分認證的安全性更能有效提升。To sum up, the identity authentication method and the identity authentication system of the present disclosure can allow the user device to obtain the session activation agreement account stored in the storage device. The user device can transmit the session initiation protocol account to the server through the transport layer channel and the application layer channel, respectively. The server can compare whether the two session initiation agreement accounts received through the transport layer channel and the application layer channel respectively match, and determine whether the user device has passed the identity authentication according to the matching result. In addition, the server can also confirm the certificate status of the session activation agreement account with the second server, and the security of the identity authentication can be effectively improved.
雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露,任何所屬技術領域中具有通常知識者,在不脫離本揭露的精神和範圍內,當可作些許的更動與潤飾,故本揭露的保護範圍當視後附的申請專利範圍所界定者為準。Although the present disclosure has been disclosed above with examples, it is not intended to limit the present disclosure. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present disclosure. The scope of protection of the present disclosure shall be determined by the scope of the appended patent application.
100:身分認證系統 110:儲存裝置 120:用戶裝置 130:第一伺服器 140:第二伺服器 S201、S202、S203、S204、S205、S206、S207、S208、S209、S210、S211、S212、S213、S214、S215、S216、S217、S218、S219、S301、S302、S303、S304、S305、S306:步驟 100: Identity Authentication System 110: Storage device 120: User device 130: First server 140: Second server S201, S202, S203, S204, S205, S206, S207, S208, S209, S210, S211, S212, S213, S214, S215, S216, S217, S218, S219, S301, S302, S303, S304, S305, S306: step
圖1是根據本揭露的一實施例繪示一種身分認證系統的示意圖。 圖2是根據本揭露的一實施例繪示一種決定用戶裝置是否通過身分認證的信令圖。 圖3是根據本揭露的一實施例繪示一種身分認證方法的流程圖。 FIG. 1 is a schematic diagram illustrating an identity authentication system according to an embodiment of the present disclosure. FIG. 2 is a signaling diagram for determining whether a user equipment passes identity authentication according to an embodiment of the present disclosure. FIG. 3 is a flowchart illustrating an identity authentication method according to an embodiment of the present disclosure.
100:身分認證系統 100: Identity Authentication System
110:儲存裝置 110: Storage device
120:用戶裝置 120: User device
130:第一伺服器 130: First server
140:第二伺服器 140: Second server
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109144061A TWI763176B (en) | 2020-12-14 | 2020-12-14 | System and method for identity authentication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109144061A TWI763176B (en) | 2020-12-14 | 2020-12-14 | System and method for identity authentication |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI763176B true TWI763176B (en) | 2022-05-01 |
TW202223695A TW202223695A (en) | 2022-06-16 |
Family
ID=82593966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109144061A TWI763176B (en) | 2020-12-14 | 2020-12-14 | System and method for identity authentication |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI763176B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102197398A (en) * | 2008-06-25 | 2011-09-21 | 斯坦卡特·恩佐 | Multifunction apparatus for telecommunications |
US20150371215A1 (en) * | 2002-10-01 | 2015-12-24 | Andrew H B Zhou | Systems and methods for mobile application, wearable application, transactional messaging, calling, digital multimedia capture and payment transactions |
CN105516070A (en) * | 2014-09-30 | 2016-04-20 | 华为技术有限公司 | Authentication credential replacing method and authentication credential replacing device |
CN106899969A (en) * | 2017-01-18 | 2017-06-27 | 东南大学常州研究院 | Specific secrecy terminal system implementation method based on iOS system |
-
2020
- 2020-12-14 TW TW109144061A patent/TWI763176B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150371215A1 (en) * | 2002-10-01 | 2015-12-24 | Andrew H B Zhou | Systems and methods for mobile application, wearable application, transactional messaging, calling, digital multimedia capture and payment transactions |
CN102197398A (en) * | 2008-06-25 | 2011-09-21 | 斯坦卡特·恩佐 | Multifunction apparatus for telecommunications |
CN105516070A (en) * | 2014-09-30 | 2016-04-20 | 华为技术有限公司 | Authentication credential replacing method and authentication credential replacing device |
CN106899969A (en) * | 2017-01-18 | 2017-06-27 | 东南大学常州研究院 | Specific secrecy terminal system implementation method based on iOS system |
Also Published As
Publication number | Publication date |
---|---|
TW202223695A (en) | 2022-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11510054B2 (en) | Methods, apparatuses, and computer program products for performing identification and authentication by linking mobile device biometric confirmation with third-party mobile device account association | |
US9413758B2 (en) | Communication session transfer between devices | |
CN102201915B (en) | Terminal authentication method and device based on single sign-on | |
US9130935B2 (en) | System and method for providing access credentials | |
EP2713546B1 (en) | Method and apparatuses for establishing a data transmission via sip | |
US10594695B2 (en) | Authentication arrangement | |
US8893244B2 (en) | Application-based credential management for multifactor authentication | |
US20100197293A1 (en) | Remote computer access authentication using a mobile device | |
WO2017025006A1 (en) | Wireless network logon method and apparatus | |
WO2017016252A1 (en) | Token generation and authentication method, and authentication server | |
US20080010673A1 (en) | System, apparatus, and method for user authentication | |
WO2016078419A1 (en) | Open authorization method, device and open platform | |
WO2015196908A1 (en) | Service processing method, terminal, server and system | |
KR102645768B1 (en) | System for managing multiple identity and method thereof | |
WO2009089764A1 (en) | A system and method of secure network authentication | |
WO2016054990A1 (en) | Security check method, device, terminal and server | |
US20180343309A1 (en) | Migrating sessions using a private cloud - cloud technology | |
US11575667B1 (en) | System and method for secure communications | |
US20180331886A1 (en) | Systems and methods for maintaining communication links | |
US11689923B2 (en) | Method and system for generating a secure one-time passcode using strong authentication | |
US10320920B2 (en) | Automatic migration of communication sessions using a private cloud-cloud technology | |
TWI763176B (en) | System and method for identity authentication | |
CN114500074B (en) | Single-point system security access method and device and related equipment | |
US11943349B2 (en) | Authentication through secure sharing of digital secrets previously established between devices | |
WO2019184206A1 (en) | Identity authentication method and apparatus |