Movatterモバイル変換


[0]ホーム

URL:


CN105488668A - Method and system for uploading off-line transaction information of SIM card payment application in real time - Google Patents

Method and system for uploading off-line transaction information of SIM card payment application in real time
Download PDF

Info

Publication number
CN105488668A
CN105488668ACN201410473232.9ACN201410473232ACN105488668ACN 105488668 ACN105488668 ACN 105488668ACN 201410473232 ACN201410473232 ACN 201410473232ACN 105488668 ACN105488668 ACN 105488668A
Authority
CN
China
Prior art keywords
data
transaction information
transaction
module
sim card
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.)
Granted
Application number
CN201410473232.9A
Other languages
Chinese (zh)
Other versions
CN105488668B (en
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.)
Shanghai Ke Si Software Inc Co
Shenyang Siasun Robot and Automation Co Ltd
China Mobile Group Liaoning Co Ltd Shenyang Branch
Original Assignee
Shanghai Ke Si Software Inc Co
Shenyang Siasun Robot and Automation Co Ltd
China Mobile Group Liaoning Co Ltd Shenyang Branch
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 Shanghai Ke Si Software Inc Co, Shenyang Siasun Robot and Automation Co Ltd, China Mobile Group Liaoning Co Ltd Shenyang BranchfiledCriticalShanghai Ke Si Software Inc Co
Priority to CN201410473232.9ApriorityCriticalpatent/CN105488668B/en
Publication of CN105488668ApublicationCriticalpatent/CN105488668A/en
Application grantedgrantedCritical
Publication of CN105488668BpublicationCriticalpatent/CN105488668B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明涉及SIM卡支付应用脱机交易信息实时上报的方法和系统,方法包括:SIM卡的交易监听模块监听SIM卡内的离线支付应用;当余额变化时,记录交易信息并向背包短信上发模块提交实时交易信息的数据;背包短信上发模块接收数据并进行缓存,根据缓存的信息状态进行背包短信的上发,并根据背包短信的发送情况来清理缓存的信息。系统包括交易监听模块和背包短信上发模块;背包短信上发模块包括交易信息缓存池子模块和背包短信上发模块。本发明能达到对发行的带有手机支付应用的SIM卡的脱机交易使用情况的实时监控、数据采集以及必要统计目的,为SIM卡中的支付应用提供额外的安全保护和交易风险监控。

The present invention relates to a method and system for real-time reporting of offline transaction information of a SIM card payment application. The method includes: a transaction monitoring module of the SIM card monitors the offline payment application in the SIM card; when the balance changes, record the transaction information and send it to the backpack short message The module submits the data of real-time transaction information; the backpack SMS uploading module receives and caches the data, sends the backpack SMS according to the cached information status, and clears the cached information according to the sending status of the backpack SMS. The system includes a transaction monitoring module and a backpack short message sending module; the backpack short message sending module includes a transaction information cache pool sub-module and a backpack short message sending module. The invention can achieve real-time monitoring, data collection and necessary statistical purposes of offline transaction usage of issued SIM cards with mobile payment applications, and provides additional security protection and transaction risk monitoring for payment applications in SIM cards.

Description

Translated fromChinese
SIM卡支付应用脱机交易信息实时上报的方法和系统Method and system for real-time reporting of offline transaction information of SIM card payment application

技术领域technical field

本发明属于通信技术和移动支付技术领域,具体说是一种SIM卡支付应用交易信息实时上报的方法和系统。The invention belongs to the field of communication technology and mobile payment technology, and specifically relates to a method and a system for real-time reporting of SIM card payment application transaction information.

背景技术Background technique

随着移动支付的快速普及,新的业务和应用不断涌现,人们开始大量使用手机移动支付来代替传统的银行卡、公交卡、门禁卡、电子优惠券等。作为移动支付技术中的重要组成部分:SIM(SubscriberIdentityModule,用户身份识别模块)卡,除了承载通信应用,同时承载了越来越多的支付应用。With the rapid popularization of mobile payment, new businesses and applications continue to emerge, and people begin to use mobile payment in large numbers to replace traditional bank cards, bus cards, access cards, electronic coupons, etc. As an important part of mobile payment technology: SIM (Subscriber Identity Module, Subscriber Identity Module) card, in addition to carrying communication applications, it also carries more and more payment applications.

现实环境中,SIM卡的发行方和支付应用的提供方可能并不是同一个机构(大多数情况是这样)。通常的情况是,SIM卡的发行方只是单纯的提供SIM卡空间,可以加载任何经过认证的第三方支付应用,SIM卡发行方承担了部分支付应用发行方义务,因此SIM卡发行方通常享有支付应用发行方的支付结算收益分成的权利。SIM卡发行方需要了解SIM卡上的支付应用的交易数据,而一般情况下支付应用提供商不会和SIM卡的发行方进行实质的结算网络对接,原因是商业壁垒和建网成本极高。这样就会出现SIM卡发行方很难对支付应用的交易情况进行把控和数据采集,从而带来运营服务困难,无法保证交易数据准确,进而影响收益。In a real environment, the issuer of the SIM card and the provider of the payment application may not be the same institution (in most cases). Usually, the issuer of the SIM card simply provides space for the SIM card, which can load any certified third-party payment application. The application issuer's right to share revenue from payment settlement. The issuer of the SIM card needs to know the transaction data of the payment application on the SIM card. In general, the payment application provider will not connect to the actual settlement network with the issuer of the SIM card because of the extremely high commercial barriers and network construction costs. In this way, it will be difficult for the SIM card issuer to control and collect data on the transaction status of the payment application, which will cause difficulties in operating services and cannot guarantee the accuracy of transaction data, thereby affecting revenue.

手机SIM卡中的支付应用目前主要用于脱机小额支付,结算只能发生在支付终端将交易数据发送到清算方后,若出现网络故障,则运营各方都有可能发生损失。The payment application in the SIM card of the mobile phone is currently mainly used for offline micropayment. The settlement can only occur after the payment terminal sends the transaction data to the liquidator. If there is a network failure, all parties involved in the operation may suffer losses.

发明内容Contents of the invention

针对上述技术不足,本发明目的是提供一种SIM卡支付应用交易信息实时上报的方法和系统,以解决上述技术问题。In view of the above-mentioned technical deficiencies, the object of the present invention is to provide a method and system for real-time reporting of SIM card payment application transaction information, so as to solve the above-mentioned technical problems.

本发明解决其技术问题所采用的技术方案是:SIM卡支付应用脱机交易信息实时上报的方法和系统,包括以下步骤:The technical solution adopted by the present invention to solve the technical problem is: a method and a system for real-time reporting of offline transaction information of SIM card payment applications, comprising the following steps:

SIM卡的交易监听模块监听SIM卡内的脱机支付应用;当支付应用余额发生变化时,记录交易信息并向背包短信上发模块实时提交交易信息的数据;The transaction monitoring module of the SIM card monitors the offline payment application in the SIM card; when the balance of the payment application changes, it records the transaction information and submits the data of the transaction information to the backpack SMS uploading module in real time;

背包短信上发模块接收交易数据并进行格式化、组包、缓存,根据缓存的信息状态进行背包短信的上发,并根据背包短信的发送情况来清理缓存的数据。The backpack SMS uploading module receives transaction data and performs formatting, grouping and caching, uploads backpack SMS according to the cached information status, and clears the cached data according to the sending status of backpack SMS.

所述交易信息为本次交易和上一次交易的信息。The transaction information is the information of this transaction and the previous transaction.

所述背包短信上发模块接收交易数据并进行格式化、组包、缓存,包括以下步骤:The backpack short message uploading module receives transaction data and performs formatting, grouping and buffering, including the following steps:

背包短信上发模块的交易信息缓存池子模块保存交易监听模块提交的交易信息数据,同时对保存的数据进行格式化、组包形成背包短信数据。The transaction information buffer pool module of the backpack SMS uploading module stores the transaction information data submitted by the transaction monitoring module, and at the same time formats and packs the stored data to form backpack SMS data.

所述根据缓存的信息状态进行背包短信的上发,并根据背包短信的发送情况来清理缓存的信息包括以下步骤:Described according to the information state of buffering, carry out the sending of backpack short message, and according to the sending situation of backpack short message, clear up the information of buffering and include the following steps:

数据短信上发子模块注册手机GetStatus事件;当手机产生GetStatus指令时,数据短信上发子模块响应事件,执行检查交易信息缓存池子模块动作;如果交易信息缓存池子模块存在未发送的背包短信数据,则数据短信上发子模块将交易信息缓存池子模块中的背包短信数据上发至短信网关;如果交易信息缓存池子模块不存在背包短信数据,则完成事件响应;短信发送成功后,数据短信上发子模块立即清空交易信息缓存池子模块缓存的数据;若短信发送不成功,则仍然完成事件响应,在下一次GetStatus事件发生时,重新发送。The data message sending sub-module registers the mobile phone GetStatus event; when the mobile phone generates a GetStatus command, the data message sending sub-module responds to the event and executes the action of checking the transaction information buffer pool sub-module; if there is unsent backpack SMS data in the transaction information buffer pool sub-module, Then the data message sending sub-module sends the backpack message data in the transaction information buffer pool sub-module to the SMS gateway; if there is no backpack message data in the transaction information buffer pool sub-module, the event response is completed; after the message is sent successfully, the data message is sent The sub-module immediately clears the data cached in the transaction information cache pool sub-module; if the message is not sent successfully, the event response is still completed and will be resent when the next GetStatus event occurs.

所述将交易信息缓存池子模块中的背包短信数据上发至短信网关,具体为:手机GetStatus事件周期内实时将交易信息缓存池子模块中的数据以二进制短信方式上发至短信网关。Said sending the backpack short message data in the transaction information cache pool submodule to the SMS gateway is specifically: sending the data in the transaction information cache pool submodule to the SMS gateway in real time within the GetStatus event cycle of the mobile phone in binary SMS mode.

SIM卡支付应用脱机交易信息实时上报的系统,包括:A system for real-time reporting of offline transaction information for SIM card payment applications, including:

交易监听模块:用于监听SIM卡支付应用的脱机支付应用,当支付应用余额变化时,记录交易信息并向背包短信上发模块提交脱机交易信息的数据;Transaction monitoring module: used to monitor the offline payment application of the SIM card payment application. When the balance of the payment application changes, record the transaction information and submit the data of the offline transaction information to the backpack SMS uploading module;

背包短信上发模块:用于接收交易数据并进行格式化、组包、缓存,根据缓存的信息状态进行背包短信的上发,并根据短信的发送情况来清理缓存的信息。Backpack SMS uploading module: used to receive transaction data and format, package, and cache, send backpack SMS according to the cached information status, and clear the cached information according to the sending status of the SMS.

所述背包短信上发模块包括:The sending module of the backpack short message includes:

交易信息缓存池子模块:用于保存交易监听模块提交的交易信息数据,同时对保存的数据进行组包和格式化形成背包短信数据;Transaction information cache pool sub-module: used to save the transaction information data submitted by the transaction monitoring module, and at the same time group and format the saved data to form backpack SMS data;

数据短信上发子模块:用于注册手机的GetStatus事件;当手机产生GetStatus指令时,数据短信上发子模块响应事件,执行检查交易信息缓存池子模块动作;如果交易信息缓存池子模块存在未发送的数据,则数据短信上发子模块将交易信息缓存池子模块中的背包短信数据上发至短信网关;如果不存在,则完成事件响应;短信发送成功后,数据短信上发子模块立即清空交易信息缓存池子模块,完成事件响应;若短信发送不成功,则仍然完成事件响应,在下一次GetStatus事件发生时,重新发送。Sub-module for sending data messages: used to register the GetStatus event of the mobile phone; when the mobile phone generates a GetStatus command, the sub-module for sending data messages responds to the event and executes the action of checking the transaction information cache pool sub-module; if the transaction information cache pool sub-module has unsent data, the data SMS uploading sub-module sends the backpack SMS data in the transaction information cache pool sub-module to the SMS gateway; if it does not exist, the event response is completed; after the SMS is sent successfully, the data SMS uploading sub-module immediately clears the transaction information The cache pool sub-module completes the event response; if the message is not sent successfully, the event response is still completed, and will be resent when the next GetStatus event occurs.

所述背包短信为二进制短信。The backpack short message is a binary short message.

本发明具有以下有益效果及优点:The present invention has the following beneficial effects and advantages:

1.本发明的方法仅仅在支付应用内设计一个交易监听模块,对支付应用改造成本极小,监听模模块实现方式简单,架构清晰,容易开发和维护。1. The method of the present invention only designs a transaction monitoring module in the payment application, and the cost of transforming the payment application is extremely small. The implementation of the monitoring module is simple, the structure is clear, and it is easy to develop and maintain.

2.监听模块作为支付应用的一个附属模块,获取数据的方式为应用内函数调用方式,因此交易监听模块与支付应用本身是完全耦合关系,高度的耦合度保证了SIM卡支付应用的安全性;监听模块获得数据的时机为支付应用交易完成时,因此不对SIM卡支付应用原来的安全性和性能产生任何影响。2. As an accessory module of the payment application, the monitoring module obtains data by calling functions within the application. Therefore, the transaction monitoring module is completely coupled with the payment application itself, and the high degree of coupling ensures the security of the SIM card payment application; The timing for the monitoring module to obtain data is when the payment application transaction is completed, so it does not have any impact on the original security and performance of the SIM card payment application.

3.采用的数据采集方式为数据短信方式,考虑一般SIM卡的提供商都是GSM网络运营商,短信通道覆盖面最广,成本低,数据短信无法直接阅读,安全性高,因此能很好的为本方法和系统服务。3. The data collection method adopted is the data short message method. Considering that the general SIM card providers are GSM network operators, the short message channel covers the widest coverage and low cost. The data short message cannot be read directly and has high security. This method and system service.

4.交易监听模块和背包短信上发模块的配合,对交易数据能达到实时上报,相比通过终端设备进行数据采集要更快速,同时节约采集成本。4. The cooperation of the transaction monitoring module and the backpack SMS uploading module can achieve real-time reporting of transaction data, which is faster than data collection through terminal equipment and saves collection costs.

5.本发明能达到对发行的带有手机支付应用的SIM卡的脱机交易使用情况的实时监控、数据采集以及必要统计目的,为SIM卡中的支付应用提供额外的安全保护和交易风险监控。5. The present invention can achieve real-time monitoring, data collection and necessary statistical purposes of offline transaction usage of issued SIM cards with mobile payment applications, and provide additional security protection and transaction risk monitoring for payment applications in SIM cards .

附图说明Description of drawings

图1为本发明的模块系统架构图;Fig. 1 is a modular system architecture diagram of the present invention;

图2为产生一条背包上送的完整流程图。Figure 2 is a complete flow chart of generating a backpack for delivery.

具体实施方式detailed description

下面结合实施例对本发明做进一步的详细说明。The present invention will be further described in detail below in conjunction with the examples.

如图1所示,一种SIM卡支付应用脱机交易信息实时上报的系统,包括:SIM卡支付应用交易监听模块,由交易信息缓存池子模块和数据短信上发子模块构成的背包短信上发模块。As shown in Figure 1, a system for real-time reporting of offline transaction information for SIM card payment applications, including: a SIM card payment application transaction monitoring module, a backpack short message uploading sub-module composed of a transaction information cache pool sub-module and a data short message sending sub-module module.

SIM卡支付应用交易监听模块:主要用于监听SIM卡支付应用的实时交易情况,对于造成支付应用余额变化的交易(消费、圈存等)进行交易信息的记录并向背包短信上发模块进行数据提交。数据记录在交易完成后进行,不影响支付交易的执行流程。SIM card payment application transaction monitoring module: mainly used to monitor the real-time transaction situation of SIM card payment application, record the transaction information (consumption, transfer, etc.) submit. Data recording is carried out after the transaction is completed and does not affect the execution process of the payment transaction.

背包短信上发模块:主要负责根据交易信息缓存模块的信息状态进行背包短信的上发,并根据数据短信的发送情况来清理交易信息缓存模块;Backpack SMS uploading module: mainly responsible for sending backpack SMS according to the information status of the transaction information cache module, and clearing the transaction information cache module according to the sending status of data SMS;

所述背包短信上发模块包括:The sending module of the backpack short message includes:

交易信息缓存池子模块:用于保存SIM卡支付应用监听模块提交的实时交易信息数据,同时对保存的数据进行分类和格式化Transaction information cache pool sub-module: used to save the real-time transaction information data submitted by the SIM card payment application monitoring module, and classify and format the saved data at the same time

数据短信上发子模块:负责注册手机的GetStatus事件,保证手机产生GetStatus指令时,事件能马上通知到背包短信上发模块;同时在收到事件时,将信息缓存池中有效交易信息进行数据短信格式化并上发至指定的短信接收号码。Sub-module for sending data SMS: responsible for registering the GetStatus event of the mobile phone, ensuring that when the mobile phone generates a GetStatus command, the event can be immediately notified to the backpack SMS sending module; at the same time, when the event is received, the valid transaction information in the information cache pool is sent to the data SMS Format and send to the specified SMS receiving number.

本发明的方法包括:在SIM卡支付应用(MOC、PBOC等)中设计交易监听模块,用于监听和记录每一笔交易数据,并保存最近的两笔交易记录;在SIM卡支付应用中加入背包短信上发模块;当SIM卡支付应用产生一笔交易时,交易监听模块通过监听交易获得交易明细,并连同前一笔交易一起提交给背包短信上发模块;交易信息缓存池子模块保存交易监听模块提交的明细,待手机发起获取状态事件时,背包短信上发模块发送缓存池中的所有交易信息,并清空缓存池,过程结束。The method of the present invention includes: designing a transaction monitoring module in the SIM card payment application (MOC, PBOC, etc.), for monitoring and recording each transaction data, and saving the latest two transaction records; Backpack SMS uploading module; when the SIM card payment application generates a transaction, the transaction monitoring module obtains the transaction details by monitoring the transaction, and submits it together with the previous transaction to the backpack SMS uploading module; the transaction information cache pool module saves the transaction monitoring The details submitted by the module, when the mobile phone initiates the acquisition status event, the backpack SMS upload module sends all the transaction information in the cache pool, and clears the cache pool, and the process ends.

如图2所示,一种SIM卡支付应用脱机交易信息实时上报的方法,具体包括如下步骤:As shown in Figure 2, a method for reporting offline transaction information of a SIM card payment application in real time, specifically includes the following steps:

SIM卡交易监听模块实时监视SIM卡内的离线支付应用,一旦发生余额变化的交易(充值或消费),则在交易完成后自动记录最近的两条交易记录(交易发生前的1笔交易和本次交易),随即向背包短信上发模块提交记录数据;The SIM card transaction monitoring module monitors the offline payment application in the SIM card in real time. Once a balance change transaction (recharging or consumption) occurs, it will automatically record the latest two transaction records after the transaction is completed (a transaction before the transaction and this transaction) transaction), and then submit the record data to the backpack SMS uploading module;

背包短信上发模块接收并保存记录数据于本模块缓存池;背包短信上发模块注册手机GetStatus命令事件并设置事件间隔为30秒;The backpack SMS uploading module receives and saves the record data in the buffer pool of this module; the backpack SMS uploading module registers the mobile phone GetStatus command event and sets the event interval to 30 seconds;

手机每次产生GetStatus命令事件时,通知背包短信上发模块检查交易信息缓存池子模块,如果缓存池存在有效数据,则实时将数据以二进制短信方式上发,短信发送成功后,立即清空缓存池。Every time the mobile phone generates a GetStatus command event, it notifies the backpack SMS sending module to check the transaction information cache pool sub-module. If there is valid data in the cache pool, it sends the data in binary SMS in real time. After the SMS is sent successfully, the cache pool is cleared immediately.

其中,依据当前SIM卡支付应用根据当前交易情况(脱机或联机)决定是否给背包短信上发模块提交交易记录数据包含如下步骤:Among them, according to the current SIM card payment application, according to the current transaction situation (offline or online), whether to submit the transaction record data to the backpack short message sending module includes the following steps:

监控SIM卡支付应用是否发生余额变化的交易;Monitor whether the SIM card payment application has a balance change transaction;

如果发生了余额变化的交易,则记录最近的两条交易信息,并提交给背包短信上发模块;If there is a balance change transaction, record the last two transaction information and submit it to the backpack SMS uploading module;

另外,依据当前背包短信上发模块是否进行短信发送包含如下步骤:In addition, according to the current backpack SMS uploading module whether to send SMS includes the following steps:

背包短信上发模块收到手机的GetStatus命令事件;The backpack SMS uploading module receives the GetStatus command event of the mobile phone;

查询背包短信上发模块交易信息缓存池中是否存在有效交易信息;Query whether there is valid transaction information in the transaction information cache pool of the backpack SMS uploading module;

如果接收到了GetStatus命令事件,并且交易信息缓存池中存在有效信息,背包短信上发模块进行交易信息背包短信的上发。If the GetStatus command event is received, and there is valid information in the transaction information buffer pool, the backpack short message sending module sends the transaction information backpack short message.

下面结合实例对本发明做进一步的详细说明。Below in conjunction with example the present invention is described in further detail.

本发明的方法包括以下步骤:Method of the present invention comprises the following steps:

1:在SIM卡中设置一个或多个带有交易监听模块的SIM卡支付应用和背包短信上发模块。1: Set up one or more SIM card payment applications and backpack SMS uploading modules with transaction monitoring modules in the SIM card.

2:SIM卡提供商在背包短信上发模块中配置背包短信接收平台目标号码。2: The SIM card provider configures the target number of the backpack SMS receiving platform in the backpack SMS sending module.

3:背包短信上发模块注册手机GetStatus命令事件,设置时间间隔为30秒,这样手机会在开机完成SIM卡登网之后,每30秒给背包短信上发模块发送一次GetStatus事件,用于触发背包短信上发模块背包短信上发动作。3: The backpack SMS uploading module registers the mobile phone GetStatus command event, and the time interval is set to 30 seconds, so that the mobile phone will send a GetStatus event to the backpack SMS uploading module every 30 seconds after the phone completes the SIM card login to the network to trigger the backpack SMS uploading module Backpack SMS uploading action.

3.1:GetStatus命令事件的注册方式如下:3.1: The registration method of the GetStatus command event is as follows:

A:手机开机过程会自动给SIM卡发送TerminalProfile命令,此时SIM卡返回91XX;A: The mobile phone will automatically send the TerminalProfile command to the SIM card during the boot process, and the SIM card will return 91XX at this time;

B:手机通过Fetch指令获取SIM卡主动式命令,主动式命令说明参考国际规范:《ETSITS101267》;B: The mobile phone obtains the active command of the SIM card through the Fetch command, and the active command description refers to the international standard: "ETSITS101267";

C:SIM卡发送PollInterval命令给手机,要求手机每30s给卡片发送一次GetStatus命令,这样待手机开机过程完成后,手机会自动每30s给SIM卡发送一次GetStatus命令;C: The SIM card sends a PollInterval command to the mobile phone, requiring the mobile phone to send a GetStatus command to the card every 30s, so that after the boot process of the mobile phone is completed, the mobile phone will automatically send a GetStatus command to the SIM card every 30s;

4:卡外消费或充值终端设备发送交易指令给卡片内的SIM卡支付应用,SIM卡支付应用按业务规范执行交易流程请求,对于余额发生变化的交易(消费或充值),SIM卡支付应用在钱包余额变更完成,产生交易日志,并将结果回送给消费终端POS后,向交易监听模块提交一次交易发生通知,交易监听模块此时得知交易产生,执行读取SIM卡支付应用中的交易明细文件来获取最近的两笔支付应用交易记录,然后将读取的交易信息数据提交给背包短信上发模块。4: Out-of-card consumption or recharge terminal equipment sends transaction instructions to the SIM card payment application in the card, and the SIM card payment application executes the transaction process request according to the business specification. After the wallet balance change is completed, a transaction log is generated, and the result is sent back to the consumer terminal POS, and a transaction occurrence notification is submitted to the transaction monitoring module. The transaction monitoring module knows that the transaction has occurred at this time, and executes to read the transaction details in the SIM card payment application. file to obtain the last two payment application transaction records, and then submit the read transaction information data to the backpack SMS uploading module.

4.1:交易监听模块获取交易明细的方式4.1: How the transaction monitoring module obtains transaction details

A:每笔交易完成前,SIM卡支付应用都必须去进行交易明细文件的修改。SIM卡支付应用提供一个读取交易明细的函数接口;A: Before each transaction is completed, the SIM card payment application must modify the transaction details file. The SIM card payment application provides a function interface for reading transaction details;

B:交易监听模块监听每一条指令,即每条指令均先被交易监听模块进行拦截,然后再传送给SIM卡支付应用,指令执行后,返回数据同样经由交易监听模块返回给外界设备例如:POS机。B: The transaction monitoring module monitors each instruction, that is, each instruction is first intercepted by the transaction monitoring module, and then sent to the SIM card payment application. After the instruction is executed, the returned data is also returned to the external device through the transaction monitoring module. For example: POS machine.

C:当收到交易指令,例如:MOC的creditforpurchase指令,模块立即设立交易指令标志位,待指令被支付应用执行完成返回时,易监听模块调用SIM卡支付应用的交易明细读取函数接口,从而获取到最近发生的交易的交易明细数据。C: When receiving a transaction instruction, such as the creditforpurchase instruction of MOC, the module immediately sets up the transaction instruction flag, and when the instruction is executed and returned by the payment application, the easy monitoring module calls the transaction details reading function interface of the SIM card payment application, thereby Get the transaction detail data of the most recent transaction.

5:背包短信上发模块收到交易监听模块提交的交易信息数据,将此信息提交至交易信息缓存池子模块;该模块进行交易信息的格式化操作,将交易信息拼装成一条标准的数据短信,并保存于缓存池中。5: The backpack SMS uploading module receives the transaction information data submitted by the transaction monitoring module, and submits this information to the transaction information buffer pool sub-module; this module performs the formatting operation of the transaction information, and assembles the transaction information into a standard data message, and stored in the buffer pool.

5.1:拼装的短信的说明如下:5.1: The instructions for assembled text messages are as follows:

A:拼装的短信是数据短信,而非文本短信,数据短信的发送和接受用户不会感知,同时具有更好的安全性。用户不感知能给用户更好的体验,用户只是关心刷卡消费/充值的过程和结果,后台如何进行交易明细的采集和统计对于用户是透明的。数据短信在组包交易数据内容过程中,会对敏感内容进行特殊处理,如仅截取账户号码末4位,从而确保数据短信内容不泄露用户隐私。A: The assembled short message is a data short message, not a text short message. The sending and receiving of the data short message will not be perceived by the user, and it has better security. Users don't perceive that it can give users a better experience. Users only care about the process and results of card consumption/recharging. How to collect and count transaction details in the background is transparent to users. In the process of grouping and packaging transaction data content in data SMS, special processing will be carried out on sensitive content, such as only intercepting the last 4 digits of the account number, so as to ensure that the content of data SMS does not leak user privacy.

B:数据短信编码格式符合国际规范:《ETSITS100901》;B: The encoding format of the data message conforms to the international standard: "ETSITS100901";

C:数据短信中的数据区内容包含:最近的两笔交易明细数据。C: The content of the data area in the data message includes: the latest two transaction details.

6:手机产生Status时间事件,事件通知给注册了事件的背包短信上发模块。6: The mobile phone generates a Status time event, and the event notification is sent to the backpack SMS uploading module that has registered the event.

7:背包短信上发模块接收到手机的时间事件,通知数据短信上发子模块,数据短信上发子模块从交易信息缓存池子模块中读取有效的数据短信数据;若读取到有效数据则立即发送数据短信至指定的背包短信接收平台,短信发送成功后,删除缓存池中的短信数据;若短信发送失败,则不对缓存池中的数据进行处理,继续等待下一次时间事件;若没有查询你到有效数据,不做任何处理。7: The backpack SMS uploading module receives the time event of the mobile phone, notifies the data SMS uploading sub-module, and the data SMS uploading sub-module reads valid data SMS data from the transaction information cache pool sub-module; if valid data is read, then Immediately send data SMS to the designated backpack SMS receiving platform. After the SMS is sent successfully, delete the SMS data in the cache pool; if the SMS fails to be sent, the data in the cache pool will not be processed and continue to wait for the next time event; if there is no query You get valid data without any processing.

7.1:对于短信上发过程在SIM卡上的指令交互如下:7.1: The command interaction on the SIM card for the SMS upload process is as follows:

A:手机发送GetStatus命令给SIM卡;A: The mobile phone sends the GetStatus command to the SIM card;

B:SIM卡背包短信上发模块查询是否存在有效的数据短信数据,如果存在的话,返回91XX(XX表示SIM卡需要向手机返回XX字节的数据),如果不存在,直接返回9000;B: SIM card backpack SMS sending module checks whether there is valid data SMS data, if yes, returns 91XX (XX means that the SIM card needs to return XX bytes of data to the mobile phone), if not, returns 9000 directly;

C:手机收到91XX后,向卡片发送Fetch指令来获取SIM卡主动式命令;C: After receiving 91XX, the mobile phone sends a Fetch command to the card to obtain the active command of the SIM card;

D:SIM卡给手机发送SendShortMessage命令,手机即向目标平台发送数据短信;D: The SIM card sends a SendShortMessage command to the mobile phone, and the mobile phone sends a data message to the target platform;

E:手机发送数据短信,同时将发送结果通过TerminalResponse命令返回给SIM卡背包短信上发模块,背包短信上发模块判断如果发送成功,则删除缓冲池中的交易数据,如果发送失败,则不做任何处理;E: The mobile phone sends a data message, and at the same time returns the sending result to the SIM card backpack message sending module through the TerminalResponse command. The backpack message sending module judges that if the sending is successful, it will delete the transaction data in the buffer pool. If the sending fails, it will not do it. any processing;

7.2:缓冲池数据的管理方式如下:7.2: The management method of buffer pool data is as follows:

A:缓冲池数据使用记录的管理方式,每个记录长度257个字节,格式为有效标志位+短信长度+短信内容;A: The management method of buffer pool data usage records, each record length is 257 bytes, and the format is valid flag + SMS length + SMS content;

B:每次写入短信数据,就是在缓冲池加入一个记录,有效标志位为01;B: Every time you write SMS data, add a record in the buffer pool, and the valid flag is 01;

C:背包短信上发模块查询缓冲池的每个记录,如果标志位是01,则为有效短信,为00的话,则为无效短信;C: The backpack SMS upload module queries each record in the buffer pool. If the flag is 01, it is a valid SMS, and if it is 00, it is an invalid SMS;

D:当背包短信上发模块发送短信成功后,则将对上发过的缓冲短信记录的标志位设置为00即可。D: When the backpack SMS sending module successfully sends the SMS, set the flag bit of the buffered SMS record sent to 00.

8:过程结束;8: The process ends;

其中,SIM卡支付应用包含MOC,PBOC等支付应用;MOC:一种支付类应用,符合标准《建设事业非接触式CPU卡》,标准号:CJ/T304-2008;PBOC:金融卡电子现金应用,复合标准《中国金融集成电路(IC)卡规范第15部分:电子现金双币支付应用规范》,标准号:JR/T0025.15—2013;SIM卡主动式命令对应规范:ETSITS101267;数字短信编码规范:ETSITS100901。Among them, SIM card payment applications include MOC, PBOC and other payment applications; MOC: a payment application that complies with the standard "Construction Enterprise Contactless CPU Card", standard number: CJ/T304-2008; PBOC: financial card electronic cash application , Composite standard "China Financial Integrated Circuit (IC) Card Specification Part 15: Electronic Cash Dual Currency Payment Application Specification", standard number: JR/T0025.15-2013; SIM card active command corresponding specification: ETSITS101267; digital SMS code Specification: ETSITS100901.

Claims (8)

Data SMS is sent out submodule registration mobile phone GetStatus event; When mobile phone produces GetStatus instruction, data SMS sends out submodule response events, perform and check the action of Transaction Information cache pool submodule; If Transaction Information cache pool submodule exists the knapsack note data do not sent, then data SMS is sent out submodule and send to Short Message Service Gateway by the knapsack note data in Transaction Information cache pool submodule; If Transaction Information cache pool submodule does not exist knapsack note data, then complete event response; After short message sending success, data SMS is sent out the data that submodule empties Transaction Information cache pool submodule buffer memory immediately; If short message sending is unsuccessful, then still complete event response, when upper once GetStatus event occurs, resend.
Data SMS sends out submodule: for registering the GetStatus event of mobile phone; When mobile phone produces GetStatus instruction, data SMS sends out submodule response events, perform and check the action of Transaction Information cache pool submodule; If Transaction Information cache pool submodule exists the data do not sent, then data SMS is sent out submodule and send to Short Message Service Gateway by the knapsack note data in Transaction Information cache pool submodule; If there is no, then event response is completed; After short message sending success, data SMS is sent out submodule and empty Transaction Information cache pool submodule immediately, complete event response; If short message sending is unsuccessful, then still complete event response, when upper once GetStatus event occurs, resend.
CN201410473232.9A2014-09-162014-09-16Method and system for reporting offline transaction information of SIM card payment application in real timeExpired - Fee RelatedCN105488668B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410473232.9ACN105488668B (en)2014-09-162014-09-16Method and system for reporting offline transaction information of SIM card payment application in real time

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410473232.9ACN105488668B (en)2014-09-162014-09-16Method and system for reporting offline transaction information of SIM card payment application in real time

Publications (2)

Publication NumberPublication Date
CN105488668Atrue CN105488668A (en)2016-04-13
CN105488668B CN105488668B (en)2020-03-17

Family

ID=55675637

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410473232.9AExpired - Fee RelatedCN105488668B (en)2014-09-162014-09-16Method and system for reporting offline transaction information of SIM card payment application in real time

Country Status (1)

CountryLink
CN (1)CN105488668B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109583872A (en)*2018-11-302019-04-05阿里巴巴集团控股有限公司Method of payment and device
CN111343233A (en)*2016-09-202020-06-26徐蔚Digital currency payment method and device based on storage and mobile terminal
CN116167759A (en)*2023-04-262023-05-26北京大也智慧数据科技服务有限公司Off-line payment method and system based on SIM card

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050238149A1 (en)*2004-04-242005-10-27De Leon Hilary LCellular phone-based automatic payment system
CN101354802A (en)*2008-09-052009-01-28中国网通集团宽带业务应用国家工程实验室有限公司 Method and system for processing consumption record information
CN101599191A (en)*2008-06-042009-12-09中国移动通信集团公司 A method for displaying transaction information and mobile terminal equipment
CN101789151A (en)*2009-12-312010-07-28中兴通讯股份有限公司Application method of mobile terminal E-wallet and mobile terminal
CN102426720A (en)*2011-11-222012-04-25浙江省公众信息产业有限公司Mobile phone intelligent card, mobile phone terminal, system and method for electronic purse transfer in air
CN103108277A (en)*2012-12-292013-05-15深圳市康索特软件有限公司Air business implement method and system based on mobile phone client-side
CN103699994A (en)*2014-01-032014-04-02深圳中科讯联科技有限公司Method and system for loading credit over air for electronic purse of mobile terminal
CN103839340A (en)*2012-11-272014-06-04中国电信股份有限公司Method and system for synchronizing electronic purse information and over-the-air earmarking service platform
CN104008481A (en)*2014-04-022014-08-27上海柯斯软件股份有限公司Loading-in-air system and method based on non-contact type mobile payment mobile phone terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050238149A1 (en)*2004-04-242005-10-27De Leon Hilary LCellular phone-based automatic payment system
CN101599191A (en)*2008-06-042009-12-09中国移动通信集团公司 A method for displaying transaction information and mobile terminal equipment
CN101354802A (en)*2008-09-052009-01-28中国网通集团宽带业务应用国家工程实验室有限公司 Method and system for processing consumption record information
CN101789151A (en)*2009-12-312010-07-28中兴通讯股份有限公司Application method of mobile terminal E-wallet and mobile terminal
CN102426720A (en)*2011-11-222012-04-25浙江省公众信息产业有限公司Mobile phone intelligent card, mobile phone terminal, system and method for electronic purse transfer in air
CN103839340A (en)*2012-11-272014-06-04中国电信股份有限公司Method and system for synchronizing electronic purse information and over-the-air earmarking service platform
CN103108277A (en)*2012-12-292013-05-15深圳市康索特软件有限公司Air business implement method and system based on mobile phone client-side
CN103699994A (en)*2014-01-032014-04-02深圳中科讯联科技有限公司Method and system for loading credit over air for electronic purse of mobile terminal
CN104008481A (en)*2014-04-022014-08-27上海柯斯软件股份有限公司Loading-in-air system and method based on non-contact type mobile payment mobile phone terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111541728A (en)*2016-09-202020-08-14徐蔚Digital currency payment method and device using payment mark and mobile terminal
CN111340465B (en)*2016-09-202023-12-12徐蔚Method and device for trading digital assets and mobile terminal
CN111340465A (en)*2016-09-202020-06-26徐蔚Method and device for digital asset digital currency transaction and mobile terminal
CN111401881A (en)*2016-09-202020-07-10徐蔚Digital currency payment method and device based on coding medium and mobile terminal
CN111541729A (en)*2016-09-202020-08-14徐蔚Method and device for payment of digital currency based on attribute information and mobile terminal
CN111539699A (en)*2016-09-202020-08-14徐蔚Digital currency payment method and device based on multiple coding media and mobile terminal
CN111343233A (en)*2016-09-202020-06-26徐蔚Digital currency payment method and device based on storage and mobile terminal
CN111541729B (en)*2016-09-202023-10-10徐蔚Method and device for paying based on attribute information and mobile terminal
US11995637B2 (en)2016-09-202024-05-28Wei XuSystem built by connection between a mobile terminal and a service providing device, and service providing method
CN111541728B (en)*2016-09-202023-10-10徐蔚Payment method and device using payment mark and mobile terminal
US11983699B2 (en)2016-09-202024-05-14Wei XuSystem built by connection between a mobile terminal and a service providing device, and service providing method
CN111401881B (en)*2016-09-202023-12-19徐蔚Payment method and device based on encoding medium and mobile terminal
CN111539699B (en)*2016-09-202024-03-29徐蔚Payment method and device based on multiple coding media and mobile terminal
CN109583872A (en)*2018-11-302019-04-05阿里巴巴集团控股有限公司Method of payment and device
CN116167759A (en)*2023-04-262023-05-26北京大也智慧数据科技服务有限公司Off-line payment method and system based on SIM card

Also Published As

Publication numberPublication date
CN105488668B (en)2020-03-17

Similar Documents

PublicationPublication DateTitle
US9788205B2 (en)System and method for second factor authentication
US20200128090A1 (en)Resource processing method and apparatus
US9100222B2 (en)System and method for mobile user authentication
JP2011521359A (en) Money transfer approval via mobile device
CN101604436A (en)The method of bank short message financial operations
CN112101923A (en)Transaction information processing method and device
US9209994B2 (en)System and method for enhanced application server
CN114338534A (en)Message routing method and device
CN105225152A (en)A kind of electronic bill of exchange system and collection method thereof
CN105488668B (en)Method and system for reporting offline transaction information of SIM card payment application in real time
CN113095835B (en) Data consistency verification method, device and system
WO2020181936A1 (en)Payment anti-shake method and device
CN109492034A (en)Batch processing system, method, apparatus and storage medium
US20150294379A1 (en)Method and apparatus to introduce billing architecture for different utility events and to grant cross domain promotions
CN103871160B (en)The method and system that stored value card is supplemented with money in a kind of RFID UIM cards
US20130196627A1 (en)System and Method for Message Service Gateway
US10298777B2 (en)Methods and apparatus to determine a telecommunications account status
CN113222735A (en)Method for inquiring transaction associated information and related device
TWM621128U (en)System for providing formal receipts
US20100167764A1 (en)System and Method For Message-Based Conversations
CN101354802A (en) Method and system for processing consumption record information
CN109034759A (en)A kind of data transfering method and relevant device
CN115310963A (en) Method, device, electronic device and storage medium for inquiring supplementary orders
CN100558188C (en)Message processing device, system and method
CN110673965A (en)Method and device for capturing second-killing commodities

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20200317


[8]ページ先頭

©2009-2025 Movatter.jp