FIELD OF THE TECHNOLOGY

Embodiments of the present invention relate to the field of computer technologies, and in particular, to a method, an apparatus, and a system for processing order information.

BACKGROUND OF THE DISCLOSURE

With the development of mobile terminal technologies, the application of mobile terminals becomes wider, and functions thereof also become stronger. Based on the internet, a user may select, by means of a mobile terminal, a commodity to be purchased and then pay for the commodity by means of the mobile terminal.

After the user selects the commodity to be purchased, the mobile terminal generates corresponding order information. The user may tap a corresponding payment option on the mobile terminal, and the mobile terminal may display a payment page. The user may enter information about a payment account, a payment password, or the like in the payment page and then tap a confirmation option. The mobile terminal then sends, to a payment server, the order information and the information about the payment account, the payment password, or the like entered by the user. The payment server performs payment processing.

During the implementation of the present disclosure, the inventor has found existence of at least the following problem:

A user needs to enter information about a payment account and a payment password and is then able to perform payment during a payment process, which results in low efficiency of order information processing.

SUMMARY

To overcome the problem in the related technology, embodiments of the present invention provide a method, an apparatus, and a system for processing order information. The technical solutions are as follows:

A first aspect provides a method for processing order information, including:

receiving, by means of a short-range communication component, order information sent by a first terminal, the order information including an account identifier of a paid object account and a payment amount;

acquiring an account identifier of a first account prestored at the second terminal and bound thereto as an account identifier of a payout account and adding the account identifier of the payout account to the order information;

performing encryption processing, by using a prestored first key, on the order information to which the account identifier of the payout account is added; and

sending, by means of the short-range communication component, the encrypted order information to the first terminal.

A second aspect provides a method for processing order information, including:

receiving a payment instruction corresponding to a target order and sending, by means of a short-range communication component, order information of the target order to a second terminal, the order information including an account identifier of a paid object account and a payment amount;

receiving, by means of the short-range communication component, encrypted order information sent by the second terminal, the encrypted order information being obtained after the second terminal adds an account identifier of a payout account to the received order information and then performs encryption processing on the order information to which the account identifier of the payout account is added; and

sending the encrypted order information to a server, so that the server performs payment processing according to the encrypted order information.

A third aspect provides a second terminal, including:

a receiving module, configured to receive, by means of a short-range communication component, order information sent by a first terminal, the order information including an account identifier of a paid object account and a payment amount;

an acquiring module, configured to acquire an account identifier of a first account prestored at the second terminal and bound thereto as an account identifier of a payout account and add the account identifier of the payout account to the order information;

an encryption module, configured to perform encryption processing, by using a prestored first key, on the order information to which the account identifier of the payout account is added; and

a sending module, configured to send, by means of the short-range communication component, the encrypted order information to the first terminal.

A fourth aspect provides a first terminal, including:

a first sending module, configured to receive a payment instruction corresponding to a target order and send, by means of a short-range communication component, order information of the target order to a second terminal, the order information including an account identifier of a paid object account and a payment amount;

a receiving module, configured to receive, by means of the short-range communication component, encrypted order information sent by the second terminal, the encrypted order information being obtained after the second terminal adds an account identifier of a payout account to the received order information and then performs encryption processing on the order information to which the account identifier of the payout account is added; and

a second sending module, configured to send the encrypted order information to a server, so that the server performs payment processing according to the encrypted order information.

A fifth aspect provides a second terminal, including:

one or more processors; and

a memory, where

the memory stores one or more programs, which are configured to be executed by the one or more processors, the one or more processors including instructions for performing the following operations:

receiving, by means of a short-range communication component, order information sent by a first terminal, the order information including an account identifier of a paid object account and a payment amount;

acquiring an account identifier of a first account prestored at the second terminal and bound thereto as an account identifier of a payout account and adding the account identifier of the payout account to the order information;

performing encryption processing, by using a prestored first key, on the order information to which the account identifier of the payout account is added; and

sending, by means of the short-range communication component, the encrypted order information to the first terminal.

A sixth aspect provides a first terminal, including:

one or more processors; and

a memory, where

the memory stores one or more programs, which are configured to be executed by the one or more processors, the one or more processors including instructions for performing the following operations:

receiving a payment instruction corresponding to a target order and sending, by means of a short-range communication component, order information of the target order to a second terminal, the order information including an account identifier of a paid object account and a payment amount;

receiving, by means of the short-range communication component, encrypted order information sent by the second terminal, the encrypted order information being obtained after the second terminal adds an account identifier of a payout account to the received order information and then performs encryption processing on the order information to which the account identifier of the payout account is added; and

sending the encrypted order information to a server, so that the server performs payment processing according to the encrypted order information.

A seventh aspect provides a system for processing order information, including a first terminal and a second terminal:

the second terminal being configured to: receive, by means of a short-range communication component, order information sent by the first terminal, the order information including an account identifier of a paid object account and a payment amount; acquire an account identifier of a first account prestored at the second terminal and bound thereto as an account identifier of a payout account and add the account identifier of the payout account to the order information; perform encryption processing, by using a prestored first key, on the order information to which the account identifier of the payout account is added; and send, by means of the short-range communication component, the encrypted order information to the first terminal; and

the first terminal being configured to: receive a payment instruction corresponding to a target order; send, by means of a short-range communication component, order information of the target order to the second terminal; receive, by means of the short-range communication component, the encrypted order information sent by the second terminal and to which the account identifier of the payout account is added; and send the encrypted order information to a server, so that the server performs payment processing according to the encrypted order information.

The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:

In the embodiments of the present invention, order information sent by a first terminal is received by means of a short-range communication component, the order information including an account identifier of a paid object account and a payment amount, an account identifier of a first account prestored at the second terminal and bound thereto is acquired as an account identifier of a payout account and the account identifier of the payout account is added to the order information, encryption processing is performed, by using a prestored first key, on the order information to which the account identifier of the payout account is added, and the encrypted order information is sent to the first terminal by means of the short-range communication component, so that the first terminal sends the encrypted order information to a server and the server performs payment processing according to the encrypted order information. In this way, a user can process the order information without entering information about a payment account, a payment password, or the like. Therefore the efficiency of order information processing can be improved.

It should be understood that the foregoing general description and detailed description in the following are used for merely exemplary and interpretive, but cannot constitute a limitation to the embodiments of the present invention.

