CN109523257A - Foreign currency exchange method, apparatus, computer equipment and storage medium - Google Patents

Foreign currency exchange method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN109523257A
CN109523257A CN201811199998.7A CN201811199998A CN109523257A CN 109523257 A CN109523257 A CN 109523257A CN 201811199998 A CN201811199998 A CN 201811199998A CN 109523257 A CN109523257 A CN 109523257A
Authority
CN
China
Prior art keywords
exchange
foreign
foreign currency
currency exchange
reserve
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201811199998.7A
Other languages
Chinese (zh)
Inventor
丁叶丹虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811199998.7A priority Critical patent/CN109523257A/en
Publication of CN109523257A publication Critical patent/CN109523257A/en
Pending legal-status Critical Current

Links

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/381Currency conversion
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention belongs to transaction verification field, a kind of foreign currency exchange method, apparatus, computer equipment and storage medium are disclosed, this method comprises: obtaining the foreign exchange reserve requests that reserve terminal is sent;Foreign exchange reserve information is obtained according to foreign exchange reserve requests, according to foreign exchange reserve acquisition of information foreign currency exchange information;If foreign exchange reserve information meets foreign currency exchange information, foreign exchange is exported according to the first user identifier of foreign exchange reserve requests and reserves successful result to reserve terminal;Obtain the foreign currency exchange request that redemption terminal is sent;Successful result is reserved according to the corresponding foreign exchange of foreign currency exchange request;Successful result response foreign currency exchange request is reserved according to foreign exchange.Foreign currency exchange method provided by the invention can reduce the waiting time of foreign currency exchange, improve the efficiency of foreign currency exchange.

Description

Foreign currency exchange method, apparatus, computer equipment and storage medium
Technical field
The invention belongs to transaction verification fields, are to be related to a kind of foreign currency exchange method, apparatus, computer more specifically Equipment and storage medium.
Background technique
It is exchanged currently, people when carrying out foreign currency exchange, can arrive the artificial site of exchanging of entry and exit, or arrives bank It is exchanged site.However, the artificial usual exchange rate in exchange site of entry and exit is high and foreign exchange currency type is few, carries out foreign currency exchange and do not draw It calculates;And the usual queue waiting time of bank's foreign exchange window is long, and needs user to arrive first bank outlets and exchange, spend the time compared with It is more.To sum up, current foreign currency exchange is not convenient enough, and it is lower to exchange efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of foreign currency exchange method, apparatus, computer equipment and storage medium, to solve foreign exchange Exchange inefficient problem.
A kind of foreign currency exchange method, comprising:
Obtain the foreign exchange reserve requests that reserve terminal is sent, wherein the foreign exchange reserve requests include the first user identifier;
Foreign exchange reserve information is obtained according to the foreign exchange reserve requests, according to the foreign exchange reserve acquisition of information foreign currency exchange Information;
If the foreign exchange reserve information meets the foreign currency exchange information, foreign exchange is exported according to first user identifier Successful result is reserved to the reserve terminal;
The foreign currency exchange request that redemption terminal is sent is obtained, is reserved according to the corresponding foreign exchange of the foreign currency exchange request Successful result;
Successful result, which is reserved, according to the foreign exchange responds the foreign currency exchange request.
A kind of foreign currency exchange device, comprising:
Reserve requests obtain module, for obtaining the foreign exchange reserve requests of reserve terminal transmission, wherein the foreign exchange reservation Request includes the first user identifier;
Foreign exchange data obtaining module, for obtaining foreign exchange reserve information according to the foreign exchange reserve requests, according to described outer The reserve message that converges obtains foreign currency exchange information;
Result output module is reserved, if meeting the foreign currency exchange information for the foreign exchange reserve information, according to institute It states the first user identifier output foreign exchange and reserves successful result to the reserve terminal;
It reserves result and obtains module, for obtaining the foreign currency exchange request of redemption terminal transmission, according to the foreign currency exchange The corresponding foreign exchange of request reserves successful result;
Redemption request respond module responds the foreign currency exchange request for reserving successful result according to the foreign exchange.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize the step of above-mentioned foreign currency exchange method when executing the computer program Suddenly.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter The step of calculation machine program realizes above-mentioned foreign currency exchange method when being executed by processor.
Above-mentioned foreign currency exchange method, apparatus, computer equipment and storage medium, the foreign exchange sent by obtaining reserve terminal Reserve requests, wherein foreign exchange reserve requests include the first user identifier;Foreign exchange reserve information is obtained according to foreign exchange reserve requests, And according to foreign exchange reserve acquisition of information foreign currency exchange information;If foreign exchange reserve information meets foreign currency exchange information, according to first User identifier exports foreign exchange and reserves successful result to reserve terminal;Then the foreign currency exchange request that redemption terminal is sent is obtained, Successful result is reserved according to the corresponding foreign exchange of foreign currency exchange request;It is outer that successful result response is finally reserved according to foreign exchange Remittance redemption request.It is reserved by reserve terminal, is then exchanged by redemption terminal, it is suitable that family selection can be used Foreign exchange site and reasonable foreign exchange rate are exchanged, and bank queuing is not used, and reduce the waiting time of foreign currency exchange, are improved The efficiency of foreign currency exchange.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is an application environment schematic diagram of foreign currency exchange method in one embodiment of the invention;
Fig. 2 is a flow chart of foreign currency exchange method in one embodiment of the invention;
Fig. 3 is another flow chart of foreign currency exchange method in one embodiment of the invention;
Fig. 4 is another flow chart of foreign currency exchange method in one embodiment of the invention;
Fig. 5 is another flow chart of foreign currency exchange method in one embodiment of the invention;
Fig. 6 is another flow chart of foreign currency exchange method in one embodiment of the invention;
Fig. 7 is another flow chart of foreign currency exchange method in one embodiment of the invention;
Fig. 8 is a functional block diagram of one embodiment of the invention China and foreign countries exchange changing device;
Fig. 9 is the functional block diagram that two dimensional code exchanges module in one embodiment of the invention China and foreign countries exchange changing device;
Figure 10 is a schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Foreign currency exchange method provided by the present application, can be applicable in the application environment such as Fig. 2, wherein client passes through net Network is communicated with server-side, and client specifically includes reserve terminal and redemption terminal.Specifically, server-side obtains reserve terminal The foreign exchange reserve requests of transmission obtain foreign exchange reserve information according to foreign exchange reserve requests, and according to outside foreign exchange reserve acquisition of information Remittance redemption information;If foreign exchange reserve information meets the foreign currency exchange information in foreign exchange reserve requests, according to foreign exchange reserve requests In the first user identifier output foreign exchange reserve successful result to reserve terminal;Then server-side obtains what redemption terminal was sent Foreign currency exchange request reserves successful result according to the corresponding foreign exchange of foreign currency exchange request;Last server-side is according to foreign exchange Successful result is reserved in redemption terminal response foreign currency exchange request.Wherein, reserve terminal can be, but not limited to be various individuals Computer, laptop, smart phone, tablet computer and portable wearable device, redemption terminal can be client computer, clothes Business end can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of foreign currency exchange method, the service in Fig. 1 is applied in this way It is illustrated, includes the following steps: for end
S201: the foreign exchange reserve requests that reserve terminal is sent are obtained, wherein foreign exchange reserve requests are marked including the first user Know.
Wherein, foreign exchange reserve requests refer to that the reservation initiated in reserve terminal carries out the request of foreign currency exchange.Reserve terminal It can be mobile terminal, such as mobile phone, tablet computer or laptop etc..Optionally, foreign exchange reserve requests can also be by converting Terminal initiation is changed, i.e. reserve terminal and redemption terminal is same terminal, and the present embodiment is difference with reserve terminal and redemption terminal It is illustrated for terminal.Redemption terminal refers to the terminal for carrying out foreign currency exchange, is for example, set to the server of entry and exit Terminal.
Wherein, the first user identifier refers to the mark for distinguishing different user, such as can be user account, cell-phone number Or identification card number etc., the first user identifier can be obtained when server-side is registered in user, be stored in the database of server-side.
Specifically, server-side obtains the foreign exchange reserve requests sent by reserve terminal.Optionally, reserve terminal is first to clothes End transmission logging request of being engaged in sends the instruction of login authentication to reserve terminal, works as user when server-side gets logging request After being proved to be successful login, server-side obtains the first user identifier;Such as user inputs account and password logs in, and takes Business end is verified according to account and password, obtains the first user identifier again if being verified.
S202: foreign exchange reserve information is obtained according to foreign exchange reserve requests, is believed according to foreign exchange reserve acquisition of information foreign currency exchange Breath.
Wherein, foreign exchange reserve information refers to the reserve messages such as the currency type, face amount and the corresponding quantity of each face amount of foreign exchange.It can Selection of land is incorporated into service after foreign exchange reserve information can be collected all kinds of foreign exchange reserve information by web crawlers tool In the database at end, such as pass through web crawlers tool collection foreign exchange information site, website of bank foreign exchange special column, airport or clearance The foreign exchange reserve information at port obtains foreign exchange reserve information.Wherein, web crawlers tool be it is a kind of according to certain rules, from The program or script of web message are grabbed dynamicly.Specifically, the rule of web crawlers crawl foreign exchange information can be preset Then, it is then made to obtain corresponding foreign exchange reserve information from network (such as in website of bank).Alternatively it is also possible to cooperation Foreign exchange site establish the form of data-interface to obtain foreign exchange reserve information.
Wherein, foreign currency exchange information refers to the foreign exchange currency type specifically exchanged, face amount and the corresponding quantity information of each face amount.
Specifically, when getting foreign exchange reserve requests, server-side obtains foreign exchange reserve information from database and is back to Then reserve terminal obtains the currency type of foreign exchange, face amount and every one side to selecting or inputting for foreign exchange reserve message according to user It is worth these foreign currency exchange information of corresponding quantity.Optionally, server-side returns to foreign exchange reserve information list, user to reserve terminal Foreign exchange site is selected according to foreign exchange reserve information list, then selects or inputs the foreign exchange currency type, face amount and each face amount of exchange Corresponding quantity etc. information, server-side are selected or input according to reserve terminal, the foreign exchange currency type that will acquire, face amount and every The corresponding quantity of one face amount is as foreign currency exchange information.Optionally, when server-side returns to foreign exchange reserve information, return and foreign exchange The title of the corresponding foreign exchange site of reserve message forms foreign exchange reserve information with foreign exchange site title corresponding.
S203: if foreign exchange reserve information meets foreign currency exchange information, according to the first user identifier export foreign exchange reservation at The result of function is to reserve terminal.
Wherein, when the currency type and quantity of face amount corresponding in foreign exchange reserve information are more than or equal to face in foreign exchange reserve requests When being worth corresponding currency type and quantity, server-side determines that foreign exchange reserve information meets foreign currency exchange information, and output foreign exchange is reserved successfully Result to reserve terminal.Optionally, foreign exchange reserve information meets the foreign exchange storage that foreign currency exchange information refers to all foreign exchange sites Standby information can satisfy foreign currency exchange information.It is appreciated that the foreign exchange reserve information of single foreign exchange site in foreign exchange reserve information Foreign currency exchange information may not be able to be met, server-side can judge to be by the foreign exchange reserve information of multiple foreign exchange sites at this time It is no to meet foreign currency exchange information.For example, server-side gets foreign currency exchange information to exchange 100 dollar foreign currencies, if A foreign exchange net Point has 60, and B foreign exchange site has 50, and the foreign exchange reserve information of A and B summarize it is known that there is 60+50=by server-side 110 dollar foreign currencies, greater than 100 dollar foreign currencies of foreign currency exchange information, then it is outer to determine that foreign exchange reserve information meets for server-side Remittance redemption information.
Optionally, when exporting the foreign exchange successful result of reservation, server-side is reserved according to the first user identifier to corresponding Terminal sends foreign exchange and reserves successful message.
Specifically, server-side is judged according to the foreign exchange reserve information and foreign currency exchange information of acquisition, if foreign exchange reserve The currency type and quantity of the corresponding face amount of information are more than or equal in foreign currency exchange information when corresponding to the currency type and quantity of face amount, then root Foreign exchange, which is sent, to reserve terminal according to the first user identifier reserves successful result.
Optionally, server-side the currency type for the foreign currency exchange information for obtaining all users afterwards at regular intervals, face amount and The corresponding quantity of each face amount, then corresponding foreign currency quantity is launched in redemption terminal.Since redemption terminal can be optional to be multiple Ground, server-side send the list in foreign currency exchange place to reserve terminal, make the external exchange of user when returning to foreign exchange reserve information The place changed is selected;Such as user wishes to carry out foreign currency exchange at A clearance port, then selects A clearance port as foreign exchange Exchange place.Server-side is then stored up according to exchanging place and count corresponding foreign exchange of reallocating after the foreign currency exchange information of all users It is standby.Optionally, server-side, can be according to the reference in the place of foreign currency exchange and user's input when returning to the place of foreign currency exchange Address or the position location of reserve terminal are from closely to remote sequence return for user's selection.
Optionally, interface is established in server-side and each foreign exchange site, and user can send corresponding foreign exchange reserve requests When, the on-line payment of foreign exchange reserve requests is carried out by interface.Wherein, on-line payment refers to that user pays progress foreign currency exchange and needs The expense wanted.When the foreign exchange site selected is multiple, on-line payment one by one can be carried out according to the foreign exchange site of selection;? On-line payment process can be integrated by server-side, after first collecting total payment expense according to foreign exchange reserve requests, then By the payment expense allocation collected to corresponding foreign exchange site.Optionally, after user completes on-line payment, server-side exports again Foreign exchange reserves successful result.
S204: obtaining the foreign currency exchange request that redemption terminal is sent, pre- according to the corresponding foreign exchange of foreign currency exchange request About successful result.
Specifically, user sends foreign currency exchange request to server-side by redemption terminal, such as user is in redemption terminal point The button for hitting foreign currency exchange generates foreign currency exchange request.Optionally, when server-side get foreign currency exchange request when, server-side to Redemption terminal sends the instruction for obtaining user information, judges whether deposit in the database of server-side according to the information that user inputs Successful result is reserved in foreign exchange corresponding with the information that user inputs.For example, by the way that identity card sense is arranged in redemption terminal Answer device, server-side passes through the identification card number that identity card inductor obtains user again, according to the identification card number of user from server-side The successful result of foreign exchange reservation corresponding with the identification card number of user is obtained in database, and (i.e. the first user identifier is identity card Number).
S205: successful result response foreign currency exchange request is reserved according to foreign exchange.
Specifically, server-side according to the foreign exchange of acquisition reserve successful result obtain the corresponding currency type of foreign currency exchange information, Face amount and the corresponding quantity of each face amount, while obtaining the corresponding currency type of foreign exchange inventory information of redemption terminal, face amount and each The corresponding quantity of face amount, if foreign exchange inventory information meets foreign exchange when reserving the corresponding foreign currency exchange information of successful result, to Redemption terminal sends the instruction of response foreign currency exchange request.It should be understood that since redemption terminal is to believe proprietary foreign currency exchange Breath carries out corresponding foreign exchange dispensing after being summarized, it is understood that there may be some period, user compared concentration Currency exchange or foreign exchange It has not enough time to launch, the foreign currency exchange of certain user is caused to request to be met, it is therefore desirable to be carried out in redemption terminal outer When the exchange of remittance, server-side carries out the judgement of foreign exchange inventory information Yu foreign currency exchange information again, judges the foreign exchange of redemption terminal Whether inventory information is able to satisfy the foreign currency exchange information of foreign currency exchange request.Optionally, server-side is returning to foreign exchange reserve information When, it can return and exchange selection of time list, the exchange time that user selects or inputs be obtained, further according to the exchange time of user The dispensing for carrying out foreign exchange makes foreign exchange inventory information be able to satisfy foreign currency exchange and requests corresponding foreign currency exchange information.
Optionally, when foreign exchange inventory information, which is not able to satisfy foreign currency exchange, requests corresponding foreign currency exchange information, server-side Prompting message and operation Selection Floater are sent to redemption terminal, obtains the modified foreign currency exchange that user requests foreign currency exchange Information, if foreign exchange inventory information can satisfy modified foreign currency exchange information, server-side sends response to redemption terminal and repairs The instruction of foreign currency exchange request after changing, and request corresponding foreign currency exchange information according to user identifier remaining foreign currency exchange It is sent to reserve terminal, user is made to can according to need the request for exchanging or cancelling exchange again.
In the corresponding embodiment of Fig. 2, by the foreign exchange reserve requests for obtaining reserve terminal transmission, wherein foreign exchange reservation Request includes the first user identifier;Foreign exchange reserve information is obtained according to foreign exchange reserve requests, and according to foreign exchange reserve acquisition of information Foreign currency exchange information;If foreign exchange reserve information meets foreign currency exchange information, according to the first user identifier export foreign exchange reservation at The result of function is to reserve terminal;Then the foreign currency exchange request that redemption terminal is sent is obtained, according to foreign currency exchange request pair The foreign exchange answered reserves successful result;Successful result response foreign currency exchange request is finally reserved according to foreign exchange.Eventually by reservation End is reserved, and is then exchanged by redemption terminal, and family can be used and select suitable foreign exchange site and reasonable foreign exchange The exchange rate is exchanged, and bank queuing is not used, and reduces the waiting time of foreign currency exchange, improves the efficiency of foreign currency exchange.
In one embodiment, as shown in figure 3, in step S204, i.e., according to the corresponding foreign exchange of foreign currency exchange request Reservation is successfully as a result, can specifically include following steps:
S301: it is identified according to foreign currency exchange request second user.
Specifically, when server-side receive foreign currency exchange request when, to redemption terminal send log-in instruction, prompt user into Row logs in.After user logs in, server-side obtains user account, cell-phone number or identification card number etc. according to the account that user logs in and makees For second user mark.It is appreciated that second user identifies, even first user identifier identical as the type of the first user identifier Using cell-phone number, then second user mark also uses cell-phone number.
S302: judge whether second user mark is identical as the first user identifier.
Specifically, the second user mark that server-side will acquire is compared with the first user identifier, whether judges the two It is identical.Optionally, server-side searches whether that there are identical user identifiers according to the second user of acquisition mark in the database (i.e. the first user identifier), and if it exists, then may determine that second user mark is identical as the first user identifier, indicate second user It is identified with corresponding foreign exchange reservation.Optionally, server-side is to reserve successful result in foreign exchange when searching user identifier Middle lookup.
S303: it if second user mark is identical as the first user identifier, is obtained according to the first user identifier corresponding outer It converges and reserves successful result.
Specifically, if it is determined that second user mark is identical as the first user identifier, then server-side is according to the first user identifier It obtains corresponding foreign exchange and reserves successful result.Optionally, server-side can according to foreign currency exchange request and the first user identifier from Foreign exchange corresponding with the first user identifier is obtained in the database of server-side reserves successful result.Optionally, server-side can also To traverse the database of each foreign exchange site according to foreign currency exchange request and the first user identifier, return and the first user identifier pair The foreign exchange answered reserves successful result.
In the corresponding embodiment of Fig. 3, is identified according to foreign currency exchange request second user, then judge second user Whether mark is identical as the first user identifier, if second user mark is identical as the first user identifier, is marked according to the first user Know and obtains the successful result of corresponding foreign exchange reservation.Judged by user identifier, can be whether to respond foreign currency exchange to ask Offer foundation is provided, in addition, obtaining second user mark after logging in user, the identity of user can also be further verified, guarantee The safety of foreign currency exchange.
In one embodiment, as shown in figure 4, after step S203, if meeting foreign currency exchange in foreign exchange reserve information Information, then after exporting the step of foreign exchange reserves successful result to reserve terminal according to the first user identifier, the present embodiment is mentioned The foreign currency exchange method of confession can with the following steps are included:
S401: successful result is reserved according to foreign exchange and the first user identifier generates foreign currency exchange two dimensional code.
Specifically, server-side is reserved successfully after output foreign exchange reserves successful result to reserve terminal according to foreign exchange The corresponding foreign currency exchange information of result and the first user identifier generate foreign currency exchange two dimensional code, make in foreign currency exchange two dimensional code Information includes foreign currency exchange information and the first user identifier, facilitates and subsequent is exchanged in redemption terminal with two dimensional code.
Optionally, further include the information in foreign currency exchange place in the information of foreign currency exchange two dimensional code, family can be used and sending out Foreign currency exchange is sent to select when requesting foreign currency exchange place, to be added when generating the information of foreign currency exchange two dimensional code outer The information in place is changed in exchange, exchanges user to the redemption terminal of designated place.
S402: foreign currency exchange two dimensional code is sent to reserve terminal.
Specifically, the foreign currency exchange two dimensional code of generation is sent to reserve terminal according to the first user identifier by server-side, is made User can arrive redemption terminal with foreign currency exchange two dimensional code and exchange.
S403: obtaining foreign currency exchange two dimensional code by redemption terminal, obtains foreign currency exchange according to foreign currency exchange two dimensional code and asks It asks.
Optionally, server-side can be scanned to obtain foreign currency exchange by two dimensional code of the redemption terminal to reserve terminal Two dimensional code.Optionally, server-side is not limited by reserve terminal to obtain foreign currency exchange two dimensional code, can also pass through other movements Terminal obtains foreign currency exchange two dimensional code, i.e. foreign currency exchange two dimensional code can be sent to other mobile terminals, example by reserve terminal If foreign currency exchange two dimensional code can be sent to B by A, B is allowed to carry out the exchange of foreign exchange.
Specifically, server-side obtains foreign currency exchange two dimensional code by redemption terminal, such as redemption terminal is by mentioning user The two-dimensional code scanning of confession obtains foreign currency exchange two dimensional code;After getting foreign currency exchange two dimensional code, server-side can pass through foreign exchange Exchange the foreign currency exchange request that two dimensional code gets user.
S404: foreign exchange is obtained according to foreign currency exchange request and foreign currency exchange two dimensional code and reserves successful result.
Specifically, when server-side receives foreign currency exchange request, the information of foreign currency exchange two dimensional code is identified, is known Not Chu foreign exchange reservation successfully as a result, and foreign exchange reserve corresponding first user identifier of successful result and foreign currency exchange letter Breath.
Optionally, when including exchanging the information in place in foreign currency exchange information, server-side will be converted in foreign currency exchange information The information location information corresponding with redemption terminal for changing place is proofreaded, if two places are identical, proofreads success, server-side Judgement can respond foreign currency exchange request;If two places are not identical, proofread and fail, server-side judgement cannot respond outer exchange Request is changed, and sends prompting message to redemption terminal.
It should be understood that since step S404 has obtained foreign exchange reservation successfully as a result, therefore, executing the step S404 Afterwards, the step of directly executing step S205, i.e., successful result response foreign currency exchange request being reserved according to foreign exchange.
In the corresponding embodiment of Fig. 4, by reserving successful result and the first user identifier generation foreign exchange according to foreign exchange Two dimensional code is exchanged, retransmits foreign currency exchange two dimensional code to reserve terminal, then by redemption terminal acquisition foreign currency exchange two dimensional code, Foreign currency exchange request is obtained according to foreign currency exchange two dimensional code, it is pre- to obtain foreign exchange according to foreign currency exchange request and foreign currency exchange two dimensional code About successful result.By two dimensional code Currency exchange, allows user with two dimensional code to be the foundation exchanged, simplify foreign currency exchange Process, user can facilitate the operation of user with through committing others on behalf of the exchange for handling foreign exchange;As multiple users to same exchange When terminal Currency exchange, the speed of foreign currency exchange can be accelerated using two dimensional code, improve the efficiency of foreign currency exchange.
In one embodiment, as shown in figure 5, after step s 204, i.e., in the foreign currency exchange for obtaining redemption terminal and sending It is provided in this embodiment outer after the step of request, foreign exchange reservation successful result corresponding according to foreign currency exchange request Converge exchanging method can with the following steps are included:
S501: according to foreign currency exchange request certificate image and the first facial image, according to certificate image and the first Face image obtains the result of testimony of a witness comparison.
Wherein, certificate image can be the facial image of identity card, passport, the pass, social security card etc..In present embodiment In, it is illustrated by taking identity card as an example.It is alternatively possible to the shooting tool by redemption terminal shoots identity card, clothes End be engaged in further according to the facial image extracted region certificate image on the ID Card Image selection identity card of acquisition.Optionally, may be used To obtain ID card No. by redemption terminal, further according to ID card No. connection National Citizenship Information System acquisition and body The corresponding user's facial image of part card number, the user's facial image that will acquire is as certificate image.The acquisition of ID card No. It can be inputted and be obtained in redemption terminal by user, identity card inductor can also be set in redemption terminal, pass through identity card sense The chip information of device reading identity card is answered to obtain.
Wherein, the first facial image refers to the facial image of the user acquired for carrying out testimony of a witness comparison, can also lead to The shooting tool for crossing redemption terminal is acquired acquisition.
Specifically, server-side obtains certificate image and the first facial image, extracts certificate image and the first face figure respectively The feature vector of picture, then the characteristic similarity of certificate image and the first facial image is calculated, it is defeated according to the result of characteristic similarity The result of testimony of a witness comparison out.It is alternatively possible to a threshold value is set, if characteristic similarity reaches the threshold value, testimony of a witness comparison It as a result is to pass through;If characteristic similarity is lower than the threshold value, the result of testimony of a witness comparison is not pass through.
In one embodiment, as shown in fig. 6, step S501 can specifically include following steps:
S601: obtaining certificate image, obtains certificate portrait feature according to certificate image.
Specifically, server-side obtains certificate image by the above method, then extracts facial image according to certificate image Feature vector is as certificate portrait feature.Optionally, the algorithm for extracting certificate portrait feature can be Scale invariant features transform (SIFT) feature extraction algorithm, acceleration robust feature (SURF) feature extraction algorithm, ORB ((Oriented FAST and Rotated BRIEF) feature extraction algorithm, HOG (Histogram of Oriented Gridients) feature extraction algorithm, Local binary patterns (LBP, Local Binary Patterns) feature extraction algorithm, Harr feature extraction algorithm, wavelet character Extraction algorithm or border template extraction algorithm, are also possible to other feature extraction algorithms.
S602: obtaining the first facial image, obtains the first portrait feature according to the first facial image.
Specifically, server-side acquires the first facial image by the shooting tool of redemption terminal;When getting the first face After image, the feature vector of the first facial image is extracted as the first portrait feature.Wherein, the feature of the first facial image is extracted The method of vector is identical as the aforementioned extraction method of certificate portrait feature.
S603: the characteristic similarity of certificate portrait feature and the first portrait feature is calculated.
It is alternatively possible to using Euclidean distance algorithm, manhatton distance algorithm, Minkowski distance algorithm or Cosine similarity algorithm.For example, certificate portrait feature and the first portrait feature can be obtained by Euclidean distance algorithm Characteristic similarity:
Wherein, U is the first portrait feature, and V is certificate portrait feature, sim (U, V)EDGFeature between U and V is similar Degree.
S604: if characteristic similarity reaches preset threshold, the result of testimony of a witness comparison is to pass through.
Wherein, preset threshold can be set according to the result that big data counts, such as the statistics by big data, only Characteristic similarity just can ensure that licensee is certificate person 85% or more, then can set 85% as preset threshold.
Specifically, the step S603 characteristic similarity obtained is compared with preset threshold, if obtained feature is similar Degree is more than or equal to preset threshold, then the result of testimony of a witness comparison is to pass through.Optionally, when obtained characteristic similarity is less than in advance If when threshold value, then the result of testimony of a witness comparison is not pass through, and server-side sends the instruction or end for resurveying the first facial image The process of foreign currency exchange.
In the corresponding embodiment of Fig. 6, by obtaining certificate image, certificate portrait feature is obtained according to certificate image;Again The first facial image is obtained, the first portrait feature is obtained according to the first facial image;Then certificate portrait feature and first is calculated The characteristic similarity of portrait feature;If characteristic similarity reaches preset threshold, the result of testimony of a witness comparison is to pass through.Pass through the testimony of a witness Comparison makes only user just can be carried out the exchange of foreign exchange, it is ensured that the fund security of user.
S502: obtaining the second facial image, and the result of In vivo detection is obtained according to the second facial image.
Wherein, the second facial image refers to the facial image of the user for carrying out In vivo detection of redemption terminal acquisition, It can also be acquired and be obtained by the shooting tool of redemption terminal.
Specifically, server-side obtains the second facial image by the shooting tool of redemption terminal, then according to the of acquisition Two facial images judge whether corresponding object is living body, further according to the result of the result output In vivo detection of judgement.Wherein, if The result judged is living body, then the result of In vivo detection is to pass through;If the result judged is non-living body, the result of In vivo detection Not pass through.
In one embodiment, as shown in fig. 7, step S502 can specifically include following steps:
S701: the second facial image is obtained.
Specifically, server-side obtains the second facial image by the shooting tool of redemption terminal.Optionally, the second face figure As that can be obtained by dynamic image, i.e., one section of video is recorded to user, framing and normalization then are carried out to the video of recording Processing, to obtain the second facial image.It is appreciated that multiple available second face figures by way of recorded video Picture, can be to judge whether the second facial image for living body provides convenience, such as judges this living body characteristics of the regular movements of eyes, can To be judged by judging multiple second facial images with the presence or absence of the variation of eyelid position.
Optionally, preset body temperature distribution is met using infrared imaging to judge that the second facial image is corresponding right when subsequent As if it is not no when being living body, corresponding infrared imaging device can be set in redemption terminal to realize.
S702: identifying the second facial image according to preset In vivo detection model, obtains face living body characteristics.
Specifically, the second facial image that server-side will acquire, which is input in preset In vivo detection model, to be identified, Obtain the face living body characteristics of the second facial image.Wherein, face living body characteristics, which refer to, indicates that the facial image of input is living body Feature, such as can will complete specified facial action according to prompt and be used as living body characteristics, and such as complete blink, a head left side by prompt Turn or facial action of opening one's mouth etc..
Optionally, the acquisition process of preset In vivo detection model can be with are as follows: by obtaining face biopsy sample figure in advance Then picture annotates the face living body characteristics in face biopsy sample image, by the face biopsy sample image after annotation It is trained in input training pattern, to obtain preset In vivo detection model.
S703: if face living body characteristics meet preset condition, the result that In vivo detection passes through is exported, wherein default item Part is to complete preset facial action, there are at least one intrinsic living body characteristics and infrared imaging to meet preset body temperature distribution model Enclose at least one condition in three conditions.
Wherein, it completes preset facial action and refers to that server-side sends corresponding facial action instruction, instruction user makes Then corresponding facial action judges whether make corresponding facial action according to user by default In vivo detection model Judge whether it is living body, for example, prompt user bats an eye, head is turned left or open mouth etc. face it is dynamic Make.Intrinsic living body characteristics refer to that feature specific to living body, such as server-side can be used by default In vivo detection model inspection The eyes at family whether have regular movements to determine whether for living body, the regular movements of eyes refers to that normal person has in eyes at regular intervals The blink of rule, such as by timing acquiring facial image, if there is the variation of eyelid position in Fixed Time Interval, that is, show There are the regular movements of eyeball for the facial image of input, it is possible to determine that is living body.It can also judge to use by way of recorded video The eyes at family whether there is regular movements.Infrared imaging is met preset body temperature distribution and referred to be obtained using the method for infrared imaging The second facial image is taken, then judges whether the temperature of the second facial image obtained is normal by presetting In vivo detection model Body temperature distribution to determine whether be living body.
Specifically, after getting face living body characteristics, server-side is judged according to preset condition, if the face obtained Living body characteristics meet preset condition, then export that living body is verified as a result, continuing the operating process of foreign currency exchange.Optionally, If the face living body characteristics obtained are unsatisfactory for preset condition, server-side sends the instruction for re-starting In vivo detection or terminates outer Process that exchange is changed simultaneously sends prompting message to redemption terminal.
In the corresponding embodiment of Fig. 7, by obtaining the second facial image, according to preset In vivo detection model to second Facial image is identified, face living body characteristics are obtained;If face living body characteristics meet preset condition, it is logical to export In vivo detection The result crossed.By In vivo detection, the user for carrying out that foreign currency exchange is reservation may further ensure that, it is ensured that use The fund security at family.
S503: if the result of In vivo detection be pass through and the testimony of a witness comparison result be pass through, be verified foreign currency exchange Request.
Specifically, if the result of In vivo detection and the result of testimony of a witness comparison are to pass through, server-side is verified foreign exchange Redemption request, the step of continuing to execute subsequent foreign currency exchange, carry out the exchange of foreign exchange.Optionally, only by the testimony of a witness to Bizet into Row In vivo detection, making user that must hold identity card just can be carried out the exchange of foreign exchange;Further, it is in the result of testimony of a witness comparison It carries out In vivo detection again on the basis of, the feelings that fake user carries out foreign currency exchange can be carried out to avoid using photo or video Condition.
Optionally, if the result of In vivo detection or the result of testimony of a witness comparison are not pass through, server-side refuses the outer of user Remittance redemption request, terminates the process of foreign currency exchange.
Optionally, when using foreign currency exchange two dimensional code exchanged when, can also carry out In vivo detection and the testimony of a witness comparison Verifying, to guarantee the safety of user's fund, at this point, carrying out the exchange of foreign exchange using foreign currency exchange two dimensional code must be user's sheet People.
In the corresponding embodiment of Fig. 5, according to foreign currency exchange request certificate image and the first facial image, according to card Part image and the first facial image obtain the result of testimony of a witness comparison;The second facial image is obtained again, is obtained according to the second facial image Take the result of In vivo detection;If the result of In vivo detection be pass through and the result of testimony of a witness comparison be by when, be verified outer Remittance redemption request.It is compared by In vivo detection and the testimony of a witness, can guarantee the fund security of user when carrying out foreign currency exchange.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
In one embodiment, a kind of foreign currency exchange device is provided, the foreign currency exchange device and the exchange of above-described embodiment China and foreign countries Change method one-to-one correspondence.As shown in figure 8, the foreign currency exchange device includes that reserve requests obtain module 801, foreign exchange acquisition of information mould Block 802, reservation result output module 803, redemption request obtain module 804, user identifier judgment module 805, reservation result and obtain Modulus block 806, redemption request respond module 807.Detailed description are as follows for each functional module:
Reserve requests obtain module 801, for obtaining the foreign exchange reserve requests of reserve terminal transmission, wherein foreign exchange reservation Request includes the first user identifier.
Foreign exchange data obtaining module 802, for obtaining foreign exchange reserve information according to foreign exchange reserve requests, according to foreign exchange reserve Acquisition of information foreign currency exchange information.
Result output module 803 is reserved, if meeting foreign currency exchange information for foreign exchange reserve information, according to the first user Mark output foreign exchange reserves successful result to reserve terminal.
It reserves result and obtains module 804, for obtaining the foreign currency exchange request of redemption terminal transmission, asked according to foreign currency exchange It asks and obtains the successful result of corresponding foreign exchange reservation.
Redemption request respond module 805, for reserving successful result response foreign currency exchange request according to foreign exchange.
Further, reservation result obtains module 804 and is specifically also used to:
It is identified according to foreign currency exchange request second user;
Judge whether second user mark is identical as the first user identifier;
If second user mark is identical as the first user identifier, corresponding foreign exchange is obtained according to the first user identifier and is reserved Successful result.
Further, as shown in figure 9, foreign currency exchange device provided in this embodiment further includes that two dimensional code exchanges module 901, Wherein, it includes two dimensional code generation unit 9011, two dimensional code transmission unit 9012, redemption request acquisition that two dimensional code, which exchanges module 901, Unit 9013 and reservation result acquiring unit 9014.
Two dimensional code generation unit 9011, for reserving successful result and the outer exchange of the first user identifier generation according to foreign exchange Change two dimensional code.
Two dimensional code transmission unit 9012, for sending foreign currency exchange two dimensional code to reserve terminal.
Redemption request acquiring unit 9013, for obtaining foreign currency exchange two dimensional code by redemption terminal, according to foreign currency exchange Two dimensional code obtains foreign currency exchange request.
Result acquiring unit 9014 is reserved, for obtaining foreign exchange reservation according to foreign currency exchange request and foreign currency exchange two dimensional code Successful result.
Further, foreign currency exchange device provided in this embodiment further includes foreign currency exchange authentication module, wherein outer exchange Authentication module is changed to be specifically used for:
According to foreign currency exchange request certificate image and the first facial image, according to certificate image and the first facial image Obtain the result of testimony of a witness comparison;
The second facial image is obtained, the result of In vivo detection is obtained according to the second facial image;
If the result of In vivo detection be pass through and the testimony of a witness comparison result be pass through, be verified foreign currency exchange request.
Further, foreign currency exchange authentication module includes testimony of a witness comparison unit, wherein testimony of a witness comparison unit is specifically used for:
Certificate image is obtained, certificate portrait feature is obtained according to certificate image;
The first facial image is obtained, the first portrait feature is obtained according to the first facial image;
Calculate the characteristic similarity of certificate portrait feature and the first portrait feature;
If characteristic similarity reaches preset threshold, the result of testimony of a witness comparison is to pass through.
Further, foreign currency exchange authentication module further includes In vivo detection unit, wherein In vivo detection unit is specifically used In:
Obtain the second facial image;
The second facial image is identified according to preset In vivo detection model, obtains face living body characteristics;
If face living body characteristics meet preset condition, the result that In vivo detection passes through is exported, wherein preset condition has been At preset facial action, there are at least one intrinsic living body characteristics or infrared imaging to meet preset body temperature distribution three At least one condition in condition.
Specific about foreign currency exchange device limits the restriction that may refer to above for foreign currency exchange method, herein not It repeats again.Modules in above-mentioned foreign currency exchange device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing the first user identifier, foreign exchange reserve information, foreign currency exchange information, second user mark and outer It converges and reserves successful result etc..The network interface of the computer equipment is used to communicate with external terminal by network connection.It should To realize a kind of foreign currency exchange method when computer program is executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Obtain the foreign exchange reserve requests that reserve terminal is sent, wherein foreign exchange reserve requests include the first user identifier;
Foreign exchange reserve information is obtained according to foreign exchange reserve requests, according to foreign exchange reserve acquisition of information foreign currency exchange information;
If foreign exchange reserve information meets foreign currency exchange information, foreign exchange reservation successfully knot is exported according to the first user identifier Fruit is to reserve terminal;
The foreign currency exchange request that redemption terminal is sent is obtained, is reserved successfully according to the corresponding foreign exchange of foreign currency exchange request Result;
Successful result response foreign currency exchange request is reserved according to foreign exchange.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Obtain the foreign exchange reserve requests that reserve terminal is sent, wherein foreign exchange reserve requests include the first user identifier;
Foreign exchange reserve information is obtained according to foreign exchange reserve requests, according to foreign exchange reserve acquisition of information foreign currency exchange information;
If foreign exchange reserve information meets foreign currency exchange information, foreign exchange reservation successfully knot is exported according to the first user identifier Fruit is to reserve terminal;
The foreign currency exchange request that redemption terminal is sent is obtained, is reserved successfully according to the corresponding foreign exchange of foreign currency exchange request Result;
Successful result response foreign currency exchange request is reserved according to foreign exchange.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of foreign currency exchange method characterized by comprising
Obtain the foreign exchange reserve requests that reserve terminal is sent, wherein the foreign exchange reserve requests include the first user identifier;
Foreign exchange reserve information is obtained according to the foreign exchange reserve requests, is believed according to the foreign exchange reserve acquisition of information foreign currency exchange Breath;
If the foreign exchange reserve information meets the foreign currency exchange information, foreign exchange reservation is exported according to first user identifier Successful result is to the reserve terminal;
The foreign currency exchange request that redemption terminal is sent is obtained, is reserved successfully according to the corresponding foreign exchange of the foreign currency exchange request Result;
Successful result, which is reserved, according to the foreign exchange responds the foreign currency exchange request.
2. foreign currency exchange method as described in claim 1, which is characterized in that described according to the foreign currency exchange request pair The foreign exchange answered reserves successful result, comprising:
It is identified according to the foreign currency exchange request second user;
Judge whether the second user mark is identical as first user identifier;
If the second user mark is identical as first user identifier, obtained according to first user identifier corresponding Foreign exchange reserves successful result.
3. foreign currency exchange method as described in claim 1, which is characterized in that if meeting institute in the foreign exchange reserve information Foreign currency exchange information is stated, then the step that foreign exchange reserves successful result to the reserve terminal is exported according to first user identifier After rapid, the foreign currency exchange method further include:
Successful result is reserved according to the foreign exchange and first user identifier generates foreign currency exchange two dimensional code;
The foreign currency exchange two dimensional code is sent to the reserve terminal;
The foreign currency exchange two dimensional code is obtained by the redemption terminal, foreign currency exchange is obtained according to the foreign currency exchange two dimensional code Request;
The foreign exchange, which is obtained, according to foreign currency exchange request and the foreign currency exchange two dimensional code reserves successful result.
4. foreign currency exchange method as described in claim 1, which is characterized in that in the outer exchange that the acquisition redemption terminal is sent After the step of changing request, reserving successful result according to the corresponding foreign exchange of the foreign currency exchange request, the outer exchange Change method further include:
According to the foreign currency exchange request certificate image and the first facial image, according to the certificate image and described first Facial image obtains the result of testimony of a witness comparison;
The second facial image is obtained, the result of In vivo detection is obtained according to second facial image;
If the result of the In vivo detection be pass through and the testimony of a witness comparison result be pass through, be verified the outer exchange Change request.
5. foreign currency exchange method as claimed in claim 4, which is characterized in that described to be demonstrate,proved according to the foreign currency exchange request Part image and the first facial image obtain that the testimony of a witness compares as a result, packet according to the certificate image and first facial image It includes:
Certificate image is obtained, certificate portrait feature is obtained according to the certificate image;
The first facial image is obtained, the first portrait feature is obtained according to first facial image;
Calculate the characteristic similarity of the certificate portrait feature Yu the first portrait feature;
If the characteristic similarity reaches preset threshold, the result of the testimony of a witness comparison is to pass through.
6. foreign currency exchange method as claimed in claim 4, which is characterized in that the second facial image of the acquisition, according to described The result of second facial image acquisition In vivo detection, comprising:
Obtain the second facial image;
Second facial image is identified according to preset In vivo detection model, obtains face living body characteristics;
If the face living body characteristics meet preset condition, the result that In vivo detection passes through is exported, wherein the preset condition To complete preset facial action, there are at least one intrinsic living body characteristics and infrared imaging to meet preset body temperature distribution At least one condition in three conditions.
7. a kind of foreign currency exchange device characterized by comprising
Reserve requests obtain module, for obtaining the foreign exchange reserve requests of reserve terminal transmission, wherein the foreign exchange reserve requests Including the first user identifier;
Foreign exchange data obtaining module is stored up for obtaining foreign exchange reserve information according to the foreign exchange reserve requests according to the foreign exchange Standby acquisition of information foreign currency exchange information;
Result output module is reserved, if meeting the foreign currency exchange information for the foreign exchange reserve information, according to described the One user identifier exports foreign exchange and reserves successful result to the reserve terminal;
It reserves result and obtains module, for obtaining the foreign currency exchange request of redemption terminal transmission, requested according to the foreign currency exchange It obtains corresponding foreign exchange and reserves successful result;
Redemption request respond module responds the foreign currency exchange request for reserving successful result according to the foreign exchange.
8. foreign currency exchange device as claimed in claim 7, which is characterized in that further include that two dimensional code exchanges module, the two dimension It includes that two dimensional code generation unit, two dimensional code transmission unit, redemption request acquiring unit and reservation result obtain list that code, which exchanges module, Member;
The two dimensional code generation unit, for being reserved outside successful result and first user identifier generation according to the foreign exchange Two dimensional code is changed in exchange;
The two dimensional code transmission unit, for sending the foreign currency exchange two dimensional code to the reserve terminal;
The redemption request acquiring unit, for obtaining the foreign currency exchange two dimensional code by the redemption terminal, according to described Foreign currency exchange two dimensional code obtains foreign currency exchange request;
The reservation result acquiring unit, for according to foreign currency exchange request and foreign currency exchange two dimensional code acquisition Foreign exchange reserves successful result.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The step of any one of 6 foreign currency exchange method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the step of realization foreign currency exchange method as described in any one of claim 1 to 6 when the computer program is executed by processor Suddenly.
CN201811199998.7A 2018-10-16 2018-10-16 Foreign currency exchange method, apparatus, computer equipment and storage medium Pending CN109523257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811199998.7A CN109523257A (en) 2018-10-16 2018-10-16 Foreign currency exchange method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811199998.7A CN109523257A (en) 2018-10-16 2018-10-16 Foreign currency exchange method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109523257A true CN109523257A (en) 2019-03-26

Family

ID=65770517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811199998.7A Pending CN109523257A (en) 2018-10-16 2018-10-16 Foreign currency exchange method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109523257A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956465A (en) * 2019-11-28 2020-04-03 中国银行股份有限公司 Foreign currency exchange method and system
CN112101215A (en) * 2020-09-15 2020-12-18 Oppo广东移动通信有限公司 Face input method, terminal equipment and computer readable storage medium
CN113496567A (en) * 2020-03-18 2021-10-12 光荣株式会社 Cash preparing method and cash preparing system
CN113780678A (en) * 2021-09-27 2021-12-10 中国银行股份有限公司 Foreign exchange service processing method and device
CN115830722A (en) * 2023-02-20 2023-03-21 广州市森锐科技股份有限公司 Living body identification people and certificate comparison method
CN116630050A (en) * 2023-06-16 2023-08-22 深圳市弘裕金联科技有限公司 Online gold transaction method, system, device and storage medium
CN117829836A (en) * 2024-01-29 2024-04-05 广州市高富信息科技有限公司 Foreign exchange method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105741440A (en) * 2015-07-22 2016-07-06 深圳怡化电脑股份有限公司 Method and device for running bank note currency exchange self-service equipment
CN105844813A (en) * 2016-03-17 2016-08-10 中国工商银行股份有限公司 Self-service multi-currency exchange device and system
CN107609877A (en) * 2017-09-18 2018-01-19 上海博路信息技术有限公司 The exchanging method and system of a kind of bio-identification
CN107895201A (en) * 2017-12-01 2018-04-10 上海携程金融信息服务有限公司 Booking method, system, equipment and the storage medium that foreign currency is exchanged automatically
CN108062589A (en) * 2017-12-12 2018-05-22 上海携程金融信息服务有限公司 Booking method, system, equipment and the storage medium of the self-service extraction of foreign currency

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105741440A (en) * 2015-07-22 2016-07-06 深圳怡化电脑股份有限公司 Method and device for running bank note currency exchange self-service equipment
CN105844813A (en) * 2016-03-17 2016-08-10 中国工商银行股份有限公司 Self-service multi-currency exchange device and system
CN107609877A (en) * 2017-09-18 2018-01-19 上海博路信息技术有限公司 The exchanging method and system of a kind of bio-identification
CN107895201A (en) * 2017-12-01 2018-04-10 上海携程金融信息服务有限公司 Booking method, system, equipment and the storage medium that foreign currency is exchanged automatically
CN108062589A (en) * 2017-12-12 2018-05-22 上海携程金融信息服务有限公司 Booking method, system, equipment and the storage medium of the self-service extraction of foreign currency

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956465A (en) * 2019-11-28 2020-04-03 中国银行股份有限公司 Foreign currency exchange method and system
CN113496567A (en) * 2020-03-18 2021-10-12 光荣株式会社 Cash preparing method and cash preparing system
CN112101215A (en) * 2020-09-15 2020-12-18 Oppo广东移动通信有限公司 Face input method, terminal equipment and computer readable storage medium
CN113780678A (en) * 2021-09-27 2021-12-10 中国银行股份有限公司 Foreign exchange service processing method and device
CN115830722A (en) * 2023-02-20 2023-03-21 广州市森锐科技股份有限公司 Living body identification people and certificate comparison method
CN116630050A (en) * 2023-06-16 2023-08-22 深圳市弘裕金联科技有限公司 Online gold transaction method, system, device and storage medium
CN116630050B (en) * 2023-06-16 2024-02-02 深圳市弘裕金联科技有限公司 Online gold transaction method, system, device and storage medium
CN117829836A (en) * 2024-01-29 2024-04-05 广州市高富信息科技有限公司 Foreign exchange method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109523257A (en) Foreign currency exchange method, apparatus, computer equipment and storage medium
CN108009528B (en) Triple Loss-based face authentication method and device, computer equipment and storage medium
CN105681316B (en) identity verification method and device
TWI687879B (en) Server, client, user verification method and system
EP3905102A1 (en) Method and device for determining operation based on facial expression groups, and electronic device
CN107844748A (en) Auth method, device, storage medium and computer equipment
CN109241868A (en) Face identification method, device, computer equipment and storage medium
CN104580143A (en) Security authentication method based on gesture recognition, terminal, server and system
CN101114909B (en) Full-automatic video identification authentication system and method
JP7363785B2 (en) Information processing device, information processing method, and information processing program
CN109801192A (en) Electron contract method, apparatus, computer equipment and storage medium
CN105989263A (en) Method for authenticating identities, method for opening accounts, devices and systems
WO2022206319A1 (en) Image processing method and apparatus, and device, storage medium and computer program product
JP2002251380A (en) User collation system
WO2003007215A1 (en) Identity verification and enrollment system for self-service devices
JP7090008B2 (en) Identity verification support device and identity verification support method
CN109472208A (en) Certificates handling method, apparatus, computer equipment and storage medium based on recognition of face
CN110321792A (en) Without card enchashment method, apparatus, equipment and computer readable storage medium
CN106941503A (en) Bank data collection and authentication method and system based on smart mobile phone
CN109409349A (en) Credit certificate discrimination method, device, terminal and computer readable storage medium
CN105844460A (en) Composition of mobile phone face-scanning payment system
CN108241999A (en) A kind of generation method of invoice information, apparatus and system
CN111275901B (en) Control method and device of express delivery cabinet, storage medium and computer equipment
CA3049042A1 (en) System and method for authenticating transactions from a mobile device
US20220375259A1 (en) Artificial intelligence for passive liveness detection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination