一种电子凭证设置及数据交互处理的方法、系统及装置
Method, system and device for electronic voucher setting and data interaction processing
【技术领域】[Technical Field]
本发明涉及电子商务领域,特别是涉及一种电子凭证设置及数据交互处理的方法、系统及装置。The present invention relates to the field of electronic commerce, and in particular, to a method, system and device for electronic voucher setting and data interaction processing.
【背景技术】 【Background technique】
电子商务已经越来越广泛地应用于各种商业贸易活动中,所谓电子商务是指在商业贸易活动中,在因特网开放的网络环境下,基于浏览器及服务器应用方式,实现消费者的网上购物、商户之间的网上交易和在线电子支付以及各种商务活动、交易活动、金融活动和相关的综合服务活动的一种商业运营模式。E-commerce has become more and more widely used in various commercial trade activities. The so-called e-commerce refers to the online shopping of consumers based on browser and server applications in the open Internet environment of commercial trade activities. A business operation model for online transactions and online electronic payments between merchants and various business activities, trading activities, financial activities and related integrated service activities.
目前的在线电子支付(网络支付)方式主要包括银行网银支付(含信用卡支付)和第三方支付两种。但在线电子支付(网络支付)的结算过程中的信用瓶颈始终是电子商务发展进程中的障碍性问题。The current online electronic payment (network payment) methods mainly include bank online banking payment (including credit card payment) and third party payment. However, the credit bottleneck in the settlement process of online electronic payment (network payment) is always an obstacle in the development of e-commerce.
目前的在线电子支付方式中,以第三方支付公司担保的形式是风险较小的。但是,采用第三方支付公司担保的形式,当付款方完成支付操作后,在收款方收到资金前,收款方将无法对收款银行进行变更,无法给因异常情况需要变更收款银行提供处理的方法。In the current online electronic payment method, the form of third-party payment company guarantee is less risky. However, in the form of a third-party payment company guarantee, after the payer completes the payment operation, the payee will not be able to make changes to the receiving bank until the recipient receives the funds, and cannot change the receiving bank due to abnormal circumstances. Provide a method of processing.
另外,随着互联网技术尤其是移动互联网技术的发展,用户可以通过移动设备使用2G、3G、4G或wifi等方式进行数据传输以及数据交互,当在数据交互的过程中,也会遇到类似情况。In addition, with the development of Internet technologies, especially mobile Internet technologies, users can use 2G, 3G, 4G or wifi to perform data transmission and data interaction through mobile devices. When data interaction occurs, similar situations will be encountered. .
【发明内容】 [Summary of the Invention]
本发明的主要目的是提供一种电子凭证设置及数据交互处理的方法、系统及装置,能够使资金或数据接收方端设置接收电子凭证或数据凭证的服务器以及接收资金或数据的账户,有利于提高数据交互的效率。The main object of the present invention is to provide a method, system and device for electronic voucher setting and data interaction processing, which can enable a fund or data receiver to set up a server for receiving electronic voucher or data voucher and an account for receiving funds or data, which is beneficial to Improve the efficiency of data interaction.
本发明采用的一个技术方案是:提供一种电子凭证设置方法,该方法包括:第一终端向第二终端发送接收电子凭证的第一请求信息;其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证;第二终端响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器发送第二请求信息;第二资金管理服务器响应第二请求信息,接收电子凭证,并根据第二请求信息将第二资金管理服务器、资金账户的信息更新至电子凭证。A technical solution adopted by the present invention is to provide a method for setting an electronic voucher, the method comprising: the first terminal transmitting, to the second terminal, first request information for receiving the electronic voucher; wherein the electronic voucher is the first terminal user and the account thereof The funds or the credit line is used as the deposit to apply for the electronic commitment payment certificate generated by the first fund management server and generated by the first fund management server; the second terminal responds to the first request information, sets the second fund management server to receive the electronic certificate, and sets the storage. The funds account of the second fund management server receives the funds equal to the electronic voucher amount, generates the second request information for receiving the electronic voucher according to the above setting, and sends the second request information to the second fund management server; the second fund management server And responding to the second request information, receiving the electronic voucher, and updating the information of the second fund management server and the fund account to the electronic voucher according to the second request information.
本发明采用的另一个技术方案是:提供一种电子凭证设置方法,应用于第二终端,该方法包括:第二终端接收第一终端发送的接收电子凭证的第一请求信息;其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证;第二终端响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器发送第二请求信息。Another technical solution adopted by the present invention is to provide an electronic voucher setting method, which is applied to a second terminal, and the method includes: receiving, by the second terminal, first request information of the electronic voucher sent by the first terminal; wherein, the electronic credential Providing, by the first terminal user, an electronic commitment payment certificate that is applied to the first fund management server and generated by the first fund management server with the account fund or the credit line of the first terminal user; the second terminal responds to the first request information, and sets the second fund management server Receiving an electronic voucher, and setting a fund account stored in the second fund management server to receive funds equal to the electronic voucher amount, generating second request information for receiving the electronic voucher according to the above setting, and transmitting the second request to the second fund management server Request information.
本发明采用的另一个技术方案是:提供一种电子凭证设置系统,该系统包括第一终端、第二终端、第一资金管理服务器以及第二资金管理服务器;第一终端用于向第二终端发送接收电子凭证的第一请求信息;其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证;第二终端用于响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器发送第二请求信息;第二资金管理服务器用于响应第二请求信息,接收电子凭证,并根据第二请求信息将第二资金管理服务器、资金账户的信息更新至电子凭证。Another technical solution adopted by the present invention is to provide an electronic voucher setting system, which includes a first terminal, a second terminal, a first fund management server, and a second fund management server; the first terminal is used to the second terminal Sending the first request information for receiving the electronic voucher; wherein the electronic voucher is an electronic commitment payment voucher that the first end user applies to the first fund management server and is generated by the first fund management server with the account fund or the credit line as the margin; The second terminal is configured to respond to the first request information, set the second fund management server to receive the electronic voucher, and set the fund account stored in the second fund management server to receive the fund equal to the electronic voucher amount, and generate the receiving electronic voucher according to the above setting. The second request information, and sending the second request information to the second fund management server; the second fund management server is configured to receive the electronic voucher in response to the second request information, and send the second fund management server and the fund according to the second request information. The account information is updated to the electronic voucher.
本发明采用的另一个技术方案是:提供一种电子凭证设置装置,应用于第二终端,该装置包括接收模块、设置模块、生成模块以及发送模块;接收模块用于接收第一终端发送的接收电子凭证的第一请求信息;其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证;设置模块用于响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金;生成模块用于根据上述设置生成接收电子凭证的第二请求信息;发送模块用于向第二资金管理服务器发送第二请求信息。Another technical solution adopted by the present invention is to provide an electronic voucher setting device, which is applied to a second terminal, the device includes a receiving module, a setting module, a generating module, and a sending module, and the receiving module is configured to receive the receiving sent by the first terminal. The first request information of the electronic voucher; wherein the electronic voucher is an electronic commitment payment voucher that is applied by the first fund management server to the first fund management server by using the account fund or credit line of the first terminal user; And in response to the first request information, setting a second fund management server to receive the electronic voucher, and setting a fund account stored in the second fund management server to receive funds equal to the electronic voucher amount; and generating a module for generating the receiving electronic according to the foregoing setting The second request information of the voucher; the sending module is configured to send the second request information to the second fund management server.
本发明采用的另一个技术方案是:提供一种数据交互处理方法,该方法包括:第一终端向第二终端发送接收数据凭证的第一请求信息;其中,数据凭证是第一终端作为数据发起方与第一服务器之间预先建立的数据关联关系的量化工具;第二终端响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器发送第二请求信息;第二服务器响应第二请求信息,接收数据凭证,并根据第二请求信息将第二服务器、数据账户的信息更新至数据凭证。Another technical solution adopted by the present invention is to provide a data interaction processing method, the method comprising: the first terminal sending, to the second terminal, first request information for receiving the data credential; wherein the data credential is initiated by the first terminal as data a quantification tool for pre-established data association relationship between the party and the first server; the second terminal responding to the first request information, setting the second server to receive the data voucher, and setting the data account stored in the second server to receive the data voucher Corresponding data, according to the second request information set to receive the data voucher, and sending the second request information to the second server; the second server responds to the second request information, receives the data voucher, and according to the second request information The information of the second server and the data account is updated to the data certificate.
本发明采用的另一个技术方案是:提供一种数据交互处理方法,应用于第二终端,该方法包括:第二终端接收第一终端发送的接收数据凭证的第一请求信息;其中,数据凭证是第一终端作为数据发起方与第一服务器之间预先建立的数据关联关系的量化工具;第二终端响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器发送第二请求信息。Another technical solution adopted by the present invention is to provide a data interaction processing method, which is applied to a second terminal, where the method includes: receiving, by the second terminal, first request information of the received data credential sent by the first terminal; wherein, the data credential Is a quantization tool of the first terminal as a pre-established data association relationship between the data initiator and the first server; the second terminal responds to the first request information, sets the second server to receive the data certificate, and sets the storage in the second server. The data account receives the data corresponding to the data voucher, and sets the second request information to receive the data voucher according to the foregoing, and sends the second request information to the second server.
本发明采用的另一个技术方案是:提供一种数据交互处理系统,该系统包括第一终端、第二终端、第一服务器以及第二服务器;第一终端用于向第二终端发送接收数据凭证的第一请求信息;其中,数据凭证是第一终端作为数据发起方与第一服务器之间预先建立的数据关联关系的量化工具;第二终端用于响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器发送第二请求信息;第二服务器用于响应第二请求信息,接收数据凭证,并根据第二请求信息将第二服务器、数据账户的信息更新至数据凭证。Another technical solution adopted by the present invention is to provide a data interaction processing system, where the system includes a first terminal, a second terminal, a first server, and a second server; the first terminal is configured to send and receive data credentials to the second terminal. The first request information; wherein the data credential is a quantification tool of the first terminal as a pre-established data association relationship between the data initiator and the first server; the second terminal is configured to respond to the first request information, and set the second server to Receiving a data voucher, and setting a data account stored in the second server to receive data corresponding to the data voucher, according to the second request information set to receive the data voucher, and transmitting the second request information to the second server; The server is configured to receive the data credential in response to the second request information, and update the information of the second server and the data account to the data credential according to the second request information.
本发明采用的另一个技术方案是:提供一种数据交互处理装置,应用于第二终端,该装置包括接收模块、设置模块、生成模块以及发送模块;接收模块用于接收第一终端发送的接收数据凭证的第一请求信息;其中,数据凭证是第一终端作为数据发起方与第一服务器之间预先建立的数据关联关系的量化工具;设置模块用于响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据;生成模块用于根据上述设置成接收数据凭证的第二请求信息;发送模块用于向第二服务器发送第二请求信息。Another technical solution adopted by the present invention is to provide a data interaction processing device, which is applied to a second terminal, the device includes a receiving module, a setting module, a generating module, and a sending module, and the receiving module is configured to receive the receiving sent by the first terminal. The first request information of the data credential; wherein the data credential is a quantification tool of the first terminal as a pre-established data association relationship between the data initiator and the first server; the setting module is configured to set the second server in response to the first request information Receiving a data voucher and setting a data account stored in the second server to receive data corresponding to the data voucher; generating a second request information configured to receive the data voucher according to the above; the sending module is configured to send to the second server Send the second request message.
区别于现有技术的情况,本发明中第一终端向第二终端发送接收电子凭证的第一请求信息;第二终端响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器发送第二请求信息;第二资金管理服务器接收电子凭证,并根据第二请求信息将第二资金管理服务器、资金账户的信息更新至电子凭证。通过上述方式,本发明能够使第二终端用户任意设置接收电子凭证的服务器以及接收资金的账户,使收证形式更加多样化,有利于提高资金交互双方的交互效率。同时,本发明中第一终端向第二终端发送接收数据凭证的第一请求信息;第二终端响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器发送第二请求信息;第二服务器接收数据凭证,并根据第二请求信息将第二服务器、数据账户的信息更新至数据凭证。通过上述方式,本发明能够使第二终端任意设置接收数据凭证的服务器以及接收数据的账户,使收证形式更加多样化,有利于提高数据交互双方的交互效率。Different from the prior art, in the present invention, the first terminal sends the first request information for receiving the electronic credential to the second terminal; the second terminal responds to the first request information, sets the second fund management server to receive the electronic credential, and sets The funds account stored in the second fund management server receives the funds equal to the electronic voucher amount, generates the second request information for receiving the electronic voucher according to the above setting, and sends the second request information to the second fund management server; the second fund management The server receives the electronic voucher and updates the information of the second fund management server and the fund account to the electronic voucher according to the second request information. In the above manner, the present invention enables the second terminal user to arbitrarily set the server that receives the electronic voucher and the account that receives the funds, so that the form of the certificate is more diversified, which is beneficial to improving the interaction efficiency of both parties. Meanwhile, in the present invention, the first terminal sends the first request information for receiving the data credential to the second terminal; the second terminal responds to the first request information, sets the second server to receive the data credential, and sets the data account stored in the second server. Receiving, according to the data corresponding to the data voucher, receiving the second request information of the data voucher according to the foregoing, and sending the second request information to the second server; the second server receiving the data voucher, and the second request information according to the second request information The information of the server and data account is updated to the data certificate. In the above manner, the present invention can enable the second terminal to arbitrarily set the server that receives the data certificate and the account that receives the data, so that the form of the certificate is more diversified, and the interaction efficiency between the data interaction parties is improved.
【附图说明】 [Description of the Drawings]
图1是本发明电子凭证设置方法第一实施方式的流程图;1 is a flow chart of a first embodiment of an electronic voucher setting method of the present invention;
图2是本发明电子凭证设置方法第一实施方式的关系示意图;2 is a schematic diagram showing the relationship between the first embodiment of the electronic voucher setting method of the present invention;
图3是本发明电子凭证设置方法第二实施方式的流程图;3 is a flow chart of a second embodiment of an electronic voucher setting method of the present invention;
图4是本发明电子凭证设置系统一实施方式的结构示意图;4 is a schematic structural diagram of an embodiment of an electronic voucher setting system of the present invention;
图5是本发明电子凭证设置装置第一实施方式的结构示意图;FIG. 5 is a schematic structural diagram of a first embodiment of an electronic voucher setting apparatus according to the present invention; FIG.
图6是本发明数据交互处理方法第一实施方式的流程图;6 is a flowchart of a first embodiment of a data interaction processing method of the present invention;
图7是本发明数据交互处理方法第二实施方式的流程图;7 is a flowchart of a second embodiment of a data interaction processing method of the present invention;
图8是本发明数据交互处理系统一实施方式的结构示意图;8 is a schematic structural diagram of an embodiment of a data interaction processing system according to the present invention;
图9是本发明数据交互处理装置第一实施方式的结构示意图。FIG. 9 is a schematic structural diagram of a first embodiment of a data interaction processing apparatus according to the present invention.
【具体实施方式】【detailed description】
为详细说明本发明的技术内容、构造特征、所实现目的及效果,以下结合附图和实施例对本发明进行详细说明。The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
参阅图1,本发明电子凭证设置方法第一实施方式的流程图。同时参阅图2,本发明电子凭证设置方法第一实施方式的关系示意图,该方法包括:Referring to FIG. 1, a flow chart of a first embodiment of an electronic voucher setting method of the present invention. Referring to FIG. 2, a schematic diagram of a relationship between a first embodiment of an electronic voucher setting method according to the present invention includes:
步骤101:第一终端向第二终端发送接收电子凭证的第一请求信息。Step 101: The first terminal sends the first request information for receiving the electronic credential to the second terminal.
其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证。The electronic voucher is an electronic commitment payment voucher that the first end user applies to the first fund management server and is generated by the first fund management server with the account fund or the credit line as the margin.
具体地,电子凭证是指第一资金管理服务器根据第一终端用户的申请冻结资金或支用授信额度并以第一资金管理服务器的名义生成,且承诺依照约定条件进行结算的电子信用承诺支付凭证。电子凭证基本业务流程为:第一资金管理服务器根据第一终端用户的申请冻结所需数额资金以生成电子凭证,当约定解付条件达成时,由第一资金管理服务器将资金解付办理支付结算。Specifically, the electronic voucher refers to an electronic credit commitment payment voucher that the first fund management server freezes funds according to the application of the first terminal user or uses the credit line and generates in the name of the first fund management server, and promises to settle according to the agreed conditions. . The basic business process of the electronic voucher is: the first fund management server freezes the required amount of funds according to the application of the first terminal user to generate an electronic voucher, and when the agreed settlement condition is reached, the first fund management server releases the funds for payment settlement. .
在本实施方式中,第一终端是向第二终端发送的接收电子凭证的第一请求信息,该第一请求信息至少包括该电子凭证的标识信息以及请求第二终端用户接收该电子凭证的请求。其中,电子凭证的标识信息可以是电子凭证编号、名称或代表一特定电子凭证的二维码信息等。In this embodiment, the first terminal is the first request information for receiving the electronic voucher sent to the second terminal, where the first request information includes at least the identification information of the electronic voucher and the request for requesting the second terminal user to receive the electronic voucher. . The identification information of the electronic voucher may be an electronic voucher number, a name, or two-dimensional code information representing a specific electronic voucher.
在其他实施方式中,也可以是在第一终端向第一资金管理服务器申请并由第一资金管理服务器生成该电子凭证后,由第一资金管理服务器来发送该请求信息到第二终端。In other embodiments, after the first terminal applies to the first fund management server and the electronic certificate is generated by the first fund management server, the first fund management server sends the request information to the second terminal.
其中,第一终端或第一资金管理服务器向第二终端发送该第一请求信息的方式可以是短信、邮件,也可以是发送一二维码信息,还可以是第一终端用户和第二终端用户当面发送,例如第二终端用户使用第二终端扫描第一终端上生成的二维码。The first terminal or the first fund management server may send the first request information to the second terminal by using a short message or a mail, or may send a two-dimensional code information, or may be a first terminal user and a second terminal. The user transmits in person, for example, the second terminal user scans the two-dimensional code generated on the first terminal by using the second terminal.
步骤102:第二终端响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器发送第二请求信息。Step 102: The second terminal responds to the first request information, sets a second fund management server to receive the electronic voucher, and sets a fund account stored in the second fund management server to receive funds equal to the electronic voucher amount, and generates and receives according to the above setting. The second request information of the electronic voucher and the second request information is sent to the second fund management server.
在本实施方式中设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金的设置过程,可以是第二终端用户通过第二终端设置的,也可以是第二终端里预存了接收电子凭证的服务器信息以及接收与电子凭证额度相等的资金的资金账户信息,当收到该第一请求信息时,自动向与设置的服务器相同的资金管理服务器(即本实施方式中的第二资金管理服务器)发送给第二请求信息。另外,该第二终端的设置过程仅仅是用于生成该第二请求信息,并没有变更电子凭证中的信息,后续更新电子凭证的信息需要下一步骤第二资金管理服务器来完成。In the embodiment, the second fund management server is configured to receive the electronic voucher, and the setting of the fund account stored in the second fund management server to receive the funds equal to the electronic voucher amount may be the second terminal user passing the second The terminal setting may also be that the server information for receiving the electronic voucher and the fund account information for receiving the funds equal to the electronic voucher amount are pre-stored in the second terminal, and when receiving the first request information, automatically the same as the set server The money management server (ie, the second money management server in the present embodiment) transmits the second request information. In addition, the setting process of the second terminal is only used to generate the second request information, and the information in the electronic voucher is not changed. The information of the subsequent update of the electronic voucher needs to be completed by the second step of the second fund management server.
具体地,第二终端设置的接收电子凭证的服务器信息与第二终端发送该第二请求信息的接收服务器为同一个资金管理服务器,即均为第二资金管理服务器;因此,在另一实施方式中,该第二请求信息中也可以不包括接收电子凭证的服务器信息,当第二终端将第二请求信息发送给第二资金管理服务器时,即默认指定了第二资金管理服务器为电子凭证的接收服务器。Specifically, the server information of the electronic terminal that is set by the second terminal and the receiving server that sends the second request information by the second terminal are the same fund management server, that is, the second money management server; therefore, in another embodiment The second request information may not include the server information for receiving the electronic voucher. When the second terminal sends the second request information to the second fund management server, the second fund management server is designated as the electronic voucher by default. Receive server.
在步骤102后,还可以包括步骤:第二资金管理服务器验证第二请求信息,当验证通过后,进行步骤103。After the step 102, the method may further include the step of: the second fund management server verifying the second request information, and after the verification is passed, proceeding to step 103.
其中验证第二请求信息可以包括:验证第二终端用户是否合法,第二终端用户的账户信息是否正确或该账户是否存储于第二资金管理服务器。The verifying the second request information may include: verifying whether the second terminal user is legal, whether the account information of the second terminal user is correct, or whether the account is stored in the second fund management server.
步骤103:第二资金管理服务器响应第二请求信息,接收电子凭证,并根据第二请求信息将第二资金管理服务器、资金账户的信息更新至电子凭证。Step 103: The second fund management server receives the electronic certificate in response to the second request information, and updates the information of the second fund management server and the fund account to the electronic certificate according to the second request information.
其中,该第二请求信息至少包括该电子凭证的标识信息,以便第二资金管理服务器根据该标识信息去搜索该电子凭证。搜索的方式可以是在各个其他资金管理服务器的数据库中进行搜索,也可以是将各个资金管理服务器所持有的电子凭证信息汇总再进行搜索。The second request information includes at least the identification information of the electronic voucher, so that the second fund management server searches for the electronic voucher according to the identification information. The search may be performed by searching in the database of each other fund management server, or by collecting the electronic voucher information held by each fund management server and searching.
在步骤103中,当第二资金管理服务器接收电子凭证后,还可以验证电子凭证的状态,当验证通过后,再根据第二请求信息将第二资金管理服务器、资金账户的信息更新至电子凭证。In step 103, after the second fund management server receives the electronic voucher, the status of the electronic voucher may also be verified. After the verification is passed, the information of the second fund management server and the fund account is updated to the electronic voucher according to the second request information. .
其中,该电子凭证的状态即电子凭证信息,电子凭证信息可以包括第一终端以及第一资金管理服务器的信息,当然,电子凭证信息还可以包括电子凭证的额度信息、清算信息以及开证时间和有效期;当然,开证时间和有效期也可以直接替换为到期时间。The status of the electronic voucher is electronic voucher information, and the electronic voucher information may include information of the first terminal and the first fund management server. Of course, the electronic voucher information may further include credit information, clearing information, and time of issuance of the electronic voucher. Validity; of course, the time and validity period of the issuance can also be directly replaced by the expiration time.
验证电子凭证的状态具体为:第二资金管理服务器根据电子凭证的开证时间和有效期判断该电子凭证是否超过有效期。The status of the verification electronic certificate is specifically: the second fund management server determines whether the electronic certificate exceeds the validity period according to the time and validity period of the electronic certificate.
在步骤103后,还可以包括步骤:第二资金管理服务器向第二终端发送接收到电子凭证以及更新电子凭证信息的反馈信息。After step 103, the method further includes the step of: the second fund management server transmitting, to the second terminal, feedback information that the electronic voucher is received and the electronic voucher information is updated.
在上述所有步骤完成之后,若第二资金管理服务器接收到第一资金管理服务器发放的与该电子凭证价值相等的资金时,将该资金划拨到第二终端在步骤102中设置的账户中。After all the above steps are completed, if the second fund management server receives the funds issued by the first money management server and equal to the value of the electronic certificate, the funds are transferred to the account set by the second terminal in step 102.
在一具体的实施例中,第一资金管理服务器为第一银行的资金管理服务器,第二资金管理服务器为第二银行的资金管理服务器。第一终端为终端A,第一终端用户为用户A,第二终端为终端B,第二终端用户为用户B。下面进行举例说明:In a specific embodiment, the first money management server is the money management server of the first bank, and the second money management server is the money management server of the second bank. The first terminal is the terminal A, the first terminal user is the user A, the second terminal is the terminal B, and the second terminal user is the user B. The following is an example:
当用户A需要向用户B转10万元时,用户A不知道用户B的账户,如果通过电话或短信等方式询问用户B的账户信息也过于麻烦,用户A直接通过终端A向第一银行发送开证申请并由第一银行生成电子凭证,在开证完成后用户A通过终端A向终端B发送要求用户B接收与电子凭证价值相等的资金的第一请求信息。When user A needs to transfer 100,000 yuan to user B, user A does not know the account of user B. If the user's account information is queried by telephone or short message, the user A sends the account information directly to the first bank through terminal A. The application for the issuance of the certificate and the generation of the electronic voucher by the first bank, after the completion of the issuance of the certificate, the user A sends the first request information requesting the user B to receive the funds having the same value as the electronic voucher through the terminal A to the terminal B.
终端B接收到第一请求信息后,用户B通过终端B设置收证行为第二银行,收款账户为账户B,并向第二银行发送包括收证行信息以及收款账户信息的第二请求信息。After the terminal B receives the first request information, the user B sets the second bank of the collection behavior through the terminal B, the collection account is the account B, and sends a second request including the receipt information and the collection account information to the second bank. information.
第二银行根据该第二请求信息进行收证,在接收到电子凭证之后将电子凭证的收证行更改为第二银行、将接收与电子凭证额度相等的资金的账户更改为账户B。The second bank performs the verification according to the second request information, and after receiving the electronic voucher, changes the receiving bank of the electronic voucher to the second bank, and changes the account receiving the funds equal to the electronic voucher amount to the account B.
当第二银行接收到第一银行发放的该资金时,将该资金划拨到用户B的账户B中。When the second bank receives the funds issued by the first bank, the funds are transferred to the account B of the user B.
以上方案中,第一终端向第二终端发送接收电子凭证的第一请求信息;其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证;第二终端响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器发送第二请求信息;第二资金管理服务器接收电子凭证,并根据第二请求信息将第二资金管理服务器、资金账户的信息更新至电子凭证。通过上述方式,当第一终端需要向第二终端发送电子凭证,以使第二终端用户获得与该电子凭证价值相等的资金时,可以让第二终端用户来任意设置接收该电子凭证的服务器以及接收该资金的资金账户,避免了第一终端设置账户的繁琐的程序,也保障了资金不会误发送到异常账户,使收证更加灵活,有利于第二终端用户选择最方便的方式接收该资金,提高了资金交互的效率。In the above solution, the first terminal sends the first request information for receiving the electronic voucher to the second terminal; wherein the electronic voucher is applied to the first fund management server by the first terminal user with the account fund or the credit line as the deposit, and is first An electronic commitment payment voucher generated by the fund management server; the second terminal responds to the first request information, sets a second fund management server to receive the electronic voucher, and sets a fund account stored in the second fund management server to receive the credit amount equal to the electronic voucher amount Funding, generating second request information for receiving the electronic voucher according to the above setting, and sending the second request information to the second fund management server; the second fund management server receives the electronic voucher, and according to the second request information, the second fund management server, The information of the fund account is updated to the electronic voucher. In the above manner, when the first terminal needs to send the electronic credential to the second terminal, so that the second end user obtains the fund equal to the value of the electronic credential, the second end user can be arbitrarily set to the server that receives the electronic credential and Receiving the fund account of the fund avoids the cumbersome procedure of setting the account by the first terminal, and also ensures that the funds are not sent to the abnormal account by mistake, making the certificate more flexible, and facilitating the second terminal user to select the most convenient way to receive the account. Capital has increased the efficiency of capital interaction.
参阅图3,本发明电子凭证设置方法第二实施方式的流程图,该方法应用于第二终端,该方法包括:Referring to FIG. 3, a flowchart of a second embodiment of an electronic voucher setting method according to the present invention is applied to a second terminal, and the method includes:
步骤301:第二终端接收第一终端发送的接收电子凭证的第一请求信息。Step 301: The second terminal receives the first request information of the received electronic credential sent by the first terminal.
其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证。The electronic voucher is an electronic commitment payment voucher that the first end user applies to the first fund management server and is generated by the first fund management server with the account fund or the credit line as the margin.
具体地,电子凭证是指第一资金管理服务器根据第一终端用户的申请冻结资金或支用授信额度并以第一资金管理服务器的名义生成,且承诺依照约定条件进行结算的电子信用承诺支付凭证。电子凭证基本业务流程为:第一资金管理服务器根据第一终端用户的申请冻结所需数额资金以生成电子凭证,当约定解付条件达成时,由第一资金管理服务器将资金解付办理支付结算。Specifically, the electronic voucher refers to an electronic credit commitment payment voucher that the first fund management server freezes funds according to the application of the first terminal user or uses the credit line and generates in the name of the first fund management server, and promises to settle according to the agreed conditions. . The basic business process of the electronic voucher is: the first fund management server freezes the required amount of funds according to the application of the first terminal user to generate an electronic voucher, and when the agreed settlement condition is reached, the first fund management server releases the funds for payment settlement. .
步骤302:第二终端响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器发送第二请求信息。Step 302: The second terminal responds to the first request information, sets a second fund management server to receive the electronic voucher, and sets a fund account stored in the second fund management server to receive funds equal to the electronic voucher amount, and generates and receives according to the above setting. The second request information of the electronic voucher and the second request information is sent to the second fund management server.
本实施方式是基于上述电子凭证设置方法第一实施方式中第二终端的实施方式,其实施方式类似,这里不再赘述。The embodiment is based on the implementation of the second terminal in the first embodiment of the electronic voucher setting method, and the implementation manners of the second terminal are similar, and are not described herein again.
参阅图4,本发明电子凭证设置系统一实施方式的结构示意图,该系统400包括第一终端401、第二终端402、第一资金管理服务器403以及第二资金管理服务器404。Referring to FIG. 4, a schematic structural diagram of an embodiment of an electronic voucher setting system of the present invention includes a first terminal 401, a second terminal 402, a first fund management server 403, and a second money management server 404.
第一终端401用于向第二终端402发送接收电子凭证的第一请求信息;其中,电子凭证为第一终端401用户以其账户资金或授信额度作为保证金向第一资金管理服务器403申请并由第一资金管理服务器403生成的电子承诺支付凭证。The first terminal 401 is configured to send, to the second terminal 402, the first request information for receiving the electronic voucher; wherein the electronic voucher is applied by the first terminal 401 to the first fund management server 403 by using the account fund or the credit line thereof as a deposit. The electronic commitment payment voucher generated by the first money management server 403.
具体地,电子凭证是指第一资金管理服务器403根据第一终端401用户的申请冻结资金或支用授信额度并以第一资金管理服务器403的名义生成,且承诺依照约定条件进行结算的电子信用承诺支付凭证。电子凭证基本业务流程为:第一资金管理服务器403根据第一终端401用户的申请冻结所需数额资金以生成电子凭证,当约定解付条件达成时,由第一资金管理服务器403将资金解付办理支付结算。Specifically, the electronic voucher refers to an electronic credit that the first fund management server 403 freezes funds or uses a credit line according to the application of the first terminal 401 and is generated by the first fund management server 403, and promises to settle according to the agreed conditions. Commit to paying the voucher. The basic business process of the electronic voucher is: the first fund management server 403 freezes the required amount of funds according to the application of the user of the first terminal 401 to generate an electronic voucher, and when the agreed settlement condition is reached, the first fund management server 403 releases the funds. Handle payment settlement.
第二终端402用于响应第一请求信息,设置第二资金管理服务器404以接收电子凭证、以及设置存储于第二资金管理服务器404的资金账户以接收与电子凭证额度相等的资金,根据上述设置生成接收电子凭证的第二请求信息,并向第二资金管理服务器404发送第二请求信息。The second terminal 402 is configured to, in response to the first request information, set the second fund management server 404 to receive the electronic voucher, and set the fund account stored in the second fund management server 404 to receive funds equal to the electronic voucher amount, according to the above setting. The second request information for receiving the electronic voucher is generated, and the second request information is transmitted to the second money management server 404.
第二资金管理服务器404用于响应第二请求信息,接收电子凭证,并根据第二请求信息将第二资金管理服务器404、资金账户的信息更新至电子凭证。The second fund management server 404 is configured to receive the electronic voucher in response to the second request information, and update the information of the second fund management server 404 and the fund account to the electronic voucher according to the second request information.
本实施方式是基于上述电子凭证设置方法第一实施方式的系统,其实施方式类似,这里不再赘述。The present embodiment is a system based on the first embodiment of the electronic voucher setting method described above, and the implementation manners thereof are similar, and are not described herein again.
参阅图5,本发明电子凭证设置装置一实施方式的结构示意图,该装置为第二终端,该装置500包括接收模块501、设置模块502、生成模块504以及发送模块503。5 is a schematic structural diagram of an embodiment of an electronic voucher setting device according to the present invention. The device is a second terminal. The device 500 includes a receiving module 501, a setting module 502, a generating module 504, and a sending module 503.
接收模块501用于接收第一终端发送的接收电子凭证的第一请求信息。The receiving module 501 is configured to receive first request information that is sent by the first terminal to receive the electronic credential.
其中,电子凭证为第一终端用户以其账户资金或授信额度作为保证金向第一资金管理服务器申请并由第一资金管理服务器生成的电子承诺支付凭证。The electronic voucher is an electronic commitment payment voucher that the first end user applies to the first fund management server and is generated by the first fund management server with the account fund or the credit line as the margin.
具体地,电子凭证是指第一资金管理服务器根据第一终端用户的申请冻结资金或支用授信额度并以第一资金管理服务器的名义生成,且承诺依照约定条件进行结算的电子信用承诺支付凭证。电子凭证基本业务流程为:第一资金管理服务器根据第一终端用户的申请冻结所需数额资金以生成电子凭证,当约定解付条件达成时,由第一资金管理服务器将资金解付办理支付结算。Specifically, the electronic voucher refers to an electronic credit commitment payment voucher that the first fund management server freezes funds according to the application of the first terminal user or uses the credit line and generates in the name of the first fund management server, and promises to settle according to the agreed conditions. . The basic business process of the electronic voucher is: the first fund management server freezes the required amount of funds according to the application of the first terminal user to generate an electronic voucher, and when the agreed settlement condition is reached, the first fund management server releases the funds for payment settlement. .
设置模块502用于设置模块用于响应第一请求信息,设置第二资金管理服务器以接收电子凭证、以及设置存储于第二资金管理服务器的资金账户以接收与电子凭证额度相等的资金。The setting module 502 is configured to set the module to respond to the first request information, set the second fund management server to receive the electronic voucher, and set the fund account stored in the second fund management server to receive the fund equal to the electronic voucher amount.
生成模块503用于根据上述设置生成接收电子凭证的第二请求信息。The generating module 503 is configured to generate second request information for receiving the electronic credential according to the foregoing setting.
发送模块504用于向第二资金管理服务器发送第二请求信息。The sending module 504 is configured to send the second request information to the second fund management server.
参阅图6,本发明数据交互处理方法第一实施方式的流程图,该方法包括:Referring to FIG. 6, a flowchart of a first embodiment of a data interaction processing method according to the present invention includes:
步骤601:第一终端向第二终端发送接收数据凭证的第一请求信息。Step 601: The first terminal sends the first request information for receiving the data credential to the second terminal.
其中,数据凭证是第一终端作为数据发起方与第一服务器之间预先建立的数据关联关系的量化工具。The data credential is a quantification tool of the first terminal as a pre-established data association relationship between the data initiator and the first server.
步骤602:第二终端响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器发送第二请求信息。Step 602: The second terminal responds to the first request information, sets a second server to receive the data voucher, and sets a data account stored in the second server to receive data corresponding to the data voucher, according to the foregoing setting to receive the data voucher. Second, the information is requested, and the second request information is sent to the second server.
步骤603:第二服务器响应第二请求信息,接收数据凭证,并根据第二请求信息将第二服务器、数据账户的信息更新至数据凭证。Step 603: The second server receives the data credential in response to the second request information, and updates the information of the second server and the data account to the data credential according to the second request information.
具体地,下面对本发明实施方式中的数据交互处理方法进行举例说明。Specifically, the data interaction processing method in the embodiment of the present invention is exemplified below.
例如,用户A能够在终端1通过密码登录系统,并拥有该系统的管理权限。其中,该密码可以是连续字符、代码、图形等数据,并且该密码具有唯一性,例如当用户A将密码发送给用户B后,用户A不再拥有该密码。具体地,当用户A需要将该管理权限转交给用户B时,需要将密码发送给用户B,但不知用户B接收密码的账户等信息,可以通过以下方式进行:For example, the user A can log in to the system through the password at the terminal 1 and have the management authority of the system. The password may be continuous characters, codes, graphics, and the like, and the password is unique. For example, when user A sends the password to user B, user A no longer owns the password. Specifically, when the user A needs to transfer the management authority to the user B, the password needs to be sent to the user B, but the information such as the account that the user B receives the password can be performed in the following manner:
用户A通过终端1向服务器1申请基于该密码的密码凭证,并向用户B的终端2发送接收该密码凭证的第一请求信息,用户B通过终端2接收到该第一请求信息后,通过终端2设置服务器2接收该密码凭证,并设置账户2接收密码,并根据该设置内容生成第二请求信息,发送给服务器2。The user A requests the password authentication voucher based on the password to the server 1 through the terminal 1, and sends the first request information of the password voucher to the terminal 2 of the user B. After receiving the first request information, the user B passes the terminal through the terminal 2. 2 The setting server 2 receives the password certificate, and sets the account 2 to receive the password, and generates second request information according to the setting content, and sends the second request information to the server 2.
服务器2接收第二请求信息,根据第二请求来接收密码凭证,并根据第二请求信息更新密码凭证。更新后的密码凭证至少包括要求该密码凭证的接收端为服务器2,密码的接收账户为账户2。The server 2 receives the second request information, receives the password voucher according to the second request, and updates the password voucher according to the second request information. The updated password credential includes at least the receiving end of the password credential as the server 2 and the receiving account of the password as the account 2.
当服务器1向服务器2发送该密码后,服务器根据密码凭证将密码发送到用户B的账户2中,用户B可以通过该密码来登录系统,并拥有系统的管理权限,同时,用户A失去系统的管理权限。After the server 1 sends the password to the server 2, the server sends the password to the account 2 of the user B according to the password credential, and the user B can log in to the system through the password, and has the management authority of the system, and at the same time, the user A loses the system. Administrative rights.
以上方案中,本发明中第一终端向第二终端发送接收数据凭证的第一请求信息;第二终端响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器发送第二请求信息;第二服务器接收数据凭证,并根据第二请求信息将第二服务器、数据账户的信息更新至数据凭证。通过上述方式,本发明能够使第二终端任意设置接收数据凭证的服务器以及接收数据的账户,防止数据的接收账户为异常账户的情况,使收证形式更加多样化,有利于提高数据交互双方的交互效率。In the above solution, the first terminal sends the first request information for receiving the data credential to the second terminal; the second terminal responds to the first request information, sets the second server to receive the data credential, and sets the storage to the second server. The data account receives the data corresponding to the data voucher, sets the second request information to receive the data voucher according to the foregoing, and sends the second request information to the second server; the second server receives the data voucher, and according to the second request information, The information of the second server and the data account is updated to the data certificate. In the above manner, the present invention can enable the second terminal to arbitrarily set the server that receives the data certificate and the account that receives the data, and prevent the data receiving account from being an abnormal account, so that the form of the certificate is more diversified, which is beneficial to improving the data interaction between the two parties. Interaction efficiency.
参阅图7,本发明数据交互处理方法第二实施方式的流程图,应用于第二终端,该方法包括:Referring to FIG. 7, a flowchart of a second embodiment of a data interaction processing method of the present invention is applied to a second terminal, where the method includes:
步骤701:第二终端接收第一终端发送的接收数据凭证的第一请求信息。Step 701: The second terminal receives the first request information of the received data credential sent by the first terminal.
其中,数据凭证为第一终端用户以其账户资金或授信额度作为保证金向第一服务器申请并由第一服务器生成的数据凭证。The data credential is a data credential that the first end user applies to the first server and is generated by the first server by using the account fund or the credit line as the margin.
步骤702:第二终端响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器发送第二请求信息。Step 702: The second terminal responds to the first request information, sets a second server to receive the data voucher, and sets a data account stored in the second server to receive data corresponding to the data voucher, according to the foregoing setting to receive the data voucher. Second, the information is requested, and the second request information is sent to the second server.
本实施方式是基于上述数据交互处理方法第一实施方式中第二终端的实施方式,其实施类似,这里不再赘述。This embodiment is based on the implementation manner of the second terminal in the first embodiment of the foregoing data interaction processing method, and the implementation is similar, and details are not described herein again.
参阅图8,本发明数据交互处理系统一实施方式的结构示意图,该系统包括第一终端801、第二终端802、第一服务器803以及第二服务器804;FIG. 8 is a schematic structural diagram of an embodiment of a data interaction processing system according to the present invention, the system includes a first terminal 801, a second terminal 802, a first server 803, and a second server 804;
第一终端801用于向第二终端802发送接收数据凭证的第一请求信息。The first terminal 801 is configured to send, to the second terminal 802, first request information for receiving a data credential.
其中,数据凭证是第一终端801作为数据发起方与第一服务器803之间预先建立的数据关联关系的量化工具。The data credential is a quantification tool that the first terminal 801 serves as a pre-established data association relationship between the data initiator and the first server 803.
第二终端802用于响应第一请求信息,设置第二服务器804以接收数据凭证、以及设置存储于第二服务器804的数据账户以接收与数据凭证相对应的数据,根据上述设置成接收数据凭证的第二请求信息,并向第二服务器804发送第二请求信息。The second terminal 802 is configured to, in response to the first request information, set the second server 804 to receive the data voucher, and set the data account stored in the second server 804 to receive data corresponding to the data voucher, and receive the data voucher according to the foregoing setting. The second request information and send the second request information to the second server 804.
第二服务器804用于响应第二请求信息,接收数据凭证,并根据第二请求信息将第二服务器804、数据账户的信息更新至数据凭证。The second server 804 is configured to receive the data voucher in response to the second request information, and update the information of the second server 804 and the data account to the data voucher according to the second request information.
本实施方式是基于上述数据交互处理方法第一实施方式的系统,其实施类似,这里不再赘述。This embodiment is a system based on the first embodiment of the data interaction processing method described above, and its implementation is similar, and details are not described herein again.
参阅图9,本发明数据交互处理装置一实施方式的结构示意图,该装置应用于第二终端,该装置包括接收模块901、设置模块902生成模块903、以及发送模块904;9 is a schematic structural diagram of an embodiment of a data interaction processing apparatus according to the present invention. The apparatus is applied to a second terminal, and the apparatus includes a receiving module 901, a setting module 902 generating module 903, and a sending module 904.
接收模块901用于接收第一终端发送的接收数据凭证的第一请求信息。The receiving module 901 is configured to receive first request information of the received data credential sent by the first terminal.
其中,数据凭证为第一终端用户以其账户资金或授信额度作为保证金向第一服务器申请并由第一服务器生成的数据凭证。The data credential is a data credential that the first end user applies to the first server and is generated by the first server by using the account fund or the credit line as the margin.
设置模块902用于响应第一请求信息,设置第二服务器以接收数据凭证、以及设置存储于第二服务器的数据账户以接收与数据凭证相对应的数据。The setting module 902 is configured to, in response to the first request information, set the second server to receive the data voucher, and set the data account stored in the second server to receive the data corresponding to the data voucher.
生成模块903用于根据上述设置成接收数据凭证的第二请求信息。The generating module 903 is configured to receive the second request information of the data voucher according to the foregoing.
发送模块904用于向第二服务器发送第二请求信息。The sending module 904 is configured to send second request information to the second server.
本实施方式是基于上述数据交互处理方法第一实施方式中第二终端装置的实施方式,其实施类似,这里不再赘述。The embodiment is based on the implementation of the second terminal device in the first embodiment of the foregoing data interaction processing method, and the implementation is similar, and details are not described herein again.
以上仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.