CN113115285B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN113115285B
CN113115285B CN202110263663.2A CN202110263663A CN113115285B CN 113115285 B CN113115285 B CN 113115285B CN 202110263663 A CN202110263663 A CN 202110263663A CN 113115285 B CN113115285 B CN 113115285B
Authority
CN
China
Prior art keywords
terminal
network
online payment
network server
service
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.)
Active
Application number
CN202110263663.2A
Other languages
Chinese (zh)
Other versions
CN113115285A (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.)
Advanced New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN202110263663.2A priority Critical patent/CN113115285B/en
Priority claimed from CN201510354882.6A external-priority patent/CN106332119B/en
Publication of CN113115285A publication Critical patent/CN113115285A/en
Application granted granted Critical
Publication of CN113115285B publication Critical patent/CN113115285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides an information processing method and device. A method comprising: the method comprises the steps that near field communication NFC connection is established between a first terminal and a second terminal, and network connection exists between the second terminal and a network server; the first terminal sends a service request to the second terminal through NFC connection with the second terminal, so that the second terminal forwards the service request to the network server through network connection with the network server to request to use network service provided by the network server; the first terminal receives service result information forwarded by the second terminal from the network server through NFC connection with the second terminal. The application can solve the problem that the user can not use the network service under the condition of weak network or no network coverage.

Description

Information processing method and device
The application is applied for the 23 days of 2015, 06 and 23 months, and the application number is: 201510354882.6, divisional application of patent application entitled "information processing method and apparatus".
[ Field of technology ]
The present application relates to the field of communications technologies, and in particular, to an information processing method and apparatus.
[ Background Art ]
With the development of terminal technology, mobile terminals such as mobile phones, game machines, tablet computers, mobile computers, multimedia players, etc., have increasingly large screens and higher performance, and users have become more convenient to use network services through the mobile terminals. For example, a user may use an online payment service provided by an online payment application through a cell phone.
But in real life there are often situations where there is weak or even no network coverage. For example, in remote corners, huge traffic, and travel outside the country, there are often cases where a user cannot directly access an internet network through a mobile terminal, and thus cannot use a web service.
[ Invention ]
Aspects of the present application provide an information processing method and apparatus, which are used to solve the problem that a user cannot use a network service under a weak network or no network coverage condition.
In one aspect of the present application, there is provided an information processing method including:
The method comprises the steps that Near Field Communication (NFC) connection is established between a first terminal and a second terminal, and network connection exists between the second terminal and a network server;
The first terminal sends a service request to the second terminal through NFC connection with the second terminal so that the second terminal forwards the service request to the network server through network connection with the network server to request to use network service provided by the network server;
and the first terminal receives service result information forwarded by the second terminal from the network server through NFC connection with the second terminal.
In another aspect of the present application, there is provided an information processing method including:
The method comprises the steps that Near Field Communication (NFC) connection is established between a second terminal and a first terminal, and network connection exists between the second terminal and a network server;
The second terminal receives a service request sent by the first terminal and used for requesting to use the network service provided by the network server through NFC connection with the first terminal;
the second terminal forwards the service request to the network server through network connection with the network server;
The second terminal receives service result information returned by the network server through network connection with the network server;
And the second terminal forwards the service result information to the first terminal through NFC connection with the first terminal.
In still another aspect of the present application, there is provided an information processing apparatus implemented in a first terminal, the apparatus including:
The connection establishment module is used for establishing Near Field Communication (NFC) connection with a second terminal, and network connection exists between the second terminal and the network server;
A sending module, configured to send a service request to the second terminal through an NFC connection with the second terminal, so that the second terminal forwards the service request to the network server through a network connection with the network server, so as to request to use a network service provided by the network server;
and the receiving module is used for receiving the service result information forwarded by the second terminal from the network server through NFC connection with the second terminal.
In still another aspect of the present application, there is provided an information processing apparatus implemented in a second terminal, the apparatus including:
The connection establishment module is used for establishing Near Field Communication (NFC) connection with the first terminal, and network connection exists between the second terminal and the network server;
The receiving module is used for receiving a service request sent by the first terminal and used for requesting to use the network service provided by the network server through NFC connection with the first terminal;
the sending module is used for forwarding the service request to the network server through network connection with the network server;
the receiving module is further used for receiving service result information returned by the network server through network connection with the network server;
the sending module is further configured to forward the service result information to the first terminal through NFC connection with the first terminal.
In the application, when the first terminal needs to use the network service provided by the network server, NFC connection is established with the second terminal, and the first terminal sends a service request to the second terminal through the NFC connection with the second terminal, so that the second terminal forwards the service request to the network server through the network connection with the network server, and receives the service result information forwarded by the second terminal from the network server through the NFC connection with the second terminal, thereby achieving the purpose of using the network service provided by the network server. Therefore, even if the first terminal cannot access the internet, the network service provided by the network server can be used, so that the problems in the prior art are solved.
[ Description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of an information processing method according to another embodiment of the present application;
fig. 3 is a flowchart of an offline payment method based on NFC according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an information processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information processing apparatus according to another embodiment of the present application.
[ Detailed description ] of the invention
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Aiming at the problem that in the prior art, a user cannot use network service through a mobile terminal of the user under the condition of weak network or even no network coverage, the application provides an information processing method which is used for realizing that the user can still access the Internet through the mobile terminal of the user under the condition of weak network or even no network coverage and use network service.
The main idea of the technical scheme of the application is as follows: a Near Field Communication (NFC) connection is established between a first terminal and a second terminal, the first terminal accessing a web server through the second terminal having a network connection with the web server, thereby using a web service provided by the web server. The first terminal and the second terminal are both provided with NFC modules, and NFC communication can be performed. The first terminal or the second terminal may be a device capable of communication, such as a mobile phone, a notebook, a desktop computer, a tablet computer, etc. having an NFC module.
NFC is a near field wireless communication technology. The NFC close-range characteristic enables the NFC device to have the advantages of signal interference prevention, communication conflict and the like, and the NFC device is widely used for electronic identity recognition or data transmission. The technical characteristics enable the application range of the near field communication technology to be wide, and the near field communication technology is suitable for common electronic tags and meets high security requirements of financial IC cards and the like.
In the following embodiments of the present application, a process for establishing NFC connection between a first terminal and a second terminal includes:
The first terminal with the NFC function is close to the second terminal with the NFC function; the second terminal detects whether an NFC signal enters an NFC radio frequency field region of the second terminal; when detecting that an NFC signal enters an NFC radio frequency field zone, performing NFC communication according to NFC communication protocols supported by a first terminal and a second terminal; the first terminal establishes an access session with a second terminal, which allows the first terminal to access the network.
The network service of the present application may be various internet-based services such as a resource download service, an instant messaging service, a network game service, a network ticket booking service, an online payment service, etc.
In order to facilitate a clearer understanding of the technical solution of the present application, the following embodiments will be described from the perspective of the first terminal and the second terminal, respectively.
Fig. 1 is a flow chart of an information processing method according to an embodiment of the application. As shown in fig. 1, the method includes:
101. the NFC connection is established between the first terminal and the second terminal, and network connection exists between the second terminal and the network server.
102. The first terminal sends a service request to the second terminal through the NFC connection with the second terminal, so that the second terminal forwards the service request to the network server through the network connection with the network server to request to use the network service provided by the network server.
103. The first terminal receives service result information forwarded by the second terminal from the network server through NFC connection with the second terminal.
The present embodiment provides an information processing method, which is described from the perspective of a first terminal.
In this embodiment, when the first terminal needs to use the network service provided by the network server, it may first detect whether the first terminal can access the internet, so as to directly establish a network connection with the network server. For example, the first terminal may specifically detect its own network signal, and if the network signal is strong enough, determine that network connection may be directly established with the network server; if the network signal is weak or even no network signal exists, it is determined that the network connection cannot be established with the network server directly.
If the first terminal can directly establish network connection with the network server, it is preferable that the first terminal directly establishes network connection with the network server and sends a service request to the network server through the network connection with the network server to request to use the network service provided by the network server.
If the first terminal can not directly establish network connection with the network server, the first terminal establishes NFC connection with the second terminal, and the first terminal can access the network server through the second terminal due to network connection between the second terminal and the network server. Based on this, the first terminal may send a service request to the second terminal through the NFC connection with the second terminal; for the second terminal, after receiving the service request sent by the first terminal, forwarding the service request to the network server through network connection between the second terminal and the network server; the network server can acquire that the first terminal requests to use the network service through the service request, so that the network service is provided for the first terminal, and service result information is sent to the second terminal through network connection with the second terminal; the second terminal receives the service result information sent by the network server, and then sends the service result information from the network server to the first terminal through NFC connection with the first terminal; the first terminal receives service result information forwarded by the second terminal from the network server through NFC connection with the second terminal. Up to this point, the first terminal successfully uses the network service provided by the network server.
Specifically, the first terminal encapsulates the service request into load data conforming to the NFC communication protocol; the first terminal sends the encapsulated load data to the second terminal through NFC connection with the second terminal; and for the second terminal, the NFC connection with the first terminal is adopted to receive the load data sent by the first terminal, analyze the service request from the load data, and forward the service request to the network server through the network connection with the network server.
It should be noted that, under the condition that the first terminal can directly establish network connection with the network server, the first terminal can also be connected with the second terminal through NFC connection, and the second terminal is used for accessing the network server, so as to achieve the purpose of using the network service provided by the network server.
As can be seen from the foregoing, by adopting the method provided in this embodiment, even if the first terminal cannot access the internet, the network service provided by the network server can be used by the network where the second terminal is located, which is equivalent to providing a method for offline use of the network service based on NFC, so as to solve the problems existing in the prior art.
In an alternative embodiment, the first terminal sends a service request to the network server through the NFC connection with the second terminal, and the service request needs to be acquired before the service request is sent to the network server to use the network service provided by the network server.
In an embodiment of obtaining the service request, the first terminal may generate the service request according to an application requirement, where the service request includes information related to the network service, for example, the related information of the network service may be information capable of identifying the network service, or may be parameter information required when the network service is used, or the like.
In another embodiment of obtaining the service request, the second terminal may determine, according to the application requirement, information about the network service to be used; transmitting related information of the network service to the first terminal through NFC connection with the first terminal; the first terminal receives the related information of the network service sent by the second terminal through NFC connection with the second terminal, and generates a service request according to the related information of the network service. The service request may include information about the network service, for example, the information about the network service may be information capable of identifying the network service, or may be parameter information or the like required when using the network service.
In an optional application scenario, the first terminal may be a payment terminal, and the second terminal may be a cashier terminal; accordingly, the service request of the first terminal may be an online payment request, and the network service provided by the network server may be an online payment service. The application of the technical scheme of the application in the online payment scene will be described in detail in the following embodiments.
Fig. 2 is a flowchart of an information processing method according to another embodiment of the present application. As shown in fig. 2, the method includes:
201. The second terminal establishes NFC connection with the first terminal, and network connection exists between the second terminal and the network server.
202. The second terminal receives a service request sent by the first terminal and used for requesting to use the network service provided by the network server through NFC connection with the first terminal.
203. The second terminal forwards the service request to the network server through a network connection with the network server.
204. And the second terminal receives service result information returned by the network server through network connection with the network server.
205. And the second terminal forwards the service result information to the first terminal through NFC connection with the first terminal.
The present embodiment provides an information processing method, which is described from the viewpoint of a second terminal.
In this embodiment, there is a network connection between the second terminal and the network server, and an NFC connection is established with the first terminal. After establishing NFC connection with the first terminal, receiving a service request sent by the first terminal through the NFC connection with the first terminal, wherein the service request is used for indicating that the first terminal requests to use network services provided by a network server; then, the service request is forwarded to the network server through network connection with the network server, so that the network server can provide network service for the first terminal; the second terminal receives service result information returned by the network server through network connection with the network server, and then forwards the service result information to the first terminal through NFC connection with the first terminal.
As can be seen from the foregoing, by adopting the method provided in this embodiment, the second terminal supports to establish NFC connection with the first terminal, and performs, through connection with the network server, mutual transfer of messages from the first terminal and the network server, so that the first terminal may access the network server through the network where the second terminal is located, thereby achieving the purpose of using the network service provided by the network server. Therefore, even if the first terminal cannot access the internet, the network service provided by the network server can be used by the network where the second terminal is located, which is equivalent to providing a method for offline use of the network service based on NFC, and solves the problems existing in the prior art.
In an alternative embodiment, it is contemplated that the second terminal may establish an NFC connection with a terminal or server other than the first terminal and may receive messages sent by the other terminal or server over the NFC connection, and not all messages received over the NFC connection may need to be forwarded to the network server. For convenience of distinction, the second terminal may determine whether it is necessary to forward the service request to the network server before forwarding the service request to the network server through a network connection with the network server; when the judgment result is yes, executing the operation of forwarding the service request to the network server through the network connection with the network server; and when the judgment result is negative, the service request can be processed locally.
In a specific embodiment, the type of the message to be forwarded to the network server may be preset, which is simply referred to as forwarding type. Based on the above, the second terminal can specifically determine whether the message type to which the service request belongs to a preset forwarding type, and if so, determine that the service request needs to be forwarded to the network server; and when the judgment result is negative, determining that the service request does not need to be forwarded to the network server.
In another embodiment, the second terminal may negotiate with other terminals in advance to determine whether to allow other terminals to access the network through the second terminal, and locally save the terminal identification allowing access to the network through the second terminal. Based on the above, the second terminal can specifically determine whether the first terminal belongs to a preset terminal allowing access to the network through the second terminal; if the judgment result is yes, determining that the service request needs to be forwarded to the network server; and when the judgment result is negative, determining that the service request does not need to be forwarded to the network server. For example, the second terminal may match the locally stored identifier of the first terminal with the identifier of the terminal allowed to access the network through the second terminal, and if the identifier is matched, determine that the first terminal belongs to a preset terminal allowed to access the network through the second terminal; if the first terminal is not matched with the second terminal, determining that the first terminal does not belong to a preset terminal allowing the network access through the second terminal.
In the process that the second terminal receives a service request sent by the first terminal through NFC connection with the first terminal, the NFC connection between the second terminal and the first terminal is equivalent to a transmission channel between the second terminal and the first terminal, the second terminal is equivalent to an access point of a network where the second terminal is located, and an access function of an access network is provided for the first terminal; the second terminal provides the first terminal with access functionality, in particular, the second terminal is assigned a network interface to the first terminal, which is one of a plurality of network interfaces on the second terminal, and which may be connected to a network server.
Based on the above, the process of forwarding the service request to the network server by the second terminal through the network connection with the network server includes:
the second terminal routes the service request to a network interface on the second terminal corresponding to the network connection between the second terminal and the network server;
The second terminal sends the service request to the network server through the network interface.
The above routing manner depends on the network protocol used by the network where the second terminal is located, such as IP, ATM, etc. The application does not limit the network protocol of the network where the second terminal is located, and does not limit the routing method, and the routing method only needs to be capable of realizing the exchange or routing of data between the NFC channel and the network where the second terminal is located.
Specifically, the first terminal encapsulates the service request into load data conforming to the NFC communication protocol; the first terminal sends the encapsulated load data to the second terminal through NFC connection with the second terminal; for the second terminal, through NFC connection with the first terminal, load data sent by the first terminal is received, and a service request is analyzed from the load data; and the second terminal forwards or calculates the route of the service request according to the network protocol of the network, and then forwards according to the forwarding or route calculation result.
In an alternative embodiment, the first terminal and the second terminal have a traffic relation therebetween. Based on the above, the second terminal may acquire information related to the network service before receiving the request for using the network service provided by the network server sent by the first terminal through the NFC connection with the first terminal, and send the information related to the network service to the first terminal through the NFC connection with the first terminal, so that the first terminal generates a service request according to the information related to the network service. The service request may include information about the network service, for example, the information about the network service may be information capable of identifying the network service, or may be parameter information or the like required when using the network service.
Further, the second terminal may send service requirement information to the network server through a network connection with the network server, and receive related information of the network service returned by the network server according to the service requirement information. Wherein the second terminal may generate service requirement information according to the service content with the first terminal.
In an application scenario, a first terminal is a payment terminal, and a second terminal is a cashier terminal; accordingly, the service request of the first terminal is an online payment request, and the network service provided by the network server is an online payment service.
The application of the technical scheme of the application in the payment scene will be described in detail below. The off-line transaction develops a fire explosion, and both the Union, the bank and the third party payment mechanism are striving to preempt the scene and market of the off-line transaction. The off-line transaction has a plurality of scenes and payment modes, and each scene has various characteristics and applicable scenes. And the mobile phone of the user is used for paying off line like the payment wallet, so that the user is favored by the convenience of the user. However, when a user performs an offline transaction through a mobile phone, the mobile phone of the user is usually required to be in an online state (i.e., a networking state), and in real life, a situation of weak network or even no network coverage often exists. For example, in remote corners, large traffic, travel overseas, etc., it is common for users to be unable to directly access the internet network via a cell phone to conduct transactions. But typically the merchant's terminal is in an online state (i.e., networked state) in these scenarios. Based on the above, if the user can establish connection with the merchant terminal through the mobile phone, and perform online payment through the network connection between the merchant and the payment server, the payment success rate will be greatly improved.
Firstly, in the above-mentioned payment scenario, the mobile phone of the user may be implemented as the first terminal, which is called a payment terminal, and the payment terminal may be various, and here, a common mobile phone is taken as an example without losing generality; the merchant terminal can be realized as the second terminal, and is called a cashing terminal, such as a POS machine, and the cashing terminals of the merchant are also all thousands of times and are collectively called cashing terminals without losing generality; the payment servers in the background may be implemented as the network servers described above, and the payment system may be very complex, collectively referred to herein as the payment servers without loss of generality.
The main process of the payment terminal for payment through the cashier terminal is shown in fig. 3, specifically including:
301. when the user needs to access the indirect network through payment, the user approaches the payment terminal (mobile phone) to the near field communication sensing area of the cashier terminal of the merchant;
302. The payment terminal of the user and the cashier terminal establish NFC connection; after the NFC connection is established between the payment terminal and the cashier terminal of the user, the cashier terminal can provide indirect network service for the payment terminal of the user through the NFC connection;
303. the payment terminal sends an online payment request to the cashier terminal through NFC connection;
304. after receiving the online payment request through NFC connection, the cashing terminal forwards the online payment request to a payment server;
305. The payment server performs online payment processing according to the online payment request, wherein the online payment processing comprises security or wind control verification of necessary parameters, requires the payment terminal to perform password authorization and the like;
306. the payment server sends an online payment result to the cashier terminal through network connection with the cashier terminal;
307. And the cashier terminal sends the online payment result to the payment terminal through NFC connection.
Optionally, before the payment terminal sends the online payment request to the cashier terminal through the NFC connection, the following operations may be included:
The cashier inputs the transaction amount at the cashier terminal, inquires the consumer to select an online payment mode, and the consumer determines to use the online payment mode and explains the online payment mechanism used by the consumer. Such as a payment instrument. After determining that the consumer uses the online payment mode, the cashier terminal sends an order request to a service center of the online payment mechanism according to the payment interface requirement of the online payment mechanism (such as a payment treasury). And after receiving the order request, the service center of the online payment mechanism generates an order and returns an order message to the cashing terminal. Two communication modes can be provided between the cashing terminal and the online payment mechanism, namely, the cashing terminal is directly communicated through the Internet, and the cashing terminal is connected with the online payment mechanism for communication through a background system of the cashing mechanism.
Next, the consumer turns on the NFC functionality of the payment terminal and turns on the App of the online payment mechanism, when the payment terminal is in the NFC active connected state. The consumer establishes NFC connection with the cashier terminal by approaching the payment terminal to the NFC induction area of the cashier terminal.
After the NFC connection is established, the cashier terminal sends the order information acquired in the previous step to an App on the payment terminal through the NFC connection.
Optionally, at this time, the NFC connection between the payment terminal and the cashier terminal may be disconnected, and when the payment terminal needs to access the payment server through the cashier terminal, the connection is established again; or the NFC connection between the payment terminal and the cashier terminal may be maintained at all times.
And the App on the payment terminal jumps to the payment page of the order after receiving the order information, and the consumer clicks a payment button on the payment page of the order, so that an online payment request is formed. The order information may be regarded as related information of the network service in the above embodiment, where the related information mainly includes parameters required when using the online payment service, such as a payment amount, a payer account number, a payee account number, a transaction code, and the like.
It should be noted that the present application is not limited to a specific near field communication technology and communication mode, as long as data transmission can be achieved. In addition, besides adopting the NFC short-range communication mode, other short-range communication modes such as Bluetooth, sound waves, wiFi, infrared and the like can achieve the expected effect; the connection established by the first terminal and the second terminal in other short-range communication modes such as Bluetooth, sound wave, wiFi, infrared and the like can be adopted. Furthermore, the application also does not limit the communication protocol for establishing the NFC connection, and how the NFC connection adopts security algorithms such as encryption, signature and the like can be freely selected according to actual security requirements.
According to the online payment service provided by each online payment mechanism under the offline state through NFC support, the online payment success rate is improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
Fig. 4 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application. The apparatus may be implemented in a first terminal, which is a terminal that needs to use a network service provided by a network server. As shown in fig. 4, the apparatus includes: a connection establishment module 41, a transmission module 42 and a reception module 43.
The connection establishment module 41 is configured to establish an NFC connection with a second terminal, where a network connection exists between the second terminal and the network server.
The sending module 42 is configured to send a service request to the second terminal through the NFC connection with the second terminal established by the connection establishing module 41, so that the second terminal forwards the service request to the network server through the network connection with the network server, so as to request to use the network service provided by the network server.
The receiving module 43 is configured to receive, through the NFC connection with the second terminal established by the connection establishing module 41, service result information forwarded by the second terminal from the network server.
In an alternative embodiment, the receiving module 43 is further configured to: before the sending module 42 sends a service request to the second terminal through the NFC connection with the second terminal established by the connection establishing module 41, the sending module receives information about the network service sent by the second terminal through the NFC connection with the second terminal, and generates the service request according to the information about the network service.
In an optional application scenario, the first terminal may be a payment terminal, and the second terminal may be a cashier terminal; accordingly, the service request of the first terminal may be an online payment request, and the network service provided by the network server may be an online payment service.
The information processing device provided in this embodiment is implemented in a first terminal, and by establishing NFC connection with a second terminal, the first terminal may send a service request to the second terminal through NFC connection with the second terminal, so that the second terminal may forward the service request to the network server through network connection with the network server, and receive service result information forwarded by the second terminal from the network server through NFC connection with the second terminal, thereby achieving the purpose of using the network service provided by the network server. Therefore, by adopting the information processing device provided by the embodiment, even if the first terminal cannot access the internet, the network service provided by the network server can be used by the network where the second terminal is located, so that the problems existing in the prior art are solved.
Fig. 5 is a schematic structural diagram of an information processing apparatus according to another embodiment of the present application. The apparatus may be implemented in a second terminal, a network connection being present between the second terminal and the network server. As shown in fig. 5, the apparatus includes: a connection establishment module 51, a receiving module 52 and a transmitting module 53.
The connection establishment module 51 is configured to establish an NFC connection with a first terminal, and a network connection exists between a second terminal and a network server.
The receiving module 52 is configured to receive, through the NFC connection with the first terminal established by the connection establishing module 51, a service request sent by the first terminal for requesting to use a network service provided by the network server.
A sending module 53, configured to forward the service request to the network server through the network connection with the network server established by the connection establishment module 51.
The receiving module 52 is further configured to receive service result information returned by the network server through a network connection with the network server.
The sending module 53 is further configured to forward the service result information to the first terminal through an NFC connection with the first terminal.
In an alternative embodiment, the information processing apparatus further includes: and a judging module.
And a judging module, configured to judge whether the service request needs to be forwarded to the network server, and when the judgment result is yes, trigger the sending module 53 to perform an operation of forwarding the service request to the network server through a network connection with the network server.
Further, the judging module is specifically configured to: judging whether the message type of the service request belongs to a preset forwarding type or not, or judging whether the first terminal belongs to a preset terminal allowing the network access through the second terminal or not; when the judgment result is yes, determining that the service request needs to be forwarded to the network server; and when the judgment result is negative, determining that the service request does not need to be forwarded to the network server.
In an alternative embodiment, the sending module 53, when configured to forward the service request to the network server through a network connection with the network server, is specifically configured to:
Routing the service request to a network interface on the second terminal corresponding to a network connection between the second terminal and the network server; the service request is sent to the network server via the network interface.
In an alternative embodiment, the information processing apparatus further includes: and an acquisition module.
And the acquisition module is used for acquiring the related information of the network service.
Based on this, the sending module is further configured to send, to the first terminal, related information of the network service through the NFC connection with the first terminal, so that the first terminal generates a service request according to the related information of the network service.
Further, the obtaining module may specifically be configured to: and sending service demand information to the network server through network connection with the network server, and receiving relevant information of the network service returned by the network server according to the service demand information.
In an optional application scenario, the first terminal may be a payment terminal, and the second terminal may be a cashier terminal; accordingly, the service request of the first terminal may be an online payment request, and the network service provided by the network server may be an online payment service.
The information processing device provided in this embodiment is located in the second terminal, and is implemented by establishing NFC connection with the first terminal, so that the first terminal may send a service request through NFC connection with the second terminal, forward the service request to the network server through network connection with the network server, and forward service result information from the network server to the first terminal through NFC connection with the first terminal, thereby achieving the purpose of using the network service provided by the network server. Therefore, by adopting the information processing device provided by the embodiment, even if the first terminal cannot access the internet, the network service provided by the network server can be used by the network where the second terminal is located, so that the problems existing in the prior art are solved.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (7)

1. The payment method is applied to a payment terminal and comprises the following steps:
after NFC connection is established with the cashier terminal, order information provided by the cashier terminal is received;
Receiving the order information and jumping to a payment page of the order;
generating an online payment request according to the operation of the user on the payment page;
Transmitting the online payment request to a web server providing an online payment service in a case that the payment terminal is in a networking state;
When the payment terminal is in an networking-free state, sending the online payment request to the cashier terminal through the NFC connection so as to request the network server to perform online payment processing according to the online payment request and provide online payment service;
The cashier terminal is used for judging whether an online payment request needs to be forwarded to the network server or not; when the judgment result is yes, executing the operation of forwarding the online payment request to the network server through the network connection with the network server; when the judging result is negative, processing the online payment request locally;
the determining whether the online payment request needs to be forwarded to the network server includes:
the cashier terminal judges whether the message type of the online payment request belongs to a preset forwarding type or whether the payment terminal belongs to a preset terminal allowing the network access through the cashier terminal, and if so, the online payment request needs to be forwarded to the network server; when the judgment result is negative, determining that the online payment request does not need to be forwarded to the network server;
The cashing terminal distributes a network interface for the payment terminal, wherein the network interface is one of a plurality of network interfaces on the cashing terminal, the network interface is connected with a network server, the cashing terminal routes an online payment request to the network interface, and then sends the online payment request to the network server through the network interface, and the routing mode depends on a network protocol of the cashing terminal;
wherein the online payment request is also generated by: receiving online payment service information sent by a cashing terminal through NFC connection established with the cashing terminal, and generating an online payment request according to the online payment service information, wherein the online payment service information is obtained by the following modes: the cashing terminal sends service demand information to the network server through network connection with the network server, and receives online payment service information returned by the network server according to the service demand information.
2. The method of claim 1, after the step of receiving order information provided by the cashier terminal after establishing the NFC connection with the cashier terminal, the method further comprising:
and disconnecting the NFC connection with the cashier terminal.
3. The method of claim 1, the online payment process comprising requiring cryptographic authorization by the payment terminal.
4. The method of claim 1, the method further comprising: and receiving the online payment result information forwarded by the cashier terminal from the network server through the NFC connection.
5. The payment method is applied to a payment terminal and comprises the following steps:
after NFC connection is established with the cashier terminal, order information provided by the cashier terminal is received;
Receiving the order information and jumping to a payment page of the order;
generating an online payment request according to the operation of the user on the payment page;
The online payment request is sent to the cashier terminal through NFC connection with the cashier terminal, so that a network server is requested to conduct online payment processing according to the online payment request and provide online payment service;
The cashier terminal is used for judging whether an online payment request needs to be forwarded to the network server or not; when the judgment result is yes, executing the operation of forwarding the online payment request to the network server through the network connection with the network server; when the judging result is negative, processing the online payment request locally;
the determining whether the online payment request needs to be forwarded to the network server includes:
the cashier terminal judges whether the message type of the online payment request belongs to a preset forwarding type or whether the payment terminal belongs to a preset terminal allowing the network access through the cashier terminal, and if so, the online payment request needs to be forwarded to the network server; when the judgment result is negative, determining that the online payment request does not need to be forwarded to the network server;
The cashing terminal distributes a network interface for the payment terminal, wherein the network interface is one of a plurality of network interfaces on the cashing terminal, the network interface is connected with a network server, the cashing terminal routes an online payment request to the network interface, and then sends the online payment request to the network server through the network interface, and the routing mode depends on a network protocol of the cashing terminal;
Wherein the online payment request is also generated by: receiving online payment service information sent by a cashing terminal through NFC connection established with the cashing terminal, and generating an online payment request according to the online payment service information, wherein the online payment service information is obtained by the following modes: the cashing terminal sends service demand information to the network server through network connection with the network server, and receives online payment service information returned by the network server according to the service demand information.
6. The method of claim 5, after the step of receiving order information provided by the cashier terminal after establishing the NFC connection with the cashier terminal, the method further comprising: the payment terminal and the cashier terminal are disconnected with NFC;
Correspondingly, the step of sending the online payment request to the cashier terminal through the NFC connection with the cashier terminal comprises the step of establishing NFC connection between the payment terminal and the cashier terminal.
7. The method of claim 5, the online payment process comprising requiring cryptographic authorization by the payment terminal.
CN202110263663.2A 2015-06-23 Information processing method and device Active CN113115285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110263663.2A CN113115285B (en) 2015-06-23 Information processing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110263663.2A CN113115285B (en) 2015-06-23 Information processing method and device
CN201510354882.6A CN106332119B (en) 2015-06-23 2015-06-23 Information processing method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510354882.6A Division CN106332119B (en) 2015-06-23 2015-06-23 Information processing method and device

Publications (2)

Publication Number Publication Date
CN113115285A CN113115285A (en) 2021-07-13
CN113115285B true CN113115285B (en) 2024-06-07

Family

ID=

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546401A (en) * 2008-03-28 2009-09-30 海尔集团公司 Electronic payment method and system based on NFC mobile terminal
WO2009129749A1 (en) * 2008-04-24 2009-10-29 北京爱奥时代信息科技有限公司 Mobile phone payment method, system and terminal
CN201477631U (en) * 2009-08-25 2010-05-19 福建富士通信息软件有限公司 electronic wallet payment system of RFID mobile
CN101742469A (en) * 2009-11-24 2010-06-16 候万春 System and method for controlling mobile phone RFID non-contact transaction attribution
CN102081769A (en) * 2009-11-27 2011-06-01 阿里巴巴集团控股有限公司 Method and system for processing payment data, payment terminal and payment server
CN102187356A (en) * 2008-10-15 2011-09-14 索尼爱立信移动通讯有限公司 Near field communication search for mobile communication devices
WO2012069425A1 (en) * 2010-11-22 2012-05-31 Anyfi Networks Ab Automatic remote access to ieee 802.11 networks
CN102521744A (en) * 2011-12-26 2012-06-27 中兴通讯股份有限公司 Network payment method and apparatus thereof
KR20130070510A (en) * 2011-12-19 2013-06-27 주식회사 하렉스인포텍 System and method for payment using portable terminal, and storage medium recording program for implementing method thereof
KR101330943B1 (en) * 2012-12-10 2013-11-26 신한카드 주식회사 Transaction method using one time card information
CN103514536A (en) * 2012-06-28 2014-01-15 马克西姆综合产品公司 Secure payments with untrusted devices
CN103927655A (en) * 2014-05-04 2014-07-16 谢宇杰 Smart device payment method and system based on Bluetooth
WO2014166519A1 (en) * 2013-04-08 2014-10-16 Bonsignore Antonio Salvatore Piero Vittorio A qualified electronic signature system, method and mobile processing terminal for qualified electronic signature
CN104144379A (en) * 2014-04-22 2014-11-12 腾讯科技(深圳)有限公司 Service data processing method, user terminal and service terminal
KR20150011473A (en) * 2013-07-23 2015-02-02 권형석 NFC Tag with NFC Phone book contacts, orders, payments, and that by using the method of service
CN104463576A (en) * 2014-11-26 2015-03-25 深圳市智惠付信息技术有限公司 NFC mobile payment communication method based on online payment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546401A (en) * 2008-03-28 2009-09-30 海尔集团公司 Electronic payment method and system based on NFC mobile terminal
WO2009129749A1 (en) * 2008-04-24 2009-10-29 北京爱奥时代信息科技有限公司 Mobile phone payment method, system and terminal
CN102187356A (en) * 2008-10-15 2011-09-14 索尼爱立信移动通讯有限公司 Near field communication search for mobile communication devices
CN201477631U (en) * 2009-08-25 2010-05-19 福建富士通信息软件有限公司 electronic wallet payment system of RFID mobile
CN101742469A (en) * 2009-11-24 2010-06-16 候万春 System and method for controlling mobile phone RFID non-contact transaction attribution
CN102081769A (en) * 2009-11-27 2011-06-01 阿里巴巴集团控股有限公司 Method and system for processing payment data, payment terminal and payment server
WO2012069425A1 (en) * 2010-11-22 2012-05-31 Anyfi Networks Ab Automatic remote access to ieee 802.11 networks
KR20130070510A (en) * 2011-12-19 2013-06-27 주식회사 하렉스인포텍 System and method for payment using portable terminal, and storage medium recording program for implementing method thereof
CN102521744A (en) * 2011-12-26 2012-06-27 中兴通讯股份有限公司 Network payment method and apparatus thereof
CN103514536A (en) * 2012-06-28 2014-01-15 马克西姆综合产品公司 Secure payments with untrusted devices
KR101330943B1 (en) * 2012-12-10 2013-11-26 신한카드 주식회사 Transaction method using one time card information
WO2014166519A1 (en) * 2013-04-08 2014-10-16 Bonsignore Antonio Salvatore Piero Vittorio A qualified electronic signature system, method and mobile processing terminal for qualified electronic signature
KR20150011473A (en) * 2013-07-23 2015-02-02 권형석 NFC Tag with NFC Phone book contacts, orders, payments, and that by using the method of service
CN104144379A (en) * 2014-04-22 2014-11-12 腾讯科技(深圳)有限公司 Service data processing method, user terminal and service terminal
CN103927655A (en) * 2014-05-04 2014-07-16 谢宇杰 Smart device payment method and system based on Bluetooth
CN104463576A (en) * 2014-11-26 2015-03-25 深圳市智惠付信息技术有限公司 NFC mobile payment communication method based on online payment

Similar Documents

Publication Publication Date Title
CN106332119B (en) Information processing method and device
AU2018202542B2 (en) Automated account provisioning
US10902421B2 (en) Provisioning payment credentials to a consumer
KR102646565B1 (en) Processing electronic tokens
CN113169971A (en) Secure extended distance application data exchange
CA2971865A1 (en) A system, method, and apparatus for locating a bluetooth enabled transaction card
WO2017020618A1 (en) Electronic resource processing method and apparatus
CN103577983A (en) Load method of electronic currency for off-line consumption
US9549322B2 (en) Methods and systems for authentication of a communication device
CN110070357B (en) Data processing method, device and system
US20170357798A1 (en) Removal of credentials from an electronic device
US20150317621A1 (en) Working Mode Negotiating Method, Device, and System
EP3424230B1 (en) Mid-range reader interactions
US20220104102A1 (en) Proximity device network
CN113115285B (en) Information processing method and device
WO2016151056A1 (en) Authentication for mobile transactions
US20190156334A1 (en) System and method for providing anonymous payments
Lerner Mobile Technology and Security
CN117611147A (en) Offline payment method, device, equipment and storage medium
Çabuk et al. WIDIPAY: A CROSS-LAYER DESIGN FOR MOBILE PAYMENT SYSTEM OVER LTE DIRECT

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant