TWI585703B - One-time certification generating device and one-time certification generating method - Google Patents

One-time certification generating device and one-time certification generating method Download PDF

Info

Publication number
TWI585703B
TWI585703B TW101134193A TW101134193A TWI585703B TW I585703 B TWI585703 B TW I585703B TW 101134193 A TW101134193 A TW 101134193A TW 101134193 A TW101134193 A TW 101134193A TW I585703 B TWI585703 B TW I585703B
Authority
TW
Taiwan
Prior art keywords
time
service system
account
voucher
application service
Prior art date
Application number
TW101134193A
Other languages
Chinese (zh)
Other versions
TW201413612A (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 TW101134193A priority Critical patent/TWI585703B/en
Publication of TW201413612A publication Critical patent/TW201413612A/en
Application granted granted Critical
Publication of TWI585703B publication Critical patent/TWI585703B/en

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

一次性憑證產生裝置以及一次性憑證產生方法 One-time voucher generating device and one-time voucher generating method

本發明係有關憑證的產生與使用,且尤有關於一次性憑證的認證、授權與計費。 The present invention relates to the generation and use of credentials, and more particularly to authentication, authorization and billing of one-time credentials.

隨著超商的服務越來越多元化,消費者至超商除了購買商品外,還可透過授權機制享有店家提供的服務,例如無線上網等。 As the services of super-business are more and more diversified, in addition to purchasing goods, consumers to super-business can also enjoy the services provided by the store through the authorization mechanism, such as wireless Internet access.

目前有提供授權服務的店家,主要的提供方式為使用者先購買點數卡,或是需要申請帳號才能使用該服務。此種方式不僅需要大量製作點數卡,或是需要特地開發可辨識點數卡真偽的裝置,如此增加了兌換點數的實施成本。況且,消費者可能只是臨時地需要某項服務,且使用的時間可能不長,大費周章地申請帳號或是購買點數,甚為不便。 At present, there are stores that provide authorized services. The main way to provide them is to purchase a credit card first, or to apply for an account to use the service. This method not only requires a large number of point cards, but also needs to specially develop a device that can recognize the authenticity of the point card, thus increasing the implementation cost of the number of redemption points. Moreover, consumers may only need a service temporarily, and the time of use may not be long. It is very inconvenient to apply for an account or purchase points.

因此,一種提供方便授權服務的機制是有其必要的,以提供即時性的授權認證服務。 Therefore, a mechanism for providing convenient authorization services is necessary to provide an instant authorization authentication service.

有鑑於上述問題,本發明提供一種一次性憑證產生裝置與一次性憑證產生方法,可在消費者購物結帳的同時,產生與額外服務有關的憑證,此憑證包括使用服務所需的認證、授權與計費資訊,而不需要另外申請帳號或是購買點數卡。 In view of the above problems, the present invention provides a one-time voucher generating apparatus and a one-time voucher generating method, which can generate a voucher related to an additional service, including the authentication and authorization required to use the service, while the consumer checks the bill. With billing information, you don't need to apply for an account or purchase a credit card.

本發明之一目的係在提供一種一次性憑證產生裝置,該一次性憑證產生裝置包括:一輸入單元、一中央處理單元、以及一輸出單元。該輸入單元用以擷取一消費憑據;該中央處理單元耦接於該輸入單元,該中央處理單元用以根據該消費憑據產 生一個一次性憑證;該輸出單元耦接於該中央處理單元,該輸出單元傳送該一次性憑證至一應用服務系統,以供該應用服務系統根據該一次性憑證提供與服務有關的認證、授權與計費機制。 It is an object of the present invention to provide a one-time voucher generating device comprising: an input unit, a central processing unit, and an output unit. The input unit is configured to capture a consumption certificate; the central processing unit is coupled to the input unit, and the central processing unit is configured to generate the consumption certificate according to the Generating a one-time credential; the output unit is coupled to the central processing unit, and the output unit transmits the one-time credential to an application service system for the application service system to provide service-related authentication and authorization according to the one-time credential With a billing mechanism.

本發明之另一目的係在提供一種一次性憑證產生方法,包括:由一輸入單元擷取一消費憑據;由一中央處理單元根據該消費憑據產生一個一次性憑證;由一輸出單元傳送該一次性憑證至一應用服務系統;由該應用服務系統判斷是否接收到一認證請求;若該應用服務系統判斷接收到該認證請求,則該應用服務系統判斷該認證請求的一帳號與一密碼是否正確;以及若該應用服務系統判斷該帳號與該密碼正確,則授權該帳號使用服務。 Another object of the present invention is to provide a method for generating a one-time voucher, comprising: extracting a consumption credential by an input unit; generating a one-time voucher according to the consumption credential by a central processing unit; transmitting the one-time voucher by an output unit; Sexual credential to an application service system; determining, by the application service system, whether an authentication request is received; if the application service system determines that the authentication request is received, the application service system determines whether an account and a password of the authentication request are correct And if the application service system determines that the account and the password are correct, authorize the account to use the service.

藉由本發明的一次性憑證產生裝置以及一次性憑證產生方法可適用於任何消費型電子裝置,對消費者提供一次性的授權服務,不僅可省去消費者申請帳號的繁瑣步驟,更可節省製作與辨識點數卡的成本。 The one-time voucher generation device and the one-time voucher generation method of the present invention can be applied to any consumer electronic device, and provide a one-time authorization service for the consumer, which not only saves the cumbersome steps for the consumer to apply for the account, but also saves the production. The cost of the card with the number of points identified.

為進一步說明各實施例,本發明乃提供有圖式。此些圖式乃為本發明揭露內容之一部分,其主要係用以說明實施例,並可配合說明書之相關描述來解釋實施例的運作原理。配合參考這些內容,本領域具有通常知識者應能理解其他可能的實施方式以及本發明之優點。圖中的元件並未按比例繪製,而類似的元件符號通常用來表示類似的元件。 To further illustrate the various embodiments, the invention is provided with the drawings. The drawings are a part of the disclosure of the present invention, and are mainly used to explain the embodiments, and the operation of the embodiments may be explained in conjunction with the related description of the specification. With reference to such content, those of ordinary skill in the art should be able to understand other possible embodiments and advantages of the present invention. Elements in the figures are not drawn to scale, and similar elements are generally used to represent similar elements.

首先請參考第1A圖,其顯示依據本發明一實施例之一次性憑證產生裝置之功能方塊圖。如第1A圖所示,一次性憑證產生裝置1分別與一收銀機3以及一應用服務系統4耦接,一次性憑證產生裝置1與收銀機3以及應用服務系統4之間的訊 號傳輸可為有線或無線訊號傳輸,無線訊號傳輸包括但不限於紅外線、藍芽、網路等。一次性憑證產生裝置1與收銀機3以及應用服務系統4可同時設置於一商店,收銀機3可產生一紙本發票、電子發票或消費存根之類的收據。此外,各商店的應用服務系統4可互相連線。 Referring first to FIG. 1A, a functional block diagram of a one-time voucher generating apparatus in accordance with an embodiment of the present invention is shown. As shown in FIG. 1A, the one-time voucher generating device 1 is coupled to a cash register 3 and an application service system 4, respectively, and between the one-time voucher generating device 1 and the cash register 3 and the application service system 4. The number transmission can be wired or wireless signal transmission, and the wireless signal transmission includes but is not limited to infrared, Bluetooth, network, and the like. The one-time voucher generating device 1 and the cash register 3 and the application service system 4 can be simultaneously disposed in a store, and the cash register 3 can generate a receipt such as a paper invoice, an electronic invoice or a consumption stub. Further, the application service systems 4 of the respective stores can be connected to each other.

請參考第1B圖,其顯示依據本發明一實施例之一消費憑據與一次性憑證的轉換示意圖。如第1B圖所示,一般來說,無論收據是紙本發票或是電子發票,消費憑據12皆包括一發票號碼121、一發票隨機碼123、以及一消費金額125等,其中發票號碼121為一獨一無二的序號,發票隨機碼123為收銀機3隨機產生的四位數序號。 Please refer to FIG. 1B, which shows a schematic diagram of conversion of consumption credentials and one-time credentials according to an embodiment of the present invention. As shown in FIG. 1B, in general, whether the receipt is a paper invoice or an electronic invoice, the consumption credential 12 includes an invoice number 121, an invoice random code 123, and a consumption amount 125, wherein the invoice number 121 is A unique serial number, the invoice random code 123 is a four-digit serial number randomly generated by the cash register 3.

一次性憑證產生裝置1接收消費憑據12後,將消費憑據12中的發票號碼121、發票隨機碼123以及消費金額125轉換為一次性憑證14,此一次性憑證14包括一帳號141、一密碼143、以及一服務期間145。根據一實施例,一次性憑證產生裝置1將消費憑據12中的發票號碼121轉換為一次性憑證14的帳號141,將消費憑據12中的發票隨機碼123轉換為一次性憑證14的密碼143,將消費憑據12中的消費金額125轉換為一次性憑證14的服務期間145,其中消費金額125與服務期間125的換算可由一關係式子表示,例如T=f(消費金額),T表示服務期間125,f表示轉換函數。此外,一次性憑證產生裝置1根據消費憑據12的產生時間或是接收消費憑據12的時間設定一使用期限147,舉例來說,使用期限為消費憑據12產生時間或是接收到消費憑據12時的之後3小時、3天或3個月,然不限於此。 After receiving the consumption credential 12, the one-time voucher generating device 1 converts the invoice number 121, the invoice random code 123, and the consumption amount 125 in the consumption credential 12 into a one-time voucher 14 including an account number 141 and a password 143. And a service period of 145. According to an embodiment, the one-time voucher generating apparatus 1 converts the invoice number 121 in the consumption credential 12 into the account number 141 of the one-time voucher 14 and converts the invoice random code 123 in the consumption credential 12 into the password 143 of the one-time voucher 14. The consumption amount 125 in the consumption credential 12 is converted into the service period 145 of the one-time voucher 14, wherein the conversion of the consumption amount 125 and the service period 125 can be represented by a relational expression, such as T=f (consumption amount), and T represents the service period. 125, f represents a conversion function. In addition, the one-time voucher generating apparatus 1 sets a usage period 147 according to the generation time of the consumption credential 12 or the time of receiving the consumption credential 12, for example, the usage period is the time when the consumption credential 12 is generated or the consumption credential 12 is received. After 3 hours, 3 days or 3 months, it is not limited to this.

根據一實施例,一次性憑證產生裝置1包括一中央處理單元100、一輸入單元101、一記憶單元103、以及一輸出單元105,其中輸入單元101、記憶單元103、以及輸出單元105分別耦 接於中央處理單元100。輸入單元101用以擷取來自收銀機3的消費憑據12,中央處理單元100用以根據消費憑據12產生一個一次性憑證14,輸出單元105傳送一次性憑證14至應用服務系統4,以提供應用服務系統4根據一次性憑證14執行與服務有關的認證、授權與計費機制。而記憶單元103則用以儲存中央處理單元100的執行程式,包括轉換函數f。 According to an embodiment, the one-time certificate generating apparatus 1 includes a central processing unit 100, an input unit 101, a memory unit 103, and an output unit 105, wherein the input unit 101, the memory unit 103, and the output unit 105 are respectively coupled. Connected to the central processing unit 100. The input unit 101 is configured to retrieve the consumption credential 12 from the cash register 3, the central processing unit 100 is configured to generate a one-time credential 14 according to the consumption credential 12, and the output unit 105 transmits the one-time credential 14 to the application service system 4 to provide an application. The service system 4 performs a service-related authentication, authorization, and charging mechanism in accordance with the one-time voucher 14. The memory unit 103 is used to store the execution program of the central processing unit 100, including the conversion function f.

若收銀機3產生的收據為紙本發票,輸入單元101可包括影像辨識單元,以影像辨識方式辨識紙本發票上的發票號碼121、發票隨機碼123與消費金額500。若收銀機3產生的收據為電子發票,則輸入單元101可透過有線或無線傳輸接收以數位訊號形式傳輸的消費憑據12。 If the receipt generated by the cash register 3 is a paper invoice, the input unit 101 may include an image recognition unit that recognizes the invoice number 121, the invoice random code 123, and the consumption amount 500 on the paper invoice in an image recognition manner. If the receipt generated by the cash register 3 is an electronic invoice, the input unit 101 can receive the consumption credential 12 transmitted in the form of a digital signal through wired or wireless transmission.

中央處理單元100將消費憑據12中的發票號碼121、發票隨機碼123、以及消費金額125分別對應地轉換為一次性憑證14的帳號141、密碼143、以及服務期間145,並根據輸入單元101擷取消費憑據12的時間或是消費憑據12的產生時間設定一次性憑證14的使用期限147。中央處理單元100可將同一時間接收到的帳號141、密碼143、服務期間145、以及使用期限147產生關聯後形成一組一次性憑證14。此外,中央處理單元100將一次性憑證14傳送至應用服務系統4,並將一次性憑證14儲存於記憶單元103。 The central processing unit 100 correspondingly converts the invoice number 121, the invoice random code 123, and the consumption amount 125 in the consumption credential 12 into the account number 141, the password 143, and the service period 145 of the one-time voucher 14 respectively, and according to the input unit 101撷The time limit 147 of the one-time voucher 14 is set by the time when the fee voucher 12 is cancelled or the time of generation of the voucher 12 is set. The central processing unit 100 may associate the account 141, the password 143, the service period 145, and the usage period 147 received at the same time to form a set of one-time credentials 14. Further, the central processing unit 100 transmits the one-time voucher 14 to the application service system 4 and stores the one-time voucher 14 to the memory unit 103.

應用服務系統4接收一次性憑證14後,將一次性憑證14儲存於一資料庫(圖未示),並在儲存成功後傳送一接收確認訊號至一次性憑證產生裝置1。中央控制單元100藉由是否接收到該接收確認訊號來判斷輸出單元105是否傳送成功。根據一實施例,中央處理單元100判斷在一預設時間內是否接收到來自應用服務系統4的接收確認訊號,若中央處理單元100在該預設時間內未收到接收確認訊號,則將儲存於記憶單元103的一次性憑證14透過輸出單元105重新傳輸至應用服務系統4。 若中央處理單元100在該預設時間內收到接收確認訊號,則中央處理單元100控制一次性憑證產生裝置1操作在待機狀態,直到下次擷取到另一消費憑據時喚醒。 After receiving the one-time voucher 14, the application service system 4 stores the one-time voucher 14 in a database (not shown), and transmits a receiving confirmation signal to the one-time voucher generating device 1 after the storage is successful. The central control unit 100 determines whether the output unit 105 is successfully transmitted by receiving the reception confirmation signal. According to an embodiment, the central processing unit 100 determines whether a receiving confirmation signal from the application service system 4 is received within a preset time. If the central processing unit 100 does not receive the receiving confirmation signal within the preset time, it will store The one-time voucher 14 of the memory unit 103 is retransmitted to the application service system 4 via the output unit 105. If the central processing unit 100 receives the reception confirmation signal within the preset time, the central processing unit 100 controls the one-time certificate generation device 1 to operate in the standby state until the next time the other consumption credentials are retrieved.

一旦應用服務系統4儲存了一次性憑證14,應用服務系統4即可接受來自使用者(發票持有者)的一認證請求,其中該認證請求包括帳號與密碼。於是,使用者只要持有或是知道與一次性憑證14對應的消費憑據,也就是得知與一次性憑證14的帳號141與密碼143對應的發票號碼121與發票隨機碼123,便可透過消費憑據12通過應用服務系統4的認證、授權與計費。 Once the application service system 4 stores the one-time voucher 14, the application service system 4 can accept an authentication request from the user (invoice holder), wherein the authentication request includes an account number and a password. Therefore, the user can hold or know the consumption credential corresponding to the one-time voucher 14, that is, the invoice number 121 and the invoice random code 123 corresponding to the account number 141 and the password 143 of the one-time voucher 14 can be consumed. The credentials 12 are authenticated, authorized, and billed by the application service system 4.

更具體地說,當應用服務系統4接收到來自使用者的認證請求,應用服務系統4可將認證請求中所包含的帳號、密碼與儲存於資料庫的一次性憑證14的帳號141、密碼143比對,以判斷認證請求中所包含的帳號、密碼是否正確。若應用服務系統4判斷認證請求中所包含的帳號、密碼與一次性憑證14的帳號141、密碼143相符,則應用服務系統4判斷認證正確,且授權使用者使用服務。若應用服務系統4判斷認證請求中所包含的帳號、密碼與一次性憑證14的帳號141、密碼143不符,則應用服務系統4判斷認證不正確,且不授權此帳號141的使用者使用服務。 More specifically, when the application service system 4 receives the authentication request from the user, the application service system 4 can add the account number and password included in the authentication request to the account number 141 and password 143 of the one-time certificate 14 stored in the database. Compare to determine whether the account number and password contained in the authentication request are correct. If the application service system 4 determines that the account number and password included in the authentication request match the account number 141 and the password 143 of the one-time certificate 14, the application service system 4 determines that the authentication is correct, and authorizes the user to use the service. If the application service system 4 determines that the account number and password included in the authentication request do not match the account number 141 and the password 143 of the one-time certificate 14, the application service system 4 determines that the authentication is incorrect, and does not authorize the user of the account 141 to use the service.

根據一實施例,當店家A讀應用服務系統4判斷認證不正確時,可連線至店家B之應用服務系統,從店家B的應用服務系統的資料庫中的帳號、密碼比對店家A所接收到的一次性憑證14的帳號141、密碼143,藉此提供使用者跨店家的服務。 According to an embodiment, when the store A reading application service system 4 determines that the authentication is incorrect, the application service system can be connected to the store B, and the account number and password in the database of the application service system of the store B are compared with the store A. The account number 141 and the password 143 of the received one-time voucher 14 are used to provide the service of the user across the store.

根據一實施例,當應用服務系統4判斷認證正確時,應用服務系統4會授權一帳號141使用服務時,並同步記錄此帳號141的使用狀況,包括計數此帳號141使用服務的開始時間與 結束時間。 According to an embodiment, when the application service system 4 determines that the authentication is correct, the application service system 4 authorizes an account 141 to use the service, and synchronously records the usage status of the account 141, including counting the start time of the account 141 using the service. End Time.

根據一實施例,當應用服務系統4判斷認證正確時,應用服務系統4還進一步判斷此帳號141對應的使用期限147是否過期。若應用服務系統4判斷帳號141對應的使用期限147小於目前日期時,則判斷此帳號使用期限147已過期,則不提供此帳號141的使用者使用服務。若應用服務系統4判斷帳號141對應的使用期限147大於目前日期時,則判斷此帳號使用期限147未到期,則提供此帳號141的使用者使用服務。 According to an embodiment, when the application service system 4 determines that the authentication is correct, the application service system 4 further determines whether the usage period 147 corresponding to the account 141 is expired. If the application service system 4 determines that the usage period 147 corresponding to the account 141 is less than the current date, it is determined that the account usage period 147 has expired, and the user of the account 141 is not provided to use the service. If the application service system 4 determines that the usage period 147 corresponding to the account 141 is greater than the current date, it is determined that the account usage period 147 has not expired, and the user of the account 141 is provided to use the service.

根據一實施例,當應用服務系統4判斷認證正確時,應用服務系統4還進一步判斷此帳號141使用服務的時間是否已經屆滿。若應用服務系統4判斷此帳號141累計的使用服務期間大於對應的服務期間145,則停止提供服務。若應用服務系統4判斷此帳號141累計的使用服務期間小於對應的服務期間145,則繼續提供服務,並持續累計此帳號141的使用時間。 According to an embodiment, when the application service system 4 determines that the authentication is correct, the application service system 4 further determines whether the time when the account 141 uses the service has expired. If the application service system 4 judges that the usage service period accumulated by the account 141 is greater than the corresponding service period 145, the service is stopped. If the application service system 4 determines that the usage service period accumulated by the account 141 is less than the corresponding service period 145, the service is continued, and the usage time of the account 141 is continuously accumulated.

簡單來說,配合參考第1A至1B圖,第2圖顯示依據本發明一實施例之一次性憑證產生方法之流程圖。如第2圖所示,首先,一次性憑證產生裝置1從收銀機3擷取一消費憑據12(步驟S201),消費憑據12包括一發票號碼121、一發票隨機碼123、以及一消費金額125。接著,一次性憑證產生裝置1根據消費憑據12產生一個一次性憑證14(步驟S203),一次性憑證14包括一帳號141、一密碼143、一服務期間145、以及一使用期限147,其中一次性憑證產生裝置1將一發票號碼121轉換為帳號141,將發票隨機碼123轉換為密碼143,將消費金額125轉換為服務期間145,以及根據消費憑據12的擷取時間設定使用期限147。 Briefly, with reference to Figures 1A through 1B, Figure 2 shows a flow chart of a method for generating a one-time voucher in accordance with an embodiment of the present invention. As shown in FIG. 2, first, the one-time voucher generating apparatus 1 retrieves a consumption credential 12 from the cash register 3 (step S201), and the consumption credential 12 includes an invoice number 121, an invoice random code 123, and a consumption amount of 125. . Next, the one-time voucher generating device 1 generates a one-time voucher 14 based on the consumption credential 12 (step S203). The one-time voucher 14 includes an account number 141, a password 143, a service period 145, and a usage period 147, wherein one-time The voucher generating apparatus 1 converts an invoice number 121 into an account number 141, converts the invoice random code 123 into a password 143, converts the consumption amount 125 into a service period 145, and sets a usage period 147 according to the retrieval time of the consumption certificate 12.

接著,一次性憑證產生裝置1將一次性憑證14儲存並傳送至應用服務系統4(步驟S205),應用服務系統4接收一次性憑證14後,將一次性憑證14儲存於一資料庫(圖未示), 並在儲存成功後傳送一接收確認訊號至一次性憑證產生裝置1。一次性憑證產生裝置1藉由是否接收到該接收確認訊號來判斷一次性憑證14是否傳送成功(S207)。根據一實施例,一次性憑證產生裝置1判斷在一預設時間內是否接收到來自應用服務系統4的接收確認訊號,若一次性憑證產生裝置1在該預設時間內未收到接收確認訊號,則一次性憑證產生裝置1重新傳輸一次性憑證14至應用服務系統4(S205)。若一次性憑證產生裝置1在該預設時間內收到接收確認訊號,則一次性憑證產生裝置1操作在待機狀態(S209),直到下次擷取到另一消費憑據時喚醒。 Then, the one-time voucher generating device 1 stores and transmits the one-time voucher 14 to the application service system 4 (step S205). After the application service system 4 receives the one-time voucher 14, the one-time voucher 14 is stored in a database (not shown). Show), And after receiving the success, a confirmation message is transmitted to the one-time certificate generating device 1. The one-time voucher generating device 1 judges whether or not the one-time voucher 14 is successfully transmitted by receiving the reception confirmation signal (S207). According to an embodiment, the one-time voucher generating device 1 determines whether a receiving confirmation signal from the application service system 4 is received within a preset time, and if the one-time voucher generating device 1 does not receive the receiving confirmation signal within the preset time. Then, the one-time voucher generating apparatus 1 retransmits the one-time voucher 14 to the application service system 4 (S205). If the one-time voucher generating apparatus 1 receives the reception confirmation signal within the preset time, the one-time voucher generating apparatus 1 operates in the standby state (S209) until the next time the other consumption credential is retrieved.

接著,應用服務系統4等待來自使用者(發票持有者)的一認證請求,也就是說,應用服務系統4判斷是否接收到來自使用者的認證請求(步驟S211),其中該認證請求包括帳號與密碼。若應用服務系統4接收到來自使用者的認證請求,應用服務系統4可將認證請求中所包含的帳號、密碼與儲存於資料庫的一次性憑證14的帳號141、密碼143比對,以判斷認證請求中所包含的帳號、密碼是否正確(步驟S213)。若應用服務系統4判斷認證請求中所包含的帳號、密碼與一次性憑證14的帳號141、密碼143不符,則應用服務系統4判斷認證不正確,且不授權此帳號141的使用者使用服務。 Next, the application service system 4 waits for an authentication request from the user (invoice holder), that is, the application service system 4 determines whether an authentication request from the user is received (step S211), wherein the authentication request includes an account number. With password. If the application service system 4 receives the authentication request from the user, the application service system 4 can compare the account number and password included in the authentication request with the account number 141 and the password 143 of the one-time certificate 14 stored in the database to determine Whether the account number and password included in the authentication request are correct (step S213). If the application service system 4 determines that the account number and password included in the authentication request do not match the account number 141 and the password 143 of the one-time certificate 14, the application service system 4 determines that the authentication is incorrect, and does not authorize the user of the account 141 to use the service.

若應用服務系統4判斷認證請求中所包含的帳號、密碼與一次性憑證14的帳號141、密碼143相符,則應用服務系統4判斷認證正確,之後,應用服務系統4進一步判斷此帳號141對應的使用期限147是否過期(步驟S215)。若應用服務系統4判斷帳號141對應的使用期限147小於目前日期時,則判斷此帳號使用期限147已過期,則不提供此帳號141的使用者使用服務。若應用服務系統4判斷帳號141對應的使用期限147大於目前日期時,則判斷此帳號使用期限147未到期,則授權 此帳號141的使用者使用服務(步驟S217)。 If the application service system 4 determines that the account number and password included in the authentication request match the account number 141 and the password 143 of the one-time certificate 14, the application service system 4 determines that the authentication is correct, and then the application service system 4 further determines that the account 141 corresponds to Whether the usage period 147 has expired (step S215). If the application service system 4 determines that the usage period 147 corresponding to the account 141 is less than the current date, it is determined that the account usage period 147 has expired, and the user of the account 141 is not provided to use the service. If the application service system 4 determines that the usage period 147 corresponding to the account 141 is greater than the current date, it is determined that the account usage period 147 has not expired, then the authorization is authorized. The user of this account 141 uses the service (step S217).

一次性憑證產生方法之步驟順序不限於上述之順序,亦可經由前後調換後得到相同的效果。根據一實施例,當應用服務系統4判斷認證正確時,應用服務系統4會授權一帳號141使用服務,並同步記錄此帳號141的使用狀況,包括計數此帳號141使用服務的開始時間與結束時間。當應用服務系統4判斷認證正確時,應用服務系統4還進一步判斷此帳號141使用服務的時間是否已經屆滿。若應用服務系統4判斷此帳號141累計的使用服務期間大於對應的服務期間145,則停止提供服務。若應用服務系統4判斷此帳號141累計的使用服務期間小於對應的服務期間145,則繼續提供服務,並持續累計此帳號141的使用時間。 The order of the steps of the one-time voucher generation method is not limited to the above-described order, and the same effect can be obtained by switching back and forth. According to an embodiment, when the application service system 4 determines that the authentication is correct, the application service system 4 authorizes an account 141 to use the service, and synchronously records the usage status of the account 141, including counting the start time and end time of the service 141 using the service. . When the application service system 4 determines that the authentication is correct, the application service system 4 further determines whether the time when the account 141 uses the service has expired. If the application service system 4 judges that the usage service period accumulated by the account 141 is greater than the corresponding service period 145, the service is stopped. If the application service system 4 determines that the usage service period accumulated by the account 141 is less than the corresponding service period 145, the service is continued, and the usage time of the account 141 is continuously accumulated.

綜合上述,以上實施例所述的一次性憑證產生裝置以及一次性憑證產生方法可適用於任何消費型電子裝置,其可利用簡單的組合語言、硬體或是晶片組實現,即可對消費者提供一次性的授權服務,不僅可省去消費者申請帳號的繁瑣步驟,更可節省製作與辨識點數卡的成本。 In summary, the one-time credential generating apparatus and the one-time credential generating method described in the above embodiments can be applied to any consumer electronic device, which can be implemented by a simple combined language, hardware or chipset, that is, to the consumer. Providing a one-time authorization service not only saves the cumbersome steps for consumers to apply for an account, but also saves the cost of making and identifying credit cards.

以上敍述依據本發明多個不同實施例,其中各項特徵可以單一或不同結合方式實施。因此,本發明實施方式之揭露為闡明本發明原則之具體實施例,應不拘限本發明於所揭示的實施例。進一步言之,先前敍述及其附圖僅為本發明示範之用,並不受其限囿。其他元件之變化或組合皆可能,且不悖于本發明之精神與範圍。 The above description is based on a number of different embodiments of the invention, wherein the features may be implemented in a single or different combination. Therefore, the disclosure of the embodiments of the present invention is intended to be illustrative of the embodiments of the invention. Further, the foregoing description and the accompanying drawings are merely illustrative of the invention and are not limited. Variations or combinations of other elements are possible and are not intended to limit the spirit and scope of the invention.

1‧‧‧一次性憑證產生裝置 1‧‧‧One-time certificate generating device

100‧‧‧中央處理單元 100‧‧‧Central Processing Unit

101‧‧‧輸入單元 101‧‧‧ input unit

103‧‧‧記憶單元 103‧‧‧ memory unit

105‧‧‧輸出單元 105‧‧‧Output unit

3‧‧‧收銀機 3‧‧‧ cash register

4‧‧‧應用服務系統 4‧‧‧Application Service System

12‧‧‧消費憑據 12‧‧‧ Consumption Credentials

121‧‧‧發票號碼 121‧‧‧Invoice number

123‧‧‧發票隨機碼 123‧‧‧Invoice random code

125‧‧‧消費金額 125‧‧‧ consumption amount

14‧‧‧一次性憑證 14‧‧‧One-time voucher

141‧‧‧帳號 141‧‧‧ account

143‧‧‧密碼 143‧‧‧ password

145‧‧‧服務期間 145‧‧‧Service period

147‧‧‧使用期限 147‧‧‧Usage period

S201~S217‧‧‧一次性憑證產生方法之步驟 S201~S217‧‧‧Steps for generating one-time voucher

第1A圖為依據本發明一實施例之一次性憑證產生裝置之功能方塊圖。 FIG. 1A is a functional block diagram of a one-time voucher generating apparatus according to an embodiment of the present invention.

第1B圖為依據本發明一實施例之一消費憑據與一次性憑 證的轉換示意圖。 FIG. 1B is a diagram of a consumer credential and a one-off basis according to an embodiment of the invention. Schematic diagram of the conversion of the certificate.

第2圖為依據本發明一實施例之一次性憑證產生方法之流程圖。 2 is a flow chart of a method for generating a one-time voucher according to an embodiment of the present invention.

1‧‧‧一次性憑證產生裝置 1‧‧‧One-time certificate generating device

100‧‧‧中央處理單元 100‧‧‧Central Processing Unit

101‧‧‧輸入單元 101‧‧‧ input unit

103‧‧‧記憶單元 103‧‧‧ memory unit

105‧‧‧輸出單元 105‧‧‧Output unit

3‧‧‧收銀機 3‧‧‧ cash register

4‧‧‧應用服務系統 4‧‧‧Application Service System

Claims (12)

一種一次性憑證產生裝置,該一次性憑證產生裝置包括:一輸入單元,用以擷取一消費憑據,其中該消費憑據包括一發票號碼、一發票隨機碼以及一消費金額;一中央處理單元,耦接於該輸入單元,該中央處理單元用以根據該消費憑據產生一個一次性憑證,其中該中央處理單元將該發票號碼轉換為該一次性憑證的一帳號,將該發票隨機碼轉換為該一次性憑證的一密碼,並將該消費金額轉換為該一次性憑證的一服務期間;以及一輸出單元,耦接於該中央處理單元,該輸出單元傳送該一次性憑證至一應用服務系統,以供該應用服務系統根據該一次性憑證提供與服務有關的認證、授權與計費機制,包括接收一認證請求,判斷該認證請求的帳號與密碼是否與該一次性憑證的該帳號與該密碼符合,若符合則於該服務期間提供該帳號服務。 A one-time voucher generating device, the one-time voucher generating device includes: an input unit, configured to retrieve a consumption credential, wherein the consumption credential includes an invoice number, an invoice random code, and a consumption amount; a central processing unit, The central processing unit is configured to generate a one-time voucher according to the consumption credential, wherein the central processing unit converts the invoice number into an account of the one-time voucher, and converts the invoice random code into the a password of the one-time voucher, and converting the consumption amount into a service period of the one-time voucher; and an output unit coupled to the central processing unit, the output unit transmitting the one-time voucher to an application service system, For the application service system to provide a service-related authentication, authorization, and charging mechanism according to the one-time voucher, including receiving an authentication request, determining whether the account and password of the authentication request and the account and the password of the one-time certificate Compliance, if yes, provide the account service during the service period. 如申請專利範圍第1項之一次性憑證產生裝置,其中該中央處理單元根據該輸入單元擷取該消費憑據的時間或該消費憑據的產生時間產生使用該服務的一使用期限。 The one-time voucher generating device of claim 1, wherein the central processing unit generates a use term of the service according to the time when the input unit retrieves the consumption credential or the time when the consumption credential is generated. 如申請專利範圍第1項之一次性憑證產生裝置,其中該輸入單元是以影像辨識或是數位訊號擷取該消費憑據。 The one-time credential generating device of claim 1, wherein the input unit captures the consumption credential by image recognition or digital signal. 如申請專利範圍第1項之一次性憑證產生裝置,其中該輸入單元耦接於一收銀機,該收銀機產生該消費憑據。 The one-time certificate generating device of claim 1, wherein the input unit is coupled to a cash register, and the cash register generates the consumption certificate. 一種一次性憑證產生方法,包括:由一輸入單元擷取一消費憑據,其中該消費憑據包括一發票號碼、一發票隨機碼以及一消費金額; 由一中央處理單元根據該消費憑據產生一個一次性憑證,包括:該中央處理單元將該發票號碼轉換為該一次性憑證的一帳號,將該發票隨機碼轉換為該一次性憑證的一密碼,並將該消費金額轉換為該一次性憑證的一服務期間;由一輸出單元傳送該一次性憑證至一應用服務系統;由該應用服務系統判斷是否接收到一認證請求;若該應用服務系統判斷接收到該認證請求,則該應用服務系統判斷該認證請求的帳號與密碼是否與該一次性憑證的該帳號與該密碼符合;以及若該應用服務系統判斷該認證請求的該帳號與該密碼正確,則提供該帳號於該服務期間使用服務。 A method for generating a one-time voucher includes: capturing a consumption credential by an input unit, wherein the consumption credential includes an invoice number, an invoice random code, and a consumption amount; Generating, by a central processing unit, a one-time voucher according to the consumption credential, comprising: converting, by the central processing unit, the invoice number into an account of the one-time voucher, converting the invoice random code into a password of the one-time voucher, And converting the consumption amount into a service period of the one-time voucher; transmitting the one-time voucher to an application service system by an output unit; determining, by the application service system, whether an authentication request is received; if the application service system determines Receiving the authentication request, the application service system determines whether the account and password of the authentication request are consistent with the password of the one-time certificate; and if the application service system determines that the account and the password of the authentication request are correct , the account is provided to use the service during the service. 如申請專利範圍第5項之一次性憑證產生方法,在該輸出單元傳送該一次性憑證至該應用服務系統後,該中央處理單元判斷該一次性憑證是否傳送成功。 For example, in the one-time certificate generating method of claim 5, after the output unit transmits the one-time certificate to the application service system, the central processing unit determines whether the one-time certificate is successfully transmitted. 如申請專利範圍第6項之一次性憑證產生方法,其中該中央處理單元判斷該一次性憑證是否傳送成功的步驟包括:判斷在一預設時間內是否接收到來自該應用服務系統的一接收確認訊號。 The one-time certificate generating method of claim 6, wherein the step of determining, by the central processing unit, whether the one-time certificate is successfully transmitted comprises: determining whether a receiving confirmation from the application service system is received within a preset time Signal. 如申請專利範圍第7項之一次性憑證產生方法,若該中央處理單元判斷在該預設時間內未收到該接收確認訊號,則該中央處理單元透過該輸出單元重新傳送該一次性憑證至該應用服務系統。 The method for generating a one-time certificate according to item 7 of the patent application, if the central processing unit determines that the receiving confirmation signal is not received within the preset time, the central processing unit retransmits the one-time certificate through the output unit to The application service system. 如申請專利範圍第5項之一次性憑證產生方法,還包括:由該中央處理單元根據該輸入單元擷取該消費憑據的時間或該消費憑據的產生時間產生使用該服務的一使用期限。 The one-time certificate generating method of claim 5, further comprising: generating, by the central processing unit, a time limit for using the service according to a time when the input unit retrieves the consumption credential or a time when the consumption credential is generated. 如申請專利範圍第9項之一次性憑證產生方法,其中若該應用服務系統判斷該帳號與該密碼正確後,還包括:該應用服務系統判斷該帳號的該使用期限是否過期。 The one-time certificate generating method of claim 9, wherein if the application service system determines that the account number and the password are correct, the method further comprises: the application service system determining whether the usage period of the account is expired. 如申請專利範圍第5項之一次性憑證產生方法,其中若該應用服務系統判斷該帳號與該密碼正確後,還包括:該應用服務系統判斷該帳號使用服務的時間是否屆滿該服務期間。 The method for generating a one-time certificate according to claim 5, wherein if the application service system determines that the account and the password are correct, the method further comprises: the application service system determining whether the time when the account uses the service expires during the service period. 如申請專利範圍第5項之一次性憑證產生方法,其中該消費憑據由一收銀機所產生。 The method for generating a one-time certificate according to claim 5, wherein the consumption certificate is generated by a cash register.
TW101134193A 2012-09-18 2012-09-18 One-time certification generating device and one-time certification generating method TWI585703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101134193A TWI585703B (en) 2012-09-18 2012-09-18 One-time certification generating device and one-time certification generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101134193A TWI585703B (en) 2012-09-18 2012-09-18 One-time certification generating device and one-time certification generating method

Publications (2)

Publication Number Publication Date
TW201413612A TW201413612A (en) 2014-04-01
TWI585703B true TWI585703B (en) 2017-06-01

Family

ID=55181802

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101134193A TWI585703B (en) 2012-09-18 2012-09-18 One-time certification generating device and one-time certification generating method

Country Status (1)

Country Link
TW (1) TWI585703B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797192B2 (en) * 2003-05-06 2010-09-14 International Business Machines Corporation Point-of-sale electronic receipt generation
TWI331870B (en) * 2007-01-04 2010-10-11 Kinghood Technology Co Ltd Network data security system and protection method therefore
TW201039257A (en) * 2009-04-21 2010-11-01 Hi Life Int Co Ltd Method for exchanging merchandise and system for exchanging merchandise
TW201229934A (en) * 2011-01-13 2012-07-16 jia-kun Liu An trusted transaction evidence method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797192B2 (en) * 2003-05-06 2010-09-14 International Business Machines Corporation Point-of-sale electronic receipt generation
TWI331870B (en) * 2007-01-04 2010-10-11 Kinghood Technology Co Ltd Network data security system and protection method therefore
TW201039257A (en) * 2009-04-21 2010-11-01 Hi Life Int Co Ltd Method for exchanging merchandise and system for exchanging merchandise
TW201229934A (en) * 2011-01-13 2012-07-16 jia-kun Liu An trusted transaction evidence method

Also Published As

Publication number Publication date
TW201413612A (en) 2014-04-01

Similar Documents

Publication Publication Date Title
US8166531B2 (en) Device registration system, device registration server, device registration method, device registration program, storage medium, and terminal device
TWI726955B (en) Data interaction method and device, offline credit payment method and device
CN105229683B (en) Consumer device payment token management
JP6467559B2 (en) Information processing system, information processing method, and information processing program
CN105844471B (en) A kind of method for processing business, apparatus and system
CN107038562A (en) Method of payment, charge system and the payment system of traffic block meter rate
WO2012098556A1 (en) Direct carrier billing
US20210166215A1 (en) Method for performing a contactless payment transaction
US9990167B2 (en) Mobile authentication for enabling host device functions
TW201426587A (en) System for obtaining bill and providing payment based on identification and method thereof
KR101407737B1 (en) Apparatus and Method for Processing Finance Banking Information of Smart Device Using QR Code
US11915507B2 (en) Location- and identity-referenced authentication method and communication system
TWI585703B (en) One-time certification generating device and one-time certification generating method
KR101394996B1 (en) Remittance transaction service method based on payee
CN112561533B (en) Electronic resource transfer method, internet of things terminal device, electronic device and medium
CN210691382U (en) Multifunctional payment device
TWI722333B (en) Card reading transaction system and method for operating a card reading transaction system
KR101505847B1 (en) Method for Validating Alliance Application for Payment
CN108389042B (en) Method and device for realizing auxiliary fee settlement by intelligent mobile phone
JP2010049389A (en) Electronic money management system and electronic money management method
US12008544B2 (en) Method for performing a contactless payment transaction
JP6489339B1 (en) Charge analysis system and charge analysis method
KR101165089B1 (en) Reserving apparatus for the change
WO2016027313A1 (en) System, storage medium processing device, net value account registering method and program
JP4537759B2 (en) System, information processing method, recording medium processing apparatus, recording medium processing method, and program