CN106332119B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN106332119B
CN106332119B CN201510354882.6A CN201510354882A CN106332119B CN 106332119 B CN106332119 B CN 106332119B CN 201510354882 A CN201510354882 A CN 201510354882A CN 106332119 B CN106332119 B CN 106332119B
Authority
CN
China
Prior art keywords
terminal
online payment
network
network server
connection
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
CN201510354882.6A
Other languages
Chinese (zh)
Other versions
CN106332119A (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
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN202110263663.2A priority Critical patent/CN113115285B/en
Priority to CN201510354882.6A priority patent/CN106332119B/en
Publication of CN106332119A publication Critical patent/CN106332119A/en
Application granted granted Critical
Publication of CN106332119B publication Critical patent/CN106332119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides an information processing method and device. One method comprises the following steps: the method comprises the following steps that a first terminal and a second terminal establish Near Field Communication (NFC) connection, 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 between the first terminal and the second terminal, so that the second terminal forwards the service request to the network server through network connection between the second terminal and the network server to request to use network service provided by the network server; and the first terminal receives the service result information from the network server forwarded by the second terminal through the NFC connection with the second terminal. The method and the device can solve the problem that the user cannot use the network service under the condition of weak network or no network coverage.

Description

Information processing method and device
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of communications technologies, and in particular, to an information processing method and apparatus.
[ background of the invention ]
With the development of terminal technology, mobile terminals are diversified, such as mobile phones, game machines, tablet computers, mobile computers, multimedia players and the like, the screens of the mobile terminals are larger and higher, the performance of the mobile terminals is higher and higher, and users can use network services through the mobile terminals more and more conveniently. For example, the user may use an online payment service provided by an online payment application through a cell phone.
However, in real life there are often situations of weak networks or even no network coverage. For example, in remote corners, large-sized people flows, outdoor travel, etc., the user often cannot access the internet directly through the mobile terminal, and thus cannot use the network service.
[ summary of the invention ]
Aspects of the present application provide an information processing method and apparatus, so as to solve a problem that a user cannot use a network service in a weak network or no network coverage.
In one aspect of the present application, an information processing method is provided, including:
the method comprises the steps that a first terminal and a second terminal establish Near Field Communication (NFC) connection, 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 between the first terminal and the second terminal, so that the second terminal forwards the service request to the network server through network connection between the second terminal and the network server to request to use network service provided by the network server;
and the first terminal receives the service result information from the network server forwarded by the second terminal through the NFC connection with the second terminal.
In another aspect of the present application, an information processing method is provided, including:
the method comprises the steps that a second terminal and a first terminal establish Near Field Communication (NFC) connection, and network connection exists between the second terminal and a network server;
the second terminal receives a service request which is 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 the NFC connection between the second terminal and the first terminal.
In another aspect of the present application, an information processing apparatus implemented in a first terminal includes:
the connection establishing module is used for establishing Near Field Communication (NFC) connection with a second terminal, and network connection exists between the second terminal and a network server;
the sending module is used for sending a service request to the second terminal through the NFC connection between the second terminal and the network server, so that the second terminal forwards the service request to the network server through the network connection between the second terminal and the network server to request to use the network service provided by the network server;
and the receiving module is used for receiving the service result information from the network server forwarded by the second terminal through the NFC connection with the second terminal.
In another aspect of the present application, there is provided an information processing apparatus implemented in a second terminal, the apparatus including:
the connection establishing module is used for establishing Near Field Communication (NFC) connection with a first terminal, and network connection exists between a second terminal and a network server;
a receiving module, configured to receive, through an NFC connection with the first terminal, a service request sent by the first terminal to request to use a network service provided by the network server;
a sending module, configured to forward the service request to the network server through a network connection with the network server;
the receiving module is also used for receiving the service result information returned by the network server through the network connection with the network server;
the sending module is further configured to forward the service result information to the first terminal through an NFC connection with the first terminal.
In the application, when the first terminal needs to use the network service provided by the network server, the first terminal establishes an NFC connection with the second terminal, and the first terminal sends the 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 from the network server, which is forwarded by the second terminal, 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 surf the internet, the network service provided by the network server can be used, and the problems in the prior art are solved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an information processing method according to another embodiment of the present application;
fig. 3 is a schematic flowchart of an NFC-based offline payment method according to an embodiment of the present application;
fig. 4 is a schematic structural 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 ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Aiming at the problem that a user cannot use network service through a mobile terminal of the user under the condition of weak network or even no network coverage in the prior art, the application provides an information processing method which is used for realizing that the user can still access the internet and use the network service through the mobile terminal under the condition of weak network or even no network coverage in the mobile terminal of the user.
The main ideas of the technical scheme are as follows: near Field Communication (NFC) connection is established between a first terminal and a second terminal, and the first terminal accesses a network server through the second terminal having network connection with the network server, thereby using a network service provided by the network server. The first terminal and the second terminal are provided with NFC modules and can perform NFC communication. The first terminal or the second terminal may be a mobile phone with an NFC module, a notebook, a desktop, a tablet, or other communication-capable device.
Among them, NFC is a close-range wireless communication technology. The NFC characteristic of close range makes it have advantages such as preventing signal interference, communication conflict, is used for electronic identification or data transmission on a large scale. The technical characteristics enable the near field communication technology to be wide in application range, and the near field communication technology is suitable for common electronic tags and can meet high-safety requirement scenes such as financial IC cards.
In the following embodiments of the present application, a process of establishing an 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 of the second terminal; when detecting that an NFC signal enters an NFC radio frequency field region, carrying out NFC communication according to NFC communication protocols supported by the first terminal and the 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 can be various services implemented based on the internet, such as a resource download service, an instant messaging service, a network game service, a network ticket booking service, an online payment service, and the like.
In order to make the technical solution of the present application more clearly understood, the following embodiments will be described from the perspective of the first terminal and the second terminal, respectively.
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application. As shown in fig. 1, the method includes:
101. the first terminal and the second terminal establish NFC connection, and network connection exists between the second terminal and the network server.
102. The first terminal sends the service request to the second terminal through the NFC connection between the first terminal and the second terminal, so that the second terminal forwards the service request to the network server through the network connection between the second terminal and the network server to request to use the network service provided by the network server.
103. And the first terminal receives the service result information from the network server forwarded by the second terminal through the 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, it is determined that a network connection may be directly established with the network server; and if the network signal is weak or even no network signal exists, determining that the network connection cannot be directly established with the network server.
If the first terminal can directly establish network connection with the network server, it is preferable that the first terminal directly establish network connection with the network server and send 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 cannot directly establish network connection with the network server, the first terminal establishes NFC connection with the second terminal, and the second terminal is in network connection with the network server, so that the first terminal can access the network server through the second terminal. Based on this, the first terminal can 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, then provides the network service for the first terminal, and sends service result information 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 the NFC connection between the second terminal and the first terminal; and the first terminal receives the service result information from the network server forwarded by the second terminal through the NFC connection with the second terminal. By this point, the first terminal has successfully used 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 packaged load data to the second terminal through NFC connection between the first terminal and the second terminal; for the second terminal, the load data sent by the first terminal is received through the NFC connection with the first terminal, the service request is analyzed from the load data, and the service request is forwarded 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 a network connection with the network server, the first terminal can also be connected with the second terminal through NFC, and the second terminal accesses 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 above, with the method provided in this embodiment, even if the first terminal cannot surf the internet, the network service provided by the network server can be used through the network where the second terminal is located, which is equivalent to providing a method for using the network service offline based on NFC, and thus the problems in the prior art are solved.
In an optional embodiment, the first terminal sends the service request to the network server through the NFC connection with the second terminal, so that the service request needs to be acquired before the network service provided by the network server is used.
In one embodiment of obtaining the service request, the first terminal may generate the service request according to application requirements, where the service request includes information related to the network service, for example, the information related to 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 related to the network service that needs 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 the NFC connection between the first terminal and the second terminal, and generates a service request according to the related information of the network service. The service request may include information related to the network service, for example, the information related to 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 cash register 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 solution of the present application in an online payment scenario will be described in detail in the following embodiments.
Fig. 2 is a schematic flowchart of an information processing method according to another embodiment of the present application. As shown in fig. 2, the method includes:
201. and the second terminal establishes NFC connection with the first terminal, and network connection exists between the second terminal and the network server.
202. And the second terminal receives a service request which is sent by the first terminal and used for requesting to use the network service provided by the network server through the NFC connection with the first terminal.
203. The second terminal forwards the service request to the network server through the network connection with the network server.
204. And the second terminal receives the service result information returned by the network server through the network connection with the network server.
205. And the second terminal forwards the service result information to the first terminal through the NFC connection between the second terminal and the first terminal.
The present embodiment provides an information processing method, which is described from the perspective of the second terminal.
In this embodiment, a network connection exists between the second terminal and the network server, and an NFC connection is established with the first terminal. After the NFC connection is established 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 a network service provided by a network server; then, the service request is forwarded to a network server through network connection between the first terminal and the network server, so that the network server can provide network service for the first terminal; and the second terminal receives the service result information returned by the network server through the network connection with the network server, and then forwards the service result information to the first terminal through the NFC connection with the first terminal.
As can be seen from the above, with the method provided in this embodiment, the second terminal supports establishing an NFC connection with the first terminal, and performs mutual conversion on messages from the first terminal and the network server through the connection with the network server, so that the first terminal can 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 surf the internet, the network service provided by the network server can be used through the network where the second terminal is located, which is equivalent to providing a method for using the network service offline based on NFC, and solving the problems in the prior art.
In an alternative embodiment, considering that the second terminal may establish an NFC connection with another terminal or server other than the first terminal and may receive messages sent by the other terminal or server through the NFC connection, not all messages received through the NFC connection may need to be forwarded to the network server. For the convenience of distinguishing, before the second terminal forwards the service request to the network server through the network connection between the second terminal and the network server, whether the service request needs to be forwarded to the network server or not can be judged; if so, executing the operation of forwarding the service request to the network server through the network connection with the network server; 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, which is referred to as a forwarding type for short, may be preset. Based on this, the second terminal can specifically judge whether the message type to which the service request belongs to a preset forwarding type, and when the judgment result is yes, it is determined 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 and the other terminals may negotiate in advance to determine whether to allow the other terminals to access the network through the second terminal, and locally store the terminal identifications allowing the other terminals to access the network through the second terminal. Based on this, the second terminal may specifically determine whether the first terminal belongs to a preset terminal that allows the second terminal to access the network; if so, 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 identifier of the first terminal with a locally stored identifier of a terminal that allows the second terminal to access the network, and if the identifier of the first terminal is matched with the identifier of the terminal that allows the second terminal to access the network, it is determined that the first terminal belongs to a preset terminal that allows the second terminal to access the network; and 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 second terminal to access the network.
In the process that a second terminal receives a service request sent by a first terminal through NFC connection between the second terminal and 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, and the second terminal is equivalent to an access point of a network where the second terminal is located, so that an access function of accessing the network is provided for the first terminal; the second terminal provides access to the first terminal by assigning a network interface to the first terminal, the network interface being one of a plurality of network interfaces on the second terminal and being connectable to the network server.
Based on the above, the process of the second terminal forwarding the service request to the network server 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 a network connection between the second terminal and the network server;
and the second terminal sends the service request to a 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, e.g. 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 realize 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 packaged load data to the second terminal through NFC connection between the first terminal and the second terminal; for the second terminal, through NFC connection with the first terminal, receiving load data sent by the first terminal, and analyzing a service request from the load data; and the second terminal forwards the service request or calculates the route according to the network protocol of the network in which the second terminal is positioned, and then forwards the service request according to the result of the forwarding or route calculation.
In an alternative embodiment, the first terminal and the second terminal have a business relationship therebetween. Based on this, the second terminal may obtain the related information of the network service before receiving the request for using the network service provided by the network server, which is sent by the first terminal, through the NFC connection with the first terminal, and send the related information of the network service to the first terminal through the NFC connection with the first terminal, so that the first terminal generates the service request according to the related information of the network service. The service request may include information related to the network service, for example, the information related to 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 the service requirement information to the network server through a network connection with the network server, and receive the related information of the network service returned by the network server according to the service requirement information. The second terminal can generate the 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 cash register terminal; correspondingly, 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 solution of the present application in a payment scenario will be described in detail below. The offline transaction develops a fire explosion, and the bank, the bank and a third party payment mechanism all strive to seize the scene and the market of the offline transaction. The scenes and payment modes of the offline transaction are numerous and have various characteristics and applicable scenes. And the off-line payment through the mobile phone of the user, like the payment wallet, is very popular among many users due to the convenience. 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 weak network or even no network coverage is often present. For example, in remote corners, large-sized people-flow shopping malls, outdoor travel, etc., it often happens that users cannot directly access the internet network through mobile phones to conduct transactions. However, it is common in these scenarios for the merchant's terminal to be in an online state (i.e., networked state). Based on this, if the user can establish connection with the terminal of the merchant through the mobile phone of the user and carry out online payment through network connection between the merchant and the payment server, the payment success rate can be greatly improved.
First, in the above 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, without loss of generality, a commonly used mobile phone is taken as an example; the terminal of the merchant may be implemented as the second terminal, which is called a cash register terminal, such as a POS, and the cash register terminals of the merchant are also called cash register terminals in various seasons, and are collectively referred to as cash register terminals without loss of generality; the background payment server may be implemented as the above-mentioned web server, and the payment system may be very complex, and is herein collectively referred to as the payment server without loss of generality.
The main process of the payment terminal for payment through the cash register terminal is shown in fig. 3, and specifically includes:
301. when a user needs to perform indirect network access through payment, the user enables a payment terminal (mobile phone) to be close to a near field communication induction area of a cash register terminal of a merchant;
302. the method comprises the steps that NFC connection is established between a payment terminal and a cash register terminal of a user; after the payment terminal of the user is connected with the cash register terminal in an NFC mode, the cash register terminal can be responsible for providing 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 cash register terminal through NFC connection;
304. after receiving the online payment request through NFC connection, the cashier terminal forwards the online payment request to a payment server;
305. the payment server carries out online payment processing according to the online payment request, wherein the online payment processing comprises security or wind control verification of necessary parameters, and a payment terminal is required to carry out password authorization and the like;
306. the payment server is connected with the cash register terminal through a network and sends an online payment result to the cash register 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 cash register 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 pay-for-treasure. After determining that the consumer uses the online payment mode, the cashier terminal sends an order request to a service center of an online payment mechanism (such as a payment treasure) according to the requirement of a payment interface of the online payment mechanism. And the service center of the online payment mechanism generates an order after receiving the order request and returns an order message to the cash register terminal. The cash terminal and the online payment mechanism can be in two communication modes, namely, the cash terminal is directly communicated through the internet, and the cash terminal is connected with the online payment mechanism through a background system of the acquiring mechanism for communication.
Next, the consumer opens the NFC functionality of the payment terminal and opens the App of the online payment mechanism, at which point the payment terminal is in an NFC active connection state. The consumer makes the payment terminal close to the NFC induction area of the cash register terminal and establishes NFC connection with the cash register terminal.
And after the NFC connection is established, the cashier terminal sends the order information acquired in the previous step to the App on the payment terminal through the NFC connection.
Optionally, at this time, the NFC connection between the payment terminal and the cash register terminal may be disconnected, and when the payment terminal needs to access the payment server through the cash register terminal, the NFC connection is established again; alternatively, the NFC connection between the payment terminal and the checkout terminal may be maintained at all times.
And the App on the payment terminal jumps to a 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, a cashier account, a transaction code, and the like.
It should be noted that the present application is not limited to specific near field communication technologies and communication modes as long as data transmission can be achieved. In addition, except for the short-range communication mode of NFC, other short-range communication modes such as Bluetooth, sound wave, WiFi and infrared can also achieve the expected effect; the first terminal and the second terminal may adopt bluetooth, sound wave, WiFi, infrared and other short-range communication modes to establish connection. Moreover, the communication protocol for establishing the NFC connection is not limited, and how the NFC connection adopts security algorithms such as encryption and signature can be freely selected according to actual security requirements.
Therefore, the NFC supports the user to use the online payment service provided by each online payment mechanism in an offline state, and the payment success rate is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, 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 establishing module 41, a sending module 42 and a receiving module 43.
And a connection establishing module 41, configured to establish an NFC connection with the second terminal, where a network connection exists between the second terminal and the network server.
A sending module 42, configured to send a service request to the second terminal through the NFC connection established with the second terminal by the connection establishing module 41, so that the second terminal forwards the service request to the web server through the network connection with the web server to request to use the web service provided by the web server.
A receiving module 43, configured to receive, through the NFC connection established with the second terminal by the connection establishing module 41, the 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 the service request to the second terminal through the NFC connection with the second terminal established by the connection establishing module 41, the relevant information of the network service sent by the second terminal is received through the NFC connection with the second terminal, and the service request is generated according to the relevant information of the network service.
In an optional application scenario, the first terminal may be a payment terminal, and the second terminal may be a cash register 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 apparatus provided in this embodiment is implemented in a first terminal, and establishes an NFC connection with a second terminal, so that the first terminal can send a service request to the second terminal through the NFC connection with the second terminal, so that the second terminal can forward the service request to a web server through the web connection with the web server, and receive service result information from the web server, which is forwarded by the second terminal, through the NFC connection with the second terminal, to achieve a purpose of using a web service provided by the web server. Therefore, with the information processing device provided by the embodiment, even if the first terminal cannot surf the internet, the network service provided by the network server can be used through the network where the second terminal is located, and the problems 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, where a network connection exists between the second terminal and a network server. As shown in fig. 5, the apparatus includes: a connection establishing module 51, a receiving module 52 and a sending module 53.
And a connection establishing module 51, configured to establish an NFC connection with the first terminal, where a network connection exists between the second terminal and the network server.
A receiving module 52, configured to receive, through the NFC connection established with the first terminal by the connection establishing module 51, a service request sent by the first terminal to request to use a network service provided by the network server.
A sending module 53, configured to forward the service request to the web server through the network connection established with the web server by the connection establishing 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 optional embodiment, the information processing apparatus further comprises: 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 execute 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 second terminal to access the network 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 optional embodiment, the sending module 53, when configured to forward the service request to the web server through a network connection with the web 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 a network server through a network interface.
In an optional embodiment, the information processing apparatus further comprises: 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, through NFC connection with the first terminal, relevant information of the network service to the first terminal, so that the first terminal generates a service request according to the relevant information of the network service.
Further, the acquisition module may be specifically configured to: and sending the service requirement information to the network server through network connection with the network server, and receiving the related information of the network service returned by the network server according to the service requirement information.
In an optional application scenario, the first terminal may be a payment terminal, and the second terminal may be a cash register 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 apparatus provided in this embodiment is implemented in the second terminal, and establishes an NFC connection with the first terminal, so that the first terminal can send a service request through the NFC connection with the second terminal, forward the service request to the web server through the network connection with the web server, and forward service result information from the web server to the first terminal through the NFC connection with the first terminal, thereby achieving an objective of using a web service provided by the web server. Therefore, with the information processing device provided by the embodiment, even if the first terminal cannot surf the internet, the network service provided by the network server can be used through the network where the second terminal is located, and the problems in the prior art are solved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. An information processing method characterized by comprising:
the method comprises the steps that a first terminal and a second terminal establish Near Field Communication (NFC) connection, and network connection exists between the second terminal and a network server;
the first terminal receives relevant information of online payment service acquired and sent by the second terminal from the network server according to application requirements through NFC connection with the second terminal, and generates an online payment request according to the relevant information of the online payment service, wherein the generated online payment request comprises the relevant information of the online payment service;
the first terminal sends the online payment request to the second terminal through NFC connection between the first terminal and the second terminal, so that the second terminal forwards the online payment request to the network server through network connection between the second terminal and the network server to request the network server to perform online payment processing according to the online payment request and provide online payment service, wherein the online payment processing comprises password authorization required by the first terminal;
the first terminal receives online payment result information from the network server forwarded by the second terminal through NFC connection with the second terminal;
the first terminal is a payment terminal, and the second terminal is a cash register terminal.
2. An information processing method characterized by comprising:
the method comprises the steps that a second terminal and a first terminal establish Near Field Communication (NFC) connection, and network connection exists between the second terminal and a network server;
the second terminal acquires relevant information of online payment service from the network server according to application requirements, and sends the relevant information of the online payment service to the first terminal through NFC connection between the second terminal and the first terminal, so that the first terminal can generate the online payment request according to the relevant information of the online payment service, wherein the generated online payment request comprises the relevant information of the online payment service;
the second terminal receives an online payment request which is sent by the first terminal and used for requesting to use the online payment service provided by the network server through NFC connection with the first terminal;
the second terminal forwards the online payment request to the network server through network connection with the network server so as to request the network server to perform online payment processing according to the online payment request and provide online payment service, wherein the online payment processing comprises the step of requiring the first terminal to perform password authorization;
the second terminal receives online payment result information returned by the network server through network connection with the network server;
the second terminal forwards the online payment result information to the first terminal through NFC connection between the second terminal and the first terminal;
the first terminal is a payment terminal, and the second terminal is a cash register terminal.
3. The method of claim 2, wherein before the second terminal forwards the online payment request to the network server through the network connection with the network server, the method further comprises:
the second terminal judges whether the online payment request needs to be forwarded to the network server or not;
and 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.
4. The method of claim 3, wherein the second terminal determining whether the online payment request needs to be forwarded to the network server comprises:
the second terminal judges whether the message type of the online payment request belongs to a preset forwarding type or not, or judges whether the first terminal belongs to a preset terminal allowing the second terminal to access the network or not;
when the judgment result is yes, determining that the online payment request needs to be forwarded to the network server;
and when the judgment result is negative, determining that the online payment request does not need to be forwarded to the network server.
5. The method of claim 2, wherein the second terminal forwards the online payment request to the web server via a network connection with the web server, comprising:
the second terminal routing the online payment request to a network interface on the second terminal corresponding to a network connection between the second terminal and the network server;
and the second terminal sends the online payment request to the network server through the network interface.
6. The method according to claim 2, wherein the second terminal obtains the information related to the online payment service from the network server, and comprises:
and the second terminal is connected with the network server through a network, sends service requirement information to the network server and receives the relevant information of the online payment service returned by the network server according to the service requirement information.
7. The method of any of claims 2-6, wherein the online payment request is an online payment request; the online payment service provided by the network server is an online payment service.
8. An information processing apparatus implemented in a first terminal, the apparatus comprising:
the connection establishing module is used for establishing Near Field Communication (NFC) connection with a second terminal, and network connection exists between the second terminal and a network server;
the system comprises a receiving module and a processing module, wherein the receiving module is used for receiving related information of the online payment service acquired and sent by a second terminal from a network server according to an application requirement through NFC connection with the second terminal, and generating an online payment request according to the related information of the online payment service, wherein the generated online payment request comprises the related information of the online payment service; the sending module is used for sending the online payment request to the second terminal through NFC connection between the second terminal and the network server, so that the second terminal forwards the online payment request to the network server through network connection between the second terminal and the network server to request the network server to perform online payment processing according to the online payment request and provide online payment service, wherein the online payment processing comprises the step of requiring the first terminal to perform password authorization;
the receiving module is further used for receiving online payment result information from the network server, which is forwarded by the second terminal, through the NFC connection with the second terminal;
the first terminal is a payment terminal, and the second terminal is a cash register terminal.
9. An information processing apparatus implemented in a second terminal, the apparatus comprising:
the connection establishing module is used for establishing Near Field Communication (NFC) connection with a first terminal, and network connection exists between a second terminal and a network server;
the acquisition module is used for acquiring related information of the online payment service from the network server according to application requirements;
a sending module, configured to send, through an NFC connection with the first terminal, relevant information of the online payment service to the first terminal, so that the first terminal generates an online payment request according to the relevant information of the online payment service, where the generated online payment request includes the relevant information of the online payment service;
the receiving module is used for receiving the online payment request sent by the first terminal through NFC connection with the first terminal;
the sending module is further configured to forward the online payment request to the network server through a network connection with the network server, so as to request the network server to perform online payment processing according to the online payment request and provide an online payment service, where the online payment processing includes requiring a first terminal to perform password authorization;
the receiving module is also used for receiving online payment result information returned by the network server through network connection with the network server;
the sending module is further configured to forward the online payment result information to the first terminal through an NFC connection with the first terminal;
the first terminal is a payment terminal, and the second terminal is a cash register terminal.
10. The apparatus of claim 9, further comprising:
and the judging module is used for judging whether the online payment request needs to be forwarded to the network server or not, and triggering the sending module to execute the operation of forwarding the online payment request to the network server through network connection between the sending module and the network server when the judging result is yes.
11. The apparatus of claim 10, wherein the determining module is specifically configured to:
judging whether the message type of the online payment request belongs to a preset forwarding type or not, or judging whether the first terminal belongs to a preset terminal allowing the second terminal to access the network or not;
when the judgment result is yes, determining that the online payment request needs to be forwarded to the network server;
and when the judgment result is negative, determining that the online payment request does not need to be forwarded to the network server.
12. The apparatus of claim 9, wherein the sending module is specifically configured to:
routing the online payment request to a network interface on the second terminal corresponding to a network connection between the second terminal and the network server;
sending the online payment request to the web server through the web interface.
13. The apparatus of claim 9, wherein the obtaining module is specifically configured to:
and sending service requirement information to the network server through network connection with the network server, and receiving the related information of the online payment service returned by the network server according to the service requirement information.
CN201510354882.6A 2015-06-23 2015-06-23 Information processing method and device Active CN106332119B (en)

Priority Applications (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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN106332119A CN106332119A (en) 2017-01-11
CN106332119B true CN106332119B (en) 2021-03-12

Family

ID=57729856

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN106332119B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018063A (en) 2017-01-19 2017-08-04 阿里巴巴集团控股有限公司 Data interactive method and device based on application
CN107248890A (en) * 2017-05-31 2017-10-13 广东欧珀移动通信有限公司 Wireless communications method, device, storage medium and terminal
CN107330689A (en) * 2017-07-04 2017-11-07 易联众信息技术股份有限公司 A kind of polymerization method of payment and system and client terminal suitable for hospital's window
CN107567015A (en) * 2017-08-15 2018-01-09 上海展扬通信技术有限公司 A kind of log-on message acquisition method and log-on message acquisition system based on intelligent terminal
CN108616873B (en) * 2018-03-29 2022-09-30 维沃移动通信有限公司 Data transmission method, information transmission method, device, mobile equipment and storage medium
CN111328054B (en) * 2018-12-14 2021-11-30 腾讯科技(深圳)有限公司 Data transmission method and device
CN110348846A (en) * 2019-07-18 2019-10-18 深圳市元征科技股份有限公司 Offline electronic payment method, payment devices and electronic equipment
CN110351383A (en) * 2019-07-18 2019-10-18 深圳市元征科技股份有限公司 Method for processing business, equipment and readable storage medium storing program for executing
CN111866783A (en) * 2019-12-27 2020-10-30 北京骑胜科技有限公司 Order processing method and device, computer equipment and storage medium
CN111144865B (en) * 2020-04-02 2020-07-14 支付宝(杭州)信息技术有限公司 Information processing method, device, equipment and storage medium
CN111582848A (en) * 2020-04-30 2020-08-25 支付宝(杭州)信息技术有限公司 Transaction data transmission method and system
CN112669471B (en) * 2020-12-24 2022-08-16 杭州趣链科技有限公司 Gate and ticket checking transaction method, device and storage medium thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926836A (en) * 2004-02-25 2007-03-07 诺基亚公司 Electronic payment schemes in a mobile environment for short-range transactions
CN102187356A (en) * 2008-10-15 2011-09-14 索尼爱立信移动通讯有限公司 Near field communication search for mobile communication devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469410B (en) * 2010-11-02 2016-04-27 中国移动通信集团公司 A kind of data transmission method, equipment and system
CN104144379B (en) * 2014-04-22 2016-04-13 腾讯科技(深圳)有限公司 Business data processing method, user terminal and service terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926836A (en) * 2004-02-25 2007-03-07 诺基亚公司 Electronic payment schemes in a mobile environment for short-range transactions
CN102187356A (en) * 2008-10-15 2011-09-14 索尼爱立信移动通讯有限公司 Near field communication search for mobile communication devices

Also Published As

Publication number Publication date
CN113115285A (en) 2021-07-13
CN106332119A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106332119B (en) Information processing method and device
US10206082B2 (en) Priority based routing of data on an electronic device
AU2014353151B2 (en) Automated account provisioning
US11295291B2 (en) Low battery and digital wallet
EP3238189A1 (en) A system, method, and apparatus for locating a bluetooth enabled transaction card
WO2017020618A1 (en) Electronic resource processing method and apparatus
WO2012068289A1 (en) System and method for on demand diagnostics of a device utilizing secure data to interact wirelessly with one or more third party systems
US20120122447A1 (en) System and Method for On-Demand Diagnostics of a Device Utilizing Secure Data to Interact Wirelessly with One or More Third Party Systems
US9549322B2 (en) Methods and systems for authentication of a communication device
CN103577983A (en) Load method of electronic currency for off-line consumption
JP2018515831A (en) Computerized system and method for offline user authentication
US20150317621A1 (en) Working Mode Negotiating Method, Device, and System
CN111325537A (en) Payment method, payment terminal, cloud subsystem, cloud server and system
JP7223753B2 (en) payment processing
KR101611796B1 (en) Affiliate financial transaction system using mobile terminal and method thereof
AU2017228450B2 (en) Mid-range reader interactions
US20220104102A1 (en) Proximity device network
US20160283927A1 (en) Authentication for mobile transactions
CN113115285B (en) Information processing method and device
CN113423068B (en) Communication method, mobile terminal, release terminal and communication system
JP2020529089A (en) Payment processing
CN115760116A (en) Task processing system, method and device
CN117611147A (en) Offline payment method, device, equipment and storage medium
CN117114678A (en) Secure payment method performed in tag device, and payment apparatus
CN117974133A (en) Digital currency transaction method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1233117

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant