[go: up one dir, main page]

CN109118226A - Reimbursement processing method and processing device, electronic equipment, storage medium - Google Patents

Reimbursement processing method and processing device, electronic equipment, storage medium Download PDF

Info

Publication number
CN109118226A
CN109118226A CN201810963141.1A CN201810963141A CN109118226A CN 109118226 A CN109118226 A CN 109118226A CN 201810963141 A CN201810963141 A CN 201810963141A CN 109118226 A CN109118226 A CN 109118226A
Authority
CN
China
Prior art keywords
request
refund
sent
refund request
message list
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
CN201810963141.1A
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201810963141.1A priority Critical patent/CN109118226A/en
Publication of CN109118226A publication Critical patent/CN109118226A/en
Priority to CA3052768A priority patent/CA3052768A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本公开提供了一种退款处理方法及装置、电子设备、计算机可读存储介质,属于计算机及通信技术领域。该方法包括:获取退款请求,并将所述退款请求复制到消息列表中;若检测到所述消息列表中存在历史待发送请求,则发送检测到的所述历史待发送请求,并在预设时间后再次检测所述消息列表中是否存在历史待发送请求;若检测到所述消息列表中不存在历史待发送请求,则发送所述退款请求。本公开可以减少退款请求处理被延误的情况,提高效率,并在占用系统资源较少的情况下实现退款请求的再发送,对系统资源的利用率较高。

The present disclosure provides a refund processing method and device, an electronic device, and a computer-readable storage medium, which belong to the technical field of computers and communications. The method includes: obtaining a refund request, and copying the refund request into a message list; if it is detected that there is a historical request to be sent in the message list, sending the detected historical request to be sent, and in the message list After a preset time, it is detected again whether there is a historical request to be sent in the message list; if it is detected that there is no historical request to be sent in the message list, the refund request is sent. The present disclosure can reduce the situation that the refund request processing is delayed, improve the efficiency, and realize the resending of the refund request under the condition that the system resources are less occupied, and the utilization rate of the system resources is high.

Description

Reimbursement processing method and processing device, electronic equipment, storage medium
Technical field
This disclosure relates to which computer and field of communication technology more particularly to a kind of reimbursement processing method and processing device, electronics are set Standby, computer readable storage medium.
Background technique
With the development of computer and electronic equipment, the mode of e-payment is more and more, in people's daily life Also more more and more universal, for example, consumer can on POS machine (Point of Sales, point of sale electric terminal) brush bank card with Payment is completed, can also be paid by mobile phone A pp (Application, application program), Web bank etc..
When e-payment encounters the case where needing reimbursement, process flow is then complex.With businessman to consumer's reimbursement For, businessman needs first to send refund request to the manager of e-payment, such as bank backstage, Third-party payment platform Backstage etc., audits refund request by manager, and fund is returned to consumer in the form for cancelling former transaction again after the approval Account.If because network failure, situations such as refund request is abnormal cause in the given time without completing reimbursement (such as POS Machine reimbursement needed the same day to complete, and wechat payment needs confirmation gathering etc. in 24 hours), then refund request may be cancelled or be mentioned Height audit grade needs to re-initiate reimbursement or needs to provide more verification informations etc. to manager, substantially prolongs and move back The process of money, the inefficiency for causing reimbursement to handle.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of reimbursement processing method and processing device, electronic equipment, computer-readable storage medium Matter, and then overcome the problems, such as that existing reimbursement processing method can not be handled in time in reimbursement exception at least to a certain extent.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to one aspect of the disclosure, a kind of reimbursement processing method is provided, comprising: obtain refund request, and will be described Refund request copies in messaging list;If detecting in the messaging list there are history request to be sent, send described in History request to be sent, and detected in the messaging list again after preset time with the presence or absence of history request to be sent;If Detect that there is no history requests to be sent in the messaging list, then send the refund request.
In a kind of exemplary embodiment of the disclosure, the method also includes: after sending the refund request, detection is The no feedback information received about the refund request;If receiving the feedback information, deleted from the messaging list Except the refund request;If not receiving the feedback information in the preset time, by the institute in the messaging list Refund request is stated labeled as history request to be sent.
In a kind of exemplary embodiment of the disclosure, it includes: to institute that the refund request, which is copied in messaging list, Refund request encryption is stated, and the encrypted refund request is copied in the messaging list.
In a kind of exemplary embodiment of the disclosure, the method also includes: the encrypted refund request is answered After making in the messaging list, the refund request is presented;If receiving externally input confirmation instruction, the message is detected It whether there is history request to be sent in list.
It include: to lead to the refund request to refund request encryption in a kind of exemplary embodiment of the disclosure It crosses Huffman encoding rule and is converted to intermediate code;Preset number is filled to the intermediate code, is made after filling preset number The digit of the intermediate code is the multiple of n;Pass through 2nPosition coding rule turns the intermediate code after filling preset number It is changed to encrypted characters string;Wherein, n is the integer greater than 1.
In a kind of exemplary embodiment of the disclosure, the refund request includes reimbursement order information, refund amount letter Breath and permission reimbursement identify;By the refund request by Huffman encoding rule be converted to intermediate code include: will be described Reimbursement order information, refund amount information allow reimbursement mark and encryption version number to form character string;By the character sequence Column are converted to the intermediate code by the Huffman encoding rule;Wherein, the encryption version number and the Huffman are compiled The rule and 2 of code rule, filling preset numbernPosition coding rule has corresponding relationship.
In a kind of exemplary embodiment of the disclosure, ask if detecting in the messaging list there is no history is to be sent It asks, if then sending the refund request includes: to detect that there is no history requests to be sent in the messaging list, send and add The refund request after close.
According to one aspect of the disclosure, a kind of reimbursement processing unit is provided, applied to the terminal including input equipment, packet Include: request replication module copies in messaging list for obtaining refund request, and by the refund request;List detects mould Block, for detecting in the messaging list with the presence or absence of history request to be sent;History sending module, if being used for the message column There are history requests to be sent in table, then send history request to be sent, and after preset time again detection described in disappear It ceases and whether there is history request to be sent in list;Currently transmitted module, if for there is no history to wait in the messaging list Request is sent, then sends the refund request.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising: processor;And memory, for storing The executable instruction of the processor;Wherein, the processor is configured to above-mentioned to execute via the executable instruction is executed Method described in any one.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, The computer program realizes method described in above-mentioned any one when being executed by processor.
In the above method and device, after obtaining refund request, it is copied into messaging list, and detect in messaging list Whether there is history request to be sent, if there is then preferentially sending history request to be sent, the reimbursement can be sent if nothing Request.On the one hand, the history refund request caused by network failure or Information abnormity etc. is handled in unsuccessful situation, works as generation When new refund request, history refund request can be handled again, to reduce the case where refund request processing is delayed, be improved Efficiency.On the other hand, when the request to be sent of all history has all been sent, current refund request can be just sent, thus It may remind the user that there are the unsuccessful situation of history refund request processing, in order to which user checks reason in time and carries out corresponding Disposition.In another aspect, history request to be sent is not the transmission that makes repeated attempts in the present embodiment, but new refund request is occurring When just attempt to retransmit, this is because new refund request, which occurs, may illustrate that history refund request is caused to handle unsuccessful original Because being solved, the chance of success for attempting to retransmit at this time is larger, and compared to the mode for the transmission that makes repeated attempts, the present embodiment is being accounted for With system resource it is less in the case where, improve the chance of success retransmited as far as possible, it is higher to the utilization rate of system resource.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 shows a kind of system architecture schematic diagram of the reimbursement processing method using disclosure exemplary embodiment;
Fig. 2 shows the flow charts of reimbursement processing method a kind of in disclosure exemplary embodiment;
Fig. 3 shows a kind of schematic diagram of refund request in disclosure exemplary embodiment;
Fig. 4 shows the flow chart of another reimbursement processing method in disclosure exemplary embodiment;
Fig. 5 shows a kind of sub-process figure of reimbursement processing method in disclosure exemplary embodiment;
Fig. 6 shows a kind of structural block diagram of reimbursement processing unit in disclosure exemplary embodiment;
Fig. 7 shows a kind of electronic equipment for realizing the above method in disclosure exemplary embodiment;
Fig. 8 shows a kind of computer readable storage medium for realizing method in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described attribute, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
The exemplary embodiment of the disclosure provides a kind of reimbursement processing method, can be applied to the end for supporting e-payment End, such as computer, POS machine, smart phone etc..Fig. 1 is shown can be using the reimbursement processing method of the present exemplary embodiment System architecture schematic diagram.As shown in Figure 1, the system 100 may include payer terminal 101, beneficiary terminal 102, network 103 And server 104.In the present exemplary embodiment, paying party, beneficiary refer to the paying party and beneficiary of former transaction, at reimbursement In reason, refund request can be by initiating either in paying party and beneficiary.Network 103 is used in payer terminal 101, gathering Communication connection is provided between square terminal 102 and server 104, may include various connection types, such as wired, wireless communication link Road or fiber optic cables etc..Server 104 refers to the manager's server audited to refund request, such as bank backstage Server, server of Third-party payment platform etc..
It should be noted that system shown in FIG. 1 can also only include the side in payer terminal and beneficiary terminal, And the number of terminal, network and server is also not necessarily limited to situation shown in FIG. 1, according to actual needs, arbitrary number can be set Purpose terminal, network and server.
Refering to what is shown in Fig. 2, the reimbursement processing method may comprise steps of S21~S23:
Step S21 obtains refund request, and refund request is copied in messaging list.
Refund request can be generated according to the input information of user, such as user is in beneficiary terminal input reimbursement order Information simultaneously requests reimbursement, can be from obtaining the reimbursement sent by payer terminal in other terminals, such as beneficiary terminal Request.Messaging list is specific file or process in terminal, wherein the information in relation to reimbursement is stored, whenever terminal processes are new Refund request when, refund request can be copied in messaging list first, for subsequent step use.
It is to be sent to send the history detected if detecting in messaging list there are history request to be sent by step S22 Request, and detected in messaging list again after preset time with the presence or absence of history request to be sent.
Wherein, history request to be sent history refund request i.e. to be sent.It is not only stored in messaging list current Refund request, it is also possible to store history request to be sent.Messaging list can be according to the chronological order of write-in to all Refund request arranged, if it find that there is also history requests to be sent before current refund request, then preferential hair Send history request to be sent.It can request delete from messaging list by history is to be sent after usually sending successfully, it can also be It is changed to history request to be sent to have sent state after sending successfully, it can also be pending by history upon reception of the feedback information Request deletion or change state etc. are sent, the present embodiment is not specially limited this.
Request whether send success to confirm that history is to be sent, and detects whether that also other history are to be sent and ask It asks, messaging list can be detected again after preset time, if repeating this step, such as there are still history request to be sent Fruit detects there is no the request to be sent of any history, then carries out step S23.
You need to add is that when detecting the presence of history request to be sent, since current reimbursement cannot be sent immediately Request, can inform the reason of user can not send refund request immediately, by modes such as message pop-up, short messages in order to some In the case of the request to be sent of user's artificial treatment history.
Step S23, if detecting, there is no history requests to be sent in messaging list, send refund request.
Guarantee that the request to be sent of all history in processed situation, retransmits current refund request.It sends Address be usually background server, such as bank's background server of manager etc..It should be noted that different refund requests Transmission address may be different, such as the request applied for a refund to different bank needs to be sent to the background service of corresponding bank Device.When sending refund request or history request to be sent, the relevant information for sending address is typically included in the information of request, Such as bank outlets' information, reimbursement channel information etc., after can identifying address according to these information, by refund request or history Request to be sent is sent to corresponding address.
Based on above description, it should be understood that the reimbursement processing method of the present exemplary embodiment can be applied to system shown in Fig. 1 The payer terminal 101 of system, also can be applied to beneficiary terminal 102.Such as in the scene of Web bank's payment, Ke Yiyou Payer terminal 101 executes the reimbursement processing method, beneficiary terminal 102 is sent by refund request, by beneficiary terminal 102 It initiates to apply to server 104 after verification;Or the reimbursement processing method is executed by payer terminal 101, directly reimbursement is asked It asks and is sent to server 104;In the scene paid by POS machine, can be executed by beneficiary terminal 102 (i.e. POS machine) should Reimbursement processing method sends refund request to server 104, and fund is returned to after audit request passes through and paid by server 104 In the account of money side.The present embodiment is not specially limited this.
In the above-mentioned methods, after obtaining refund request, it is copied into messaging list, and detects in messaging list and whether has History request to be sent can send the refund request if nothing if there is then preferentially sending history request to be sent.One Aspect, the history refund request caused by network failure or Information abnormity etc. are handled in unsuccessful situation, are moved back when generation is new When money is requested, history refund request can be handled again, to reduce the case where refund request processing is delayed, be improved efficiency. On the other hand, when the request to be sent of all history has all been sent, current refund request can be just sent, so as to mention Awake user sets there are the unsuccessful situation of history refund request processing in order to which user checks reason in time and carries out corresponding position. In another aspect, history request to be sent is not the transmission that makes repeated attempts in the present embodiment, but just when new refund request occurs Trial retransmits, this is because new refund request, which occurs, may illustrate that history refund request is caused to handle unsuccessful reason It is solved, the chance of success for attempting to retransmit at this time is larger, and compared to the mode for the transmission that makes repeated attempts, the present embodiment is occupying system In the case that resource of uniting is less, the chance of success retransmited is improved as far as possible, it is higher to the utilization rate of system resource.
In one exemplary embodiment, reimbursement processing method can with the following steps are included:
After sending refund request, detect whether to receive the feedback information about refund request.
If receiving feedback information, refund request is deleted from messaging list.
It is if not receiving feedback information within a preset time, the refund request in messaging list is pending labeled as history Send request.
Wherein, refund request sending is not meant to that refund request is normally processed, therefore can be to receive feedback Information is as the standard for determining that refund request is normally processed, and wherein feedback information can be server and receive refund request Message receipt, is also possible to whether server audits the result notice passed through about refund request, can also be that server is direct Execute the returned money information etc. of reimbursement.Preset time can be identical as the preset time in step S22, is normally sent out according to refund request Time needed for sending required time and server normal response sets, if being not received by feedback information in preset time, says Exception has occurred in the processing of bright refund request, it may be necessary to send refund request again, therefore it is to be sent to be marked as history Request preferentially sends the request to be sent of this history when there is next new refund request to generate.
It, can will be labeled in messaging list you need to add is that if receiving feedback information outside preset time It is deleted for the former refund request of history request to be sent, to complete the processing of former refund request, message pop-up etc. can also be passed through Mode requests the manpower intervention of user, and user is allow to be selected to terminate the process flow of former refund request according to feedback information, or It modifies former refund request, other operations such as retransmit former refund request, the present embodiment is not specially limited this.
Some privacy informations of consumer are contained in usual refund request, may be asked in terminal local with history is to be sent The form asked is stored in the long period in messaging list, in order to guarantee information in local safety, in one exemplary embodiment, When refund request is copied in messaging list, first refund request can be encrypted, then encrypted refund request is copied to In messaging list.It, can be to the identity of user when the user for logging in terminal needs to check the refund request in messaging list It is verified, and decides whether to decrypt refund request according to check results.
In one exemplary embodiment, refund request may be and is first sent in beneficiary terminal by payer terminal, then The method of the present embodiment is executed from beneficiary terminal and initiates reimbursement application to server.Therefore it is moved back from payer terminal acquisition It, can be with advanced row desk checking, to determine whether refund request is correct after money request.Beneficiary terminal may include that display is set It is standby, such as display screen, externally connected with display screen etc., to show refund request.Based on this, reimbursement processing method can also include following step It is rapid:
After encrypted refund request is copied in messaging list, refund request is presented.
If receiving externally input confirmation instruction, detects and whether there is history request to be sent in messaging list.
Wherein, the details of refund request can be as shown in Figure 3, it should be noted that, can before refund request is presented First to carry out necessary processing to it, such as refund request is converted to by specific user interface and is easy to be checked by user Form.By the way that refund request is presented to payer terminal, make the user of payer terminal after confirmation message is errorless, Ke Yidian It hits " the confirmation reimbursement " in figure or confirmation instruction by other means is waited for executing in detection messaging list with the presence or absence of history Then the step of sending request can execute step S22 or S23 according to the result of detection.
Further, for the information security in money back guarantee request sending process, in one exemplary embodiment, step S23 can be realized by following steps:
If detecting, there is no history requests to be sent in messaging list, send encrypted refund request.
Wherein, when sending the refund request of encryption, it should be ensured that one side of server for receiving refund request has necessity Solution confidential information, such as by being encrypted with the good key of server commitment, or obtain in advance server private key institute it is right The public key answered carries out asymmetric encryption etc. to refund request using the public key, and the present embodiment is not specially limited this.
Fig. 4 shows the entire flow that reimbursement is handled in an exemplary embodiment.Refering to what is shown in Fig. 4, being asked obtaining reimbursement After asking, it is encrypted and is copied in messaging list, while can be presented in the display equipment of terminal.If user recognizes It is problematic for refund request, then above-mentioned steps are re-executed after can modifying to refund request, by modified reimbursement When request copies to messaging list, former refund request can be covered;If user confirms refund request, there is no problem, can With the step of carrying out the request to be sent of the history in detection messaging list.If having detected history request to be sent, send History request to be sent.Processing method after history request to be sent is sent can be similar to current refund request, is connecing It is deleted from messaging list when receiving the feedback information of history request to be sent, therefore can be examined again after preset time It surveys, if leading to the request to be sent of above-mentioned history due to not receiving feedback information there is also or there is also other history to wait for Request is sent, then sends the history detected request to be sent again.It can be the default transmission time of every history request to be sent Number is logical by modes such as message pop-up, short messages when can not still receive corresponding feedback information after reaching default transmission times Know user;The option for jumping to next refund request can also be set, to avoid the exception because of a certain history request to be sent Influence the normal processing of other refund requests.If detecting messaging list, there is no history requests to be sent, illustrate whole History request to be sent has all normally handled (or artificially skipping), then enters the step of sending refund request, send Encrypted refund request.Then it can determine according to corresponding feedback information whether is received in preset time by message column Refund request in table is deleted or marked as history request to be sent, to terminate whole flow process.There is new reimbursement to ask when subsequent When asking generation, above-mentioned process can be executed equally to be handled, if a upper refund request does not handle success, at this time Become history request to be sent, the detection history request to be sent the step of in execute and the instruction such as retransmit, to complete to handle.
It in one exemplary embodiment, refering to what is shown in Fig. 5, can be real by step S51~S53 to refund request encryption It is existing:
Refund request is converted to intermediate code by Huffman encoding rule by step S51.
Step S52 fills preset number to intermediate code, makes the digit n's for filling the intermediate code after preset number Multiple.
Step S53, passes through 2nIntermediate code after filling preset number is converted to encrypted characters string by position coding rule.
Wherein, n is the integer greater than 1.Huffman encoding is a kind of variable word length coding, can be to various types of word Symbol carries out Unified coding, and the intermediate code of output is 0/1 Serial No..The Serial No. of Huffman encoding output has lower Desired length can carry out 2 to intermediate code to further decrease the length of sequencenPosition coding, such as 4 codings, 8 Coding, 16 codings or 32 codings etc..By taking 32 codings as an example, detailed process is as follows: dividing 5 bit digitals to intermediate code String, every 5 bit digital divides a digital units into order, and when the total digit of intermediate code is not 5 multiple, filling is pre- in advance If number so that filled digit be 5 multiple, such as the forefront of intermediate code or rearmost filling 0 or 1.Thus To several 5 digital units, it is converted into alphabetical ocra font ocr (paying attention to case sensitive) according to the corresponding relationship in table 1, And forming final encrypted characters string, i.e., encrypted characters string is alpha type character string.When carrying out 16 codings, centre is compiled Code fills preset number in advance makes the multiple of digit 4, divides several 4 digital units, and according to the corresponding relationship in table 1 Be converted to encrypted characters string.
Table 1
Table 1 illustrates only the 4 kinds of coding rules encoded no more than 32, when the coding using 64 codings or more seniority top digit When, the characters such as Greek alphabet, Roman character can be increased to reach required code character number, the present embodiment does not do this especially It limits.
Further, refund request may include reimbursement order information, refund amount information and reimbursement allowed to identify;Step Rapid S51 may comprise steps of: by reimbursement order information, refund amount information, allow reimbursement mark and encryption version number Form character string;Character string is converted into the intermediate code by Huffman encoding rule;Wherein, encryption version number with The rule and 2 of Huffman encoding rule, filling preset numbernPosition coding rule has corresponding relationship.
For example: in a refund request, reimbursement order information is " poiid00001 ", and refund amount information is " totalfee20000refundfee1000 " allows reimbursement to be identified as " allowrefund1 ", and version of code number is " version2.1 " is merged into the original character sequence of refund request.By the regular character string of Huffman encoding into Row coding, obtains intermediate code are as follows: 100001010100101010010000000001111111000000000000111111 111100001010101000110101011011111101010011000.Upper face code totally 99, forefront fills one 0, Total digit is set to become 5 multiple, the intermediate code after filling 0 are as follows: 0100001010100101010010000000001111 111000000000000111111111100001010101000110101011011111101010011000.It is compiled according to 32 Code rule makes every 5 digital units be converted to an alphabetical ocra font ocr, then obtains final encrypted characters string are as follows: HJRTPzeXzAedBUCJadTX。
In the present example embodiment, Huffman encoding can use different rules, such as can be to refund request Information binary encoding can also only encode nonnumeric ocra font ocr therein, digital ocra font ocr is converted to binary number;Filling The rule of preset number also may include a variety of, such as fill out in the forefront of intermediate code filling 1, rearmost filling 1, forefront Fill 0, rearmost filling 0 etc.;2nPosition coding rule may include 4 codings, 8 codings, 16 codings or 32 coding rules Deng.Every kind of rule in i.e. above-mentioned three kinds of rules all contains multiple concrete schemes, when encrypting to refund request, takes respectively Different concrete schemes, can form a variety of encryption versions, thus can by encryption version number to Huffman encoding rule, fill out Fill the rule and 2 of preset numbernThe combination of the concrete scheme of position coding rule is identified.When refund request information security by To when threatening, encryption rule can be changed, and passes through encryption version number and is recorded, to improve the safety of reimbursement process flow Property.
In one exemplary embodiment, it if refund request is to be obtained by beneficiary terminal from payer terminal, is receiving After executing reimbursement process flow shown in Fig. 3 in money side's terminal, regardless of whether feedback information is received, it can be to paying party end End sends the message receipt for being similar to " reimbursement has been accepted ", to inform processing result of the payer terminal about refund request.
The exemplary embodiment of the disclosure additionally provides a kind of reimbursement processing unit, can be applied to support e-payment Terminal, refering to what is shown in Fig. 6, the reimbursement processing unit 600 may include: request replication module 610, for obtaining refund request, And refund request is copied in messaging list;List detection module 620, is waited for for detecting in messaging list with the presence or absence of history Send request;History sending module 630, if what transmission detected goes through for there are history requests to be sent in messaging list History request to be sent, and detected in messaging list again after preset time with the presence or absence of history request to be sent;It is currently transmitted Module 640, if sending refund request for history request to be sent to be not present in messaging list.
In one exemplary embodiment, currently transmitted module can also include: feedback detection unit, for sending reimbursement After request, detect whether to receive the feedback information about refund request;Unit is deleted in request, if for receiving feedback letter Breath, then delete refund request from messaging list;History marking unit, if for not receiving feedback information in preset time, The refund request in messaging list is then labeled as history request to be sent.
In one exemplary embodiment, request replication module can be also used for encrypting refund request, and will be encrypted Refund request copies in messaging list.
In one exemplary embodiment, reimbursement processing unit can also include: user's confirmation module, and reimbursement is asked for rendering It asks, and receives and instructed about the confirmation of refund request;If list detection module can be also used for receiving externally input confirmation Instruction then detects in messaging list with the presence or absence of history request to be sent.
In one exemplary embodiment, request replication module can also include: Huffman converting unit, for asking reimbursement It asks and intermediate code is converted to by Huffman encoding rule;Default fills unit makes for filling preset number to intermediate code The digit of intermediate code after filling preset number is the multiple of n;Scrambled unit, for passing through 2nPosition coding rule will be filled out Intermediate code after filling preset number is converted to encrypted characters string;Wherein, n is the integer greater than 1.
In one exemplary embodiment, refund request may include reimbursement order information, refund amount information and permission Reimbursement mark;Huffman converting unit can be also used for by reimbursement order information, refund amount information, allow reimbursement identify and Encryption version number forms character string, and character string is converted to intermediate code by Huffman encoding rule;Wherein, add The rule and 2 of close version number and Huffman encoding rule, filling preset numbernPosition coding rule has corresponding relationship.
In one exemplary embodiment, if currently transmitted module can be also used in messaging list, there is no history is to be sent Request, then send encrypted refund request.
The detail of above-mentioned each module/unit has been described in detail in the embodiment of method part, therefore no longer superfluous It states.
The exemplary embodiment of the disclosure additionally provides a kind of electronic equipment that can be realized the above method.
Person of ordinary skill in the field it is understood that various aspects of the disclosure can be implemented as system, method or Program product.Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 700 of this exemplary embodiment according to the disclosure is described referring to Fig. 7.What Fig. 7 was shown Electronic equipment 700 is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 700 is showed in the form of universal computing device.The component of electronic equipment 700 can wrap It includes but is not limited to: at least one above-mentioned processing unit 710, at least one above-mentioned storage unit 720, the different system components of connection The bus 730 of (including storage unit 720 and processing unit 710), display unit 740.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 710 Row, so that various according to the disclosure described in the execution of the processing unit 710 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.It, can also be with for example, the processing unit 710 can execute step S21~S23 shown in Fig. 2 Execute step S51~S53 shown in fig. 5.
Storage unit 720 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 721 and/or cache memory unit 722, it can further include read-only memory unit (ROM) 723.
Storage unit 720 can also include program/utility 724 with one group of (at least one) program module 725, Such program module 725 includes but is not limited to: operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.
Bus 730 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 700 can also be with one or more external equipments 900 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 700 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 700 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 750.Also, electronic equipment 700 can be with By network adapter 760 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 760 is communicated by bus 730 with other modules of electronic equipment 700. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 700, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to the exemplary implementation of the disclosure The method of example.
The exemplary embodiment of the disclosure additionally provides a kind of computer readable storage medium, and being stored thereon with can be realized The program product of this specification above method.In some possible embodiments, various aspects of the disclosure can also be realized For a kind of form of program product comprising program code, when described program product is run on the terminal device, described program Code is various according to the disclosure described in above-mentioned " illustrative methods " part of this specification for executing the terminal device The step of illustrative embodiments.
It is produced refering to what is shown in Fig. 8, describing the program according to the exemplary embodiment of the disclosure for realizing the above method Product 800, can be using portable compact disc read only memory (CD-ROM) and including program code, and can set in terminal It is standby, such as run on PC.However, the program product of the disclosure is without being limited thereto, in this document, readable storage medium storing program for executing can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of the processing according to included by the method for disclosure exemplary embodiment It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to an exemplary embodiment of the present disclosure, above-described two or More multimode or the feature and function of unit can embody in a module or unit.Conversely, above-described one A module or the feature and function of unit can be to be embodied by multiple modules or unit with further division.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.

Claims (10)

1.一种退款处理方法,其特征在于,包括:1. A method for processing refunds, comprising: 获取退款请求,并将所述退款请求复制到消息列表中;Get a refund request, and copy the refund request into the message list; 若检测到所述消息列表中存在历史待发送请求,则发送所述历史待发送请求,并在预设时间后再次检测所述消息列表中是否存在历史待发送请求;If it is detected that there is a historical request to be sent in the message list, the historical request to be sent is sent, and after a preset time, it is detected again whether there is a historical request to be sent in the message list; 若检测到所述消息列表中不存在历史待发送请求,则发送所述退款请求。If it is detected that there is no historical request to be sent in the message list, the refund request is sent. 2.根据权利要求1所述的方法,其特征在于,还包括:2. The method of claim 1, further comprising: 发送所述退款请求后,检测是否接收到关于所述退款请求的反馈信息;After sending the refund request, detect whether feedback information about the refund request is received; 若接收到所述反馈信息,则从所述消息列表中删除所述退款请求;If the feedback information is received, delete the refund request from the message list; 若在所述预设时间内未接收到所述反馈信息,则将所述消息列表中的所述退款请求标记为历史待发送请求。If the feedback information is not received within the preset time, the refund request in the message list is marked as a historical request to be sent. 3.根据权利要求1所述的方法,其特征在于,将所述退款请求复制到消息列表中包括:3. The method according to claim 1, wherein copying the refund request into the message list comprises: 对所述退款请求加密,并将加密后的所述退款请求复制到所述消息列表中。The refund request is encrypted, and the encrypted refund request is copied into the message list. 4.根据权利要求3所述的方法,其特征在于,还包括:4. The method of claim 3, further comprising: 将加密后的所述退款请求复制到所述消息列表中后,呈现所述退款请求;After copying the encrypted refund request into the message list, present the refund request; 若接收到外部输入的确认指令,检测所述消息列表中是否存在历史待发送请求。If an externally input confirmation instruction is received, it is detected whether there is a historical request to be sent in the message list. 5.根据权利要求3所述的方法,其特征在于,对所述退款请求加密包括:5. The method according to claim 3, wherein encrypting the refund request comprises: 将所述退款请求通过哈夫曼编码规则转换为中间编码;converting the refund request into an intermediate code through the Huffman coding rule; 对所述中间编码填充预设数字,使填充预设数字后的所述中间编码的位数为n的倍数;Filling the intermediate code with a preset number, so that the number of digits of the intermediate code after filling the preset number is a multiple of n; 通过2n位编码规则将填充预设数字后的所述中间编码转换为加密字符串;Converting the intermediate encoding after filling the preset number into an encrypted character string through a 2 n -bit encoding rule; 其中,n为大于1的整数。where n is an integer greater than 1. 6.根据权利要求5所述的方法,其特征在于,所述退款请求包括退款订单信息、退款金额信息以及允许退款标识;将所述退款请求通过哈夫曼编码规则转换为中间编码包括:6. The method according to claim 5, wherein the refund request includes refund order information, refund amount information, and a refund allowed identification; the refund request is converted into a Intermediate codes include: 将所述退款订单信息、退款金额信息、允许退款标识以及加密版本号组成字符序列;Composing the refund order information, the refund amount information, the refund allowed identifier and the encrypted version number into a character sequence; 将所述字符序列通过所述哈夫曼编码规则转换为所述中间编码;converting the character sequence into the intermediate code through the Huffman coding rule; 其中,所述加密版本号与所述哈夫曼编码规则、填充预设数字的规则及2n位编码规则具有对应关系。The encrypted version number has a corresponding relationship with the Huffman coding rule, the rule for filling preset numbers, and the 2 n -bit coding rule. 7.根据权利要求3所述的方法,其特征在于,若检测到所述消息列表中不存在历史待发送请求,则发送所述退款请求包括:7. The method according to claim 3, wherein if it is detected that there is no historical request to be sent in the message list, sending the refund request comprises: 若检测到所述消息列表中不存在历史待发送请求,则发送加密后的所述退款请求。If it is detected that there is no historical request to be sent in the message list, the encrypted refund request is sent. 8.一种退款处理装置,应用于包括输入设备的终端,其特征在于,包括:8. A refund processing device, applied to a terminal comprising an input device, characterized in that, comprising: 请求复制模块,用于获取退款请求,并将所述退款请求复制到消息列表中;a request copying module for obtaining a refund request and copying the refund request into a message list; 列表检测模块,用于检测所述消息列表中是否存在历史待发送请求;a list detection module, configured to detect whether there is a historical request to be sent in the message list; 历史发送模块,用于若所述消息列表中存在历史待发送请求,则发送所述历史待发送请求,并在预设时间后再次检测所述消息列表中是否存在历史待发送请求;A history sending module, configured to send the historical request to be sent if there is a historical request to be sent in the message list, and to detect again whether there is a historical request to be sent in the message list after a preset time; 当前发送模块,用于若所述消息列表中不存在历史待发送请求,则发送所述退款请求。The current sending module is configured to send the refund request if there is no historical request to be sent in the message list. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising: 处理器;以及processor; and 存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor; 其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1-7任一项所述的方法。wherein the processor is configured to perform the method of any one of claims 1-7 by executing the executable instructions. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-7任一项所述的方法。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method of any one of claims 1-7 is implemented.
CN201810963141.1A 2018-08-22 2018-08-22 Reimbursement processing method and processing device, electronic equipment, storage medium Pending CN109118226A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810963141.1A CN109118226A (en) 2018-08-22 2018-08-22 Reimbursement processing method and processing device, electronic equipment, storage medium
CA3052768A CA3052768A1 (en) 2018-08-22 2019-08-22 Refund processing method and device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810963141.1A CN109118226A (en) 2018-08-22 2018-08-22 Reimbursement processing method and processing device, electronic equipment, storage medium

Publications (1)

Publication Number Publication Date
CN109118226A true CN109118226A (en) 2019-01-01

Family

ID=64860107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810963141.1A Pending CN109118226A (en) 2018-08-22 2018-08-22 Reimbursement processing method and processing device, electronic equipment, storage medium

Country Status (2)

Country Link
CN (1) CN109118226A (en)
CA (1) CA3052768A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816407A (en) * 2019-02-27 2019-05-28 深圳乐信软件技术有限公司 A refund processing method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114519586A (en) * 2021-12-24 2022-05-20 北京达佳互联信息技术有限公司 Resource processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1312378C (en) * 1989-05-11 1993-01-05 Robert Marshall System and method for protecting against redundant mailings
CN101179553A (en) * 2006-10-30 2008-05-14 国际商业机器公司 Efficient order-preserving delivery method and device for concurrent messages
US7657015B1 (en) * 2005-12-28 2010-02-02 At&T Corp. Method and apparatus for processing multiple services per call
JP2016118864A (en) * 2014-12-19 2016-06-30 富士ゼロックス株式会社 Information processing device and program
WO2016172938A1 (en) * 2015-04-30 2016-11-03 深圳市银信网银科技有限公司 Network transaction refunding method and system
US20170359277A1 (en) * 2016-06-11 2017-12-14 Notion Ai, Inc. Electronic reply message compositor and prioritization apparatus and method of operation
US20180025357A1 (en) * 2012-08-01 2018-01-25 Mastercard International Incorporated System and method for preventing multiple refunds and chargebacks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1312378C (en) * 1989-05-11 1993-01-05 Robert Marshall System and method for protecting against redundant mailings
US7657015B1 (en) * 2005-12-28 2010-02-02 At&T Corp. Method and apparatus for processing multiple services per call
CN101179553A (en) * 2006-10-30 2008-05-14 国际商业机器公司 Efficient order-preserving delivery method and device for concurrent messages
US20180025357A1 (en) * 2012-08-01 2018-01-25 Mastercard International Incorporated System and method for preventing multiple refunds and chargebacks
JP2016118864A (en) * 2014-12-19 2016-06-30 富士ゼロックス株式会社 Information processing device and program
WO2016172938A1 (en) * 2015-04-30 2016-11-03 深圳市银信网银科技有限公司 Network transaction refunding method and system
US20170359277A1 (en) * 2016-06-11 2017-12-14 Notion Ai, Inc. Electronic reply message compositor and prioritization apparatus and method of operation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816407A (en) * 2019-02-27 2019-05-28 深圳乐信软件技术有限公司 A refund processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CA3052768A1 (en) 2020-02-22

Similar Documents

Publication Publication Date Title
CN105512881B (en) A kind of method and terminal for completing payment based on two dimensional code
US20240046234A1 (en) Atm transactions using barcodes in multiple states
CN105550869A (en) NFC-based remote payment method, system and intelligent terminal
CN104618314A (en) Method, device and system for password reset
CN108632020A (en) Data transmission method for uplink, method of reseptance and device
CN109767208A (en) A kind of method of payment and payment mechanism
CN109767200A (en) An electronic payment method, device, system and storage medium
CN106686111A (en) Payment method and system and intermediate server
CN114513350A (en) Identity verification method, system and storage medium
CN110348827A (en) The direct-connected method of medium and small bank, minuscule-type-enterprise and relevant device based on third-party application
CN114596088A (en) Digital currency transaction method and system and digital currency card application device
CN109118226A (en) Reimbursement processing method and processing device, electronic equipment, storage medium
CN104301288B (en) Online identity certification, online transaction checking, the method and system of online verification protection
CN114978749B (en) Login authentication method and system, storage medium and electronic equipment
CN108681760A (en) Data transmission method for uplink, method of reseptance and device
CN111105224A (en) Payment feedback information processing method and device, electronic equipment and storage medium
CN110659900B (en) Application-free payment method, device, medium and electronic equipment
KR20160002430A (en) Payment agency server, card terminal and accounting system for card payment, and method for processing payment information thereof
KR102140708B1 (en) Method and server for providing financial service
CN104751326A (en) Data processing method and related equipment and system
CN110599274A (en) Bill processing method, device, processing equipment and computer storage medium
CN114186994B (en) A method, terminal and system for using digital currency wallet application
CN109919569A (en) Checking method, device, storage medium and the electronic equipment of transregional piece of chain
CN114707995A (en) Payment security management method and device and payment system
CN113448542A (en) Product key generation method and device, electronic equipment and storage medium

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