TWM618473U - System for checking account balance of return shop during code scanning transaction process - Google Patents

System for checking account balance of return shop during code scanning transaction process Download PDF

Info

Publication number
TWM618473U
TWM618473U TW110204872U TW110204872U TWM618473U TW M618473 U TWM618473 U TW M618473U TW 110204872 U TW110204872 U TW 110204872U TW 110204872 U TW110204872 U TW 110204872U TW M618473 U TWM618473 U TW M618473U
Authority
TW
Taiwan
Prior art keywords
transaction
message
return
account balance
code
Prior art date
Application number
TW110204872U
Other languages
Chinese (zh)
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 TW110204872U priority Critical patent/TWM618473U/en
Publication of TWM618473U publication Critical patent/TWM618473U/en

Links

Images

Landscapes

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

Abstract

一種於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其透過帳務主機在電文伺服器判斷掃碼交易為退貨時,進一步判斷被退貨之特店的帳戶餘額是否大於等於掃碼交易之交易金額,若是,則電文伺服器將掃碼交易之交易電文傳送給掃碼交易平台以完成掃碼交易,若否,則電文伺服器將拒絕交易之技術手段,可以避免被退貨之特店的帳戶餘額不足以支付退貨金額,並達成減少銀行代墊款及降低呆帳風險的技術功效。A system for checking the account balance of the returned special store during the code scanning transaction. It determines whether the account balance of the returned special store is greater than or equal to that of the code scanning transaction when the text server judges that the scanning transaction is a return through the account host The transaction amount, if it is, the message server will send the transaction message of the scan code transaction to the scan code transaction platform to complete the scan code transaction, if not, the message server will reject the technical means of the transaction, which can prevent the special store from being returned The account balance is not enough to pay the return amount, and achieve the technical effect of reducing bank advances and reducing the risk of bad debts.

Description

於掃碼交易過程中檢查退貨特店帳戶餘額之系統A system to check the account balance of the return store during the code scanning transaction

一種掃碼交易系統,特別係指一種於掃碼交易過程中檢查退貨特店帳戶餘額之系統。A code scanning transaction system, in particular, refers to a system that checks the account balance of the return store during the code scanning transaction.

行動支付是指使用行動裝置進行付款的服務。在不需使用現金、支票或信用卡的情況下,消費者可使用行動裝置支付各項服務或數位及實體商品的費用。Mobile payment refers to services that use mobile devices to make payments. Without the need to use cash, checks or credit cards, consumers can use mobile devices to pay for various services or digital and physical goods.

行動支付方式主要有五種類型:簡訊為基礎的轉帳支付、行動帳單付款、行動裝置網路支付、應用程式(APP)支付和非接觸型(NFC)支付。其中,應用程式支付包含QR(Quick Response)Code支付,也就是俗稱的掃碼支付、掃碼交易。掃碼交易又包含兩種方式,一種是由消費者使用行動裝置執行應用程式掃描特店的QR Code後,應用程式產生並傳送交易電文至掃碼交易平台,掃碼交易平台完成掃碼交易並傳回交易結果給應用程式,此種方式通常被稱為主掃交易;另一種是由設置於特店之交易裝置掃描行動裝置所執行之應用程式所產生的QR code以產生交易電文後,交易裝置傳送交易電文到掃碼交易平台,使掃碼交易平台完成交易並將交易結果傳送給交易裝置與應用程式,此種方式通常被稱為被掃交易。There are five main types of mobile payment methods: SMS-based transfer payment, mobile bill payment, mobile device network payment, application (APP) payment and non-contact (NFC) payment. Among them, application payment includes QR (Quick Response) Code payment, which is commonly known as scan code payment and scan code transaction. There are two ways to scan code transactions. One is that after the consumer uses the mobile device to execute the application to scan the QR Code of the special store, the application generates and sends a transaction message to the scan code transaction platform, and the scan code transaction platform completes the scan code transaction and Return the transaction result to the application. This method is usually called the main scan transaction; the other is the QR code generated by the application program executed by the mobile device scanned by the transaction device installed in the special store to generate the transaction message. The device sends the transaction message to the scan code trading platform, so that the scan code trading platform completes the transaction and transmits the transaction result to the transaction device and application program. This method is usually called a scanned transaction.

實際上,由上段描述可以發現,在進行主掃交易之行為的當下,銀行端完全無法得知主掃交易正在進行,直到掃碼交易平台次日(甚至更多日)批次的將交易明細傳送給銀行端後,銀行端才能得知有主掃交易發生。如此,當主掃交易為一般的付款時,問題還不明顯,但若主掃交易為退貨時,將可能發生被退貨之特店的帳戶餘額並不足以支付退貨金額,但掃碼交易平台依然完成交易的問題,造成銀行端需要代被退貨之特店墊款,甚至可能發生呆帳的情況,導致銀行端的風險大幅度的提高。In fact, from the description in the previous paragraph, it can be found that at the moment when the main scan transaction is performed, the bank is completely unable to know that the main scan transaction is in progress until the next day (or even more days) of the scan code trading platform batches of transaction details Only after sending it to the bank can the bank know that the main scan transaction has occurred. In this way, when the main scanning transaction is a general payment, the problem is not obvious, but if the main scanning transaction is a return, it may happen that the account balance of the returned store is not enough to pay the return amount, but the scanning transaction platform is still The problem of completing the transaction has caused the bank to advance on behalf of the special store that has been returned, and bad debts may even occur, leading to a substantial increase in the risk of the bank.

綜上所述,可知先前技術中長期以來一直存在掃碼交易在退貨時可能發生特店之帳戶餘額不足以支付退貨金額的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that there has been a long-standing problem in the prior art that the account balance of the store’s account may not be enough to pay the return amount during the return of the goods in the scan code transaction. Therefore, it is necessary to propose improved technical means to solve this problem.

有鑒於先前技術存在掃碼交易在退貨時可能發生特店之帳戶餘額不足以支付退貨金額的問題,本創作遂揭露一種於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中:In view of the problem in the prior art that the account balance of the special store may not be enough to pay the return amount during the return of the goods in the scanning code transaction, this creation discloses a system for checking the account balance of the return special store during the scanning code transaction, in which:

本創作所揭露之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,至少包含:交易客戶端,用以於進行掃碼交易時產生掃碼交易電文;電文伺服器,用以接收掃碼交易電文,並依據掃碼交易電文判斷掃碼交易為退貨時,產生退貨交易訊息,其中,退貨交易訊息包含特店識別資料;帳務主機,用以接收退貨交易訊息,及用以依據退貨交易訊息判斷與特店識別資料對應之退貨特店之帳戶餘額是否足夠以產生相對應之交易續停訊息,並傳送交易續停訊息至電文伺服器,使電文伺服器判斷交易續停訊息是否表示帳戶餘額足夠;掃碼交易平台,用以接收電文伺服器於交易續停訊息表示帳戶餘額足夠時所傳送之掃碼交易電文,及用以依據掃碼交易電文執行掃碼交易並產生交易結果電文,及傳送交易結果電文至電文伺服器,電文伺服器更用以傳送交易結果電文至交易客戶端,交易客戶端更用以依據交易結果電文顯示掃碼交易之結果。The system for checking the account balance of the return shop during the code scanning transaction disclosed by this creation at least includes: a transaction client, which is used to generate a code scanning transaction message when performing a code scanning transaction; and a message server, which is used to receive the scanning code Transaction message, and when the scan code transaction is judged to be a return based on the scan code transaction message, a return transaction message is generated, where the return transaction message contains the store identification data; the accounting host is used to receive the return transaction message and is used according to the return transaction The message judges whether the account balance of the return shop corresponding to the special shop identification data is sufficient to generate the corresponding transaction cessation message, and sends the transaction continuation message to the text server so that the message server can determine whether the transaction continuation message indicates the account The balance is sufficient; the scan code transaction platform is used to receive the scan code transaction message sent by the message server when the transaction resumption message indicates that the account balance is sufficient, and to execute the scan code transaction based on the scan code transaction message and generate the transaction result message, And send the transaction result message to the message server, the message server is further used to send the transaction result message to the transaction client, and the transaction client is further used to display the result of the scan code transaction according to the transaction result message.

本創作所揭露之系統如上,與先前技術之間的差異在於本創作透過在現有掃碼交易的架構中加入電文伺服器,帳務主機在電文伺服器判斷掃碼交易為退貨時,判斷被退貨之特店的帳戶餘額是否大於等於掃碼交易之交易金額,若是,則電文伺服器將掃碼交易電文傳送給掃碼交易平台以完成掃碼交易,若否,則電文伺服器將拒絕交易,藉以解決先前技術所存在的問題,並可以達成減少銀行代墊款及降低呆帳風險的技術功效。The system disclosed in this creation is as above, and the difference between it and the previous technology is that this creation adds a text server to the structure of the existing scan code transaction. When the text server determines that the scan code transaction is a return, the accounting host determines that the product is returned. Whether the account balance of the special store is greater than or equal to the transaction amount of the scan code transaction, if it is, the message server will send the scan code transaction message to the scan code transaction platform to complete the scan code transaction, if not, the message server will reject the transaction. In order to solve the problems existing in the previous technology, the technical effect of reducing bank advances and reducing the risk of bad debts can be achieved.

以下將配合圖式及實施例來詳細說明本創作之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本創作解決技術問題所應用的技術手段並據以實施,藉此實現本創作可達成的功效。The following will describe the features and implementation methods of this creation in detail with the drawings and embodiments. The content is sufficient to enable any person familiar with relevant skills to easily and fully understand the technical means used in this creation to solve technical problems and implement them accordingly. The achievable effect of this creation.

本創作可以在退貨或退款之掃碼交易的過程中,由電文伺服器通知帳務主機判斷被退貨之特店的帳戶餘額是否足夠退款,當被退貨之特店的帳戶餘額足夠時,電文伺服器再繼續進行退貨或退款之掃碼交易的流程,也就是將掃碼交易電文傳送給掃碼交易平台,並由掃碼交易平台執行退貨或退款程序。其中,特店即為進行掃碼交易的店家。In this creation, in the process of scanning code transactions for return or refund, the text server informs the accounting host to determine whether the account balance of the returned store is sufficient for the refund. When the account balance of the returned store is sufficient, The message server then continues the process of the code scanning transaction for return or refund, that is, the scanning transaction message is sent to the scanning transaction platform, and the scanning transaction platform executes the return or refund procedure. Among them, special stores are stores that conduct scan code transactions.

本創作所提之掃碼交易包含主掃交易與被掃交易,主掃交易為由交易者使用行動裝置取得(包含但不限於拍攝或開啟)並解碼特店的交易條碼後由行動裝置發起之交易,被掃交易為特店裝置取得(包含但不限於拍攝或接收)並解碼交易者使用行動裝置所產生之交易條碼後由特店裝置發起之交易。其中,交易條碼通常為二維條碼或QR code,但本創作並不以此為限,凡足以讓行動裝置或特店裝置獲得發起交易所需之資料的媒介都可以作為本創作之交易條碼。The scan code transaction mentioned in this creation includes the main scan transaction and the scanned transaction. The main scan transaction is obtained by the trader using the mobile device (including but not limited to shooting or opening) and decoding the transaction bar code of the special store and then initiated by the mobile device Transactions. Scanned transactions are transactions initiated by the shop device after the shop device obtains (including but is not limited to shooting or receiving) and decodes the transaction barcode generated by the trader using the mobile device. Among them, the transaction barcode is usually a two-dimensional barcode or QR code, but this creation is not limited to this. Any medium that is sufficient for a mobile device or special store device to obtain the information required to initiate a transaction can be used as the transaction barcode of this creation.

以下先以「第1圖」本創作所提之於掃碼交易過程中檢查退貨特店帳戶餘額之系統架構圖來說明本創作的系統。如「第1圖」所示,本創作之系統含有交易客戶端110、帳務主機120、電文伺服器130、掃碼交易平台150。其中,交易客戶端110與電文伺服器130間、帳務主機120與電文伺服器130間、電文伺服器130與掃碼交易平台150間可以透過有線網路或無線網路連接,藉以將資料或訊號傳送給對方。In the following, the system structure diagram of checking the account balance of returned goods during the code scanning transaction mentioned in the creation of "Figure 1" is used to illustrate the system of this creation. As shown in "Figure 1", the authored system includes a transaction client 110, an accounting host 120, a text server 130, and a code scanning transaction platform 150. Among them, the transaction client 110 and the text server 130, the accounting host 120 and the text server 130, and the text server 130 and the code scanning transaction platform 150 can be connected via a wired network or a wireless network, so as to transfer data or The signal is sent to the other party.

一般而言,交易客戶端110、帳務主機120、電文伺服器130、掃碼交易平台150可以是計算設備。本創作所提之計算設備包含但不限於一個或多個處理模組、一條或多條記憶體模組、以及連接不同硬體元件(包括記憶體模組和處理模組)的匯流排等硬體元件。透過所包含之多個硬體元件,計算設備可以載入並執行作業系統,使作業系統在計算設備上運行,也可以執行軟體或程式。另外,計算設備也包含一個外殼,上述之各個硬體元件設置於外殼內。Generally speaking, the transaction client 110, the accounting host 120, the text server 130, and the code scanning transaction platform 150 may be computing devices. The computing devices mentioned in this creation include but are not limited to one or more processing modules, one or more memory modules, and hardware such as buses connecting different hardware components (including memory modules and processing modules). Body components. Through the included multiple hardware components, the computing device can load and execute the operating system, make the operating system run on the computing device, and can also execute software or programs. In addition, the computing device also includes a housing, and each of the above-mentioned hardware components is arranged in the housing.

本創作所提之計算設備的匯流排可以包含一種或多個類型,例如包含資料匯流排(data bus)、位址匯流排(address bus)、控制匯流排(control bus)、擴充功能匯流排(expansion bus)、及/或局域匯流排(local bus)等類型的匯流排。計算設備的匯流排包括但不限於的工業標準架構(Industry Standard Architecture, ISA)匯流排、周邊元件互連(Peripheral Component Interconnect, PCI)匯流排、視頻電子標準協會(Video Electronics Standards Association, VESA)局域匯流排、以及串列的通用序列匯流排(Universal Serial Bus, USB)、快速周邊元件互連(PCI Express, PCI-E/PCIe)匯流排等。The bus of the computing device mentioned in this creation can include one or more types, such as data bus, address bus, control bus, and extended function bus ( expansion bus), and/or local bus (local bus). The bus bars of computing devices include but are not limited to Industry Standard Architecture (ISA) bus, Peripheral Component Interconnect (PCI) bus, Video Electronics Standards Association (VESA) Bureau Domain bus, serial universal serial bus (Universal Serial Bus, USB), fast peripheral component interconnection (PCI Express, PCI-E/PCIe) bus, etc.

本創作所提之計算設備的處理模組與匯流排耦接。處理模組包含暫存器(Register)組或暫存器空間,暫存器組或暫存器空間可以完全的被設置在處理模組之處理晶片上,或全部或部分被設置在處理晶片外並經由專用電氣連接及/或經由匯流排耦接至處理晶片。處理模組可為中央處理器、微處理器或任何合適的處理元件。若計算設備為多處理器設備,也就是計算設備包含多個處理模組,則計算設備所包含的處理模組都相同或類似,且透過匯流排耦接與通訊。處理模組可以解釋一個計算機指令或一連串的多個計算機指令以進行特定的運算或操作,例如,數學運算、邏輯運算、資料比對、複製/移動資料等,藉以驅動計算設備中的其他硬體元件或運行作業系統或執行各種程式及/或模組。The processing module of the computing device mentioned in this creation is coupled with the bus. The processing module includes a register group or register space. The register group or register space can be completely set on the processing chip of the processing module, or all or part of it can be set outside the processing chip It is coupled to the processing chip via a dedicated electrical connection and/or via a bus. The processing module can be a central processing unit, a microprocessor or any suitable processing element. If the computing device is a multi-processor device, that is, the computing device includes multiple processing modules, the processing modules included in the computing device are all the same or similar, and they are coupled and communicated through a bus. The processing module can interpret a computer instruction or a series of multiple computer instructions to perform specific operations or operations, such as mathematical operations, logical operations, data comparison, copy/move data, etc., to drive other hardware in the computing device Components or run operating systems or execute various programs and/or modules.

計算設備中通常也包含一個或多個晶片組(Chipset)。計算設備的處理模組可以與晶片組耦接或透過匯流排與晶片組電性連接。晶片組是由一個或多個積體電路(Integrated Circuit, IC)組成,包含記憶體控制器以及周邊輸出入(I/O)控制器等,也就是說,記憶體控制器以及周邊輸出入控制器可以包含在一個積體電路內,也可以使用兩個或更多的積體電路實現。晶片組通常提供了輸出入和記憶體管理功能、以及提供多個通用及/或專用暫存器、計時器等,其中,上述之通用及/或專用暫存器與計時器可以讓耦接或電性連接至晶片組的一個或多個處理模組存取或使用。Computing equipment usually also contains one or more chipsets. The processing module of the computing device can be coupled to the chipset or electrically connected to the chipset through a bus. The chipset is composed of one or more integrated circuits (Integrated Circuit, IC), including memory controller and peripheral input/output (I/O) controller, that is, memory controller and peripheral input/output control The device can be included in one integrated circuit, or it can be implemented using two or more integrated circuits. Chipsets usually provide I/O and memory management functions, as well as multiple general-purpose and/or special-purpose registers, timers, etc., among which the aforementioned general-purpose and/or special-purpose registers and timers can be coupled or One or more processing modules electrically connected to the chipset are accessed or used.

計算設備的處理模組也可以透過記憶體控制器存取安裝於計算設備上的記憶體模組和大容量儲存區中的資料。上述之記憶體模組包含任何類型的揮發性記憶體(volatile memory)及/或非揮發性(non-volatile memory, NVRAM)記憶體,例如靜態隨機存取記憶體(Static Random Access Memory, SRAM)、動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)、唯讀記憶體(Read-Only Memory, ROM)、快閃記憶體(Flash memory)等。上述之大容量儲存區可以包含任何類型的儲存裝置或儲存媒體,例如,硬碟機、光碟(optical disc)、隨身碟(flash drive)、記憶卡(memory card)、固態硬碟(Solid State Disk, SSD)、或任何其他儲存裝置等。也就是說,記憶體控制器可以存取靜態隨機存取記憶體、動態隨機存取記憶體、快閃記憶體、硬碟機、固態硬碟中的資料。The processing module of the computing device can also access the data in the memory module and the mass storage area installed on the computing device through the memory controller. The above-mentioned memory modules include any type of volatile memory (volatile memory) and/or non-volatile memory (NVRAM), such as Static Random Access Memory (SRAM) , Dynamic Random Access Memory (DRAM), Read-Only Memory (ROM), Flash memory, etc. The aforementioned mass storage area can include any type of storage device or storage medium, such as hard disk drives, optical discs, flash drives, memory cards, and solid state disks. , SSD), or any other storage device, etc. In other words, the memory controller can access data in static random access memory, dynamic random access memory, flash memory, hard disk drives, and solid state drives.

計算設備的處理模組也可以透過周邊輸出入控制器經由周邊輸出入匯流排與周邊輸出裝置、周邊輸入裝置、通訊介面、及GPS接收器等周邊裝置或介面連接並通訊。周邊輸入裝置可以是任何類型的輸入裝置,例如鍵盤、滑鼠、軌跡球、觸控板、搖桿等,周邊輸出裝置可以是任何類型的輸出裝置,例如顯示器、印表機等,周邊輸入裝置與周邊輸出裝置也可以是同一裝置,例如觸控螢幕等。通訊介面可以包含無線通訊介面及/或有線通訊介面,無線通訊介面可以包含支援無線區域網路(如Wi-Fi、Zigbee等)、藍牙、紅外線、近場通訊(Near-field communication, NFC)、3G/4G/5G等行動通訊網路(蜂巢式網路)或其他無線資料傳輸協定的介面,有線通訊介面可為乙太網路裝置、DSL數據機、纜線(Cable)數據機、非同步傳輸模式(Asynchronous Transfer Mode, ATM)裝置、或光纖通訊介面及/或元件等。處理模組可以週期性地輪詢(polling)各種周邊裝置與介面,使得計算設備能夠透過各種周邊裝置與介面進行資料的輸入與輸出,也能夠與具有上面描述之硬體元件的另一個計算設備進行通訊。The processing module of the computing device can also connect and communicate with peripheral output devices, peripheral input devices, communication interfaces, and GPS receivers and other peripheral devices or interfaces through the peripheral I/O controller via the peripheral I/O bus. The peripheral input device can be any type of input device, such as a keyboard, mouse, trackball, touchpad, joystick, etc. The peripheral output device can be any type of output device, such as a display, a printer, etc., a peripheral input device It can also be the same device as the peripheral output device, such as a touch screen. The communication interface can include a wireless communication interface and/or a wired communication interface. The wireless communication interface can include support for wireless local area networks (such as Wi-Fi, Zigbee, etc.), Bluetooth, infrared, near-field communication (NFC), 3G/4G/5G and other mobile communication network (cellular network) or other wireless data transmission protocol interface, wired communication interface can be Ethernet device, DSL modem, cable modem, asynchronous transmission Mode (Asynchronous Transfer Mode, ATM) devices, or optical fiber communication interfaces and/or components, etc. The processing module can periodically poll various peripheral devices and interfaces, so that the computing device can input and output data through various peripheral devices and interfaces, and can also interact with another computing device with the hardware components described above. To communicate.

交易客戶端110可以是取得特店之交易條碼的行動裝置,也可以是取得行動裝置所產生之交易條碼的特店裝置。The transaction client 110 may be a mobile device that obtains a transaction barcode of a special store, or a special store device that obtains a transaction barcode generated by the mobile device.

交易客戶端110負責於進行掃碼交易時產生掃碼交易電文,並負責將所產生之掃碼交易電文傳送給電文伺服器130。交易客戶端110所產生之掃碼交易電文可以包含進行交易之特店的特店識別資料(或稱特店代號)、交易金額及其他與交易相關的資料項目,如交易時間等。其中,特店識別資料通常是由一定數量的字母及/或數字以一定順序排列而成,但本創作並不以此為限。The transaction client 110 is responsible for generating a code scanning transaction message when performing a code scanning transaction, and is responsible for transmitting the generated code scanning transaction message to the message server 130. The code scanning transaction message generated by the transaction client 110 may include the special store identification data (or called the special store code) of the special store where the transaction is performed, the transaction amount, and other transaction-related data items, such as transaction time. Among them, the special store identification data is usually made up of a certain number of letters and/or numbers arranged in a certain order, but this creation is not limited to this.

交易客戶端110也負責接收電文伺服器130所傳送之交易結果電文,本創作所提之交易結果電文可以表示掃碼交易成功或掃碼交易失敗或掃碼交易被拒等,但本創作並不以此為限。The transaction client 110 is also responsible for receiving the transaction result message sent by the message server 130. The transaction result message mentioned in this creation can indicate that the scan code transaction is successful or the scan code transaction fails or the scan code transaction is rejected, etc., but this creation does not Limited by this.

交易客戶端110並負責依據所接收到之交易結果電文顯示相對應之掃碼交易的交易結果。更詳細的,交易客戶端110可以解碼交易結果電文以取得交易結果訊息,並可以顯示與所取得之交易結果訊息對應的交易結果,例如,交易完成或交易失敗或拒絕交易,及交易失敗或拒絕交易的原因等。The transaction client 110 is also responsible for displaying the transaction result of the corresponding scan code transaction based on the received transaction result message. In more detail, the transaction client 110 can decode the transaction result message to obtain the transaction result message, and can display the transaction result corresponding to the obtained transaction result message, for example, transaction completion or transaction failure or rejection, and transaction failure or rejection. The reason for the transaction, etc.

帳務主機120負責接收電文伺服器130所傳送的退貨交易訊息,本創作所提之退貨交易訊息可以包含被退貨之特店的特店識別資料及交易金額。The accounting host 120 is responsible for receiving the return transaction message sent by the text server 130. The return transaction message mentioned in this creation may include the special store identification data and the transaction amount of the special store being returned.

帳務主機120也負責判斷與所接收到之退貨交易訊息中之特店識別資料對應的特店(即被退貨之特店,在本創作中亦以退貨特店表示)的帳戶餘額是否足夠,並負責依據判斷結果產生相對應的交易續停訊息,及負責將所產生的交易續停訊息傳送到電文伺服器130。舉例來說,帳務主機120可以依據所接收到之特店識別資料查詢相對應之退貨特店的帳戶餘額,並比對所查詢到之帳戶餘額是否大於或等於交易金額,若是,則表示被退貨特店的帳戶餘額足夠,帳務主機120可以產生表示帳戶餘額足夠的交易續停訊息,反之,則表示被退貨特店的帳戶餘額不足,帳務主機120可以產生表示帳戶餘額不足的交易續停訊息。The accounting host 120 is also responsible for determining whether the account balance of the special store corresponding to the special store identification data in the received return transaction message (that is, the special store that is returned, is also represented by the returned special store in this creation) is sufficient, It is also responsible for generating the corresponding transaction continuation message based on the judgment result, and is responsible for sending the generated transaction continuation message to the message server 130. For example, the accounting host 120 can query the account balance of the corresponding return shop based on the received shop identification data, and compare whether the queried account balance is greater than or equal to the transaction amount. If the account balance of the return shop is sufficient, the accounting host 120 can generate a transaction continuation message indicating that the account balance is sufficient. On the contrary, it means that the account balance of the returned shop is insufficient, and the accounting host 120 can generate a transaction continuation indicating that the account balance is insufficient. Stop the message.

又如,帳務主機120也可以依據所接收到之退貨交易訊息中的特店識別資料讀取相對應之退貨特店之帳戶的歷史交易資料,並依據所讀取之歷史交易資料判斷預期交易額,及依據所接收到之退貨交易訊息中的交易金額、所查詢到之帳戶餘額、及所判斷出之預期交易額判斷退貨特店之帳戶餘額是否足夠。更詳細的,帳務主機120可以依據歷史交易資料計算每日或每周或每月之同一日的日交易額,並對所計算出之日交易額進行統計(如平均或取中位數),及將統計出之日交易額作為預期交易額,接著,帳務主機120可以加總帳務餘額與預期交易額,並可以比對加總後之金額是否大於或等於交易金額,若是,則表示被退貨特店的帳戶餘額足夠,帳務主機120可以產生表示帳戶餘額足夠的交易續停訊息,反之,則表示被退貨特店的帳戶餘額不足,帳務主機120可以產生表示帳戶餘額不足的交易續停訊息。但帳務主機120判斷預期交易額的方式並不以上述為限。其中,歷史交易資料可以是退貨特店之帳戶的所有交易資料,也可以是退貨特店之帳戶在特定時間區間(如過去一年或六個月或一季)內或進行特定交易項目的交易資料。For another example, the accounting host 120 can also read the historical transaction data of the account of the corresponding return special store based on the store identification data in the received return transaction message, and determine the expected transaction based on the read historical transaction data According to the transaction amount in the received return transaction message, the inquired account balance, and the determined expected transaction amount, determine whether the account balance of the return store is sufficient. In more detail, the accounting host 120 can calculate the daily transaction volume on the same day of each day, week or month based on historical transaction data, and perform statistics on the calculated daily transaction volume (such as average or median) , And use the calculated daily transaction amount as the expected transaction amount. Then, the accounting host 120 can add the total accounting balance and the expected transaction amount, and can compare whether the summed amount is greater than or equal to the transaction amount. If so, then It means that the account balance of the returned special store is sufficient. The accounting host 120 can generate a transaction resumption message indicating that the account balance is sufficient. On the contrary, it means that the account balance of the returned special store is insufficient. The accounting host 120 can generate a message indicating that the account balance is insufficient. The transaction continues to stop message. However, the manner in which the accounting host 120 determines the expected transaction amount is not limited to the foregoing. Among them, the historical transaction data can be all transaction data of the account of the special return store, or the transaction data of the account of the special return store during a specific time interval (such as the past year or six months or a quarter) or a specific transaction item .

帳務主機120也可以在判斷退貨特店之帳戶餘額不足時,進一步讀取退貨特店之帳戶的帳戶資料以依據帳戶資料中的相關訊息判斷退貨特店是否申請過融資或貸款,若退貨特店申請過融資或貸款,例如相關資料包含退貨特店之帳戶的融資額度或貸款額度及已融資/已貸款金額,則帳務主機120可以依據已融資/已貸款金額判斷退貨特店之融資額度或貸款額度是否達到上限,若是,則帳務主機120可以判斷退貨特店之帳戶餘額不足,若否,則帳務主機120可以依據融資額度或貸款額度的剩餘餘額(即融資/貸款額度減去已融資/已貸款金額)再次融資或貸款給退貨特店,也就是增加退貨特店之帳戶餘額,並再次依據退貨交易訊息中的交易金額、增加後的帳務餘額(及所判斷出之預期交易額)判斷退貨特店之帳務餘額是否足夠。The accounting host 120 can also read the account data of the account of the return store to determine whether the return store has applied for financing or loan based on the relevant information in the account information when the account balance of the special return store is insufficient. The store has applied for financing or loan. For example, the relevant information includes the financing limit or loan limit of the account of the return store and the financing/loan amount, then the accounting host 120 can judge the financing limit of the return store based on the financing/loan amount Or whether the loan limit has reached the upper limit. If so, the accounting host 120 can determine that the account balance of the return store is insufficient. If not, the accounting host 120 can base on the financing limit or the remaining balance of the loan limit (ie financing/loan limit minus Financing/Loan Amount) to refinance or loan to the return shop, that is, increase the account balance of the return shop, and again based on the transaction amount in the return transaction message, the increased account balance (and the estimated expected Transaction amount) Determine whether the account balance of the return store is sufficient.

另外,若帳務主機120判斷退貨特店未申請過融資或貸款,如相關資料包含退貨特店之帳戶未申請融資或貸款的記錄,則帳務主機120可以依據退貨特店之帳戶的歷史交易資料評估融資額度或貸款額度,並可以依據在開設退貨特店之帳戶時所記錄之退貨特店負責人的通訊資料傳送所評估出之融資額度或貸款額度給退貨特店負責人以詢問是否進行融資或貸款,若帳務主機120接收到表示融資或貸款的回應,則帳務主機120可以依據所評估出之融資額度或貸款額度增加退貨特店之帳戶餘額,並再次依據退貨交易訊息中的交易金額、增加後的帳務餘額(及所判斷出之預期交易額)判斷退貨特店之帳務餘額是否足夠。其中,通訊資料包含但不限於電話號碼、即時通訊帳號、應用程式帳號、電子郵件地址等,帳務主機120可以透過簡訊、即時通訊、推播訊息、電子郵件等方式傳送融資額度或貸款額度給退貨特店負責人,使得退貨特店負責人可以操作手機、平板、或電腦等計算設備將回應以簡訊、即時通訊、應用程式回覆、電子郵件等方式將接收或拒絕融資或貸款的回應傳回帳務主機120。In addition, if the accounting host 120 determines that the return shop has not applied for financing or loan, and if the relevant information includes the record of the return shop’s account of not applying for financing or loan, the accounting host 120 can rely on the historical transaction of the return shop’s account The data evaluates the financing limit or loan limit, and can send the estimated financing limit or loan limit to the returned special store manager according to the communication data of the return store manager recorded when opening the account of the return store to ask whether to proceed For financing or loan, if the accounting host 120 receives a response indicating financing or loan, the accounting host 120 can increase the account balance of the return store according to the evaluated financing or loan limit, and again according to the return transaction message The transaction amount and the increased account balance (and the estimated expected transaction amount) determine whether the account balance of the return store is sufficient. Among them, the communication data includes, but is not limited to, phone numbers, instant messaging accounts, application accounts, email addresses, etc. The accounting host 120 can send financing lines or loan lines to The person in charge of the return shop allows the person in charge of the return shop to operate a mobile phone, tablet, or computer and other computing devices. Send back the response to the receipt or rejection of financing or loans by means of text messages, instant messaging, application responses, emails, etc. Account host 120.

帳務主機120也可以接收電文伺服器130所傳送之交易結果訊息,本創作所提之交易結果訊息可以包含被退貨之特店的特店識別資料及交易金額。The accounting host 120 can also receive the transaction result message sent by the text server 130. The transaction result message mentioned in this creation can include the special store identification data and the transaction amount of the special store being returned.

帳務主機120也可以依據所接收到之退貨交易訊息(或交易結果訊息)執行退貨特店的扣款作業,也就是說,帳務主機120可以由與退貨交易訊息(或交易結果訊息)中之特店識別資料對應的退貨特店的帳戶中扣除退貨交易訊息(或交易結果訊息)中的交易金額,使得退貨特店之帳戶餘額減少交易金額。The accounting host 120 can also perform the deduction operation of the return shop based on the received return transaction message (or transaction result message), that is, the accounting host 120 can be combined with the return transaction message (or transaction result message). The transaction amount in the return transaction message (or transaction result message) is deducted from the account of the return special store corresponding to the special store identification data, so that the account balance of the return special store reduces the transaction amount.

帳務主機120也可以接收掃碼交易平台150所傳送的掃碼交易明細,本創作所提之掃碼交易明細可以包含一筆或多筆掃碼交易資料,每一筆退貨交易資料包含一個特店的特店識別資料、交易金額及其他與交易相關的資料項目,如交易序號、交易時間等。The accounting host 120 can also receive the scan code transaction details sent by the scan code transaction platform 150. The scan code transaction details mentioned in this creation may include one or more scan code transaction data, and each return transaction data includes a special store’s information. Special shop identification data, transaction amount and other transaction-related data items, such as transaction serial number, transaction time, etc.

帳務主機120也可以依據所接收到之掃碼交易明細計算各個特店的交易淨值,並可以依據退貨特店之交易淨值及退貨特店之帳戶餘額重新計算退貨特店的帳戶餘額,也就是將退貨特店之交易淨值與帳戶餘額加總為新的帳戶餘額。其中,特定的交易淨值可以為正值、零、或負值。更詳細的,帳務主機120可以比對掃碼交易明細中之交易序號、交易時間等交易相關的資料項目,藉以判斷掃碼交易明細中之各筆退貨交易資料是否已依據所接收到之退貨交易訊息(或交易結果訊息)執行過扣款作業,若是,則該筆退貨交易資料將被捨棄而不計算交易淨值,若否,則帳務主機120可以加總該筆退貨交易資料中之交易金額與當前的交易淨值以計算新的交易淨值,直到所有的退貨交易資料都被捨棄或加算為止。The accounting host 120 can also calculate the net transaction value of each special store based on the received scan code transaction details, and can recalculate the account balance of the return special store based on the net transaction value of the return special store and the account balance of the return special store, that is, Add the net transaction value of the return shop and the account balance to the new account balance. Among them, the specific transaction net value can be positive, zero, or negative. In more detail, the accounting host 120 can compare the transaction serial number, transaction time and other transaction-related data items in the scan code transaction details to determine whether each return transaction data in the scan code transaction details has been based on the received returns The transaction message (or transaction result message) has performed a deduction operation. If it is, the return transaction data will be discarded without calculating the transaction net value. If not, the accounting host 120 can add up the transactions in the return transaction data The amount and the current net value of the transaction are used to calculate the new net value of the transaction until all return transaction data are discarded or added.

帳務主機120也可以設定相對應的特店識別資料,帳務主機120可以存取與帳務主機120所設定之特店識別資料對應的特店的帳戶。一般而言,帳務主機120可以提供管理者輸入特店識別資料。The account host 120 can also set corresponding special store identification data, and the account host 120 can access the account of the special store corresponding to the special store identification data set by the account host 120. Generally speaking, the accounting host 120 can provide the manager to input special store identification information.

電文伺服器130負責接收交易客戶端110所傳送的掃碼交易電文,並負責依據掃碼交易電文判斷交易客戶端110所進行之掃碼交易是否為退貨。一般而言,電文伺服器130可以依據掃碼交易電文中的特定資料項目判斷掃碼交易是否為退貨,但本創作並不以此為限。The message server 130 is responsible for receiving the code scanning transaction message sent by the transaction client 110, and is responsible for judging whether the code scanning transaction performed by the transaction client 110 is a return based on the code scanning transaction message. Generally speaking, the text server 130 can determine whether the code scanning transaction is a return based on the specific data item in the code scanning transaction message, but this creation is not limited to this.

電文伺服器130也負責在判斷交易客戶端110所進行之掃碼交易為退貨時產生退貨交易訊息,並負責將所產生的退貨交易訊息傳送到帳務主機120。電文伺服器130可以依據掃碼交易電文的資料格式由掃碼交易電文中讀出特店識別資料與交易金額,藉以產生包含特店識別資料與交易金額的退貨交易訊息。The text server 130 is also responsible for generating a return transaction message when determining that the code scanning transaction performed by the transaction client 110 is a return, and is responsible for sending the generated return transaction message to the accounting host 120. The message server 130 can read the store identification data and the transaction amount from the code scan transaction message according to the data format of the scan code transaction message, so as to generate a return transaction message including the store identification data and the transaction amount.

電文伺服器130也可以依據接收自交易客戶端110之掃碼交易電文中的特店識別資料選擇產生並傳送退貨交易訊息到帳務主機120或直接將掃碼交易電文傳送到掃碼交易平台150。舉例來說,電文伺服器130可以判斷掃碼交易電文中之特店識別資料的內容是否與帳務主機120對應之特店識別資料相同,若是,則電文伺服器130可以將產生並傳送退貨交易訊息到帳務主機120,若否,則電文伺服器130將掃碼交易電文傳送到掃碼交易平台150。其中,上述之與帳務主機120對應之特店識別資料為預先儲存,可以由電文伺服器130的管理者輸入,或是由帳務主機120所傳送。The message server 130 can also select to generate and send the return transaction message to the account host 120 or directly send the scan code transaction message to the scan code transaction platform 150 based on the store identification data in the scan code transaction message received from the transaction client 110 . For example, the message server 130 can determine whether the content of the store identification data in the code scan transaction message is the same as the store identification data corresponding to the accounting host 120. If so, the message server 130 can generate and send a return transaction The message is sent to the accounting host 120. If not, the message server 130 transmits the code scanning transaction message to the code scanning transaction platform 150. Wherein, the aforementioned store identification data corresponding to the accounting host 120 is pre-stored, and can be input by the administrator of the text server 130 or sent by the accounting host 120.

電文伺服器130也可以依據掃碼交易電文中的特定資料項目判斷所接收到之掃碼交易電文的型式,當電文伺服器130判斷掃碼交易電文為主掃交易電文的型式時,可以依據主掃交易電文的資料格式讀出掃碼交易電文中的各個資料項目,並可以依據被掃交易電文的資料格式修改部分之資料項目的內容,並將修改後之資料項目及未被修改之全部或部分的資料項目組合產生型式為被掃交易電文的掃碼交易電文,藉以將掃碼交易電文由主掃交易電文轉換為被掃交易電文。The message server 130 may also determine the type of the received scan code transaction message based on the specific data items in the scan code transaction message. When the message server 130 determines that the scan code transaction message is the main scan transaction message type, it may determine the type of the scan transaction message. Scan the data format of the transaction message to read out each data item in the scan code transaction message, and you can modify the content of some of the data items according to the data format of the scanned transaction message. Part of the data item combination generation type is the scan code transaction message of the scanned transaction message, so as to convert the scan code transaction message from the main scan transaction message to the scanned transaction message.

電文伺服器130也負責接收帳務主機120所傳送的交易續停訊息,並負責判斷所接收到之交易續停訊息是否表示帳戶餘額足夠。電文伺服器130可以在判斷交易續停訊息表示帳戶餘額足夠時,將接收自交易客戶端110的掃碼交易電文傳送到掃碼交易平台150;電文伺服器130也可以在判斷交易續停訊息表示帳戶餘額不足時,產生表示拒絕交易的交易結果電文並將所產生之交易結果電文傳送到交易客戶端110。The text server 130 is also responsible for receiving the transaction resumption message sent by the accounting host 120, and is responsible for determining whether the received transaction resumption message indicates that the account balance is sufficient. The message server 130 may send the code scanning transaction message received from the transaction client 110 to the code scanning transaction platform 150 when it determines that the transaction resumption message indicates that the account balance is sufficient; the message server 130 may also indicate that the transaction resumption message indicates When the account balance is insufficient, a transaction result message indicating that the transaction is rejected is generated and the generated transaction result message is transmitted to the transaction client 110.

電文伺服器130也可以接收掃碼交易平台150所傳送的交易結果電文,並可以將所接收到之交易結果電文傳送給交易客戶端110。電文伺服器130可以依據交易結果電文中的特定資料項目判斷所接收到之交易結果電文的型式,當電文伺服器130判斷交易結果電文為被掃交易電文的型式時,可以依據被掃交易電文的資料格式讀出交易結果電文中的各個資料項目,並可以依據主掃交易電文的資料格式修改部分之資料項目的內容,並將修改後之資料項目及未被修改之全部或部分的資料項目組合產生型式為主掃交易電文的交易結果電文,藉以將交易結果電文由被掃交易電文轉換為主掃交易電文。The message server 130 may also receive the transaction result message transmitted by the scan code transaction platform 150, and may transmit the received transaction result message to the transaction client 110. The message server 130 may determine the type of the received transaction result message based on the specific data items in the transaction result message. When the message server 130 determines that the transaction result message is the type of the scanned transaction message, it may determine the type of the transaction result message. The data format reads each data item in the transaction result message, and can modify the content of some data items according to the data format of the main scan transaction message, and combine the modified data items and all or part of the data items that have not been modified The transaction result message of the main scanning transaction message is generated to convert the transaction result message from the scanned transaction message to the main scanning transaction message.

電文伺服器130也可以判斷所接收到之交易結果電文是否表示退貨成功。當交易結果電文表示退貨成功時,電文伺服器130可以產生交易結果訊息,並可以將所產生之交易結果訊息傳送到帳務主機120。The message server 130 can also determine whether the received transaction result message indicates a successful return. When the transaction result message indicates that the return is successful, the message server 130 may generate a transaction result message, and may transmit the generated transaction result message to the accounting host 120.

掃碼交易平台150負責接收電文伺服器130所傳送的掃碼交易電文,並負責依據所接收到之掃碼交易電文執行掃碼交易。掃碼交易平台150也負責在執行掃碼交易後產生相對應的交易結果電文,及負責將所產生之交易結果電文傳送到電文伺服器130。The scan code transaction platform 150 is responsible for receiving the scan code transaction message sent by the message server 130, and is responsible for executing the scan code transaction according to the received scan code transaction message. The code scanning transaction platform 150 is also responsible for generating a corresponding transaction result message after executing the code scanning transaction, and is responsible for transmitting the generated transaction result message to the message server 130.

掃碼交易平台150也可以產生與帳務主機120對應的掃碼交易明細,並可以將所產生的掃碼交易明細傳送到帳務主機120。一般而言,掃碼交易平台150可以每隔一定的時間間隔或在預定的時間批次產生掃碼交易明細,例如,在每天的固定時間(如凌晨一點等),但本創作並不以此為限。The code scanning transaction platform 150 can also generate the code scanning transaction details corresponding to the accounting host 120, and can transmit the generated code scanning transaction details to the accounting host 120. Generally speaking, the scan code transaction platform 150 can generate scan code transaction details at regular intervals or in batches at a predetermined time, for example, at a fixed time each day (such as one o'clock in the morning, etc.), but this creation is not based on this. Is limited.

接著以一個實施例來解說本創作的系統運作,並請參照「第2A圖」本創作所提之於掃碼交易過程中檢查退貨特店帳戶餘額之流程圖。在本實施例中,假設交易客戶端110為使用者所使用的手機,但本創作並不以此為限。Next, an example is used to explain the operation of the system of this creation, and please refer to the flow chart of checking the balance of the return store account during the code scanning transaction mentioned in "Figure 2A" of this creation. In this embodiment, it is assumed that the transaction client 110 is the mobile phone used by the user, but this creation is not limited to this.

首先,交易客戶端110在進行掃碼交易時,可以產生掃碼交易電文,並可以將所產生的掃碼交易電文傳送給電文伺服器130(步驟210)。在本實施例中,假設交易客戶端110可以透過所包含的影像擷取元件擷取包含被退貨之特店的特店識別資料的QR code,並可以在解析所取得之QR code後取得被退貨之特店的特店識別資料,再以主掃交易電文的資料格式產生包含所取得之特店識別資料與使用者所輸入之交易金額的掃碼交易電文。First, when the transaction client 110 performs a code scanning transaction, it can generate a code scanning transaction message, and can transmit the generated code scanning transaction message to the message server 130 (step 210). In this embodiment, it is assumed that the transaction client 110 can retrieve the QR code containing the special store identification data of the returned special store through the included image capturing component, and can obtain the returned product after analyzing the obtained QR code The special store identification data of the special store is used to generate a scan code transaction message containing the obtained special store identification data and the transaction amount entered by the user in the data format of the main scan transaction message.

電文伺服器130在接收到交易客戶端110所產生之掃碼交易電文後,可以依據所接收到之掃碼交易電文判斷交易客戶端110所進行之掃碼交易是否為退貨。其中,電文伺服器130可以先透過掃碼交易電文中的驗證碼檢核所接收到的掃碼交易電文,並可以在掃碼交易電文通過檢核後由掃碼交易電文中讀出交易類型、處理代碼、特店代號(特店識別資料)等資料項目。After the message server 130 receives the code scanning transaction message generated by the transaction client 110, it can determine whether the code scanning transaction performed by the transaction client 110 is a return based on the received code scanning transaction message. Among them, the message server 130 can first check the received scan code transaction message through the verification code in the scan code transaction message, and can read the transaction type, Processing code, special store code (special store identification data) and other data items.

若電文伺服器130依據處理代碼之資料項目判斷掃碼交易不為退貨,則電文伺服器130可以將所接收到之掃碼交易電文傳送給掃碼交易平台150(步驟250);而若電文伺服器130判斷掃碼交易為退貨,則電文伺服器130可以產生退貨交易訊息,並可以將所產生之退貨交易訊息傳送給帳務主機120(步驟225)。在本實施例中,假設電文伺服器130可以在掃碼交易為退貨時,先判斷特店代號之資料項目中的內容是否為與帳務主機120對應的特店識別資料,若是,則電文伺服器130可以產生包含掃碼交易電文中之特店識別資料、交易金額、時間戳記、安全碼的退貨交易訊息,若否,則電文伺服器130可以將掃碼交易電文傳送給掃碼交易平台150。其中,電文伺服器130可以使用與帳務主機120預先約定的驗證參數對退貨交易訊息進行運算以產生退貨雜湊值並加密退貨交易訊息,並將加密後的退貨交易訊息與退貨雜湊值以數位信封(Digital Envlope)傳送給帳務主機120。If the text server 130 determines that the code scanning transaction is not a return according to the data item of the processing code, the text server 130 may send the received code scanning transaction text to the code scanning transaction platform 150 (step 250); and if the text server 130 If the device 130 determines that the code scanning transaction is a return, the text server 130 may generate a return transaction message, and may send the generated return transaction message to the accounting host 120 (step 225). In this embodiment, it is assumed that the text server 130 can first determine whether the content in the data item of the shop code is the shop identification data corresponding to the account host 120 when the code scanning transaction is a return. If so, the text server The server 130 can generate a return transaction message that includes the store identification data, transaction amount, time stamp, and security code in the code-scanning transaction message. If not, the message server 130 can send the code-scanning transaction message to the code-scanning transaction platform 150 . Among them, the text server 130 may use the verification parameters pre-appointed with the accounting host 120 to calculate the return transaction message to generate the return hash value and encrypt the return transaction message, and use the encrypted return transaction message and the return hash value in a digital envelope (Digital Envlope) is sent to the accounting host 120.

在帳務主機120接收到電文伺服器130所產生的退貨交易訊息後,可以依據退貨交易電文判斷被退貨之特店的帳戶餘額是否足夠(步驟230)。在本實施例中,假設帳務主機120可以在接收到退貨交易訊息與退貨雜湊值後,依據與電文伺服器130預先約定的驗證參數對退貨交易訊息進行運算以解密退貨交易訊息,並檢核退貨雜湊值及退貨交易訊息中之時間戳記與安全碼以驗證退貨交易訊息正確無被竄改且符合規範,之後,帳務主機120可以依據退貨交易電文中的特店識別資料查詢相對應之被退貨特店的帳戶餘額,並比較所查詢到之帳戶餘額與退貨交易電文中之交易金額的大小以判斷被退貨之特店的帳戶餘額是否足夠;另外,被退貨之特店的帳戶餘額不足(也就是交易金額大於帳戶餘額)時,或在接收到電文伺服器130所產生的退貨交易訊息後,帳務主機120也可以如「第2C圖」之流程所示,依據特店識別資料讀取被退貨之特店之帳戶的歷史交易資料(步驟231),並依據所讀出之歷史交易資料判斷預期交易額(步驟233),及依據退貨交易電文中之交易金額、所判斷出之預期交易額、及當前所查詢到之帳戶餘額判斷被退貨之特店的帳戶餘額是否足夠(步驟235),例如,比較當前之帳戶餘額與預期交易額之和與交易金額的大小以判斷被退貨之特店的帳戶餘額是否足夠。After the account host 120 receives the return transaction message generated by the message server 130, it can determine whether the account balance of the returned store is sufficient according to the return transaction message (step 230). In this embodiment, it is assumed that after receiving the return transaction message and the return hash value, the accounting host 120 can perform calculations on the return transaction message according to the verification parameters agreed with the text server 130 to decrypt the return transaction message and verify it. The return miscellaneous value and the time stamp and security code in the return transaction message are used to verify that the return transaction message is correct and conforms to the specifications. After that, the accounting host 120 can query the corresponding returned goods based on the store identification data in the return transaction message The account balance of the special store, and compare the account balance inquired with the transaction amount in the return transaction message to determine whether the account balance of the returned special store is sufficient; in addition, the account balance of the returned special store is insufficient (also (That is, when the transaction amount is greater than the account balance), or after receiving the return transaction message generated by the teletext server 130, the accounting host 120 can also read the data based on the store identification data as shown in the process of "Figure 2C". Historical transaction data of the account of the returned store (step 231), and determine the expected transaction amount based on the historical transaction data read out (step 233), and the estimated transaction amount based on the transaction amount in the return transaction message , And the account balance currently inquired to determine whether the account balance of the returned store is sufficient (step 235), for example, compare the current account balance and the expected transaction amount with the transaction amount to determine the returned store Is your account balance sufficient?

在帳務主機120判斷出被退貨之特店的帳戶餘額是否足夠(步驟230)後,可以產生與所判斷出之結果對應的交易續停訊息,並可以將所產生的交易續停訊息傳送給電文伺服器130(步驟239)。在本實施例中,當帳務主機120所查詢到之帳戶餘額大於或等於帳務主機120所接收到之退貨交易電文中的交易金額(或當前之帳戶餘額與預期交易額之和大於或等於交易金額)時,帳務主機120可以產生表示帳戶餘額足夠的交易續停訊息,也可以如「第2D圖」之流程所示,依據退貨交易訊息執行扣款作業(步驟237),而當帳戶餘額小於交易金額(及/或當前之帳戶餘額與預期交易額之和小於交易金額)時,帳務主機120可以產生表示帳戶餘額不足的交易續停訊息。其中,帳務主機120可以使用與電文伺服器130預先約定的驗證參數對交易續行訊息進行運算以產生續停雜湊值並加密交易續停訊息,並將加密後的交易續停訊息與續停雜湊值以數位信封傳送給電文伺服器130。After the accounting host 120 determines whether the account balance of the returned store is sufficient (step 230), it can generate a transaction stop message corresponding to the determined result, and can send the generated transaction stop message to the phone The text server 130 (step 239). In this embodiment, when the account balance inquired by the accounting host 120 is greater than or equal to the transaction amount in the return transaction message received by the accounting host 120 (or the sum of the current account balance and the expected transaction amount is greater than or equal to Transaction amount), the accounting host 120 can generate a transaction resumption message indicating that the account balance is sufficient, or as shown in the process of "Figure 2D", perform the deduction operation based on the return transaction message (step 237), and when the account When the balance is less than the transaction amount (and/or the sum of the current account balance and the expected transaction amount is less than the transaction amount), the accounting host 120 may generate a transaction resumption message indicating that the account balance is insufficient. Among them, the accounting host 120 can use the verification parameters pre-agreed with the text server 130 to calculate the transaction continuation message to generate the continuation hash value and encrypt the transaction continuation message, and combine the encrypted transaction continuation message and the continuation message. The hash value is sent to the message server 130 in a digital envelope.

在電文伺服器130接收到帳務主機120所產生之交易續停訊息後,電文伺服器130依據與帳務主機120預先約定的驗證參數對退貨交易訊息進行運算以解密交易訊息訊息,並檢核續停雜湊值及交易續停訊息中之時間戳記與安全碼以驗證交易訊息訊息正確無被竄改且符合規範,之後,電文伺服器130可以判斷所接收的交易續停訊息是否表示被退貨之特店的帳戶餘額是否足夠。當交易續停訊息表示被退貨之特店的帳戶餘額不足時,電文伺服器130可以如「第2E圖」之流程所示,產生表示拒絕交易的交易結果電文,並可以將所產生的交易結果電文傳送給交易客戶端110(步驟240);而電文伺服器130判斷交易續停訊息表示被退貨之特店的帳戶餘額足夠時,可以將交易客戶端110所產生的掃碼交易電文傳送給掃碼交易平台150(步驟250)。在本實施例中,假設如「第2B圖」之流程所示,在電文伺服器130判斷交易續停訊息表示被退貨之特店的帳戶餘額足夠後,可以判斷掃碼交易電文是否為主掃交易電文,若否,則電文伺服器130可以直接傳送掃碼交易電文給掃碼交易平台150;而若掃碼交易電文為主掃交易電文,則電文伺服器130可以先將掃碼交易電文由主掃交易電文轉換為被掃交易電文(步驟255),再傳送轉換後之掃碼交易電文給掃碼交易平台150。例如,若被掃交易電文可以包含交易類型、卡號或帳號、處理代碼、交易金額、端末交易序號、交易日期時間、收單行代碼、端末代號、特店代號、訂單編號或退貨編號、晶片資料或原始交易資訊、驗證碼等資料項目,主掃交易電文除了可以包含被掃交易電文的所有資料項目之外,還可以包含應用程式識別碼、伺服器識別碼等資料項目,電文伺服器130可以依據處理代碼判斷掃碼交易電文的型式,當處理代碼的資料表示掃碼交易電文為主掃交易電文時,電文伺服器130可以將處理代碼修改為表示掃碼交易電文為被掃交易電文的資料,並可以將修改後之處理代碼及不包含應用程式識別碼與伺服器識別碼的其他所有資料項目重新組合為被掃交易電文,及將所產生之被掃交易電文作為掃碼交易電文,同時,電文伺服器130也可以記錄未被加入被掃交易電文的應用程式識別碼與伺服器識別碼。After the message server 130 receives the transaction resumption message generated by the account host 120, the message server 130 calculates the return transaction message according to the verification parameters pre-arranged with the account host 120 to decrypt the transaction message message, and check it Resume the hash value and the timestamp and security code in the transaction resumption message to verify that the transaction message is correct and not tampered with and conforms to the specification. After that, the text server 130 can determine whether the received transaction resumption message represents the characteristic of being returned. Whether the store’s account balance is sufficient. When the transaction resumption message indicates that the account balance of the returned store is insufficient, the message server 130 can generate a transaction result message indicating that the transaction is rejected as shown in the process of "Figure 2E", and can send the generated transaction result The message is sent to the transaction client 110 (step 240); and when the message server 130 determines that the transaction resumption message indicates that the account balance of the returned store is sufficient, it can send the scan code transaction message generated by the transaction client 110 to the scan Code trading platform 150 (step 250). In this embodiment, it is assumed that as shown in the process shown in "Figure 2B", after the message server 130 determines that the transaction resumption message indicates that the account balance of the returned store is sufficient, it can be determined whether the code scanning transaction message is the main scan For transaction messages, if not, the message server 130 can directly send the scan code transaction message to the scan code transaction platform 150; and if the scan code transaction message is the main scan transaction message, the message server 130 can first send the scan code transaction message from The main scan transaction message is converted into a scanned transaction message (step 255), and the converted scan code transaction message is sent to the scan code transaction platform 150. For example, if the scanned transaction message can include transaction type, card number or account number, processing code, transaction amount, terminal transaction serial number, transaction date and time, acquiring bank code, terminal code, store code, order number or return number, chip data, or Original transaction information, verification code and other data items. In addition to all the data items of the scanned transaction message, the main scan transaction message can also include data items such as application ID and server ID. The message server 130 can be based on The processing code determines the type of the scan code transaction message. When the data of the processing code indicates that the scan code transaction message is the main scan transaction message, the message server 130 can modify the processing code to indicate that the scan code transaction message is the data of the scanned transaction message. And you can recombine the modified processing code and all other data items that do not contain the application ID and server ID into a scanned transaction message, and the generated scanned transaction message can be used as a scan code transaction message. At the same time, The message server 130 may also record application program identification codes and server identification codes that have not been added to the scanned transaction message.

在掃碼交易平台150接收到電文伺服器130所傳送的掃碼交易電文後,掃碼交易平台150可以依據所接收到之掃碼交易電文執行對應之掃碼交易,並可以在執行掃碼交易後產生相對應之交易結果電文,及可以將所產生之交易結果電文傳送到電文伺服器130(步驟260)。在本實施例中,掃碼交易平台150所執行之掃碼交易可以是付款交易或退貨交易,並可以使用被掃交易結果電文之資料格式產生交易結果電文。After the scan code transaction platform 150 receives the scan code transaction message sent by the message server 130, the scan code transaction platform 150 can execute the corresponding scan code transaction according to the received scan code transaction message, and can execute the scan code transaction Then, a corresponding transaction result message is generated, and the generated transaction result message can be sent to the message server 130 (step 260). In this embodiment, the code scanning transaction executed by the scanning transaction platform 150 may be a payment transaction or a return transaction, and the data format of the scanned transaction result message may be used to generate the transaction result message.

在電文伺服器130接收到掃碼交易平台150所產生的交易結果電文後,電文伺服器130可以將所接收到的交易結果電文傳送給交易客戶端110,在交易客戶端110在接收到電文伺服器130所傳送的交易結果電文後,可以依據所接收到之交易結果電文顯示掃碼交易的交易結果(步驟280)。在本實施例中,若電文伺服器130依據交易結果電文中之處理代碼判斷交易客戶端110所傳送之掃碼交易電文為被掃交易電文,則電文伺服器130可以直接將交易結果電文傳送給交易客戶端110,使交易客戶端110可以使用被掃交易結果電文的資料格式讀出交易結果電文中的資料;而若電文伺服器130先前判斷交易客戶端110所傳送之掃碼交易電文為主掃交易電文,則電文伺服器130在接收到交易結果電文後,可以依據被掃交易結果電文之資料格式由交易結果電文中讀出交易類型、卡號或帳號、交易金額、系統日期時間、端末交易序號、收單行代碼、回應碼、端末代號、特店代號、訂單編號或退貨編號、驗證碼等等資料項目,並可以將處理代碼替換為表示為主掃交易電文的資料後,使用主掃交易結果電文之資料格式將被替換後之處理代碼、所讀出之各個資料項目、及先前所記錄之應用程式識別碼與伺服器識別碼重組為新的交易結果電文後,傳送新的結果交易電文至交易客戶端110,使交易客戶端110可以使用主掃交易結果電文的資料格式讀出交易結果電文中的資料。After the message server 130 receives the transaction result message generated by the scanning transaction platform 150, the message server 130 may transmit the received transaction result message to the transaction client 110, and the transaction client 110 receives the message server After the transaction result message transmitted by the device 130, the transaction result of the scan code transaction can be displayed according to the received transaction result message (step 280). In this embodiment, if the message server 130 determines that the code scanning transaction message sent by the transaction client 110 is a scanned transaction message according to the processing code in the transaction result message, the message server 130 may directly send the transaction result message to The transaction client 110 enables the transaction client 110 to use the data format of the scanned transaction result message to read the data in the transaction result message; and if the message server 130 previously determined that the scan code transaction message sent by the transaction client 110 is the main one Scan the transaction message, after receiving the transaction result message, the message server 130 can read the transaction type, card number or account number, transaction amount, system date and time, and terminal transaction from the transaction result message according to the data format of the scanned transaction result message Serial number, acquiring bank code, response code, terminal code, store code, order number or return number, verification code, etc. data items, and you can replace the processing code with the data that represents the main scan transaction message, then use the main scan transaction The data format of the result message will be reorganized into a new transaction result message after the processing code after the replacement, the various data items read, and the previously recorded application ID and server ID are reorganized into a new transaction result message, and then the new result transaction message will be sent To the transaction client 110, the transaction client 110 can use the data format of the main scanning transaction result message to read the data in the transaction result message.

如此,透過本創作,帳務主機120可以在交易客戶端110進行退貨的掃碼交易時先確認被退貨之特店的帳戶餘額,藉以減少特定之帳戶餘額不足以退款的情況。In this way, through this creation, the accounting host 120 can first confirm the account balance of the returned store when the transaction client 110 performs the code scanning transaction of the return, so as to reduce the situation that the specific account balance is insufficient for the refund.

上述實施例中,若帳務主機120在判斷出被退貨之特店的帳戶餘額不足(步驟230)時,帳務主機120可以進一步判斷被退貨之特店是否申請過融資或貸款,若被退貨之特店申請過融資或貸款,則帳務主機120可以判斷被退貨之特店的融資額度或貸款額度是否達到上限,若是,則帳務主機120可以判斷被退貨之特店的帳戶餘額不足,若否,則帳務主機120可以依據被退貨之特店的融資額度或貸款額度的餘額再次融資或貸款給被退貨之特店,也就是增加被退貨之特店的帳戶餘額,並再次判斷被退貨之特店的帳務餘額是否足夠(步驟230);而若帳務主機120判斷被退貨之特店未申請過融資或貸款,則帳務主機120可以依據被退貨之特店帳戶的歷史交易資料評估融資額度或貸款額度,並可以依據融資額度或貸款額度增加被退貨之特店的帳戶餘額,並再次判斷被退貨之特店的帳務餘額是否足夠(步驟230)。在帳務主機120再次依據被退貨之特店的融資額度或貸款額度判斷被退貨之特店的帳務餘額是否足夠後,帳務主機120才可以產生與所判斷出之結果對應的交易續停訊息,並將所產生的交易續停訊息傳送給電文主機130(步驟239)。In the above embodiment, if the accounting host 120 determines that the account balance of the returned store is insufficient (step 230), the accounting host 120 can further determine whether the returned store has applied for financing or a loan. If the special store has applied for financing or loan, the accounting host 120 can determine whether the financing limit or loan limit of the returned special store has reached the upper limit. If so, the accounting host 120 can determine that the account balance of the returned special store is insufficient. If not, the accounting host 120 can refinance or loan to the returned special store based on the financing line or the balance of the loan line of the returned special store, that is, increase the account balance of the returned special store, and judge the returned product again. Whether the account balance of the returned store is sufficient (step 230); and if the account host 120 determines that the returned store has not applied for financing or loan, the account host 120 can rely on the historical transaction of the returned store’s account The data evaluates the financing line or loan line, and can increase the account balance of the returned store based on the financing line or loan line, and judge whether the account balance of the returned store is sufficient (step 230). After the accounting host 120 again judges whether the account balance of the returned special store is sufficient based on the financing or loan amount of the returned special store, the accounting host 120 can generate the transaction continuation corresponding to the determined result. And send the generated transaction stop message to the text host 130 (step 239).

上述實施例中,若帳務主機120在判斷出被退貨之特店的帳戶餘額足夠(步驟230)後,並未如「第2D圖」之流程所示,依據接收自電文伺服器130的退貨交易訊息執行扣款作業(步驟237),則如「第2F圖」所示,電文伺服器130可以在判斷交易結果電文表示退貨成功時,產生交易結果訊息並將所產生之交易結果訊息傳送到帳務主機120(步驟271),帳務主機120在接收到交易結果訊息後,可以依據所接收到之交易結果訊息執行扣款作業(步驟275)。In the above embodiment, if the account host 120 determines that the account balance of the returned store is sufficient (step 230), it does not rely on the return received from the text server 130 as shown in the flow of "Figure 2D" The transaction message performs the deduction operation (step 237), as shown in "Figure 2F", the message server 130 can generate a transaction result message and send the generated transaction result message to the The accounting host 120 (step 271). After receiving the transaction result message, the accounting host 120 can perform a deduction operation according to the received transaction result message (step 275).

另外,上述實施例在交易客戶端110依據接收自電文伺服器130之交易結果電文顯示掃碼交易的交易結果(步驟280)後,掃碼交易平台150可以傳送批次產生透過帳務主機120進行掃碼交易之與帳務主機120對應的掃碼交易明細,並可以將所產生的掃碼交易明細傳送給相對應的帳務主機120 (步驟291),帳務主機120在接收到掃碼交易明細後,可以依據所接收到之掃碼交易明細計算所有特店的交易淨值,並將每一個特店的交易淨值與當前的帳戶餘額加總以計算出各個特店之新的帳務餘額(步驟295)。In addition, in the above-mentioned embodiment, after the transaction client 110 displays the transaction result of the scan code transaction according to the transaction result message received from the message server 130 (step 280), the scan code transaction platform 150 can send batch generation to be performed through the accounting host 120 The scan code transaction details corresponding to the account host 120 of the scan code transaction, and the generated scan code transaction details can be transmitted to the corresponding account host 120 (step 291), and the account host 120 receives the scan code transaction After the details, you can calculate the net transaction value of all specialty stores based on the received scan code transaction details, and add the transaction net value of each specialty store to the current account balance to calculate the new account balance of each specialty store ( Step 295).

綜上所述,可知本創作與先前技術之間的差異在於具有帳務主機在電文伺服器判斷掃碼交易為退貨時,進一步判斷被退貨之特店的帳戶餘額是否大於等於掃碼交易之交易金額,若是,則電文伺服器將掃碼交易電文傳送給掃碼交易平台以完成掃碼交易,若否,則電文伺服器將拒絕交易之技術手段,藉由此一技術手段可以來解決先前技術所存在掃碼交易在退貨時可能發生特店之帳戶餘額不足以支付退貨金額的問題,進而達成減少銀行代墊款及降低呆帳風險的技術功效。To sum up, it can be seen that the difference between this creation and the previous technology is that when the account server judges that the scan code transaction is a return on the text server, it further determines whether the account balance of the returned store is greater than or equal to the scan code transaction transaction. The amount, if yes, the message server will send the scan code transaction message to the scan code transaction platform to complete the scan code transaction, if not, the message server will reject the technical means of the transaction, and the previous technology can be solved by this technical means There may be a problem that the account balance of the special store is not enough to pay the return amount when the scan code transaction is returned, thereby achieving the technical effect of reducing bank advances and reducing the risk of bad debts.

再者,本創作之於掃碼交易過程中檢查退貨特店帳戶餘額之系統的計算設備,可以硬體或硬體與軟體之組合實現,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。In addition, the computing device of the system for checking the account balance of the return shop during the code scanning transaction can be implemented by hardware or a combination of hardware and software, or implemented in a centralized manner in a computer system or with different components. Distributed in a number of interconnected computer systems implemented in a decentralized manner.

雖然本創作所揭露之實施方式如上,惟所述之內容並非用以直接限定本創作之專利保護範圍。任何本創作所屬技術領域中具有通常知識者,在不脫離本創作所揭露之精神和範圍的前提下,對本創作之實施的形式上及細節上作些許之更動潤飾,均屬於本創作之專利保護範圍。本創作之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the implementation method disclosed in this creation is as above, the content described is not used to directly limit the scope of patent protection of this creation. Any person with ordinary knowledge in the technical field to which this creation belongs, without departing from the spirit and scope of this creation, makes a little modification in the form and details of the implementation of this creation, and it belongs to the patent protection of this creation. Scope. The scope of patent protection for this creation shall still be subject to the scope of the attached patent application.

110:交易客戶端 120:帳務主機 130:電文伺服器 150:掃碼交易平台 步驟210:交易客戶端於進行掃碼交易時產生掃碼交易電文,並傳送掃碼交易電文至電文伺服器 步驟225:電文伺服器依據掃碼交易電文判斷掃碼交易為退貨時傳送退貨交易訊息至帳務主機 步驟230:帳務主機判斷退貨特店帳戶之帳戶餘額是否足夠 步驟231:帳務主機依據特店識別資料讀取退貨特店帳戶之歷史交易資料 步驟233:帳務主機依據歷史交易資料判斷預期交易額 步驟235:帳務主機依據退貨交易訊息中之交易金額、帳戶餘額及預期交易額判斷帳戶餘額是否足夠 步驟237:帳務主機於退貨特店帳戶之帳戶餘額足夠時,依據退貨交易訊息執行扣款作業 步驟239:帳務主機產生相對應之交易續停訊息,並傳送交易續停訊息至電文伺服器 步驟240:電文伺服器判斷交易續停訊息表示帳戶餘額不足時,產生表示拒絕交易之交易結果電文,並傳送交易結果電文至交易客戶端 步驟250:電文伺服器判斷交易續停訊息表示帳戶餘額足夠或依據掃碼交易電文判斷掃碼交易不為退貨時傳送掃碼交易電文至掃碼交易平台 步驟255:電文伺服器判斷掃碼交易電文為主掃交易電文時,轉換掃碼交易電文為被掃交易電文 步驟260:掃碼交易平台依據掃碼交易電文執行掃碼交易,並傳送交易結果電文至電文伺服器 步驟271:電文伺服器判斷交易結果電文表示退貨成功時,傳送交易結果訊息至帳務主機 步驟275:帳務主機依據交易結果訊息執行扣款作業 步驟280:電文伺服器傳送交易結果電文至交易客戶端,交易客戶端依據交易結果電文顯示掃碼交易之結果 步驟291:掃碼交易平台傳送掃碼交易明細至帳務主機 步驟295:帳務主機依據掃碼交易明細計算特店之交易淨值,並依據特店之交易淨值更新特店之帳戶餘額110: Trading Client 120: Accounting host 130: Text Server 150: Scan code trading platform Step 210: The transaction client generates a scan code transaction message when performing a scan code transaction, and transmits the scan code transaction message to the message server Step 225: The message server sends a return transaction message to the accounting host when it judges that the scan code transaction is a return according to the scan code transaction message Step 230: The accounting host judges whether the account balance of the return store account is sufficient Step 231: The accounting host reads the historical transaction data of the return store account based on the store identification data Step 233: The accounting host determines the expected transaction amount based on historical transaction data Step 235: The accounting host determines whether the account balance is sufficient based on the transaction amount, account balance and expected transaction amount in the return transaction message Step 237: When the account balance in the return store account is sufficient, the billing host performs the deduction operation based on the return transaction message Step 239: The accounting host generates a corresponding transaction continuation message, and sends the transaction continuation message to the text server Step 240: When the message server determines that the transaction continued stop message indicates that the account balance is insufficient, it generates a transaction result message indicating that the transaction is rejected, and sends the transaction result message to the transaction client Step 250: When the message server judges that the transaction continues to stop the message indicating that the account balance is sufficient or judges that the scan code transaction is not a return based on the scan code transaction message, it sends the scan code transaction message to the scan code transaction platform Step 255: When the message server determines that the code scanning transaction message is the main scanning transaction message, it converts the code scanning transaction message to the scanned transaction message Step 260: The scan code transaction platform executes the scan code transaction according to the scan code transaction message, and transmits the transaction result message to the message server Step 271: When the message server determines that the transaction result message indicates that the return is successful, it sends the transaction result message to the accounting host Step 275: The accounting host executes the deduction operation according to the transaction result message Step 280: The message server sends the transaction result message to the transaction client, and the transaction client displays the result of the scan code transaction according to the transaction result message Step 291: The scan code transaction platform sends the scan code transaction details to the accounting host Step 295: The accounting host calculates the net transaction value of the special shop based on the transaction details of the scan code, and updates the account balance of the special shop according to the net transaction value of the special shop

第1圖為本創作所提之於掃碼交易過程中檢查退貨特店帳戶餘額之系統架構圖。 第2A圖為本創作所提之於掃碼交易過程中檢查退貨特店帳戶餘額之流程圖。 第2B圖為本創作所提之轉換掃碼交易電文之流程圖。 第2C圖為本創作所提之以歷史交易記錄判斷帳戶餘額是否足夠之流程圖。 第2D圖為本創作所提之帳務主機進行扣款作業之流程圖。 第2E圖為本創作所提之電文伺服器拒絕掃碼交易之流程圖。 第2F圖為本創作所提之另一種帳戶主機進行扣款作業之流程圖。 第2G圖為本創作所提之電文伺服器拒絕掃碼交易之流程圖。 Figure 1 is a diagram of the system architecture proposed by the author for checking the balance of the return store account during the QR code transaction process. Figure 2A is the flow chart of checking the account balance of the return shop during the code scanning transaction. Figure 2B is the flow chart of the conversion scan code transaction message mentioned in the creation. Figure 2C is the flow chart for judging whether the account balance is sufficient based on historical transaction records. Figure 2D is the flow chart of the deduction operation of the accounting host proposed by the author. Figure 2E is the flow chart of the message server rejecting the code scanning transaction mentioned in the creation. Figure 2F is the flow chart of the deduction operation of another account host mentioned in the creation. Figure 2G is the flow chart of the message server rejecting the code scanning transaction mentioned in the creation.

110:交易客戶端 110: Trading Client

120:帳務主機 120: Accounting host

130:電文伺服器 130: Text Server

150:掃碼交易平台 150: Scan code trading platform

Claims (11)

一種於掃碼交易過程中檢查退貨特店帳戶餘額之系統,該系統至少包含: 一交易客戶端,用以於進行一掃碼交易時產生一掃碼交易電文; 一電文伺服器,用以接收該掃碼交易電文,並依據該掃碼交易電文判斷該掃碼交易為退貨時,產生一退貨交易訊息,其中,該退貨交易訊息包含一特店識別資料; 一帳務主機,用以接收該退貨交易訊息,及用以依據該退貨交易訊息判斷與該特店識別資料對應之一退貨特店之一帳戶餘額是否足夠以產生相對應之一交易續停訊息,並傳送該交易續停訊息至該電文伺服器,使該電文伺服器判斷該交易續停訊息是否表示該帳戶餘額足夠;及 一掃碼交易平台,用以接收該電文伺服器於該交易續停訊息表示該帳戶餘額足夠時所傳送之該掃碼交易電文,及用以依據該掃碼交易電文執行該掃碼交易並產生一交易結果電文,及傳送該交易結果電文至該電文伺服器,該電文伺服器更用以傳送該交易結果電文至該交易客戶端,該交易客戶端更用以依據該交易結果電文顯示該掃碼交易之結果。 A system for checking the account balance of a return store during a code scanning transaction. The system at least includes: A transaction client terminal for generating a scan code transaction message when performing a scan code transaction; A message server for receiving the scanning code transaction message, and generating a return transaction message when the scanning code transaction is judged as a return based on the scanning code transaction message, wherein the return transaction message includes a special store identification data; An accounting host for receiving the return transaction message, and for judging whether the account balance of a return special store corresponding to the special store identification data is sufficient to generate a corresponding transaction continuation message based on the return transaction message , And send the transaction resumption message to the text server so that the text server can determine whether the transaction resumption message indicates that the account balance is sufficient; and A scan code transaction platform for receiving the scan code transaction message sent by the message server when the transaction resumption message indicates that the account balance is sufficient, and used to execute the scan code transaction based on the scan code transaction message and generate a The transaction result message, and the transaction result message is sent to the message server, the message server is further used to send the transaction result message to the transaction client, and the transaction client is further used to display the scan code based on the transaction result message The result of the transaction. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該電文伺服器更用以判斷該掃碼交易電文為主掃交易電文時,將該掃碼交易電文轉換為被掃交易電文。For example, the system for checking the account balance of the return shop during the code scanning transaction described in claim 1, wherein the message server is further used to determine that the code scanning transaction message is the main scanning transaction message and convert the scanning transaction message The transaction message was scanned. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該電文伺服器更用以判斷該交易續停訊息表示該帳戶餘額不足時,產生表示拒絕交易之該交易結果電文,並傳送該交易結果電文至該交易客戶端。For example, the system for checking the account balance of the return shop during the code scanning transaction described in claim 1, wherein the text server is further used to determine that the transaction resumption message indicates that the account balance is insufficient, and generate the transaction indicating that the transaction is rejected The result message, and the transaction result message is sent to the transaction client. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該帳務主機更用以依據該退貨交易訊息執行扣款作業,或依據該電文伺服器於判斷該交易結果電文表示退貨成功時所產生之一交易結果訊息執行扣款作業。For example, the system for checking the account balance of the return shop during the code scanning transaction described in claim 1, wherein the accounting host is further used to perform a deduction operation based on the return transaction message, or to determine the transaction based on the text server The result message indicates that a transaction result message is generated when the return is successful, and the deduction is performed. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該掃碼交易平台更用以傳送一掃碼交易明細至該帳務主機,該帳務主機更用以依據該掃碼交易明細計算該退貨特店之交易淨值並依據該退貨特店之交易淨值更新該帳戶餘額。For example, the system for checking the account balance of the return shop during the code scanning transaction process described in claim 1, wherein the code scanning transaction platform is further used to transmit a code scanning transaction detail to the accounting host, and the accounting host is further used for the basis The scan code transaction details calculate the net transaction value of the special return store and update the account balance based on the net transaction value of the special return store. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該帳務主機更用以依據該特店識別資料讀取該退貨特店之一歷史交易資料,並依據該歷史交易資料判斷一預期交易額及/或評估一貸款額度或一融資額度,及依據該退貨交易訊息中之交易金額、該帳戶餘額、及該預期交易額及/或該貸款額度或該融資額度判斷該帳戶餘額是否足夠。For example, the system for checking the account balance of the return shop during the code scanning transaction described in claim 1, wherein the accounting host is further used to read the historical transaction data of one of the return shop based on the identification data of the special shop, and according to The historical transaction data determines an expected transaction amount and/or evaluates a loan limit or a financing limit, and is based on the transaction amount in the return transaction message, the account balance, and the expected transaction amount and/or the loan limit or the financing The quota determines whether the account balance is sufficient. 如請求項6所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該帳務主機更用以依據該退貨特店之一退貨特店負責人之一通訊資料傳送該融資額度或該貸款額度給該退貨特店負責人,及用以於接收到表示該退貨特店負責人所傳回之表示融資或貸款之回應時,依據該融資額度貨該貸款額度增加退貨特店之帳戶餘額。For example, the system for checking the account balance of the return shop during the code scanning transaction described in claim 6, wherein the accounting host is further used to transmit the financing amount based on the communication data of one of the return shop’s responsible persons of the return shop Or the loan amount is given to the person in charge of the special return shop, and used to increase the return value of the special shop according to the financing amount and the loan amount when receiving a response indicating financing or loan sent by the person in charge of the return special shop account balance. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該帳務主機更用以依據該特店識別資料讀取該退貨特店之一融資額度與一已融資金額或一貸款額度與一已貸款金額,及依據該退貨交易訊息中之交易金額、該帳戶餘額、及該貸款額度或該融資額度之剩餘餘額判斷該帳戶餘額是否足夠。For example, the system for checking the account balance of the return shop during the code scanning transaction described in claim 1, wherein the accounting host is further used to read a financing limit and a financing amount of the return shop based on the identification data of the special shop Amount or a loan amount and a loan amount, and judge whether the account balance is sufficient based on the transaction amount in the return transaction message, the account balance, and the loan amount or the remaining balance of the financing amount. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該帳務主機更用以依據該掃碼交易電文中之一特店識別資料是否與該帳務主機對應而選擇產生並傳送該退貨交易訊息或將該掃碼交易電文傳送至該掃碼交易平台。For example, the system for checking the account balance of the return shop during the code scanning transaction as described in claim 1, wherein the accounting host is further used to determine whether one of the shop identification data in the code scanning transaction message corresponds to the accounting host And choose to generate and send the return transaction message or send the scan code transaction message to the scan code transaction platform. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該電文伺服器更用以使用與該帳務主機約定之一驗證參數對該退貨交易訊息運算,該帳務主機更用以使用與該電文伺服器約定之該驗證參數對該退貨交易訊息運算以驗證並檢核該退貨交易訊息。For example, the system for checking the account balance of the return shop during the code scanning transaction described in claim 1, wherein the text server is further used to use a verification parameter agreed with the accounting host to calculate the return transaction message, the account The service host is further used to use the verification parameter agreed with the text server to calculate the return transaction message to verify and check the return transaction message. 如請求項1所述之於掃碼交易過程中檢查退貨特店帳戶餘額之系統,其中該帳務主機更用以使用與該電文伺服器約定之一驗證參數對該交易續停訊息運算,該電文伺服器更用以使用與該帳務主機約定之該驗證參數對該交易續停訊息運算以驗證並檢核該交易續停訊息。For example, the system for checking the account balance of the return shop during the code scanning transaction as described in claim 1, wherein the accounting host is further used to calculate the transaction resumption message using a verification parameter agreed with the text server, the The text server is further used to use the verification parameter agreed with the accounting host to calculate the transaction continuation message to verify and check the transaction continuation message.
TW110204872U 2021-04-29 2021-04-29 System for checking account balance of return shop during code scanning transaction process TWM618473U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110204872U TWM618473U (en) 2021-04-29 2021-04-29 System for checking account balance of return shop during code scanning transaction process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110204872U TWM618473U (en) 2021-04-29 2021-04-29 System for checking account balance of return shop during code scanning transaction process

Publications (1)

Publication Number Publication Date
TWM618473U true TWM618473U (en) 2021-10-21

Family

ID=79603546

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110204872U TWM618473U (en) 2021-04-29 2021-04-29 System for checking account balance of return shop during code scanning transaction process

Country Status (1)

Country Link
TW (1) TWM618473U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI786617B (en) * 2021-04-29 2022-12-11 臺灣中小企業銀行股份有限公司 System for checking account balance of store being returned during code scan transaction and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI786617B (en) * 2021-04-29 2022-12-11 臺灣中小企業銀行股份有限公司 System for checking account balance of store being returned during code scan transaction and method thereof

Similar Documents

Publication Publication Date Title
US11410247B2 (en) Automatic triggering of receipt delivery
US8200260B2 (en) Systems and methods for processing purchase transactions between mobile phones
RU2718227C1 (en) Communication network and method of processing pre-return payment disputes
US11049085B2 (en) Point of sale client integration platform
US20220335405A1 (en) Payment System
US20180101837A1 (en) NFC-Enabled Point of Sale System and Process
CN111292080A (en) Campus unmanned payment information processing method and system, storage medium and mobile terminal
TWM618473U (en) System for checking account balance of return shop during code scanning transaction process
CN113673974A (en) Electronic currency off-line transaction method and transaction device
TWI786617B (en) System for checking account balance of store being returned during code scan transaction and method thereof
TWM642520U (en) Online service transaction system that provides performance guarantee and telecom collection settings
CN114066451A (en) Method and system for managing fund transaction and electronic equipment
TWI636431B (en) System for transferring after opening bank account automatically based on borrowing data and method thereof
TWM592546U (en) System providing application host interface for electronic payment
TWI772710B (en) System for providing interface to application server for electronic payment and method thereof
TWI810480B (en) Device for reconfirming transaction when transaction is judged to be impulsive consumption and method thereof
TW201909063A (en) System for choosing transaction server to pay according to payment identification and method thereof
TWM550451U (en) System of auto-transferring according to loaning data after account opening
RU105766U1 (en) INTELLIGENT MICROFINANCE NETWORK
TWI792010B (en) System for using automation machine to scan barcode and verify identity for applying account and method thereof
AU2018101214A4 (en) Payment system
TW202420203A (en) System for providing delivery platform partners for online financing loans and method thereof
TW202123138A (en) System for selecting customer to invite loans proactively and method thereof
TW201905810A (en) System for displaying intermediary bank information to choose intermediary bank and method thereof
TW201905809A (en) Telegraphic transfer system for obtaining pre-edited remittance data and method thereof