Security verification method, device and electronic equipment for cost data loading process

By extracting the characteristic value and count value of the circle storage terminal and sending the circle storage application to the circle storage server, the problem of repeated circle storage in the existing technology is solved, and the security checksum instant processing of the circle storage process is realized.

CN113487300BActive Publication Date: 2025-03-07HANGZHOU HENGSHENG YUNQING NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110471152.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2025-03-07
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

In the prior art, when using mobile terminals such as mobile APPs to store non-stop paid passes, it is easy to be caught by people and simulate the storage instructions for repeated storage, resulting in the inability to realize instant processing.

Method used

A security verification method for the cost data circle storage process is proposed. By extracting the circle storage characteristic values ​​in the circle storage terminal, and sending a circle storage application to the circle storage server based on these characteristic values ​​combined with the circle storage count value, we judge the security of the circle storage process.

Benefits of technology

This method can effectively prevent repeated circle storage behavior, ensure the safety and accuracy of circle storage process, and realize real-time processing and automatic processing of exception recording.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113487300B_ABST
    Figure CN113487300B_ABST
Patent Text Reader

Abstract

The embodiment of the present application proposes a security verification method, device and electronic device for the cost data loading process, including extracting the loading characteristic value in the loading terminal; sending a loading application request to the loading server based on the obtained loading characteristic value combined with the loading count value; if the loading application success return value fed back by the server is received, the loading operation is completed according to the loading application success return value; during the loading process, the chip counter in the non-stop toll pass card and the transaction record file mechanism are combined to perform a security verification on the entire loading process to ensure that one recharge can only be loaded once. At the same time, if the loading process fails, the previous abnormal record can be automatically processed during the next operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data information security, and in particular to a security verification method for a fee data rolling process. Background Art

[0002] The non-stop toll card is a dual-interface CPU card that can be used as both a toll card and a payment card. The non-stop toll card is divided into an account card and a stored-value card. The account card needs to be bound to a bank account when applying for it, and the toll is directly deducted from the bank account. The stored-value card requires funds to be pre-deposited into the toll card, and the funds in the card are automatically deducted when passing.

[0003] In the prior art, when using a mobile terminal such as a mobile phone APP to deposit money on a non-stop toll pass, it is easy for someone to catch you and then simulate the deposit instruction to repeatedly deposit money on the non-stop toll pass. This situation can only be discovered through later reconciliation and cannot be handled immediately. Summary of the invention

[0004] In order to solve the shortcomings and deficiencies in the prior art, the present invention proposes a security verification method for the cost data loading process, and determines whether the loading process is safe according to whether the loading feature value requested to the loading server is normal.

[0005] Specifically, the security verification method for the fee data loading process proposed in the embodiment of the present application includes:

[0006] Extracting the deposit feature value in the deposit terminal;

[0007] Sending a deposit application to a deposit server based on the obtained deposit feature value and the deposit count value;

[0008] If the server returns a successful return value indicating that the deposit application is successful, the deposit operation is completed according to the successful return value of the deposit application;

[0009] If the server does not return a successful return value for the deposit application, a deposit exception is raised.

[0010] Optionally, the extracting the load feature value in the load terminal includes:

[0011] Obtain the transaction record file in the deposit terminal;

[0012] Extract the online transaction sequence number and deposit amount closest to the current time from the transaction record file;

[0013] If the obtained online transaction serial number and the top-up amount are consistent with the values ​​stored in the top-up server, it is determined that the top-up feature value that meets the requirements has been extracted;

[0014] If the obtained online transaction sequence number and the deposit amount are inconsistent with the values ​​saved in the deposit server, the deposit feature value is determined to be an abnormal value.

[0015] Optionally, after determining that the ring-capture characteristic value is an abnormal value, the method further includes:

[0016] Query the current card's transfer record in the transfer record file;

[0017] If the deposit record cannot be found, feedback will be given that the deposit is abnormal;

[0018] If a top-up record is found, the top-up record on the top-up server is adjusted, and the top-up confirmation process is performed based on the adjusted top-up record.

[0019] Optionally, if a credit record is found, the credit record of the credit server is adjusted, and credit confirmation processing is performed based on the adjusted credit record, including:

[0020] Then calculate the difference between the loading count value and the loading count value in the loading record;

[0021] If the difference is greater than or equal to the deposit record threshold set in the deposit terminal, the current deposit operation is terminated;

[0022] If the difference is less than the loading record threshold set in the loading terminal, the loading count value in the obtained loading record is increased by one, and the obtained loading record is saved to the loading server, and the loading operation is completed in the loading terminal.

[0023] Optionally, the sending a loading application to a loading server based on the obtained loading feature value in combination with the loading count value includes:

[0024] The obtained online transaction serial number, the loading terminal number, the loading amount and the current loading count value representing the loading amount are sent as keywords to the loading server;

[0025] The credit server returns the corresponding credit application success value based on the received keywords.

[0026] Optionally, if a successful load application return value fed back by the server is received, completing the load operation according to the successful load application return value, including:

[0027] If it is determined that the current loading record is the latest and completed loading operation, it is determined that the loading operation is completed.

[0028] Optionally, if a successful load application return value fed back by the server is received, completing the load operation according to the successful load application return value, including:

[0029] If it is determined that the current storage record is not a completed storage operation, it is determined whether the current storage record is the latest storage record.

[0030] Optionally, also include:

[0031] If the current loading record is determined to be the latest loading record, the loading confirmation interface of the business system is called to complete the loading operation.

[0032] Optionally, if a successful load application return value fed back by the server is received, completing the load operation according to the successful load application return value, including:

[0033] If it is determined that the current loading record belongs to a loading operation but is not the latest loading record, the loading confirmation is completed again at the loading terminal, and the loading operation is completed according to the confirmation result.

[0034] According to a second aspect of the embodiment of the present disclosure, the embodiment of the present application further proposes a security verification device for a fee data loading process, the device comprising:

[0035] A feature value extraction unit, used to extract a top-up feature value in a top-up terminal;

[0036] An application sending unit, configured to send a loading application to a loading server based on the obtained loading feature value and the loading count value;

[0037] A first loading operation unit is configured to complete the loading operation according to the loading application success return value if a loading application success return value fed back by the server is received;

[0038] The second loading operation unit is used to raise a loading exception if the loading application success return value fed back by the server is not received.

[0039] Optionally, the feature value extraction unit includes:

[0040] The file acquisition subunit is used to acquire the transaction record file in the loading terminal;

[0041] The information extraction subunit is used to extract the online transaction sequence number and the amount of the deposit that is closest to the current time from the transaction record file;

[0042] The first result determination subunit is used to determine that a deposit feature value that meets the requirements has been extracted if the online transaction sequence number and the deposit amount obtained are consistent with the values ​​stored in the deposit server;

[0043] The second result determination subunit is used for determining the loading feature value as an abnormal value if the obtained online transaction sequence number and the loading amount are inconsistent with those stored in the loading server.

[0044] Optionally, after determining that the circled feature value is an abnormal value, the feature value extraction unit includes:

[0045] The record query subunit is used to query the current card's loading record in the loading record file;

[0046] The first processing sub-unit is used to feedback a loading abnormality if the loading record cannot be found;

[0047] The second processing sub-unit is configured to adjust the loading record of the loading server if a loading record is found, and perform loading confirmation processing based on the adjusted loading record.

[0048] Optionally, the second processing subunit includes:

[0049] The difference calculation primary subunit is used to calculate the difference between the loading count value and the loading count value in the loading record;

[0050] The first-level loading processing subunit is used to terminate the current loading operation if the difference is greater than or equal to the loading record threshold set in the loading terminal;

[0051] The first-level loading processing subunit is further used for, if the difference is less than the loading record threshold value set in the loading terminal, adding one to the loading count value in the obtained loading record, saving the obtained loading record to the loading server, and completing the loading operation in the loading terminal.

[0052] Optionally, the application sending unit includes:

[0053] The sending subunit is used to send the obtained online transaction serial number, the loading terminal number, the loading amount and the loading count value representing the current loading amount as keywords to the loading server;

[0054] The result return subunit is used for the credit server to feedback the corresponding credit application success return value according to the received keywords.

[0055] Optionally, the first loading operation unit is further used for:

[0056] If it is determined that the current loading record is the latest and completed loading operation, it is determined that the loading operation is completed.

[0057] Optionally, the first loading operation unit is further used for:

[0058] If it is determined that the current storage record is not a completed storage operation, it is determined whether the current storage record is the latest storage record.

[0059] Optionally, the first loading operation unit is further used for:

[0060] If the current loading record is determined to be the latest loading record, the loading confirmation interface of the business system is called to complete the loading operation.

[0061] Optionally, the first loading operation unit is further used for:

[0062] If it is determined that the current loading record belongs to a loading operation but is not the latest loading record, the loading confirmation is completed again at the loading terminal, and the loading operation is completed according to the confirmation result.

[0063] According to a third aspect of an embodiment of the present disclosure, this embodiment provides an electronic device, characterized in that it includes:

[0064] Processor; and

[0065] A memory, configured to store executable instructions of the processor;

[0066] The processor is configured to execute the steps of a security verification method for a fee data loading process.

[0067] According to a fourth aspect of an embodiment of the present disclosure, the embodiment provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to perform steps of a security verification method for a fee data uploading process.

[0068] It can be seen from the above scheme that the present application provides a security verification method, device and electronic device for the cost data loading process, the security verification method for the cost data loading process includes extracting the loading characteristic value in the loading terminal; sending a loading application to the loading server based on the obtained loading characteristic value combined with the loading count value; if the loading application success return value fed back by the server is received, the loading operation is completed according to the loading application success return value; if the loading application success return value fed back by the server is not received, a loading exception is raised. During the loading process, the chip counter in the non-stop toll pass card and the transaction record file mechanism are combined to perform a security verification on the entire loading process. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0070] Figure 1 A flowchart of a security verification method for a fee data loading process proposed in an embodiment of the present application;

[0071] Figure 2A schematic diagram of the structure of a security verification device for a fee data uploading process proposed in an embodiment of the present application;

[0072] Figure 3 A schematic diagram of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION

[0073] In order to make the structure and advantages of the present invention more clear, the structure of the present invention will be further described below in conjunction with the accompanying drawings.

[0074] Embodiment 1

[0075] The main execution ideas of this application processing method are:

[0076] During the deposit process, the chip counter mechanism in the non-stop toll collection card is combined to conduct a security check on the entire deposit process to ensure that each recharge can only be deposited once. And if the deposit process on the user's mobile phone APP fails, the previous abnormal record can be automatically processed during the next operation.

[0077] Specifically, the security verification method for the fee data loading process proposed in the embodiment of the present application is as follows: Figure 1 As shown, including:

[0078] S1, extracting the deposit feature value in the deposit terminal;

[0079] S2, sending a loading application to a loading server based on the obtained loading feature value and the loading count value;

[0080] S3: If a successful return value of the deposit application is received from the server, the deposit operation is completed according to the successful return value of the deposit application;

[0081] S4: If the successful return value of the deposit application is not received from the server, a deposit exception is raised.

[0082] In practice, in order to solve the possible repeated loading behavior, the embodiment of the present application proposes that the loading characteristic value is based on the common data type in the common terminal transaction record file, and there is no need to modify the existing file.

[0083] The entire deposit process including the above content is as follows:

[0084] After starting to load, execute the load initialization command.

[0085] If the command is executed successfully, the initialization is judged to be successful, and the CPU card is controlled to return the initialization result information. On the contrary, if the command fails to be executed, the rollover is judged to be failed.

[0086] Then parse the initialization information of the deposit, assemble the information and call the encryption machine interface of the remote deposit server.

[0087] If the encryption machine of the credit server returns MAC2, the credit instruction is further executed; if the encryption machine does not return a message, it is determined that the credit fails.

[0088] After executing the transfer instruction, the CPU card returns the transfer result information.

[0089] After executing the Get Balance command, get the balance after the transfer, and determine whether the current balance is equal to the sum of the amount before the transfer and the transfer amount.

[0090] If they are equal, the deposit is determined to be successful, otherwise it is determined to be a failure.

[0091] In the above process, perform the following steps:

[0092] Specifically, the step of obtaining the feature value of the deposit, i.e., S1, includes:

[0093] S11, obtaining the transaction record file in the loading terminal;

[0094] S12, extracting the online transaction sequence number and the amount of the deposit that are closest to the current time from the transaction record file;

[0095] S13, if the obtained online transaction serial number and the top-up amount are consistent with the values ​​stored in the top-up server, it is determined that a top-up feature value meeting the requirements has been extracted;

[0096] S14, if the obtained online transaction sequence number and the deposit amount are inconsistent with the values ​​stored in the deposit server, the deposit feature value is determined to be an abnormal value.

[0097] In practice, the online transaction number (LastCounter) of the most recent deposit record in the card is represented by C, the deposit amount (LastMoney) of the most recent deposit record in the card is represented by M, and the card counter (Counter) that automatically increases by 1 each time a deposit is successful is represented by S.

[0098] When it is necessary to obtain C and M in the above-mentioned recharge characteristic values, the transaction record file in the card is read, and then the first matching recharge record is found through the transaction terminal number to obtain it.

[0099] Since the above data are important data representing the process of depositing, it is necessary to judge whether there is any abnormality in the depositing process based on the specific values ​​of the above data types. If the data value cannot be obtained, it means that there may be no deposit record, and a second judgment is required based on the deposit record query result, as follows:

[0100] S141, querying the current card's transfer record in the transfer record table;

[0101] S142: if the deposit record cannot be found, a deposit exception is reported;

[0102] S143: If a loading record is found, the loading record of the loading service is adjusted, and a loading confirmation process is performed based on the adjusted loading record.

[0103] If no top-up record is found and the top-up server has no top-up record, it means that there was no top-up operation before and it is normal. However, if the top-up record is found, the top-up record of the top-up server needs to be adjusted so that the top-up can continue, including:

[0104] S1431, calculating the difference between the loading count value and the loading count value in the loading record;

[0105] S1432, if the difference is greater than or equal to the loading record threshold set in the loading terminal, terminate the current loading operation;

[0106] S1433: If the difference is less than the loading record threshold set in the loading terminal, the loading count value in the obtained loading record is increased by one, and the obtained loading record is saved to the loading server, and the loading operation is completed in the loading terminal.

[0107] Optionally, S2 includes:

[0108] S21, sending the obtained online transaction serial number, loading terminal number, loading amount and the current loading count value representing the loading amount as keywords to the loading server;

[0109] S22, the credit loading server feeds back a corresponding credit loading application return value according to the received keyword.

[0110] In practice, based on data storage and security considerations, all credit records are stored on the server, so it is necessary to send a request to the credit server to obtain the required credit records.

[0111] Based on the feedback of the deposit record, the subsequent processing process is discussed based on the deposit record to reflect whether the deposit is successful and whether it is the latest deposit record. It mainly includes the following contents:

[0112] S31: If it is determined that the current loading record is the latest and completed loading operation, it is determined that the loading operation has been completed.

[0113] S32: If it is determined that the current storage record is not a completed storage operation, it is determined whether the current storage record is the latest storage record.

[0114] At this time, the secondary determination based on whether it is the latest deposit record is as follows:

[0115] S321: If it is determined that the current loading record is the latest loading record, the loading confirmation interface of the business system is called to complete the loading operation.

[0116] S322: If it is not the latest deposit record, a deposit exception is raised.

[0117] S33: If it is determined that the current loading record belongs to a loaded operation but is not the latest loading record, the loading confirmation is completed again at the loading terminal, and the loading operation is completed according to the confirmation result.

[0118] Embodiment 2

[0119] According to the second aspect of the embodiment of the present disclosure, the embodiment of the present application also proposes a security verification device for the fee data loading process, such as Figure 2 As shown, the device comprises:

[0120] A feature value extraction unit 21, used to extract a top-up feature value in a top-up terminal;

[0121] An application sending unit 22, configured to send a loading application to a loading server based on the obtained loading feature value and the loading count value;

[0122] A first loading operation unit 23 is configured to complete the loading operation according to the loading application success return value if a loading application success return value fed back by the server is received;

[0123] The second loading operation unit 24 is used to raise a loading exception if the loading application success return value fed back by the server is not received.

[0124] In practice, in order to solve the possible repeated loading behavior, the embodiment of the present application proposes that the loading characteristic value is based on the common data type in the common terminal transaction record file, and there is no need to modify the existing file.

[0125] The entire deposit process including the above content is as follows:

[0126] After starting to load, execute the load initialization command.

[0127] If the command is executed successfully, the initialization is judged to be successful, and the CPU card is controlled to return the initialization result information. On the contrary, if the command fails to be executed, the rollover is judged to be failed.

[0128] Then parse the initialization information of the deposit, assemble the information and call the encryption machine interface of the remote deposit server.

[0129] If the encryption machine of the credit server returns MAC2, the credit instruction is further executed; if the encryption machine does not return a message, it is determined that the credit fails.

[0130] After executing the transfer instruction, the CPU card returns the transfer result information.

[0131] After executing the Get Balance command, get the balance after the transfer, and determine whether the current balance is equal to the sum of the amount before the transfer and the transfer amount.

[0132] If they are equal, the deposit is determined to be successful, otherwise it is determined to be a failure.

[0133] Optionally, the feature value extraction unit 21 includes:

[0134] The file acquisition subunit 211 is used to acquire the transaction record file in the loading terminal;

[0135] The information extraction subunit 212 is used to extract the online transaction sequence number and the amount of the deposit that are closest to the current time from the transaction record file;

[0136] The first result determination subunit 213 is used to determine that a required loading feature value has been extracted if the obtained online transaction sequence number and loading amount are consistent with the values ​​stored in the loading server;

[0137] The second result determination subunit 214 is used to determine that the loading feature value is an abnormal value if the obtained online transaction sequence number and the loading amount are inconsistent with those stored in the loading server.

[0138] In practice, the online transaction number (LastCounter) of the most recent deposit record in the card is represented by C, the deposit amount (LastMoney) of the most recent deposit record in the card is represented by M, and the card counter (Counter) that automatically increases by 1 each time a deposit is successful is represented by S.

[0139] When it is necessary to obtain C and M in the above-mentioned recharge characteristic values, the transaction record file in the card is read, and then the first matching recharge record is found through the transaction terminal number to obtain it.

[0140] Since the above data are important data representing the process of depositing, it is necessary to judge whether there is any abnormality in the depositing process based on the specific values ​​of the above data types. If the data value cannot be obtained, it means that there may be no deposit record, and a second judgment is required based on the deposit record query result, as follows:

[0141] After determining that the stored feature value is an abnormal value, the feature value extraction unit 21 includes:

[0142] The record query subunit 211 is used to query the current card's credit record in the credit record file;

[0143] The first processing sub-unit 212 is used to feedback a loading abnormality if no loading record can be found;

[0144] The second processing sub-unit 213 is configured to adjust the loading record of the loading server if a loading record is found, and perform loading confirmation processing based on the adjusted loading record.

[0145] If no top-up record is found and the top-up server has no top-up record, it means that there was no top-up operation before and it is normal. However, if the top-up record is found, the top-up record of the top-up server needs to be adjusted so that the top-up can continue, including:

[0146] The second processing subunit 213 includes:

[0147] The difference calculation primary subunit 2131 is used to calculate the difference between the loading count value and the loading count value in the loading record;

[0148] The first-level loading processing subunit 2132 is used to terminate the current loading operation if the difference is greater than or equal to the loading record threshold set in the loading terminal;

[0149] The first-level loading processing subunit 2133 is further used for, if the difference is less than the loading record threshold value set in the loading terminal, adding one to the loading count value in the obtained loading record, saving the obtained loading record to the loading server, and completing the loading operation in the loading terminal.

[0150] Optionally, the application sending unit 22 includes:

[0151] The sending subunit 221 is used to send the obtained online transaction serial number, the loading terminal number, the loading amount and the current loading count value representing the loading amount as keywords to the loading server;

[0152] The result returning subunit 222 is used for the credit loading server to feed back a corresponding credit loading application success return value according to the received keyword.

[0153] In practice, based on data storage and security considerations, all credit records are stored on the server, so it is necessary to send a request to the credit server to obtain the required credit records.

[0154] Based on the feedback of the deposit record, the subsequent processing process is discussed based on the deposit record to reflect whether the deposit is successful and whether it is the latest deposit record. It mainly includes the following contents:

[0155] Step 1: If it is determined that the current loading record is the latest and completed loading operation, it is determined that the loading operation has been completed.

[0156] Step 2: If it is determined that the current storage record is not a completed storage operation, it is determined whether the current storage record is the latest storage record.

[0157] At this time, the secondary determination based on whether it is the latest deposit record is as follows:

[0158] If the current loading record is determined to be the latest loading record, the loading confirmation interface of the business system is called to complete the loading operation.

[0159] If it is not the latest deposit record, a deposit exception will be raised.

[0160] Step 3: If it is determined that the current loading record belongs to a loaded operation but is not the latest loading record, the loading confirmation is completed again at the loading terminal, and the loading operation is completed according to the confirmation result.

[0161] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units for concretization. The components displayed as modules or units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed scheme. Those of ordinary skill in the art can understand and implement it without paying creative work.

[0162] In this example implementation, a computer-readable storage medium is also provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the security verification method for the fee data loading process described in any of the above embodiments are implemented. The specific steps of the security verification method for the fee data loading process can refer to the detailed description of the above data processing steps in the above embodiments, and will not be repeated here. The computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0163] In this example implementation, an electronic device is also provided, which may include a processor and a memory for storing executable instructions of the processor. The processor is configured to execute the steps of the security verification method for the fee data loading process described in any of the above embodiments by executing the executable instructions. The steps of the generation method can be referred to the detailed description in the above method embodiment, and will not be repeated here.

[0164] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0165] Figure 3 Schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure is shown. For example, the device can be provided as a server or a client. Figure 3 , the device includes a processing component 422, which further includes one or more processors, and a memory resource represented by a memory 432 for storing instructions, such as an application, that can be executed by the processing component 422. The application stored in the memory 432 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 422 is configured to execute the instructions to perform the above method.

[0166] The device may also include a power supply component 426 configured to perform power management of the device, a wired or wireless network interface 450 configured to connect the device to a network, and an input / output (I / O) interface 458. The device may operate based on an operating system stored in the memory 432, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM or the like.

[0167] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present embodiment is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A security verification method for a fee data loading process, characterized in that: The method comprises: Extracting the deposit feature value in the deposit terminal; Sending a deposit application to a deposit server based on the obtained deposit feature value and the deposit count value; If the server returns a successful return value indicating that the deposit application is successful, the deposit operation is completed according to the successful return value of the deposit application; If the server does not return a successful value indicating the deposit application is successful, a deposit exception is raised; If the deposit is abnormal, you need to make a second judgment based on the deposit record query result: if no deposit record is found and the deposit server has no deposit record, it means that there was no deposit operation before, which is normal; if the deposit record is found, you need to adjust the deposit record of the deposit server so that you can continue to deposit; The adjusting the loading record of the loading server so as to continue the loading includes: calculating the difference between the loading count value and the loading count value in the loading record; if the difference is greater than or equal to the loading record threshold value set in the loading terminal, terminating the current loading operation; if the difference is less than the loading record threshold value set in the loading terminal, adding one to the loading count value in the obtained loading record, saving the obtained loading record to the loading server, and completing the loading operation in the loading terminal.

2. The security verification method for the expense data loading process according to claim 1, characterized in that: The extracting the deposit feature value in the deposit terminal includes: Obtain the transaction record file in the deposit terminal; Extract the online transaction sequence number and deposit amount closest to the current time from the transaction record file; If the obtained online transaction serial number and the top-up amount are consistent with the values ​​stored in the top-up server, it is determined that the top-up feature value that meets the requirements has been extracted; If the obtained online transaction sequence number and the amount of deposit are inconsistent with those stored in the deposit server, the deposit feature value is determined to be an abnormal value.

3. The security verification method for the expense data loading process according to claim 2, characterized in that: After determining that the stored characteristic value is an abnormal value, the method further includes: Query the current card's transfer record in the transfer record file; If the deposit record cannot be found, feedback will be given that the deposit is abnormal; If a top-up record is found, the top-up record on the top-up server is adjusted, and the top-up confirmation process is performed based on the adjusted top-up record.

4. The security verification method for the expense data loading process according to claim 2, characterized in that: The step of sending a loading application to a loading server based on the obtained loading feature value and the loading count value includes: The obtained online transaction serial number, the loading terminal number, the loading amount and the current loading count value representing the loading amount are sent as keywords to the loading server; The credit server returns the corresponding credit application success value based on the received keywords.

5. The security verification method for the expense data loading process according to claim 1, characterized in that: If a successful load application return value fed back by the server is received, the load application operation is completed according to the successful load application return value, including: If it is determined that the current loading record is the latest and completed loading operation, it is determined that the loading operation is completed.

6. The security verification method for the expense data loading process according to claim 1, characterized in that: If a successful load application return value fed back by the server is received, the load application operation is completed according to the successful load application return value, including: If it is determined that the current storage record is not a completed storage operation, it is determined whether the current storage record is the latest storage record.

7. The security verification method for the expense data loading process according to claim 6, characterized in that: Also includes: If the current loading record is determined to be the latest loading record, the loading confirmation interface of the business system is called to complete the loading operation.

8. The security verification method for the expense data loading process according to claim 1, characterized in that: If a successful load application return value fed back by the server is received, the load application operation is completed according to the successful load application return value, including: If it is determined that the current loading record belongs to a loading operation but is not the latest loading record, the loading confirmation is completed again at the loading terminal, and the loading operation is completed according to the confirmation result.

9. A safety verification device for the cost data loading process, characterized in that: The device comprises: A feature value extraction unit, used to extract a top-up feature value in a top-up terminal; An application sending unit, configured to send a loading application to a loading server based on the obtained loading feature value and the loading count value; A first loading operation unit is configured to complete the loading operation according to the loading application success return value if a loading application success return value fed back by the server is received; The second loading operation unit is used to raise a loading exception if the loading application success return value fed back by the server is not received; If the deposit is abnormal, you need to make a second judgment based on the deposit record query result: if no deposit record is found and the deposit server has no deposit record, it means that there was no deposit operation before, which is normal; if the deposit record is found, you need to adjust the deposit record of the deposit server so that you can continue to deposit; The adjusting the loading record of the loading server so as to continue the loading includes: calculating the difference between the loading count value and the loading count value in the loading record; if the difference is greater than or equal to the loading record threshold value set in the loading terminal, terminating the current loading operation; if the difference is less than the loading record threshold value set in the loading terminal, adding one to the loading count value in the obtained loading record, saving the obtained loading record to the loading server, and completing the loading operation in the loading terminal.

10. The security verification device for the fee data loading process according to claim 9, characterized in that: The feature value extraction unit comprises: The file acquisition subunit is used to acquire the transaction record file in the loading terminal; The information extraction subunit is used to extract the online transaction sequence number and the amount of the deposit that is closest to the current time from the transaction record file; The first result determination subunit is used to determine that a deposit feature value that meets the requirements has been extracted if the online transaction sequence number and the deposit amount obtained are consistent with the values ​​stored in the deposit server; The second result determination subunit is used for determining the loading feature value as an abnormal value if the obtained online transaction sequence number and the loading amount are inconsistent with those stored in the loading server.

11. The security verification device for the fee data loading process according to claim 9, characterized in that: After determining that the stored feature value is an abnormal value, the feature value extraction unit includes: The record query subunit is used to query the current card's loading record in the loading record file; The first processing sub-unit is used to feedback a loading abnormality if the loading record cannot be found; The second processing sub-unit is configured to adjust the loading record of the loading server if a loading record is found, and perform loading confirmation processing based on the adjusted loading record.

12. The security verification device for the fee data loading process according to claim 11, characterized in that: The second processing subunit includes: The difference calculation primary subunit is used to calculate the difference between the loading count value and the loading count value in the loading record; The first-level loading processing subunit is used to terminate the current loading operation if the difference is greater than or equal to the loading record threshold set in the loading terminal; The first-level loading processing subunit is further used for, if the difference is less than the loading record threshold value set in the loading terminal, adding one to the loading count value in the obtained loading record, saving the obtained loading record to the loading server, and completing the loading operation in the loading terminal.

13. The security verification device for the fee data loading process according to claim 10, characterized in that: The application sending unit comprises: The sending subunit is used to send the obtained online transaction serial number, the loading terminal number, the loading amount and the current loading count value representing the loading amount as keywords to the loading server; The result return subunit is used for the credit server to feedback the corresponding credit application success return value according to the received keywords.

14. The security verification device for the fee data loading process according to claim 9, characterized in that: The first loading operation unit is further used for: If it is determined that the current loading record is the latest and completed loading operation, it is determined that the loading operation is completed.

15. The security verification device for the fee data loading process according to claim 9, characterized in that: The first loading operation unit is further used for: If it is determined that the current storage record is not a completed storage operation, it is determined whether the current storage record is the latest storage record.

16. The security verification device for the fee data loading process according to claim 15, characterized in that: The first loading operation unit is further used for: If the current loading record is determined to be the latest loading record, the loading confirmation interface of the business system is called to complete the loading operation.

17. The security verification device for the fee data loading process according to claim 9, characterized in that: The first loading operation unit is further used for: If it is determined that the current loading record belongs to a loading operation but is not the latest loading record, the loading confirmation is completed again at the loading terminal, and the loading operation is completed according to the confirmation result.

18. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the steps of the security verification method for the fee data loading process according to any one of claims 1 to 8 by executing the executable instructions.

19. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is used by a processor to execute the steps of the security verification method for the fee data loading process according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and system for charging on-board units on line

    CN101667314A

  • Information processing method and device

    CN106326793A