For the method for payment of intelligent terminal, device, storage medium and computer equipment

文档序号:1772886 发布日期:2019-12-03 浏览:22次 中文

阅读说明:本技术 用于智能终端的支付方法、装置、存储介质和计算机设备 (For the method for payment of intelligent terminal, device, storage medium and computer equipment ) 是由 许仿珍 向勇阳 于 2019-08-23 设计创作,主要内容包括:本申请揭示了用于智能终端的支付方法,包括:判断支付事件是否被触发;若支付事件被触发,则判断当前连接的数据网络是否为预设网络;若否,切断当前连接的数据网络;按照预设规则,接入SIM卡对应的数据网络;在SIM卡对应的数据网络下,支付待支付金额。智能终端在进行移动支付时,会自动响应保护机制,判断当前网络是否为预设网络。若智能终端识别到当前网络不是预设网络时,智能终端会切断当前连接的网络,通过当前存在的SIM卡,按照预设规则,连接符合预设要求的移动网络,使得智能终端达到移动支付所需的网络条件和安全条件,避免陌生网络监听用户的金融账户信息,解决了用户金融账户信息泄密的问题,极大地保障了用户的财产安全。(This application discloses the methods of payment for intelligent terminal, comprising: judges whether payment events are triggered;If payment events are triggered, judge whether the data network currently connected is default network;If it is not, the data network that cutting currently connects;According to preset rules, the corresponding data network of SIM card is accessed;Under the corresponding data network of SIM card, the amount of money to be paid is paid.Intelligent terminal can automated to respond to protection mechanism when carrying out mobile payment, judge whether current network is default network.If it is when presetting network that intelligent terminal, which recognizes current network not, intelligent terminal can cut off the network currently connected, by there is currently SIM card, according to preset rules, connection meets the mobile network of preset requirement so that intelligent terminal reach mobile payment needed for network condition and safety condition, avoid the financial account information of strange network monitoring user, it solves the problems, such as that user's financial account information is divulged a secret, has greatly ensured the property safety of user.)

1. a kind of method of payment for intelligent terminal, the intelligent terminal has SIM card, which is characterized in that the payer Method includes:

Judge whether payment events are triggered;

If the payment events are triggered, judge whether the data network currently connected is default network;

If it is not, the data network that cutting currently connects;

According to preset rules, the corresponding data network of the SIM card is accessed;

Under the corresponding data network of the SIM card, the amount of money to be paid is paid.

2. the method for payment according to claim 1 for intelligent terminal, which is characterized in that it is described according to preset rules, The step of accessing the SIM card corresponding data network, comprising:

Obtain the corresponding signal strength of each SIM card in the intelligent terminal, wherein the quantity of SIM card is at least two;

The strongest SIM card of signal strength is chosen in each SIM card as the first SIM card;

Connect the corresponding data network of first SIM card.

3. the method for payment according to claim 2 for intelligent terminal, which is characterized in that the selection is each described After the step of strongest SIM card of signal strength is as the first SIM card in SIM card, comprising:

Obtain that first SIM card is corresponding to prestore cost balance;

Judge that first SIM card is corresponding and prestores whether cost balance is greater than preset threshold;

If so, generating the command information for connecting the corresponding data network of first SIM card.

4. the method for payment according to claim 1 for intelligent terminal, which is characterized in that it is described according to preset rules, The step of accessing the SIM card corresponding data network, comprising:

Obtain the amount of money to be paid, wherein the amount of money to be paid is acquired from the payment events;

It obtains SIM card corresponding to the data network currently connected from presetting database, and obtains corresponding with the SIM card the One finance account remaining sum;

Judge whether the first finance account remaining sum is greater than the amount of money to be paid;

If it is not, then switching to the corresponding data network of specified SIM card.

5. the method for payment according to claim 4 for intelligent terminal, which is characterized in that described to switch to specified SIM The step of blocking corresponding data network, comprising:

It reminds user to switch the data network currently connected, and pops up input frame;

Receive the parameter item that user inputs in the input frame;

Judge whether parameter item and the corresponding parameter item of data network currently connected of user's input are identical;

If it is not, then obtaining the corresponding second finance account remaining sum of the parameter item from the database;

Judge whether the second finance account remaining sum is greater than the amount of money to be paid;

If so, the data network currently connected to be switched to the data network of the corresponding specified SIM card of the parameter item.

6. the method for payment according to claim 1 for intelligent terminal, which is characterized in that it is described according to preset rules, The step of accessing the SIM card corresponding data network, comprising:

Obtain the amount of money to be paid, wherein the amount of money to be paid is the information to be paid obtained from the payment events;

According to signal strength, by weak, being ranked up to each SIM card in the intelligent terminal by force, generating SIM card network and cut It calls by name list;

Successively judge whether to search finance account remaining sum in the SIM card network switching list greater than the amount of money to be paid The second SIM card, wherein the finance account remaining sum be remaining sum corresponding with the associated finance account of the second SIM card;

If so, stopping searching, and the data network currently connected is switched into the corresponding data network of second SIM card Network.

7. the method for payment according to claim 1-6 for intelligent terminal, which is characterized in that described described Under the corresponding data network of SIM card, the step of paying the amount of money to be paid, comprising:

Obtain the corresponding information of the SIM card of access data network, wherein the corresponding information of the SIM card includes logging in letter Breath and payment cipher;

Finance account corresponding with the access SIM card of data network is logged according to the log-on message;

The amount of money to be paid is paid by the payment cipher;

It obtains and caches balance information corresponding with the finance account after the payment amount of money to be paid.

8. a kind of payment mechanism for intelligent terminal, the intelligent terminal has SIM card, which is characterized in that the payment mechanism Include:

Judgment module is paid, for judging whether payment events are triggered;

Network judgment module judges whether the data network currently connected is default if being triggered for the payment events Network;

Module is cut off, for if it is not, the data network that cutting currently connects;

Link block, for accessing the corresponding data network of the SIM card according to preset rules;

Payment module, for paying the amount of money to be paid under the corresponding data network of the SIM card.

9. a kind of storage medium, which is characterized in that it is computer-readable storage medium, is stored thereon with computer program, The computer program, which is performed, realizes the method for payment as described in any one of claims 1 to 7 for intelligent terminal.

10. a kind of computer equipment, which is characterized in that it includes processor, memory and is stored on the memory and can The computer program run on the processor, the processor realize such as claim 1 when executing the computer program ~7 described in any item methods of payment for intelligent terminal.

Technical field

This application involves arrive intelligent terminal payment technical field, especially relate to the method for payment for intelligent terminal, device, Storage medium and computer equipment.

Background technique

Mobile payment on intelligent terminal is since its convenience has been deeply involved in people's daily life, in the use of intelligent terminal In the process, user is unstable in order to save mobile flow or mobile network, using strange WiFi existing for current environment online or Person's mobile payment.Under strange WiFi environment, by using finance account App come (such as Alipay, bank when executing delivery operation App), user inputs account, the password etc. of finance account, is easily monitored by strange WiFi, causes information leakage, causes to user Property loss.

Summary of the invention

The main purpose of the application is to provide a kind of method of payment for intelligent terminal, it is intended to solve existing method of payment The lower technical problem of safety.

The application proposes a kind of method of payment for intelligent terminal, and intelligent terminal has SIM card, the method for payment packet It includes:

Judge whether payment events are triggered;

If the payment events are triggered, judge whether the data network currently connected is default network;

If it is not, the data network that cutting currently connects;

According to preset rules, the corresponding data network of SIM card is accessed;

Under the corresponding data network of the SIM card, the amount of money to be paid is paid.

Preferably, according to preset rules, the step of accessing SIM card corresponding data network, comprising:

Obtain the corresponding signal strength of each SIM card in intelligent terminal, wherein the quantity of SIM card is at least two;

The strongest SIM card of signal strength is chosen in each SIM card as the first SIM card;

Connect the corresponding data network of the first SIM card.

Preferably, after choosing the step of strongest SIM card of signal strength is as the first SIM card in each SIM card, packet It includes:

Obtain that the first SIM card is corresponding to prestore cost balance;

Judge that the first SIM card is corresponding and prestores whether cost balance is greater than preset threshold;

If so, generating the command information for connecting the corresponding data network of the first SIM card.

Preferably, according to preset rules, the step of accessing the SIM card corresponding data network, comprising:

Obtain the amount of money to be paid, wherein the amount of money to be paid is the information to be paid obtained from payment events;

According to signal strength, by weak, being ranked up to each SIM card in the intelligent terminal by force, generating SIM card net Network switches list;

Successively judge whether to search finance account remaining sum in the SIM card network switching list greater than described to be paid Second SIM card of the amount of money, wherein the finance account remaining sum is corresponding with the associated finance account of the second SIM card remaining Volume;

If so, stopping searching, and by the network switching currently connected at the corresponding network of second SIM card.

Preferably, according to preset rules, the step of accessing the SIM card corresponding data network, comprising:

Obtain the amount of money to be paid, wherein the amount of money to be paid is acquired from the payment events;

SIM card corresponding to the data network currently connected is obtained from presetting database, and is obtained corresponding with the SIM card The first finance account remaining sum;

Judge whether the first finance account remaining sum is greater than the amount of money to be paid;

If it is not, then switching to the corresponding data network of specified SIM card.

Preferably, the step of switching to specified SIM card corresponding data network, comprising:

It reminds user to switch the data network currently connected, and pops up input frame;

Receive the parameter item that user inputs in the input frame;

Judge whether parameter item and the corresponding parameter item of data network currently connected of user's input are identical;

If it is not, the corresponding second finance account remaining sum of item that then gets parms from the database;

Judge whether the second finance account remaining sum is greater than the amount of money to be paid;

If so, the data network currently connected to be switched to the data network of the corresponding specified SIM card of parameter item.

Preferably, under the corresponding data network of the SIM card, the step of paying the amount of money to be paid, comprising:

Obtain the corresponding information of the SIM card of access data network, wherein the corresponding information of the SIM card includes stepping on Record information and payment cipher;

Finance account corresponding with the access SIM card of data network is logged according to the log-on message;

The amount of money to be paid is paid by the payment cipher;

It obtains and caches balance information corresponding with the finance account after the payment amount of money to be paid.

The application also provides a kind of payment mechanism for intelligent terminal, and intelligent terminal has SIM card, which is characterized in that The payment mechanism includes:

Judgment module is paid, for judging whether payment events are triggered;

Network judgment module, if being triggered for the payment events, judge the data network currently connected whether be Default network;

Module is cut off, for if it is not, the network that cutting currently connects;

Link block, for accessing the corresponding network of SIM card according to preset rules;

Payment module, for paying the amount of money to be paid under the corresponding data network of the SIM card.

The application also provides a kind of storage medium, is computer-readable storage medium, is stored thereon with computer journey Sequence, computer program are performed the realization above method.

The application also provides a kind of computer equipment comprising processor, memory and is stored on memory and can be The computer program run on processor, processor realize the above method when executing computer program.

The beneficial effects of the present application are as follows: intelligent terminal can automated to respond to protection mechanism when carrying out mobile payment, judgement Whether current network is default network.If it is when presetting network that intelligent terminal, which recognizes current network not, intelligent terminal can be cut off The network currently connected, by there is currently SIM card, according to preset rules, connection meets the mobile network of preset requirement, by It is the corresponding data network of SIM card in the data network for switching connection again, is not public WIFI network, so that intelligence is eventually Network condition and safety condition needed for end can reach mobile payment.By aforesaid operations, strange network monitoring user is avoided Financial account information, solve the problems, such as that user's financial account information is divulged a secret, greatly ensured the property safety of user, mentioned The high payment safety of mobile terminal.

Detailed description of the invention

Fig. 1 is the flow diagram of the method for payment for intelligent terminal of one embodiment of the application;

Fig. 2 is the payment schematic diagram of the method for payment for intelligent terminal of the application;

Fig. 3 is that the network of the method for payment for intelligent terminal of the application selects schematic diagram;

Fig. 4 is the structural schematic diagram of the payment mechanism for intelligent terminal of one embodiment of the application;

Fig. 5 is the structural schematic diagram of the link block of one embodiment of the application;

Fig. 6 is the structural schematic diagram of the link block of another embodiment of the application;

Fig. 7 is the structural schematic diagram of the link block of the application another embodiment;

Fig. 8 is the structural schematic diagram of the payment module of one embodiment of the application;

Fig. 9 is the structural block diagram of one embodiment of storage medium provided by the present application;

Figure 10 is the structural block diagram of one embodiment of computer equipment provided by the present application.

The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.

Specific embodiment

It should be appreciated that specific embodiment described herein is only used to explain the application, it is not used to limit the application.

Referring to figs. 1 to Fig. 2, the application proposes a kind of method of payment for intelligent terminal, and intelligent terminal has SIM card, The method of payment includes:

S1: judge whether payment events are triggered.

In the embodiment of the present application, intelligent terminal by judge current interface whether there is the amount of money to be paid, and whether Pop-up input payment cipher dialog box, to judge whether payment events are triggered.

S2: if the payment events are triggered, judge whether the data network currently connected is default network.

In the embodiment of the present application, as wechat barcode scanning is paid, intelligent terminal current interface shows the amount of money to be paid and defeated Enter the dialog box of payment cipher, then intelligent terminal is determined with payment events, then further judge the network currently connected whether be Default network.Wherein, presetting network is that user often uses network, such as family and the WiFi and intelligent terminal of company to carry SIM Block corresponding mobile network.

S3: if it is not, the data network that cutting currently connects.

In the embodiment of the present application, if intelligent terminal judges that the data network currently connected as non-default network, is cut off The data network currently connected.Such as the data network that currently connects of intelligent terminal is strange WiFi, then intelligent terminal cutting with The connection of strange WiFi.

S4: according to preset rules, the corresponding data network of SIM card is accessed.

S5: under the corresponding data network of the SIM card, the amount of money to be paid is paid.

In the embodiment of the present application, according to preset rules, intelligent terminal accesses the corresponding data network of SIM card.Therefore, intelligence Energy terminal can automated to respond to protection mechanism when carrying out mobile payment, judge whether current network is default network.If intelligence is eventually It is when presetting network that end, which recognizes the data network currently connected not, and intelligent terminal can cut off the data network currently connected, lead to Current existing SIM card is crossed, according to preset rules, connection meets the mobile network of preset requirement, so that intelligent terminal reaches shifting Move network condition and safety condition required for payment.By aforesaid operations, the finance account of strange network monitoring user is avoided to believe Breath, solves the problems, such as that user's financial account information is divulged a secret, has greatly ensured the property safety of user.

The step S4 of the corresponding network of SIM card is accessed according to preset rules referring to Fig. 3, comprising:

S41: the corresponding signal strength of each SIM card in the intelligent terminal is obtained, wherein the quantity of SIM card is extremely It is less two;

S42: the strongest SIM card of signal strength is chosen in each SIM card as the first SIM card;

S43: the corresponding data network of the first SIM card of connection.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.It is right respectively that intelligent terminal obtains each SIM card in the intelligent terminal The signal strength answered, i.e. intelligent terminal obtain China Mobile, China Unicom, the corresponding base station of China Telecom and China Railway Telecom Signal strength.Choosing the strongest SIM card of signal strength in current SIM card is the first SIM card, the corresponding number of the first SIM card of connection According to network.If the corresponding base station signal strength of the mobile SIM card of China is most strong, then intelligent terminal connects China Mobile's SIM card Corresponding mobile network, China Mobile, China Unicom, the corresponding network of China Telecom's SIM card are in state to be connected.Pass through Aforesaid operations, it is ensured that the movable signal of intelligent terminal is in optimum state, and intelligent terminal is enabled normally to carry out letter with the external world Breath interaction.

Further, choose the strongest SIM card of signal strength in each SIM card as the first SIM card step S42 it Afterwards, comprising:

S44: obtain that the first SIM card is corresponding prestores cost balance;

S45: judge that the first SIM card is corresponding and prestore whether cost balance is greater than preset threshold;

S46: if so, generating the command information for connecting the corresponding data network of the first SIM card.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.The above-mentioned cost balance that prestores includes credit balance and/or flow package Remaining sum etc..Such as prestoring cost balance is credit balance, and it is the first SIM card that intelligent terminal, which chooses China Mobile's SIM card, then intelligence is whole End obtains the corresponding credit balance of the first SIM card.Judge whether the corresponding credit balance of the first SIM card is greater than preset threshold, i.e., Judge whether the telephone expenses of China Mobile's SIM card are greater than preset threshold, i.e., 20 yuan.If the telephone expenses of China Mobile's SIM card are greater than 20 yuan, Then generate the command information for connecting the corresponding mobile network of China Mobile's SIM card.By aforesaid operations, intelligent terminal is avoided Because of SIM card arrearage, causes to terminate flow, can not normally surf the Internet.

Further, according to preset rules, the step S4 of the corresponding data network of the SIM card is accessed, comprising:

S401: the amount of money to be paid is obtained, wherein the amount of money to be paid is the information to be paid obtained from payment events;

S402: according to signal strength, by weak, being ranked up, generating to each SIM card in the intelligent terminal by force SIM card network switching list;

S403: described in successively judging that whether searching finance account remaining sum in the SIM card network switching list is greater than Second SIM card of the amount of money to be paid, wherein the finance account remaining sum be and the associated finance account pair of the second SIM card The remaining sum answered;

S404: if so, stopping searching, and the network switching currently connected is corresponding at second SIM card Network.

The present embodiment is by preferably satisfying amount of money demand to be paid and the strongest SIM card of signal strength preferably, improving The smoothness of payment transaction.Finance account remaining sum is remaining sum corresponding with the associated finance account of SIM card, difference in the present embodiment SIM card it is corresponding be associated with different finance accounts, for example mobile-phone payment, using inner, different SIM cards corresponds to different finance Account when only connecting the data network of this SIM card, can use this finance account to execute payment.

Further, according to preset rules, the step S4 of the corresponding data network of the SIM card is accessed, comprising:

S405: the amount of money to be paid is obtained, wherein the amount of money to be paid is acquired from the payment events;

S406: SIM card corresponding to the data network currently connected is obtained from presetting database, and is obtained and the SIM Block corresponding first finance account remaining sum;

S407: judge whether the first finance account remaining sum is greater than the amount of money to be paid;

S408: if it is not, then switching to the corresponding data network of specified SIM card.

Further, the step S408 of the corresponding data network of specified SIM card is switched to, comprising:

S408a: it reminds user to switch the data network currently connected, and pops up input frame;

S408b: the parameter item that user inputs in the input frame is received;

S408c: judging the parameter item of user's input and the corresponding parameter item of data network currently connected is It is no identical;

S408d: if it is not, then obtaining the corresponding second finance account remaining sum of the parameter item from the database;

S408e: judge whether the second finance account remaining sum is greater than the amount of money to be paid;

S408f: if so, the data network currently connected is switched to the corresponding specified SIM card of the parameter item Data network.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.Database includes but is not limited to the hard disk and cloud disk of intelligent terminal.With The parameter item of family input includes the corresponding phone number of each SIM card, PIN code and finance account remaining sum, parameters The corresponding relationship of item stores in the database in table form.The amount of money to be paid is obtained, i.e., intelligent terminal is from payment events The amount of money to be paid obtained.In the embodiment of the present application, if SIM card corresponding to the data network currently connected is China Mobile SIM card.Intelligent terminal is inquired in the database according to the corresponding PIN code of China Mobile's SIM card and obtains China Mobile's SIM card Corresponding finance account remaining sum, wherein finance account includes but is not limited to Alipay account, wechat payment account, bank card account Family.Intelligent terminal judges whether the corresponding finance account remaining sum of China Mobile's SIM card is greater than the amount of money to be paid, such as 30 yuan.In if The corresponding finance account remaining sum of the mobile SIM card of state is less than 30 yuan, then " Sorry, your ticket has not enough value, please input another for intelligent terminal interface display Account payment ", and pop-up phone number input frame and PIN code input frame.User in input frame input handset number and Corresponding PIN code.Intelligent terminal judge user input phone number and corresponding PIN code whether respectively with China Mobile The corresponding phone number of SIM card and PIN code correspond it is identical, if receiving the phone number of user's input and corresponding PIN code judges the mobile phone of user's input if user inputs the corresponding phone number of China Unicom SIM card and corresponding PIN code Number and corresponding PIN code phone number corresponding from China Mobile SIM card and PIN code are different, then find out defeated with user The corresponding SIM card of phone number and PIN code entered, that is, find out China Unicom SIM card.At this point, obtaining China Unicom SIM Block corresponding finance account remaining sum.Intelligent terminal judges whether the corresponding finance account remaining sum of China Unicom SIM card is greater than wait prop up Pay the amount of money, i.e., 30 yuan.If so, by the network of intelligent terminal currently connected from the corresponding mobile network of China Mobile's SIM card Switch to the corresponding mobile network of China Unicom SIM card.Pass through aforesaid operations, it is ensured that the corresponding cell-phone number of the network currently connected The corresponding finance account remaining sum of code meets payment and requires, and avoids the problem that a card Sorry, your ticket has not enough value not paying.

In the application other embodiments, when receiving the parameter item of user's input, deposited if detecting in intelligent terminal With the matched SIM card of the parameter item, then confirm that the SIM card authenticates successfully.Successfully each SIM card institute is right to certification for intelligent terminal The parameter item answered is cached.Wherein, parameter item includes phone number and PIN code.It is being received again subsequently through input frame When the parameter item of user's input, if in parameter item only including PIN code, passes through the parameter item cached in advance, detect whether exist Phone number corresponding with the PIN code.If so, directly the data network currently connected is switched to corresponding to the phone number The data network of SIM card.In the embodiment of the present application, when non-switching for the first time is using data network corresponding to specified SIM card, by No longer need to re-enter the phone number of specified SIM card in user, only need to input PIN code can be realized legitimate verification, thus Cumbersome degree is reduced, avoids that input handset number and PIN code when due to cause user account information to be easy leakage because simultaneously The problem of, thus also improve the safety of payment of terminal.

Further, judge whether the second finance account remaining sum is greater than after the step S408e of the amount of money to be paid, comprising:

SJ1: if it is not, each SIM card of chaining search, until determining that the second finance account remaining sum is greater than the amount of money to be paid;

SJ2: remind whether user selects the corresponding SIM card of the second finance account retrieved;

SJ3: judge whether to receive the instruction for being used to switch to the corresponding SIM card of the second finance account of user's input;

SJ4: if so, switching is connected to the corresponding SIM card of the second finance account.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.If the corresponding finance account remaining sum of China Mobile's SIM card and middle League of Nations The logical corresponding finance account remaining sum of SIM card is respectively less than the amount of money to be paid, i.e., 30 yuan, then intelligent terminal meeting chaining search, that is, distinguish Obtain and judge whether China Telecom's SIM card and the corresponding finance account remaining sum of China Railway Telecom's SIM card are greater than the amount of money to be paid. If China Telecom's SIM card and the corresponding finance account remaining sum of China Railway Telecom's SIM card are greater than the amount of money to be paid, intelligent terminal stops Only chaining search.In the application other embodiments, chaining search is up to the corresponding gold of SIM card each in judgement intelligent terminal Melt account balance and be respectively less than the amount of money to be paid, then terminates retrieval.For example China Telecom's SIM card and China Railway Telecom's SIM card correspond to Finance account remaining sum be respectively less than the amount of money to be paid, then intelligent terminal also stops chaining search.It is operated by above-mentioned chaining search, Ensure that intelligent terminal makes full use of the corresponding finance account of current SIM card, avoids intelligent terminal from omitting and meet payment requirement Finance account, cause intelligent terminal that can not pay.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.Intelligent terminal is according to signal strength, by by force to weak, eventually to current intelligence Each SIM card in end is ranked up, and generates SIM card network switching list.Signal strength such as China Mobile's SIM card is most strong, Serial number 1, signal strength the last the second of China Unicom SIM card, serial number 2, and so on.Intelligent terminal chooses China Mobile SIM card is the first SIM card, obtains corresponding finance account remaining sum according to the corresponding PIN code of China Mobile's SIM card.Intelligent terminal Judge whether the corresponding finance account remaining sum of China Mobile's SIM card is greater than the amount of money to be paid.If the corresponding gold of China Mobile's SIM card Melt account balance less than the amount of money to be paid, then according to signal strength, successively obtains each SIM card in SIM card network switching list It is corresponding successively to obtain China Unicom SIM card, China Telecom's SIM card and China Railway Telecom's SIM card for corresponding finance account remaining sum Finance account remaining sum.Intelligent terminal successively judges that China Unicom SIM card, China Telecom's SIM card and China Railway Telecom's SIM card are corresponding Whether finance account remaining sum is greater than the amount of money to be paid, if the corresponding finance account remaining sum of China Unicom SIM card is greater than gold to be paid Volume then stops judging whether China Telecom's SIM card and the corresponding finance account remaining sum of China Railway Telecom's SIM card are greater than gold to be paid The network currently connected is switched to the corresponding movement of China Unicom SIM card from the corresponding mobile network of China Mobile's SIM card by volume Network.Pass through aforesaid operations, it is ensured that for intelligent terminal in mobile payment, after switching mobile network, movable signal is still in best It is horizontal, it is ensured that intelligent terminal can be with extraneous normal communication.

Further, under the corresponding data network of the SIM card, the step S5 of the amount of money to be paid is paid, comprising:

S51: the corresponding information of the SIM card of access data network is obtained, wherein the corresponding packet of the SIM card Include log-on message and payment cipher;

S52: finance account corresponding with the access SIM card of data network is logged according to the log-on message;

S53: the amount of money to be paid is paid by the payment cipher;

S54: obtaining and caches balance information corresponding with the finance account after the payment amount of money to be paid.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.Intelligent terminal accesses the corresponding mobile network of China Mobile's SIM card, obtains The corresponding information of China Mobile's SIM card is taken, such as phone number, payment cipher and finance account login authentication code.It is moved according to China The dynamic corresponding phone number of SIM card and finance account login authentication code, user log in finance account.Intelligent terminal obtains and finance Then payment cipher is sent to and the associated server of finance account, server verification payment by the corresponding payment cipher of account Password is simultaneously withholdd, and payment is completed.Intelligent terminal obtains and saves the finance account balance information after the withholing of server feedback.It is logical Aforesaid operations are crossed, so that more than the finance account of the corresponding finance account remaining sum of each SIM card for being stored in intelligent terminal and server Volume synchronized update.In above-mentioned each embodiment, judge in the step of whether finance account remaining sum is greater than preset threshold, finance account Remaining sum can be sentenced also to execute in the absence of a network or in the case that network is bad from data cached middle acquisition Disconnected process can also be completed to pay so that there are of short duration network connections in payment period.But since number can be read from caching According to, it may occur that the finance account remaining sum and the inconsistent situation of practical finance account remaining sum that intelligent terminal saves, to avoid because of intelligence The finance account remaining sum and practical finance account remaining sum that energy terminal saves are inconsistent, and finance account is caused to be withholdd unsuccessfully, and intelligence is eventually End is unable to complete payment, needs to realize finance account remaining sum synchronized update when there is network.

It is a kind of payment mechanism for intelligent terminal provided by the present application with reference to Fig. 4, intelligent terminal has SIM card, should Payment mechanism includes:

Judgment module 1 is paid, for judging whether payment events are triggered.

In the embodiment of the present application, intelligent terminal by judge current interface whether there is the amount of money to be paid, and whether Pop-up input payment cipher dialog box, to judge whether payment events are triggered.

Network judgment module 2, if being triggered for the payment events, judge the data network currently connected whether be Default network.

In the embodiment of the present application, as wechat barcode scanning is paid, intelligent terminal current interface shows the amount of money to be paid and defeated Enter the dialog box of payment cipher, then intelligent terminal is determined with payment events, then further judge the network currently connected whether be Default network.Wherein, presetting network is that user often uses network, such as family and the WiFi and intelligent terminal of company to carry SIM Block corresponding mobile network.

Module 3 is cut off, for if it is not, the data network that cutting currently connects.

In the embodiment of the present application, if intelligent terminal judges that the data network currently connected as non-default network, is cut off The data network currently connected.Such as the data network that currently connects of intelligent terminal is strange WiFi, then intelligent terminal cutting with The connection of strange WiFi.

Link block 4, for accessing the corresponding network of SIM card according to preset rules.

Payment module 5, for paying the amount of money to be paid under the corresponding data network of the SIM card.

In the embodiment of the present application, according to preset rules, intelligent terminal accesses the corresponding data network of SIM card.Therefore, intelligence Energy terminal can automated to respond to protection mechanism when carrying out mobile payment, judge whether current network is default network.If intelligence is eventually It is when presetting network that end, which recognizes the data network currently connected not, and intelligent terminal can cut off the data network currently connected, lead to Current existing SIM card is crossed, according to preset rules, connection meets the mobile network of preset requirement, so that intelligent terminal reaches shifting Move network condition and safety condition required for payment.By aforesaid operations, the finance account of strange network monitoring user is avoided to believe Breath, solves the problems, such as that user's financial account information is divulged a secret, has greatly ensured the property safety of user.

Referring to Fig. 5, link block 4 includes that the first acquisition submodule 41, first chooses submodule 42 and the first connection submodule Block 43.

First acquisition submodule 41, for obtaining the corresponding signal strength of each SIM card in the intelligent terminal, In, the quantity of SIM card is at least two;

First chooses submodule 42, for choosing in each SIM card the strongest SIM card of signal strength as the first SIM card;

First connection submodule 43, for connecting the corresponding data network of the first SIM card.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.It is right respectively that intelligent terminal obtains each SIM card in the intelligent terminal The signal strength answered, i.e. intelligent terminal obtain China Mobile, China Unicom, the corresponding base station of China Telecom and China Railway Telecom Signal strength.Choosing the strongest SIM card of signal strength in current SIM card is the first SIM card, the corresponding number of the first SIM card of connection According to network.If the corresponding base station signal strength of the mobile SIM card of China is most strong, then intelligent terminal connects China Mobile's SIM card Corresponding mobile network, China Mobile, China Unicom, the corresponding network of China Telecom's SIM card are in state to be connected.Pass through Aforesaid operations, it is ensured that the movable signal of intelligent terminal is in optimum state, and intelligent terminal is enabled normally to carry out letter with the external world Breath interaction.

Further, link block 4 further include:

Second acquisition submodule 44, for obtaining, the first SIM card is corresponding to prestore cost balance;

First judging submodule 45 prestores whether cost balance is greater than preset threshold for judging that the first SIM card is corresponding;

Second connection submodule 46, for if so, generating the instruction for connecting the corresponding data network of the first SIM card Information.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.The above-mentioned cost balance that prestores includes credit balance and/or flow package Remaining sum etc..Such as prestoring cost balance is credit balance, and it is the first SIM card that intelligent terminal, which chooses China Mobile's SIM card, then intelligence is whole End obtains the corresponding credit balance of the first SIM card.Judge whether the corresponding credit balance of the first SIM card is greater than preset threshold, i.e., Judge whether the telephone expenses of China Mobile's SIM card are greater than preset threshold, i.e., 20 yuan.If the telephone expenses of China Mobile's SIM card are greater than 20 yuan, Then generate the command information for connecting the corresponding mobile network of China Mobile's SIM card.By aforesaid operations, intelligent terminal is avoided Because of SIM card arrearage, causes to terminate flow, can not normally surf the Internet.

Referring to Fig. 6, the link block 4 of another embodiment of the application, comprising:

Third acquisition submodule 401, for obtaining the amount of money to be paid, wherein the amount of money to be paid is to obtain from payment events The information to be paid taken;

Sorting sub-module 402, for according to signal strength, by by force to weak, to each SIM card in the intelligent terminal into Row sequence, generates SIM card network switching list;

Submodule 403 is searched, for successively judging in the SIM card network switching nameIt is singleIn whether search finance account Remaining sum is greater than the second SIM card of the amount of money to be paid, wherein the finance account remaining sum is to be associated with second SIM card The corresponding remaining sum of finance account;

First switching submodule 404: being used for if so, stopping searching, and by the network switching currently connected at institute State the corresponding network of the second SIM card.

The present embodiment is by preferably satisfying amount of money demand to be paid and the strongest SIM card of signal strength preferably, improving The smoothness of payment transaction.Finance account remaining sum is remaining sum corresponding with the associated finance account of SIM card, difference in the present embodiment SIM card it is corresponding be associated with different finance accounts, for example mobile-phone payment, using inner, different SIM cards corresponds to different finance Account when only connecting the data network of this SIM card, can use this finance account to execute payment.

Referring to Fig. 7, the link block 4 of the application another embodiment, comprising:

4th acquisition submodule 405: for obtaining the amount of money to be paid, wherein the amount of money to be paid is from the branch It is acquired in the event of paying;

5th acquisition submodule 406: for obtaining SIM corresponding to the data network currently connected from presetting database Card, and obtain the first finance account remaining sum corresponding with the SIM card;

Second judgment submodule 407: for judging whether the first finance account remaining sum is greater than the amount of money to be paid;

Second switching submodule 408: for if it is not, then switching to the corresponding data network of specified SIM card.

Further, the second switching submodule 408, comprising:

Reminding unit 408a: the data network currently connected for reminding user to switch, and pop up input frame;

Receiving unit 408b: the parameter item inputted in the input frame for receiving user;

First judging unit 408c: for judging the parameter item and the data network currently connected of user's input Whether corresponding parameter item is identical;

Acquiring unit 408d: for if it is not, then obtaining the corresponding second financial account of the parameter item from the database Family remaining sum;

Second judgment unit 408e: for judging whether the second finance account remaining sum is greater than the amount of money to be paid;

First switch unit 408f: for if so, the data network currently connected is switched to the parameter item The data network of corresponding specified SIM card.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.Database includes but is not limited to the hard disk and cloud disk of intelligent terminal.With The parameter item of family input includes the corresponding phone number of each SIM card, PIN code and finance account remaining sum, parameters The corresponding relationship of item stores in the database in table form.Obtain first amount of money to be paid, i.e. intelligent terminal is from payment thing The amount of money to be paid obtained in part.In the embodiment of the present application, if SIM card corresponding to the data network currently connected is China Mobile SIM card.Intelligent terminal is inquired in the database according to the corresponding PIN code of China Mobile's SIM card and obtains China Mobile The corresponding finance account remaining sum of SIM card, wherein finance account includes but is not limited to Alipay account, wechat payment account, bank Card account.Intelligent terminal judges whether the corresponding finance account remaining sum of China Mobile's SIM card is greater than first amount of money to be paid, such as 30 Member.If the corresponding finance account remaining sum of China Mobile's SIM card, less than 30 yuan, " Sorry, your ticket has not enough value, asks defeated for intelligent terminal interface display Enter another account payment ", and pop-up phone number input frame and PIN code input frame.User's input handset number in input frame Code and corresponding PIN code.Intelligent terminal judge user input phone number and corresponding PIN code whether respectively with China The corresponding phone number of movement SIM card and PIN code one-to-one correspondence are identical, if receiving the phone number and correspondence of user's input PIN code judge the hand of user's input if user inputs the corresponding phone number of China Unicom SIM card and corresponding PIN code Machine number and corresponding PIN code phone number corresponding from China Mobile SIM card and PIN code are different, then find out and user The corresponding SIM card of phone number and PIN code of input, that is, find out China Unicom SIM card.At this point, obtaining China Unicom The corresponding finance account remaining sum of SIM card.Intelligent terminal judges whether the corresponding finance account remaining sum of China Unicom SIM card is greater than One amount of money to be paid, i.e., 30 yuan.If so, by the network of intelligent terminal currently connected from the corresponding shifting of China Mobile's SIM card Network switching is moved into the corresponding mobile network of China Unicom SIM card.Pass through aforesaid operations, it is ensured that the network currently connected is corresponding The corresponding finance account remaining sum of phone number meets payment and requires, and avoids the problem that a card Sorry, your ticket has not enough value not paying.

In the application other embodiments, when receiving the parameter item of user's input, deposited if detecting in intelligent terminal With the matched SIM card of the parameter item, then confirm that the SIM card authenticates successfully.Successfully each SIM card institute is right to certification for intelligent terminal The parameter item answered is cached.Wherein, parameter item includes phone number and PIN code.It is being received again subsequently through input frame When the parameter item of user's input, if in parameter item only including PIN code, passes through the parameter item cached in advance, detect whether exist Phone number corresponding with the PIN code.If so, directly the data network currently connected is switched to corresponding to the phone number The data network of SIM card.In the embodiment of the present application, when non-switching for the first time is using data network corresponding to specified SIM card, by No longer need to re-enter the phone number of specified SIM card in user, only need to input PIN code can be realized legitimate verification, thus Cumbersome degree is reduced, avoids that input handset number and PIN code when due to cause user account information to be easy leakage because simultaneously The problem of, thus also improve the safety of payment of terminal.

Further, the second switching submodule 408, further includes:

Second switch unit is used for if it is not, each SIM card of chaining search, until determine the second finance account remaining sum be greater than to Payment amount;

Retrieval unit, the corresponding SIM card of the second finance account for reminding user whether to select to retrieve;

Command unit, for judge whether to receive user's input for switching to the corresponding SIM of the second finance account The instruction of card;

Connection unit, for if so, switching is connected to the corresponding SIM card of the second finance account.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.If the corresponding finance account remaining sum of China Mobile's SIM card and middle League of Nations The logical corresponding finance account remaining sum of SIM card is respectively less than the amount of money to be paid, i.e., 30 yuan, then intelligent terminal meeting chaining search, that is, distinguish Obtain and judge whether China Telecom's SIM card and the corresponding finance account remaining sum of China Railway Telecom's SIM card are greater than the amount of money to be paid. If China Telecom's SIM card and the corresponding finance account remaining sum of China Railway Telecom's SIM card are greater than the amount of money to be paid, intelligent terminal stops Only chaining search.In the application other embodiments, chaining search is up to the corresponding gold of SIM card each in judgement intelligent terminal Melt account balance and be respectively less than the amount of money to be paid, then terminates retrieval.For example China Telecom's SIM card and China Railway Telecom's SIM card correspond to Finance account remaining sum be respectively less than the amount of money to be paid, then intelligent terminal also stops chaining search.It is operated by above-mentioned chaining search, Ensure that intelligent terminal makes full use of the corresponding finance account of current SIM card, avoids intelligent terminal from omitting and meet payment requirement Finance account, cause intelligent terminal that can not pay.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.Intelligent terminal is according to signal strength, by by force to weak, eventually to current intelligence Each SIM card in end is ranked up, and generates SIM card network switching list.Signal strength such as China Mobile's SIM card is most strong, Serial number 1, signal strength the last the second of China Unicom SIM card, serial number 2, and so on.Intelligent terminal chooses China Mobile SIM card is the first SIM card, obtains corresponding finance account remaining sum according to the corresponding PIN code of China Mobile's SIM card.Intelligent terminal Judge whether the corresponding finance account remaining sum of China Mobile's SIM card is greater than the amount of money to be paid.If the corresponding gold of China Mobile's SIM card Melt account balance less than the amount of money to be paid, then according to signal strength, successively obtains each SIM card in SIM card network switching list It is corresponding successively to obtain China Unicom SIM card, China Telecom's SIM card and China Railway Telecom's SIM card for corresponding finance account remaining sum Finance account remaining sum.Intelligent terminal successively judges that China Unicom SIM card, China Telecom's SIM card and China Railway Telecom's SIM card are corresponding Whether finance account remaining sum is greater than the amount of money to be paid, if the corresponding finance account remaining sum of China Unicom SIM card is greater than gold to be paid Volume then stops judging whether China Telecom's SIM card and the corresponding finance account remaining sum of China Railway Telecom's SIM card are greater than gold to be paid The network currently connected is switched to the corresponding movement of China Unicom SIM card from the corresponding mobile network of China Mobile's SIM card by volume Network.Pass through aforesaid operations, it is ensured that for intelligent terminal in mobile payment, after switching mobile network, movable signal is still in best It is horizontal, it is ensured that intelligent terminal can be with extraneous normal communication.

Referring to Fig. 8, payment module 5, comprising:

6th acquisition submodule 51: for obtaining the corresponding information of the SIM card of access data network, wherein described The corresponding information of SIM card includes log-on message and payment cipher;

Log in submodule 52: corresponding with the access SIM card of data network for logging according to the log-on message Finance account;

Pay submodule 53: for paying the amount of money to be paid by the payment cipher;

7th acquisition submodule 54: corresponding with the finance account after the payment amount of money to be paid for obtaining and caching Balance information.

In the embodiment of the present application, intelligent terminal is four cards four to mobile phone, during the corresponding operator of four SIM cards is respectively State's movement, China Unicom, China Telecom and China Railway Telecom.Intelligent terminal accesses the corresponding mobile network of China Mobile's SIM card, obtains The corresponding information of China Mobile's SIM card is taken, such as phone number, payment cipher and finance account login authentication code.It is moved according to China The dynamic corresponding phone number of SIM card and finance account login authentication code, user log in finance account.Intelligent terminal obtains and finance Then payment cipher is sent to and the associated server of finance account, server verification payment by the corresponding payment cipher of account Password is simultaneously withholdd, and payment is completed.Intelligent terminal obtains and saves the finance account balance information after the withholing of server feedback.It is logical Aforesaid operations are crossed, so that more than the finance account of the corresponding finance account remaining sum of each SIM card for being stored in intelligent terminal and server Volume synchronized update.In above-mentioned each embodiment, judge in the step of whether finance account remaining sum is greater than preset threshold, finance account Remaining sum can be sentenced also to execute in the absence of a network or in the case that network is bad from data cached middle acquisition Disconnected process can also be completed to pay so that there are of short duration network connections in payment period.But since number can be read from caching According to, it may occur that the finance account remaining sum and the inconsistent situation of practical finance account remaining sum that intelligent terminal saves, to avoid because of intelligence The finance account remaining sum and practical finance account remaining sum that energy terminal saves are inconsistent, and finance account is caused to be withholdd unsuccessfully, and intelligence is eventually End is unable to complete payment, needs to realize finance account remaining sum synchronized update when there is network.

With reference to Fig. 9, present invention also provides a kind of storage medium 100, computer program is stored in storage medium 100 200, when run on a computer, so that computer executes the described payer for being used for intelligent terminal of above embodiments Method.

With reference to Figure 10, the computer equipment 300 comprising instruction that present invention also provides a kind of, when it is in computer equipment When being run on 300, so that computer equipment 300 is executed described in above embodiments by its internal processor 400 being arranged Method of payment for intelligent terminal.

It will be understood by those skilled in the art that payment mechanism described herein for intelligent terminal and above-mentioned involved For executing one or more equipment in method described herein.These equipment can specially set for required purpose Meter and manufacture, or also may include the known device in general purpose computer.These equipment have the computer being stored in it Program or application program, these computer programs are selectively activated or are reconstructed.Such computer program can be stored in In equipment (for example, computer) readable medium or it is stored in and is suitable for storing e-command and is coupled to any class of bus respectively In the medium of type, the computer-readable medium includes but is not limited to any kind of disk (including floppy disk, hard disk, CD, CD- ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, at random Memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), (Electrically Erasable Programmable Read-Only Memory, electric erazable programmable is read-only to be deposited EEPROM Reservoir), flash memory, magnetic card or light card.It is, readable medium includes by equipment (for example, computer) can read Form storage or transmission information any medium.

The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种业务执行的系统、方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!