TWI745646B - Method, device and server for currency exchange - Google Patents

Method, device and server for currency exchange Download PDF

Info

Publication number
TWI745646B
TWI745646B TW108100361A TW108100361A TWI745646B TW I745646 B TWI745646 B TW I745646B TW 108100361 A TW108100361 A TW 108100361A TW 108100361 A TW108100361 A TW 108100361A TW I745646 B TWI745646 B TW I745646B
Authority
TW
Taiwan
Prior art keywords
currency exchange
order
status
request
server
Prior art date
Application number
TW108100361A
Other languages
Chinese (zh)
Other versions
TW201939408A (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 開曼群島商創新先進技術有限公司
Publication of TW201939408A publication Critical patent/TW201939408A/en
Application granted granted Critical
Publication of TWI745646B publication Critical patent/TWI745646B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本發明實施例揭示一種用於貨幣兌換的方法、裝置和伺服器,該方法包括:若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態;向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。The embodiment of the present invention discloses a method, a device, and a server for currency exchange. The method includes: if an order status modification request is received, modifying the order status of the currency exchange order to a cash withdrawal state, and the order status modification The request is used to request that the order status of the currency exchange order be modified to the cash withdrawal state when the user arrives at the cash withdrawal counter and the cash is not withdrawn; the first notification information is sent to the currency exchange system server, and the first notification information is used In order to notify the currency exchange server that the order status of the currency exchange order is the withdrawn state, the currency exchange system server is used to refuse the client to send when the order status of the currency exchange order is the withdrawn state Request a refund request.

Description

用於貨幣兌換的方法、裝置和伺服器Method, device and server for currency exchange

本發明係有關網路技術領域,更具體地有關用於貨幣兌換的方法、裝置和伺服器。The present invention relates to the field of network technology, and more specifically to methods, devices and servers for currency exchange.

在日常生活中,越來越多的人需要出境參加會議或者出境旅遊,這就需要人們提前準備一些外幣。目前貨幣兌換的實現方式通常需要用戶透過外幣兌換系統在手機應用程式(Application,APP)上購買外幣,支付後去兌換公司網點取鈔,如果不取鈔可以選擇退款。具體的流程可以被描述為:用戶在手機APP上下單購買外幣,外幣兌換系統通知外幣兌換公司用戶已下單買外幣,在用戶完成支付後,外幣兌換系統通知外幣兌換公司用戶已支付,之後外幣兌換公司通知用戶已配鈔可以來網點取鈔,用戶到網點完成取鈔。如果用戶選擇不取鈔,則用戶在手機APP上發起退款,外幣兌換系統通知外幣兌換公司用戶已下單退款,外幣兌換公司確認退款給用戶後,外幣兌換系統退款給用戶。但是目前的貨幣兌換的過程由於外幣兌換系統和外幣兌換公司系統之間的互動可能非同步或者存在通信延遲,用戶在櫃檯外取鈔的同時點擊退款,可能會退款成功,給外幣兌換公司帶來資金損失。 因此,需求一種用於貨幣兌換的方法,來克服上述技術問題。In daily life, more and more people need to go abroad to participate in conferences or outbound travel, which requires people to prepare some foreign currency in advance. The current implementation of currency exchange usually requires users to purchase foreign currency on a mobile phone application (Application, APP) through the foreign currency exchange system, and then go to exchange company outlets to withdraw money after payment. If you don't withdraw money, you can choose to refund. The specific process can be described as: the user places an order to buy foreign currency on the mobile app, the foreign currency exchange system notifies the foreign currency exchange company that the user has placed the order to buy foreign currency, after the user completes the payment, the foreign currency exchange system notifies the foreign currency exchange company that the user has paid, and then the foreign currency The exchange company informs the user that the banknote has been dispensed and can come to the branch to withdraw money, and the user can complete the withdrawal at the branch. If the user chooses not to withdraw money, the user initiates a refund on the mobile app, and the foreign currency exchange system informs the foreign currency exchange company that the user has placed an order for a refund. After the foreign currency exchange company confirms the refund to the user, the foreign currency exchange system refunds the user. However, due to the current currency exchange process, the interaction between the foreign currency exchange system and the foreign currency exchange company system may be asynchronous or there may be communication delays. If the user clicks on the refund while withdrawing money outside the counter, the refund may be successful and the foreign currency exchange company will be refunded. Bring financial losses. Therefore, a method for currency exchange is needed to overcome the above technical problems.

本發明的目的在於提供一種用於貨幣兌換的方法、裝置和伺服器,能夠避免用戶在取鈔的同時選擇退款給貨幣兌換公司帶來的資金損失。 為解決上述技術問題,本發明實施例是這樣實現的: 第一態樣,提供了一種用於貨幣兌換的方法,包括: 若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態; 向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 第二態樣,提供了一種用戶貨幣兌換的方法,包括: 若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求; 接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 第三態樣,提供一種用於貨幣兌換的裝置,包括: 處理單元,若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態; 收發單元,向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 第四態樣,提供一種用於貨幣兌換的裝置,包括: 發送單元,若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求; 接收單元,接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 第五態樣,提供一種貨幣兌換公司伺服器,包括: 處理器;以及 被配置成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使用所述處理器執行以下操作: 若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態; 向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 第六態樣,提供一種貨幣兌換系統伺服器,包括: 處理器;以及 被配置成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使用所述處理器執行以下操作: 若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求; 接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 第七態樣,提供一種電腦可讀媒體,所述電腦可讀媒體儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的貨幣兌換公司伺服器執行時,使得所述貨幣兌換公司伺服器執行以下操作: 若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態; 向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 第八態樣,提供一種電腦可讀媒體,所述電腦可讀媒體儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的貨幣兌換系統伺服器執行時,使得所述貨幣兌換系統伺服器執行以下操作: 若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求; 接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 由以上本發明實施例提供的技術方案可見,本發明實施例在接收到用以請求在用戶到達取鈔櫃檯且未取鈔時將貨幣兌換訂單的訂單狀態修改為已取鈔狀態的訂單狀態修改請求時,將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,並透過向貨幣兌換系統伺服器發送第一通知資訊,通知貨幣兌換系統伺服器貨幣兌換訂單的訂單狀態為已取鈔狀態。根據本發明實施例的方法,用戶在實際取鈔的過程中貨幣兌換訂單的訂單狀態已被修改為已取鈔狀態並同步到貨幣兌換系統伺服器,因此即使用戶在實際取鈔的過程中向貨幣兌換伺服器發送申請退款請求,該申請退款請求也會被拒絕,從而避免用戶在取鈔的同時申請退款給貨幣兌換公司帶來的資金損失。The purpose of the present invention is to provide a method, device and server for currency exchange, which can avoid the capital loss caused to the currency exchange company when the user chooses to refund while withdrawing money. In order to solve the above technical problems, the embodiments of the present invention are implemented as follows: The first aspect provides a method for currency exchange, including: If the order status modification request is received, the order status of the currency exchange order is modified to the cash withdrawal state, and the order status modification request is used to request the currency exchange order when the user arrives at the cash withdrawal counter and has not withdrawn the cash. The order status is changed to the cash withdrawal status; The first notification information is sent to the currency exchange system server, and the first notification information is used to notify the currency exchange server that the order status of the currency exchange order is the withdrawal state, and the currency exchange system server is used for When the order status of the currency exchange order is the cash withdrawal status, the refund request sent by the user terminal is rejected. The second aspect provides a method for user currency exchange, including: If it is determined to accept the refund request sent by the client, then send the refund request to the server of the currency exchange company; Receive the second notification information sent by the server of the currency exchange company. The second notification information is sent when the server of the exchange company receives the refund request when the order status of the currency exchange order is the cash withdrawal status. The cash withdrawal status is the state in which the currency exchange company server modifies the currency exchange order when it receives the order status modification request. The order status of the currency exchange order is changed to a cash withdrawal state, and the second notification information is used to notify that the refund request is rejected by the server of the currency exchange company. The third aspect provides a device for currency exchange, including: The processing unit, if receiving an order status modification request, modify the order status of the currency exchange order to a cash withdrawal status, and the order status modification request is used to request that the currency be transferred when the user arrives at the cash withdrawal counter and does not withdraw the cash. The order status of the exchange order is changed to the cash withdrawal status; The transceiver unit sends first notification information to the currency exchange system server, where the first notification information is used to notify the currency exchange server that the currency exchange order's order status is a cash withdrawal state, and the currency exchange system server The device is used to reject the refund request sent by the user terminal when the order status of the currency exchange order is the cash withdrawal status. The fourth aspect provides a device for currency exchange, including: The sending unit, if it is determined to accept the refund request sent by the client, then sends the refund request to the server of the currency exchange company; The receiving unit receives second notification information sent by the server of the currency exchange company, where the second notification information is sent when the server of the currency exchange company receives the refund request when the order status of the currency exchange order is in the cash withdrawal state Yes, the cash withdrawal status is the state in which the currency exchange company server modifies the currency exchange order when it receives the order status modification request. The order status modification request is used to request that the user arrives at the cash withdrawal counter and the cash is not withdrawn At this time, the order status of the currency exchange order is modified to the cash withdrawal status, and the second notification information is used to notify that the refund application request is rejected by the server of the currency exchange company. The fifth aspect provides a currency exchange company server, including: Processor; and The memory is configured to store computer-executable instructions, and when the executable instructions are executed, the processor performs the following operations: If the order status modification request is received, the order status of the currency exchange order is modified to the cash withdrawal state, and the order status modification request is used to request the currency exchange order when the user arrives at the cash withdrawal counter and has not withdrawn the cash. The order status is changed to the cash withdrawal status; The first notification information is sent to the currency exchange system server, and the first notification information is used to notify the currency exchange server that the order status of the currency exchange order is the withdrawal state, and the currency exchange system server is used for When the order status of the currency exchange order is the cash withdrawal status, the refund request sent by the user terminal is rejected. The sixth aspect provides a currency exchange system server, including: Processor; and The memory is configured to store computer-executable instructions, and when the executable instructions are executed, the processor performs the following operations: If it is determined to accept the refund request sent by the client, then send the refund request to the server of the currency exchange company; Receive the second notification information sent by the server of the currency exchange company. The second notification information is sent by the server of the currency exchange company when the order status of the currency exchange order is the cash withdrawal state when the server of the currency exchange company receives the refund request. The cash withdrawal status is the state in which the currency exchange company server modifies the currency exchange order when it receives the order status modification request. The order status of the currency exchange order is changed to a cash withdrawal state, and the second notification information is used to notify that the refund request is rejected by the server of the currency exchange company. A seventh aspect provides a computer-readable medium that stores one or more programs that, when executed by a server of a currency exchange company including multiple application programs, cause all The server of the currency exchange company performs the following operations: If the order status modification request is received, the order status of the currency exchange order is modified to the cash withdrawal state, and the order status modification request is used to request the currency exchange order when the user arrives at the cash withdrawal counter and has not withdrawn the cash. The order status is changed to the cash withdrawal status; The first notification information is sent to the currency exchange system server, and the first notification information is used to notify the currency exchange server that the order status of the currency exchange order is the withdrawal state, and the currency exchange system server is used for When the order status of the currency exchange order is the cash withdrawal status, the refund request sent by the user terminal is rejected. An eighth aspect provides a computer-readable medium that stores one or more programs that, when executed by a currency exchange system server including multiple application programs, cause all The server of the currency exchange system performs the following operations: If it is determined to accept the refund request sent by the client, then send the refund request to the server of the currency exchange company; Receive the second notification information sent by the server of the currency exchange company. The second notification information is sent by the server of the currency exchange company when the order status of the currency exchange order is the cash withdrawal state when the server of the currency exchange company receives the refund request. The cash withdrawal status is the state in which the currency exchange company server modifies the currency exchange order when it receives the order status modification request. The order status of the currency exchange order is changed to a cash withdrawal state, and the second notification information is used to notify that the refund request is rejected by the server of the currency exchange company. As can be seen from the technical solutions provided by the above embodiments of the present invention, the embodiment of the present invention receives an order status modification request to change the order status of the currency exchange order to the cash withdrawal state when the user arrives at the cash withdrawal counter and does not withdraw the cash. When requested, the order status of the currency exchange order is modified to the cash withdrawal status, and the currency exchange system server is notified that the currency exchange order has the cash withdrawal status by sending the first notification information to the currency exchange system server. According to the method of the embodiment of the present invention, the order status of the currency exchange order during the actual cash withdrawal process of the user has been modified to the cash withdrawal state and synchronized to the currency exchange system server. Therefore, even if the user sends the currency to the currency exchange system server during the actual cash withdrawal process, The currency exchange server sends a refund request, and the refund request will also be rejected, so as to avoid the loss of funds to the currency exchange company when the user applies for a refund while withdrawing money.

為了使本技術領域的人員更好地理解本發明中的技術方案,下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明的一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明保護的範圍。 為了便於理解本發明實施例,首先在此介紹本發明實施例中貨幣兌換訂單在每個階段的訂單狀態。如圖1所示的,訂單狀態包括初始狀態、已確認狀態、已支付狀態、已配鈔狀態、已取鈔狀態、超時未取鈔狀態、申請退款狀態、已退款狀態、失敗狀態。其中,初始狀態:用戶在手機用戶端上選擇一種貨幣並下單之後,貨幣兌換系統伺服器產生貨幣兌換訂單。已確認狀態:貨幣兌換公司伺服器接收到下單請求,並確認用戶可以正常下單。已支付狀態:用戶支付貨幣兌換訂單。已配鈔狀態:貨幣兌換公司完成為用戶配鈔。已取鈔狀態:用戶到貨幣兌換公司完成取鈔。超時未取鈔狀態:用戶未在指定時間到貨幣兌換公司取鈔,且未在指定時間內申請退款。申請退款狀態:用戶在支付成功後和取鈔前申請退款。已退款狀態:貨幣兌換系統已退款給用戶。失敗狀態:貨幣兌換公司伺服器確認用戶不可以正常下單、用戶支付失敗、為用戶配鈔失敗、取鈔失敗。 下面將結合圖1所示的訂單狀態詳細介紹本發明實施例的用於貨幣兌換的方法。 圖2是根據本發明的一個實施例的用於貨幣兌換的方法的流程圖。圖2的方法由用於貨幣兌換的裝置來執行。 如圖2所示出的,在S202處,若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態。 需要說明的是,本發明實施例的方法需要事先約定以下規則:(1)貨幣兌換公司的工作人員需要在用戶到達取鈔櫃檯且未取鈔時進行訂單狀態的修改(2)貨幣兌換公司的工作人員須在貨幣兌換訂單的訂單狀態為已取鈔狀態時,才能為用戶提供取鈔服務。 可選地,在一些實施例中,在S202處,將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,包括:若確定接收到訂單狀態修改請求時貨幣兌換訂單的訂單狀態為已配鈔狀態,則將貨幣兌換訂單的訂單狀態由已配鈔狀態變更為已取鈔狀態。 進一步地,在一些實施例中,若確定接收到訂單狀態修改請求時貨幣兌換訂單的訂單狀態不是已配鈔狀態,則拒絕貨幣兌換訂單的訂單狀態修改為已取鈔狀態。 也就是說,在對貨幣兌換訂單的訂單狀態進行修改時先進行前置狀態檢查,如果符合規則就對訂單狀態進行修改,否則不對訂單狀態進行修改。由此能夠確保用戶和貨幣兌換公司的資金不受損失。 舉例來說,如果在接收到訂單狀態修改請求時貨幣兌換訂單的訂單狀態為初始狀態、已確認狀態、已支付狀態、申請退款狀態、已退款狀態和失敗狀態中的一種,則不對訂單狀態進行修改,只有在接收到訂單狀態修改請求時貨幣兌換訂單的訂單狀態已配鈔狀態時,才將訂單狀態由已配鈔狀態修改為已取鈔狀態,可以避免貨幣兌換公司在未為用戶配鈔的情況下將訂單狀態修改為已取鈔狀態,導致用戶取不到鈔的情況給用戶帶來的資產損失。 或者又例如,如果在接收到訂單狀態修改請求時貨幣兌換訂單的訂單狀態為已退款狀態,則拒絕將訂單狀態修改為已取鈔狀態,即如果已退款給用戶則不允許用戶取鈔,進而將不會為用戶提供取鈔服務,能夠避免用戶退款後再取鈔給貨幣兌換公司帶來的資產損失。 在S204處,向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 也就是說,在S204處,如果訂單狀態已被修改為已取鈔狀態,則將這個狀態同步到貨幣兌換系統伺服器。之後如果貨幣兌換系統伺服器接收到用戶端發送的申請退款請求,貨幣兌換系統伺服器將拒絕申請退款請求。由此能夠避免用戶取鈔的同時申請退款給貨幣兌換公司帶來的資產損失。 在本發明實施例中,可選地,圖2所示的方法還包括:若在接收到貨幣兌換系統伺服器發送的申請退款請求時,貨幣兌換訂單的訂單狀態為已取鈔狀態,則確定拒絕申請退款請求;向貨幣兌換系統伺服器發送第二通知資訊,第二通知資訊用以通知貨幣兌換系統伺服器申請退款請求被拒絕。由於訂單狀態是在用戶到達取鈔櫃檯且未取鈔時被修改為已取鈔狀態的,因此在用戶實際取鈔的過程中貨幣兌換訂單的訂單狀態已經是已取鈔狀態,即使在這個過程中接收到貨幣兌換系統伺服器發送的申請退款請求,該申請退款請求也將被拒絕,能夠避免用戶在取鈔的同時申請退款給貨幣兌換公司帶來的資產損失。 圖3是根據本發明的另一個實施例的用於貨幣兌換的方法的流程圖。圖3的方法由用於貨幣兌換的裝置來執行,用於貨幣兌換的裝置例如可以是貨幣兌換系統伺服器。 如圖3所示出的,在S302處,若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求。 可選地,在一些實施例中,若確定接收到申請退款請求時,貨幣兌換訂單的訂單狀態為已配鈔狀態或已支付狀態,則確定接受所述申請退款請求。 可以理解的是,在S302處,接受用戶端發送的申請退款請求意味著允許用戶申請退款,但最終是否能夠退款給用戶取決於貨幣兌換公司回饋的資訊。 進一步地,在一些實施例中,圖2所示的方法還包括:接收貨幣兌換公司伺服器發送的第一通知資訊,第一通知資訊用以通知貨幣兌換訂單的訂單狀態為已取鈔狀態;若確定接收到申請退款請求時貨幣兌換訂單的狀態為已取鈔狀態,則確定拒絕申請退款請求。也就是說,如果接收到申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態,則確定不允許用戶申請退款。 在S304處,接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 可選地,在一些實施例中,在接收到貨幣兌換公司伺服器發送的第二通知資訊之後,確認用戶的申請退款請求被貨幣兌換公司伺服器拒絕,則向申請退款請求的用戶端發送通知用戶端申請退款請求被拒絕的通知資訊,以使用戶獲知申請退款失敗。 可選地,在另一些實施例中,如果兌換公司伺服器在接收到申請退款請求時貨幣兌換訂單的訂單狀態不是已取鈔狀態,例如為已配鈔狀態,則兌換公司伺服器向貨幣兌換系統伺服器發送通知申請退款請求被接受的通知資訊,兌換系統伺服器接收到該通知資訊後,按照約定退款給申請退款的用戶。 可以看出,圖3所示的方法,貨幣兌換系統伺服器在向貨幣兌換公司伺服器發送申請退款請求之後,如果貨幣兌換公司伺服器確定接收到申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態,則貨幣兌換公司伺服器將拒絕該申請退款請求,並向貨幣兌換系統伺服器發送通知申請退款請求被拒絕的第二通知資訊,從而使得貨幣兌換系統伺服器拒絕用戶的退款申請。由於貨幣兌換訂單的訂單狀態是在用戶實際取鈔之前被修改為已取鈔狀態的,即使用戶在實際取鈔的過程中,貨幣兌換系統伺服器向貨幣兌換公司伺服器發送申請退款請求,該申請退款請求也會被拒絕,從而避免在用戶取鈔的同時接收到用戶的申請退款請求導致的用戶取鈔和申請退款均成功的情況帶來的資金損失。 以上結合圖1至圖3詳細描述了根據本發明實施例的用於貨幣兌換的方法。下面將結合圖4詳細描述根據本發明實施例的貨幣兌換公司伺服器。參考圖4,在硬體層面,貨幣兌換公司伺服器包括處理器,可選地,包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該貨幣兌換公司伺服器還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以透過內部匯流排相互連接,該內部匯流排可以是工業標準架構(Industry Standard Architecture,ISA)匯流排、周邊組件互連標準(Peripheral Component Interconnect,PCI)匯流排或延伸工業標準架構(Extended Industry Standard Architecture,EISA)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為了便於表示,圖4中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用以存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非揮發性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成用於貨幣兌換的裝置。處理器,執行記憶體所存放的程式,並具體用來執行以下操作: 若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態; 向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 上述如本發明圖2所示實施例揭示的用於貨幣兌換的裝置執行的方法可以應用於處理器中,或者由處理器來實現。處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器中的硬體的整合邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式設計閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式設計邏輯裝置、分開的閘或者電晶體邏輯裝置、分開的硬體元件。可以實現或者執行本發明實施例中的揭示的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何習知的處理器等。結合本發明實施例所揭示的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電可讀寫可程式設計記憶體、暫存器等本領域成熟的儲存媒體中。該儲存媒體位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 當然,除了軟體實現方式之外,本發明的貨幣兌換公司伺服器並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。 本發明實施例還提出了一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式包括指令,該指令當被包括多個應用程式的貨幣兌換公司伺服器執行時,能夠使該貨幣兌換公司伺服器執行圖2所示實施例的方法,並具體用於執行以下方法: 若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用於請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態; 向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用於通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用於在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 下面將結合圖5詳細描述根據本發明另一實施例的貨幣兌換系統伺服器。參考圖5,在硬體層面,貨幣兌換系統伺服器包括處理器,可選地,包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該貨幣兌換系統伺服器還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以透過內部匯流排相互連接,該內部匯流排可以是工業標準架構(Industry Standard Architecture,ISA)匯流排、外設部件互連標準(Peripheral Component Interconnect,PCI)匯流排或延伸工業標準架構(Extended Industry Standard Architecture,EISA)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖5中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非揮發性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成用於貨幣兌換的裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作: 若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求; 接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用於請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用於通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 上述如本發明圖3所示實施例揭示的用於貨幣兌換的裝置執行的方法可以應用於處理器中,或者由處理器實現。處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器中的硬體的整合邏輯電路或者軟體形式的指令來完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式設計閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式設計邏輯裝置、分開的閘或者電晶體邏輯裝置、分開的硬體元件。可以實現或者執行本發明實施例中的揭示的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何習知的處理器等。結合本發明實施例所揭示的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電可讀寫可程式設計記憶體、暫存器等本領域熟知的儲存媒體中。該儲存媒體位於記憶體,處理器讀取記憶體中的資訊,結合其硬體來完成上述方法的步驟。 當然,除了軟體實現方式之外,本發明的貨幣兌換系統伺服器並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。 本發明實施例還提出了一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式包括指令,該指令當被包括多個應用程式的貨幣兌換系統伺服器執行時,能夠使該貨幣兌換系統伺服器執行圖2所示實施例的方法,並具體用於執行以下方法: 若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求; 接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 圖6是本發明的一個實施例的用於貨幣兌換的裝置的結構示意圖。請參考圖6,在一種軟體實施方式中,用戶貨幣兌換的裝置600可包括:處理單元601、和收發單元602,其中, 處理單元601,若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,所述訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態; 收發單元602,向貨幣兌換系統伺服器發送第一通知資訊,所述第一通知資訊用以通知所述貨幣兌換伺服器所述貨幣兌換訂單的訂單狀態為已取鈔狀態,所述貨幣兌換系統伺服器用以在所述貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求。 根據本發明實施例的用於貨幣兌換的裝置,在接收到用以請求在用戶到達取鈔櫃檯且未取鈔時將貨幣兌換訂單的訂單狀態修改為已取鈔狀態的訂單狀態修改請求時,將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,並透過向貨幣兌換系統伺服器發送第一通知資訊,通知貨幣兌換系統伺服器貨幣兌換訂單的訂單狀態為已取鈔狀態,使得用戶在實際取鈔的過程中貨幣兌換訂單的訂單狀態已被修改為已取鈔狀態並同步到貨幣兌換系統伺服器,因此即使用戶在實際取鈔的過程中向貨幣兌換伺服器發送申請退款請求,該申請退款請求也會被拒絕,從而避免用戶在取鈔的同時申請退款給貨幣兌換公司帶來的資金損失。 可選地,作為一個實施例,處理單元601: 若確定接收到所述訂單狀態修改請求時所述貨幣兌換訂單的訂單狀態為已配鈔狀態,則將所述貨幣兌換訂單的訂單狀態由已配鈔狀態變更為已取鈔狀態。 可選地,作為一個實施例,處理單元601: 若確定接收到訂單狀態修改請求時所述貨幣兌換訂單的訂單狀態不是已配鈔狀態,則拒絕將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態。 可選地,作為一個實施例,處理單元601:若在接收到所述貨幣兌換系統伺服器發送的申請退款請求時,所述貨幣兌換訂單的訂單狀態為已取鈔狀態,則確定拒絕所述申請退款請求; 收發單元602,向所述貨幣兌換系統伺服器發送第二通知資訊,第二通知資訊用以通知所述貨幣兌換系統伺服器所述申請退款請求被拒絕。 用於貨幣兌換的裝置600還可執行圖2所示實施例的方法,並實現用於貨幣兌換的裝置在圖2所示實施例的功能,本發明實施例在此不再贅述。 圖7是本發明的另一個實施例的用於貨幣兌換的裝置的結構示意圖。請參考圖7,在一種軟體實施方式中,用於貨幣兌換的裝置700可包括:發送單元701和接收單元702,其中, 發送單元701,若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送所述申請退款請求; 接收單元702,接收所述貨幣兌換公司伺服器發送的第二通知資訊,第二通知資訊是兌換公司伺服器在接收到所述申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為貨幣兌換公司伺服器在接收到訂單狀態修改請求時將所述貨幣兌換訂單修改後的狀態,所述訂單狀態修改請求用於請求在用戶到達取鈔櫃檯且未取鈔時將所述貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知所述申請退款請求被所述貨幣兌換公司伺服器拒絕。 根據本發明實施例的用於貨幣兌換的裝置,在向貨幣兌換公司伺服器發送申請退款請求之後,接收貨幣兌換公司伺服器在接收到申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的第二通知資訊。由於貨幣兌換訂單的訂單狀態是在用戶實際取鈔之前被修改為已取鈔狀態的,即使用戶在實際取鈔的過程中,用於貨幣兌換的裝置向貨幣兌換公司伺服器發送申請退款請求,該申請退款請求也會被拒絕,從而避免在用戶取鈔的同時接收到用戶的申請退款請求導致的用戶取鈔和申請退款均成功的情況帶來的資金損失。 可選地,作為一個實施例,如圖7所示出的,用於貨幣兌換的裝置700還包括處理單元703: 處理單元703,若確定接收單元702接收到所述申請退款請求時,所述貨幣兌換訂單的訂單狀態為已配鈔狀態或已支付狀態,則確定接受所述申請退款請求。 可選地,作為一個實施例,如圖7所示出的,用於貨幣兌換的裝置700還包括處理單元703; 接收單元702,接收所述貨幣兌換公司伺服器發送的第一通知資訊,第一通知資訊用以通知所述貨幣兌換訂單的訂單狀態為已取鈔狀態; 處理單元703,若確定接收單元702接收到所述申請退款請求時所述貨幣兌換訂單的狀態為已取鈔狀態,則確定拒絕所述申請退款請求。 用於貨幣兌換的裝置700還可執行圖3所示實施例的方法,並實現用於貨幣兌換的裝置在圖3所示實施例的功能,本發明實施例在此不再贅述。 總之,以上所述僅為本發明的較佳實施例而已,並非用來限定本發明的保護範圍。凡在本發明的精神和原則之內,所作的任何修改、等同替換、改進等,均應包含在本發明的保護範圍之內。 上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦。具體的,電腦例如可以為個人電腦、膝上型電腦、蜂巢式電話、相機電話、智慧型電話、個人數位助理、媒體播放機、導航設備、電子郵件設備、遊戲控制台、平板電腦、可穿戴式設備或者這些設備中的任何設備的組合。 電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式設計唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸媒體,可用來儲存可以被計算設備訪問的資訊。按照本文中的界定,電腦可讀媒體不包括暫態性電腦可讀媒體(transitory media),如調變的資料信號和載波。 還需要說明的是,術語“包括”、“包含”或者其任何其他變型意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 本說明書中的各個實施例均採用漸進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述得比較簡單,相關之處參見方法實施例的部分說明即可。In order to enable those skilled in the art to better understand the technical solutions in the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention. In order to facilitate the understanding of the embodiment of the present invention, firstly, the order status of the currency exchange order in each stage of the embodiment of the present invention is introduced here. As shown in Figure 1, the order status includes the initial status, confirmed status, paid status, dispensed status, withdrawal status, overtime non-withdrawal status, refund request status, refund status, and failed status . Among them, the initial state: After the user selects a currency on the mobile phone client and places an order, the currency exchange system server generates a currency exchange order. Confirmed status: The currency exchange company server receives the order request and confirms that the user can place the order normally. Paid status: The user pays for the currency exchange order. Cash distribution status: The currency exchange company has completed distribution of cash for users. Withdrawal status: The user goes to the currency exchange company to complete the withdrawal. Overtime non-withdrawal status: The user did not withdraw money from the currency exchange company within the specified time, and did not apply for a refund within the specified time. Refund application status: The user applies for a refund after successful payment and before withdrawal. Refunded status: The currency exchange system has refunded the user. Failure status: The server of the currency exchange company confirms that the user cannot place an order normally, the user fails to pay, fails to dispense money for the user, and fails to withdraw money. The method for currency exchange according to an embodiment of the present invention will be described in detail below in conjunction with the order status shown in FIG. 1. Fig. 2 is a flowchart of a method for currency exchange according to an embodiment of the present invention. The method of FIG. 2 is executed by a device for currency exchange. As shown in Figure 2, at S202, if an order status modification request is received, the order status of the currency exchange order is modified to a cash withdrawal state, and the order status modification request is used to request that the user arrives at the cash withdrawal counter And when the money is not withdrawn, the order status of the currency exchange order is modified to the money withdrawn state. It should be noted that the method of the embodiment of the present invention requires the following rules to be agreed in advance: (1) The staff of the currency exchange company needs to modify the order status when the user arrives at the cash withdrawal counter and does not withdraw the cash (2) The currency exchange company's The staff must provide cash withdrawal services for users only when the order status of the currency exchange order is cash withdrawal status. Optionally, in some embodiments, at S202, the order status of the currency exchange order is modified to the cash withdrawal status, including: if it is determined that the order status of the currency exchange order is the cash dispensed status when the order status modification request is received , The order status of the currency exchange order is changed from the dispensed state to the withdrawn state. Further, in some embodiments, if it is determined that when the order status modification request is received, the order status of the currency exchange order is not the cash dispensed status, then the order status of the rejected currency conversion order is modified to the cash withdrawal status. That is to say, when modifying the order status of the currency exchange order, the pre-status check is performed first, and the order status is modified if the rules are met, otherwise the order status is not modified. This can ensure that the funds of users and currency exchange companies are not lost. For example, if the order status of a currency exchange order is one of the initial status, confirmed status, paid status, refund request status, refunded status, and failed status when the request to modify the order status is received, the order is not correct The status is modified. Only when the order status of the currency exchange order has been dispensed when the order status modification request is received, the order status is changed from the dispensed state to the cash withdrawal state, which can prevent the currency exchange company from being a user In the case of cash distribution, the order status is changed to the cash withdrawal status, which causes asset losses to the user if the user cannot withdraw the cash. Or for another example, if the order status of the currency exchange order is refunded when the order status modification request is received, the order status is refused to be changed to the cash withdrawal status, that is, if the refund has been given to the user, the user is not allowed to withdraw cash , And then will not provide users with cash withdrawal services, which can avoid the asset loss caused by the currency exchange company after the user withdraws the cash after the refund. At S204, first notification information is sent to the currency exchange system server, where the first notification information is used to notify the currency exchange server that the currency exchange order has an order status of a cash withdrawal state, and the currency exchange system The server is used for rejecting the refund request sent by the user terminal when the order status of the currency exchange order is the cash withdrawal status. That is to say, at S204, if the order status has been modified to the cash withdrawal status, this status is synchronized to the currency exchange system server. Afterwards, if the currency exchange system server receives a refund request sent by the client, the currency exchange system server will reject the refund request. In this way, it is possible to avoid asset losses to the currency exchange company caused by the user applying for a refund while withdrawing money. In the embodiment of the present invention, optionally, the method shown in FIG. 2 further includes: if the order status of the currency exchange order is the cash withdrawal status when the request for refund from the server of the currency exchange system is received, then It is determined that the refund request is rejected; the second notification information is sent to the server of the currency exchange system, and the second notification information is used to notify the server of the currency exchange system that the refund request is rejected. Since the order status is changed to the cash withdrawal status when the user arrives at the cash withdrawal counter and the cash is not withdrawn, the order status of the currency exchange order is already cash withdrawal during the actual cash withdrawal process, even during this process When receiving a refund request sent by the server of the currency exchange system, the refund request will also be rejected, which can avoid the asset loss of the currency exchange company when the user applies for a refund while withdrawing money. Fig. 3 is a flowchart of a method for currency exchange according to another embodiment of the present invention. The method in FIG. 3 is executed by an apparatus for currency exchange, and the apparatus for currency exchange may be, for example, a currency exchange system server. As shown in FIG. 3, at S302, if it is determined that the refund request sent by the client is accepted, the refund request is sent to the server of the currency exchange company. Optionally, in some embodiments, if it is determined that when the request for refund application is received, the order status of the currency exchange order is the status of dispensed or paid, then it is determined to accept the request for refund. It is understandable that at S302, accepting the refund request sent by the user terminal means that the user is allowed to apply for a refund, but whether the refund can be given to the user in the end depends on the information provided by the currency exchange company. Further, in some embodiments, the method shown in FIG. 2 further includes: receiving first notification information sent by a server of a currency exchange company, the first notification information being used to notify that the order status of the currency exchange order is a cash withdrawal status; If it is determined that the status of the currency exchange order when the refund request is received is the cash withdrawal status, it is determined that the refund request is rejected. That is to say, if the order status of the currency exchange order is the cash withdrawal status when the request for refund is received, it is determined that the user is not allowed to apply for a refund. At S304, the second notification information sent by the server of the currency exchange company is received. The second notification information is when the server of the currency exchange company receives the refund request when the order status of the currency exchange order is in the cash withdrawal state The cash withdrawal status is the state in which the currency exchange company server has modified the currency exchange order when it receives the order status modification request. When making banknotes, the order status of the currency exchange order is modified to the state of withdrawn, and the second notification information is used to notify that the refund request is rejected by the server of the currency exchange company. Optionally, in some embodiments, after receiving the second notification information sent by the server of the currency exchange company, it is confirmed that the user's request for refund is rejected by the server of the currency exchange company, and then the client that applies for the refund request is sent Send notification information to notify the client that the refund request is rejected, so that the user is notified that the refund application has failed. Optionally, in other embodiments, if the currency exchange order's order status is not in the cash-withdrawn state when the exchange company server receives the refund request The redemption system server sends a notification that the refund request is accepted. After receiving the notification, the redemption system server will refund the user who applied for the refund according to the agreement. It can be seen that, in the method shown in Figure 3, after the currency exchange system server sends a refund request to the currency exchange company server, if the currency exchange company server determines the order status of the currency exchange order when the refund request is received The currency exchange company server will reject the refund request and send a second notification to the currency exchange system server that the refund request has been rejected, so that the currency exchange system server rejects the user Request for a refund. Since the order status of the currency exchange order is changed to the cash withdrawal status before the user actually withdraws the currency, even if the user is actually withdrawing the currency, the currency exchange system server sends a refund request to the currency exchange company server. The refund application request will also be rejected, so as to avoid the capital loss caused by the successful withdrawal of the user's money and the successful application of the refund when the user's request for the refund is received while the user withdraws the money. The method for currency exchange according to an embodiment of the present invention is described in detail above with reference to FIGS. 1 to 3. The server of a currency exchange company according to an embodiment of the present invention will be described in detail below with reference to FIG. 4. Referring to Figure 4, at the hardware level, the currency exchange company server includes a processor, optionally, an internal bus, a network interface, and a memory. Among them, the memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory, etc. . Of course, the server of the currency exchange company may also include hardware required for other services. The processor, network interface, and memory can be connected to each other through an internal bus, which can be an Industry Standard Architecture (ISA) bus or a Peripheral Component Interconnect (PCI) bus Or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one double-headed arrow is used to indicate in FIG. 4, but it does not mean that there is only one busbar or one type of busbar. Memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to form a device for currency exchange on a logical level. The processor executes the programs stored in the memory, and is specifically used to perform the following operations: If the order status modification request is received, the order status of the currency exchange order is modified to the cash withdrawal state, and the order status modification request is used to request the currency exchange order when the user arrives at the cash withdrawal counter and has not withdrawn the cash. The order status is changed to the cash withdrawal status; The first notification information is sent to the currency exchange system server, and the first notification information is used to notify the currency exchange server that the order status of the currency exchange order is the withdrawal state, and the currency exchange system server is used for When the order status of the currency exchange order is the cash withdrawal status, the refund request sent by the user terminal is rejected. The method executed by the apparatus for currency exchange disclosed in the embodiment shown in FIG. 2 of the present invention may be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed through the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DSP), a special Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, separate gate or transistor logic devices, separate hardware components . The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random memory, flash memory, read-only memory, programmable read-only memory, or electrically readable, writable and programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware. Of course, in addition to the software implementation, the currency exchange company server of the present invention does not exclude other implementations, such as logical devices or a combination of software and hardware, etc. That is to say, the execution body of the following processing flow is not limited to Each logical unit can also be a hardware or a logical device. The embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, the one or more programs include instructions, and the instructions are served by a currency exchange company that includes multiple application programs. When the server is executed, the server of the currency exchange company can execute the method of the embodiment shown in FIG. 2, and is specifically used to execute the following methods: If an order status modification request is received, the order status of the currency exchange order is modified to the cash withdrawal status, and the order status modification request is used to request that the currency exchange order be exchanged when the user arrives at the cash withdrawal counter and does not withdraw the cash. The order status is changed to the cash withdrawal status; Send first notification information to the currency exchange system server, where the first notification information is used to notify the currency exchange server that the order status of the currency exchange order is the withdrawal state, and the currency exchange system server is used for When the order status of the currency exchange order is the cash withdrawal status, the refund request sent by the user terminal is rejected. Hereinafter, the server of the currency exchange system according to another embodiment of the present invention will be described in detail with reference to FIG. 5. Referring to FIG. 5, at the hardware level, the currency exchange system server includes a processor, optionally, an internal bus, a network interface, and a memory. Among them, the memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory, etc. . Of course, the currency exchange system server may also include hardware required for other services. The processor, network interface, and memory can be connected to each other through an internal bus, which can be an industry standard architecture (ISA) bus or a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus Row or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one double-headed arrow is used to indicate in FIG. 5, but it does not mean that there is only one busbar or one type of busbar. Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to form a device for currency exchange on a logical level. The processor executes the programs stored in the memory, and is specifically used to perform the following operations: If it is determined to accept the refund request sent by the client, then send the refund request to the server of the currency exchange company; Receive the second notification information sent by the server of the currency exchange company. The second notification information is sent by the server of the currency exchange company when the order status of the currency exchange order is the cash withdrawal state when the server of the currency exchange company receives the refund request. The cash withdrawal status is the state in which the currency exchange company server has modified the currency exchange order when it receives the order status modification request. The order status of the currency exchange order is changed to a cash withdrawal state, and the second notification information is used to notify that the refund request is rejected by the server of the currency exchange company. The method performed by the apparatus for currency exchange disclosed in the embodiment shown in FIG. 3 of the present invention may be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed through the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DSP), a special Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, separate gate or transistor logic devices, separate hardware components . The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in random memory, flash memory, read-only memory, programmable read-only memory, or electrically readable and writable programmable memory, register and other storage media well known in the art. The storage medium is located in the memory, and the processor reads the information in the memory and combines with its hardware to complete the steps of the above method. Of course, in addition to the software implementation, the currency exchange system server of the present invention does not exclude other implementations, such as logical devices or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to Each logical unit can also be a hardware or a logical device. An embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, the one or more programs include instructions, and the instructions are served by a currency exchange system that includes multiple application programs. When the server is executed, the currency exchange system server can be used to execute the method of the embodiment shown in FIG. 2, and is specifically used to execute the following methods: If it is determined to accept the refund request sent by the client, then send the refund request to the server of the currency exchange company; Receive the second notification information sent by the server of the currency exchange company. The second notification information is sent when the server of the exchange company receives the refund request when the order status of the currency exchange order is the cash withdrawal status. The cash withdrawal status is the state in which the currency exchange company server modifies the currency exchange order when it receives the order status modification request. The order status of the currency exchange order is changed to a cash withdrawal state, and the second notification information is used to notify that the refund request is rejected by the server of the currency exchange company. Fig. 6 is a schematic structural diagram of an apparatus for currency exchange according to an embodiment of the present invention. Please refer to FIG. 6, in a software implementation manner, the user currency exchange apparatus 600 may include: a processing unit 601, and a transceiver unit 602, wherein, The processing unit 601, if receiving an order status modification request, modify the order status of the currency exchange order to a cash withdrawal state, and the order status modification request is used to request that the user arrives at the cash withdrawal counter and does not withdraw the cash. The order status of the currency exchange order is changed to the cash withdrawal status; The transceiver unit 602 sends first notification information to the currency exchange system server, where the first notification information is used to notify the currency exchange server that the currency exchange order's order status is a cash withdrawal state, and the currency exchange system The server is used for rejecting the refund request sent by the user terminal when the order status of the currency exchange order is the cash withdrawal status. According to the apparatus for currency exchange according to the embodiment of the present invention, upon receiving an order status modification request for requesting that the order status of the currency exchange order be modified to the cash withdrawal state when the user arrives at the cash withdrawal counter and the cash is not withdrawn, Modify the order status of the currency exchange order to the cash withdrawal status, and by sending the first notification information to the currency exchange system server, notify the currency exchange system server that the currency conversion order is the cash withdrawal status, so that the user is actually During the cash withdrawal process, the order status of the currency exchange order has been modified to the cash withdrawal status and synchronized to the currency exchange system server. Therefore, even if the user sends a refund request to the currency exchange server during the actual cash withdrawal process, the Requests for refunds will also be rejected, so as to avoid the loss of funds to the currency exchange company when users apply for refunds while withdrawing money. Optionally, as an embodiment, the processing unit 601: If it is determined that when the order status modification request is received, the order status of the currency exchange order is the cash dispensed state, then the order status of the currency conversion order is changed from the cash dispensed state to the cash withdrawal state. Optionally, as an embodiment, the processing unit 601: If it is determined that when the order status modification request is received, the order status of the currency exchange order is not the cash dispensed state, then refuse to modify the order status of the currency conversion order to the cash withdrawal state. Optionally, as an embodiment, the processing unit 601: When receiving a refund request sent by the currency exchange system server, the order status of the currency exchange order is the cash withdrawal status, then it is determined to reject the request. State the request for refund; The transceiver unit 602 sends second notification information to the currency exchange system server, and the second notification information is used to notify the currency exchange system server that the refund request is rejected. The apparatus 600 for currency exchange can also execute the method of the embodiment shown in FIG. 2 and realize the functions of the apparatus for currency exchange in the embodiment shown in FIG. Fig. 7 is a schematic structural diagram of an apparatus for currency exchange according to another embodiment of the present invention. Please refer to FIG. 7, in a software implementation manner, the apparatus 700 for currency exchange may include: a sending unit 701 and a receiving unit 702, wherein, The sending unit 701, if it is determined to accept the refund request sent by the client, then sends the refund request to the server of the currency exchange company; The receiving unit 702 receives the second notification information sent by the server of the currency exchange company. The second notification information is when the server of the currency exchange company receives the refund request when the order status of the currency exchange order is the cash withdrawal state The cash withdrawal status is the state in which the currency exchange company’s server has modified the currency exchange order when it receives the order status modification request. When making banknotes, the order status of the currency exchange order is modified to the state of withdrawn, and the second notification information is used to notify that the refund request is rejected by the server of the currency exchange company. According to the apparatus for currency exchange according to the embodiment of the present invention, after sending a refund application request to the server of the currency exchange company, the order status of the currency exchange order is taken when the server of the receiving currency exchange company receives the refund application request. The second notification information sent when the banknote is in the state. Since the order status of the currency exchange order is changed to the cash withdrawal state before the user actually withdraws the currency, even if the user is actually withdrawing the currency, the currency exchange device sends a refund request to the currency exchange company server , The refund application request will also be rejected, so as to avoid the capital loss caused by the successful withdrawal of the user's money and the successful application of the refund when the user's application for a refund request is received while the user withdraws the money. Optionally, as an embodiment, as shown in FIG. 7, the apparatus 700 for currency exchange further includes a processing unit 703: The processing unit 703, if it is determined that when the receiving unit 702 receives the refund application request, the order status of the currency exchange order is the cash dispensed state or the paid state, then it determines to accept the refund application request. Optionally, as an embodiment, as shown in FIG. 7, the apparatus 700 for currency exchange further includes a processing unit 703; The receiving unit 702 receives first notification information sent by the server of the currency exchange company, where the first notification information is used to notify that the order status of the currency exchange order is a cash withdrawal state; The processing unit 703 determines to reject the request for refund if it is determined that the state of the currency exchange order when the receiving unit 702 receives the request for refund is withdrawn. The apparatus 700 for currency exchange can also execute the method of the embodiment shown in FIG. 3, and realize the functions of the apparatus for currency exchange in the embodiment shown in FIG. 3, which will not be repeated here. In short, the above descriptions are only preferred embodiments of the present invention, and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention. The systems, devices, modules, or units explained in the above embodiments may be implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable Type equipment or a combination of any of these equipment. Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital multi-function Optical discs (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission media, can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transient computer-readable media (transitory media), such as modulated data signals and carrier waves. It should also be noted that the terms "include", "include" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes no Other elements clearly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element. The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

600‧‧‧用戶貨幣兌換的裝置 601‧‧‧處理單元 602‧‧‧收發單元 700‧‧‧用於貨幣兌換的裝置 701‧‧‧發送單元 702‧‧‧接收單元 703‧‧‧處理單元600‧‧‧User currency exchange device 601‧‧‧Processing unit 602‧‧‧Transceiver unit 700‧‧‧A device for currency exchange 701‧‧‧Sending unit 702‧‧‧Receiving Unit 703‧‧‧Processing unit

為了更清楚地說明本發明實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些附圖而獲得其他的附圖。 圖1是根據本發明實施例的貨幣兌換訂單的訂單狀態的示意圖。 圖2是根據本發明的一個實施例的用於貨幣兌換的方法的示意性流程圖。 圖3是根據本發明的另一個實施例的用於貨幣兌換的方法的示意性流程圖。 圖4是根據本發明的一個實施例的貨幣兌換公司伺服器的結構示意圖。 圖5是根據本發明的另一個實施例的貨幣兌換系統伺服器的結構示意圖。 圖6是根據本發明的一個實施例的用於貨幣兌換的裝置的結構示意圖。 圖7是根據本發明的一個實施例的用於貨幣兌換的裝置的結構示意圖。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are merely present For some of the embodiments described in the invention, for those of ordinary skill in the art, other drawings may be obtained based on these drawings without creative labor. Fig. 1 is a schematic diagram of an order status of a currency exchange order according to an embodiment of the present invention. Fig. 2 is a schematic flowchart of a method for currency exchange according to an embodiment of the present invention. Fig. 3 is a schematic flowchart of a method for currency exchange according to another embodiment of the present invention. Fig. 4 is a schematic structural diagram of a server of a currency exchange company according to an embodiment of the present invention. Fig. 5 is a schematic structural diagram of a currency exchange system server according to another embodiment of the present invention. Fig. 6 is a schematic structural diagram of an apparatus for currency exchange according to an embodiment of the present invention. Fig. 7 is a schematic structural diagram of an apparatus for currency exchange according to an embodiment of the present invention.

Claims (11)

一種用於貨幣兌換的方法,透過訂單狀態機制來控制訂單狀態的推進,該方法包括:若貨幣兌換公司伺服器接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態;以及該貨幣兌換公司伺服器向貨幣兌換系統伺服器發送已取鈔通知資訊,該已取鈔通知資訊用以通知該貨幣兌換系統伺服器該貨幣兌換訂單的訂單狀態為已取鈔狀態,該貨幣兌換系統伺服器用以在該貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求,還包括:若確定接收到訂單狀態修改請求時該貨幣兌換訂單的訂單狀態不是已配鈔狀態,則拒絕將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態。 A method for currency exchange, which controls the advancement of the order status through the order status mechanism. The method includes: if the currency exchange company server receives an order status modification request, modifying the order status of the currency exchange order to the cash withdrawal status , The order status modification request is used to request that the order status of the currency exchange order be modified to the cash withdrawal state when the user arrives at the cash withdrawal counter and the cash is not withdrawn; and the currency exchange company server sends the currency exchange system server the currency exchange system server. Withdrawal notification information, the withdrawal notification information is used to notify the currency exchange system server that the order status of the currency exchange order is the withdrawal status, and the currency exchange system server uses the currency exchange system server to perform the order status of the currency exchange order as Rejecting the refund request sent by the client when the cash has been withdrawn also includes: if it is determined that the order status of the currency exchange order is not the cash-dispensed state when the order status modification request is received, then the order status of the currency exchange order is rejected Modified to the state of cash withdrawal. 如請求項1所述的方法,該將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,包括:若確定接收到該訂單狀態修改請求時該貨幣兌換訂單的訂單狀態為已配鈔狀態,則將該貨幣兌換訂單的訂單狀態由已配鈔狀態變更為已取鈔狀態。 As described in claim 1, the modification of the order status of the currency exchange order to the cash withdrawal state includes: if it is determined that the order status of the currency exchange order is the cash dispensed state when the order status modification request is received, then Change the order status of the currency exchange order from the dispensed state to the withdrawn state. 如請求項1或2所述的方法,還包括:若在接收到該貨幣兌換系統伺服器發送的申請退款請求時,該貨幣兌換訂單的訂單狀態為已取鈔狀態,則確定拒絕該申請退款請求;以及向該貨幣兌換系統伺服器發送請求拒絕通知資訊,該請求拒絕通知資訊用以通知該貨幣兌換系統伺服器該申請退款請求被拒絕。 For example, the method according to claim 1 or 2, further includes: if the currency exchange order has a cash withdrawal status when receiving a refund request sent by the currency exchange system server, determining to reject the application Refund request; and sending request rejection notification information to the currency exchange system server, and the request rejection notification information is used to notify the currency exchange system server that the refund request is rejected. 一種用於貨幣兌換的方法,透過訂單狀態機制來控制訂單狀態的推進,該方法包括:若貨幣兌換系統伺服器確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送該申請退款請求;以及接收該貨幣兌換公司伺服器發送的請求拒絕通知資訊,該請求拒絕通知資訊是該貨幣兌換公司伺服器在接收到該申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為該貨幣兌換公司伺服器在接收到訂單狀態修改請求時將該貨幣兌換訂單修改後的狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態,該請求拒絕通知資訊用以通知該申請退款請求被該貨幣兌換公司伺服器拒絕,還包括:若確定接收到該申請退款請求時,該貨幣兌換訂單的 訂單狀態為已配鈔狀態或已支付狀態,則確定接受該申請退款請求。 A method for currency exchange, through the order status mechanism to control the advancement of the order status, the method includes: if the currency exchange system server determines to accept the refund request sent by the client, sending the application to the currency exchange company server Refund request; and receiving the request rejection notification information sent by the currency exchange company server. The request rejection notification information is that the currency exchange order's order status is cash withdrawal when the currency exchange company server receives the refund request The cash withdrawal status is the state after the currency exchange order is modified when the currency exchange company server receives the order status modification request. When the money is withdrawn, the order status of the currency exchange order is changed to the money withdrawal status. The request rejection notification information is used to notify that the refund request is rejected by the currency exchange company server. It also includes: if the refund application is confirmed to be received When the payment is requested, the currency exchange order’s If the order status is cash dispensed status or paid status, it is determined to accept the refund request. 如請求項4所述的方法,還包括:接收該貨幣兌換公司伺服器發送的已取鈔通知資訊,該已取鈔通知資訊用以通知該貨幣兌換訂單的訂單狀態為已取鈔狀態;以及若確定接收到該申請退款請求時該貨幣兌換訂單的狀態為已取鈔狀態,則確定拒絕該申請退款請求。 The method according to claim 4, further comprising: receiving the cash withdrawal notification information sent by the server of the currency exchange company, the cash withdrawal notification information being used to notify the currency exchange order that the order status is the cash withdrawal status; and If it is determined that the status of the currency exchange order when the refund request is received is the cash withdrawal status, then the refund request is determined to be rejected. 一種用於貨幣兌換的裝置,透過訂單狀態機制來控制訂單狀態的推進,該裝置包括:處理單元,若貨幣兌換公司伺服器接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態;以及收發單元,向貨幣兌換系統伺服器發送已取鈔通知資訊,該已取鈔通知資訊用以通知該貨幣兌換系統伺服器該貨幣兌換訂單的訂單狀態為已取鈔狀態,該貨幣兌換系統伺服器用以在該貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求,其中,該處理單元,若確定接收到訂單狀態修改請求時該貨幣兌換訂單的訂單狀態不是已配鈔狀態,則拒絕將 該貨幣兌換訂單的訂單狀態修改為已取鈔狀態。 A device for currency exchange that controls the advancement of the order status through an order status mechanism. The device includes a processing unit. If the currency exchange company server receives an order status modification request, it will modify the order status of the currency exchange order to Cash withdrawal status, the order status modification request is used to request that the order status of the currency exchange order be changed to the cash withdrawal state when the user arrives at the cash withdrawal counter and the cash is not withdrawn; Withdrawal notification information, the withdrawal notification information is used to notify the currency exchange system server that the order status of the currency exchange order is the withdrawal status, and the currency exchange system server uses the currency exchange system server to perform the order status of the currency exchange order as The refund request sent by the client is rejected when the banknote has been withdrawn. If the processing unit determines that the order status of the currency exchange order is not the banknote dispensed state when the order status modification request is received, it refuses to transfer The order status of the currency exchange order is changed to the cash withdrawal status. 一種用於貨幣兌換的裝置,透過訂單狀態機制來控制訂單狀態的推進,該裝置包括:發送單元,若貨幣兌換系統伺服器確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送該申請退款請求;以及接收單元,接收該貨幣兌換公司伺服器發送的請求拒絕通知資訊,該請求拒絕通知資訊是該貨幣兌換公司伺服器在接收到該申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為該貨幣兌換公司伺服器在接收到訂單狀態修改請求時將該貨幣兌換訂單修改後的狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態,該請求拒絕通知資訊用以通知該申請退款請求被該貨幣兌換公司伺服器拒絕,還包括:處理單元,若確定接收到該申請退款請求時,該貨幣兌換訂單的訂單狀態為已配鈔狀態或已支付狀態,則確定接受該申請退款請求。 A device for currency exchange that controls the advancement of the order status through an order status mechanism. The device includes: a sending unit, if the currency exchange system server determines to accept the refund request sent by the client, it will send it to the currency exchange company server Sending the refund request; and the receiving unit, receiving the request rejection notification information sent by the currency exchange company server, the request rejection notification information is the currency exchange order when the currency exchange company server receives the refund request Sent when the order status is the cash withdrawal status, the cash withdrawal status is the status after the currency exchange company server receives the order status modification request after the currency conversion order is modified. The order status modification request is used to request the user When arriving at the cash withdrawal counter and the currency exchange order is not withdrawn, the order status of the currency exchange order is changed to cash withdrawal status. The request rejection notification information is used to notify that the refund request is rejected by the currency exchange company server, and also includes: processing The unit determines to accept the refund request if it is determined that when the refund request is received, the order status of the currency exchange order is the cash dispensed state or the paid state. 一種貨幣兌換公司伺服器,透過訂單狀態機制來控制訂單狀態的推進,該伺服器包括:處理器;以及 被配置成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使用該處理器執行以下操作:若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態;以及向貨幣兌換系統伺服器發送已取鈔通知資訊,該已取鈔通知資訊用以通知該貨幣兌換系統伺服器該貨幣兌換訂單的訂單狀態為已取鈔狀態,該貨幣兌換系統伺服器用以在該貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求,還包括:若確定接收到該申請退款請求時,該貨幣兌換訂單的訂單狀態為已配鈔狀態或已支付狀態,則確定接受該申請退款請求。 A currency exchange company server, which controls the advancement of the order status through an order status mechanism, the server includes: a processor; and The memory is configured to store computer executable instructions. When the executable instructions are executed, the processor performs the following operations: if an order status modification request is received, the order status of the currency exchange order is modified to the cash withdrawal status , The order status modification request is used to request that the order status of the currency exchange order be modified to the cash withdrawal state when the user arrives at the cash withdrawal counter and the cash is not withdrawn; and the cash withdrawal notification information is sent to the currency exchange system server. The currency exchange notification information is used to notify the currency exchange system server that the order status of the currency exchange order is the cash withdrawal state, and the currency exchange system server is used to reject the currency exchange order when the order status is the cash withdrawal state The refund application request sent by the user terminal also includes: if it is determined that when the refund application request is received, the order status of the currency exchange order is the cash dispensed state or the paid state, then the refund application is determined to be accepted. 一種貨幣兌換系統伺服器,透過訂單狀態機制來控制訂單狀態的推進,該伺服器包括:處理器;以及被配置成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使用該處理器執行以下操作:若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送該申請退款請求;以及接收該貨幣兌換公司伺服器發送的請求拒絕通知資 訊,該請求拒絕通知資訊是該貨幣兌換公司伺服器在接收到該申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為該貨幣兌換公司伺服器在接收到訂單狀態修改請求時將該貨幣兌換訂單修改後的狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態,第二通知資訊用以通知該申請退款請求被該貨幣兌換公司伺服器拒絕,還包括:若確定接收到該申請退款請求時,該貨幣兌換訂單的訂單狀態為已配鈔狀態或已支付狀態,則確定接受該申請退款請求。 A currency exchange system server that controls the advancement of the order status through an order status mechanism. The server includes: a processor; and a memory configured to store computer executable instructions that use the processing when executed The server performs the following operations: if it is determined to accept the refund request sent by the client, it sends the refund request to the server of the currency exchange company; and receives the request rejection notification from the server of the currency exchange company. News, the request rejection notification information is sent when the currency exchange company’s server receives the refund request when the currency exchange order’s order status is cash withdrawal status. The cash withdrawal status is that the currency exchange company’s server is in The modified status of the currency exchange order when the order status modification request is received. The order status modification request is used to request that the currency exchange order be modified to the cash withdrawal status when the user arrives at the cash withdrawal counter and does not withdraw the cash. , The second notification information is used to notify that the refund request is rejected by the server of the currency exchange company, and also includes: if it is determined that the refund request is received, the order status of the currency exchange order is the cash dispensed state or already The payment status is determined to accept the refund request. 一種電腦可讀媒體,該電腦可讀媒體儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的貨幣兌換公司伺服器執行時,透過訂單狀態機制來控制訂單狀態的推進,使得該貨幣兌換公司伺服器執行以下操作:若接收到訂單狀態修改請求,則將貨幣兌換訂單的訂單狀態修改為已取鈔狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態;以及向貨幣兌換系統伺服器發送已取鈔通知資訊,該已取鈔通知資訊用以通知該貨幣兌換系統伺服器該貨幣兌換訂單的訂單狀態為已取鈔狀態,該貨幣兌換系統伺服器用以 在該貨幣兌換訂單的訂單狀態為已取鈔狀態時拒絕用戶端發送的申請退款請求,還包括:若確定接收到訂單狀態修改請求時該貨幣兌換訂單的訂單狀態不是已配鈔狀態,則拒絕將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態。 A computer-readable medium that stores one or more programs that, when executed by a currency exchange company server including multiple application programs, control the advancement of the order status through an order status mechanism , The server of the currency exchange company performs the following operations: if it receives an order status modification request, it will modify the order status of the currency exchange order to the cash withdrawal status. The order status modification request is used to request that the user arrives at the cash withdrawal counter and When the money is not withdrawn, the order status of the currency exchange order is changed to the money withdrawal state; and the money withdrawal notification information is sent to the currency exchange system server, and the money withdrawal notification information is used to notify the currency exchange system server of the currency The order status of the exchange order is cash withdrawal status, and the currency exchange system server is used Rejecting the refund request sent by the client when the order status of the currency exchange order is the cash withdrawal status also includes: if it is determined that the order status of the currency exchange order is not the cash withdrawal status when the order status modification request is received, then Refuse to modify the order status of the currency exchange order to the cash withdrawal status. 一種電腦可讀媒體,該電腦可讀媒體儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的貨幣兌換系統伺服器執行時,透過訂單狀態機制來控制訂單狀態的推進,使得該貨幣兌換系統伺服器執行以下操作:若確定接受用戶端發送的申請退款請求,則向貨幣兌換公司伺服器發送該申請退款請求;接收該貨幣兌換公司伺服器發送的請求拒絕通知資訊,該請求拒絕通知資訊是該貨幣兌換公司伺服器在接收到該申請退款請求時貨幣兌換訂單的訂單狀態為已取鈔狀態時發送的,已取鈔狀態為該貨幣兌換公司伺服器在接收到訂單狀態修改請求時將該貨幣兌換訂單修改後的狀態,該訂單狀態修改請求用以請求在用戶到達取鈔櫃檯且未取鈔時將該貨幣兌換訂單的訂單狀態修改為已取鈔狀態,該通知資訊用以通知該申請退款請求被該貨幣兌換公司伺服器拒絕,還包括:若確定接收到該申請退款請求時,該貨幣兌換訂單的 訂單狀態為已配鈔狀態或已支付狀態,則確定接受該申請退款請求。 A computer-readable medium that stores one or more programs, and when the one or more programs are executed by a currency exchange system server including a plurality of application programs, the advancement of the order status is controlled through an order status mechanism , To make the currency exchange system server perform the following operations: if it is determined to accept the refund request sent by the client, send the refund request to the currency exchange company server; receive the request rejection notice sent by the currency exchange company server Information, the request rejection notification information is sent when the currency exchange company’s server receives the refund request when the currency exchange order’s order status is cash withdrawal status. The currency exchange company’s server is in the cash withdrawal status. The modified status of the currency exchange order when the order status modification request is received. The order status modification request is used to request that the currency exchange order be modified to the cash withdrawal status when the user arrives at the cash withdrawal counter and does not withdraw the cash. , The notification information is used to notify that the refund request is rejected by the server of the currency exchange company, and also includes: if the refund request is received, the currency exchange order If the order status is cash dispensed status or paid status, it is determined to accept the refund request.
TW108100361A 2018-03-19 2019-01-04 Method, device and server for currency exchange TWI745646B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201810224938.XA CN108564433B (en) 2018-03-19 2018-03-19 Method, device and server for currency conversion
??201810224938.X 2018-03-19
CN201810224938.X 2018-03-19

Publications (2)

Publication Number Publication Date
TW201939408A TW201939408A (en) 2019-10-01
TWI745646B true TWI745646B (en) 2021-11-11

Family

ID=63532746

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108100361A TWI745646B (en) 2018-03-19 2019-01-04 Method, device and server for currency exchange

Country Status (3)

Country Link
CN (2) CN108564433B (en)
TW (1) TWI745646B (en)
WO (1) WO2019179160A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108564433B (en) * 2018-03-19 2020-08-21 阿里巴巴集团控股有限公司 Method, device and server for currency conversion
CN115249159B (en) * 2022-09-22 2022-12-13 中航信移动科技有限公司 Event processing system based on digital currency

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201619917A (en) * 2014-09-09 2016-06-01 西克帕控股有限公司 Banknotes having interrelated features
CN107330784A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 A kind of method and system for exchanging digital cash

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001230428A1 (en) * 2000-01-28 2001-08-07 Fundamo (Proprietary) Limited Banking system with enhanced identification of financial accounts
AU2001249276A2 (en) * 2000-03-24 2001-10-08 Access Business Group International Llc System and method for detecting fraudulent transactions
KR20010044710A (en) * 2001-03-19 2001-06-05 이천식 Method for ordering money exchange via internet
US8121923B1 (en) * 2010-03-11 2012-02-21 Ruccolo Michael A Automated fulfilling of currency exchange requests over a computer network
CN102467770B (en) * 2010-11-08 2014-03-26 中国移动通信集团安徽有限公司 Method, device and system for recharging by using voucher card
WO2013012920A1 (en) * 2011-07-18 2013-01-24 Dianne Bellefeuille System and method for switching of financial accounts between financial institutions
KR20120059467A (en) * 2012-04-25 2012-06-08 주식회사 비즈모델라인 Method for Drawing out Foreign Exchange
CN104809826B (en) * 2015-04-30 2017-12-08 深圳市怡化时代科技有限公司 Financial self-service equipment bank note distribution method
CN105844813A (en) * 2016-03-17 2016-08-10 中国工商银行股份有限公司 Self-service multi-currency exchange device and system
CN105872070B (en) * 2016-04-28 2019-02-12 腾讯科技(深圳)有限公司 System, the method and device for supporting cash currency to exchange
CN106504065A (en) * 2016-10-31 2017-03-15 广东美的制冷设备有限公司 The order processing method and device of customization air-conditioning
CN107770281A (en) * 2017-11-01 2018-03-06 深圳市金立通信设备有限公司 A kind of method, server and computer-readable recording medium for notifying trade company's reimbursement information
CN108564433B (en) * 2018-03-19 2020-08-21 阿里巴巴集团控股有限公司 Method, device and server for currency conversion

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201619917A (en) * 2014-09-09 2016-06-01 西克帕控股有限公司 Banknotes having interrelated features
CN107330784A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 A kind of method and system for exchanging digital cash

Also Published As

Publication number Publication date
WO2019179160A1 (en) 2019-09-26
CN111861755A (en) 2020-10-30
CN108564433B (en) 2020-08-21
CN108564433A (en) 2018-09-21
TW201939408A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
US11481360B2 (en) Blockchain network and method of operation thereof
CN111382168B (en) Node group creating method and node group-based transaction method in alliance chain network
KR102150747B1 (en) Transaction information processing method and apparatus
CN108389080A (en) Transaction processing method and platform
TW201824012A (en) Service processing method and apparatus
TWI745646B (en) Method, device and server for currency exchange
WO2018219185A1 (en) Resource processing method and device, server and terminal device
CN110020846B (en) Transfer service processing method and system
CN106855828A (en) A kind of method for processing resource and device
KR20190057909A (en) Real estate contract method and broker system based on block chain
US10984417B2 (en) Blockchain-based data synchronization system, method, apparatus, and electronic device
US20200279261A1 (en) Blockchain-based reconciliation system, method, and apparatus and electronic device
CN110264332A (en) The method, apparatus and electronic equipment that account is entered an item of expenditure in the accounts
CN107528822A (en) A kind of business performs method and device
CA3055642A1 (en) Payment system based on shared funds-management server, and method, device and server therefor
TWI701626B (en) Data service processing method and device
CA2988438C (en) Payment system based on shared funds-management server, and method, device and server therefor
US20210312462A1 (en) Method, apparatus, and device for transferring virtual resources across domains
WO2020224256A1 (en) Identity confirmation
CN111401870A (en) ETC payment sorting method and device based on block chain and electronic equipment
US11263164B1 (en) Multiple field programmable gate array (FPGA) based multi-legged order transaction processing system and method thereof
CN110706104B (en) Proprietary chain construction method and system
US11080663B2 (en) Electronic payment processing apparatus and method
CN115983968A (en) Online junction and convergence method and device based on data exchange technology
CN114118712A (en) Resource scheduling dispute processing method and device