CN108960810B - Card writing method and device, computer equipment and storage medium - Google Patents

Card writing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108960810B
CN108960810B CN201710352725.0A CN201710352725A CN108960810B CN 108960810 B CN108960810 B CN 108960810B CN 201710352725 A CN201710352725 A CN 201710352725A CN 108960810 B CN108960810 B CN 108960810B
Authority
CN
China
Prior art keywords
terminal
card
user
page
virtual resource
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
CN201710352725.0A
Other languages
Chinese (zh)
Other versions
CN108960810A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710352725.0A priority Critical patent/CN108960810B/en
Priority to PCT/CN2018/087114 priority patent/WO2018210271A1/en
Publication of CN108960810A publication Critical patent/CN108960810A/en
Application granted granted Critical
Publication of CN108960810B publication Critical patent/CN108960810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/349Rechargeable cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/357Cards having a plurality of specified features

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a card writing method, a card writing device, computer equipment and a storage medium, and belongs to the field of electronic transactions. The method comprises the following steps: acquiring a service processing request of a first user; displaying an appointed graphic identifier, wherein the appointed graphic identifier is used for indicating a terminal for scanning the appointed graphic identifier to replace a first terminal to finish card writing operation on virtual resources; if the second terminal is determined to be capable of executing the card writing operation, displaying a business processing page; and after the virtual resource adding operation is interactively completed based on the service processing page, the second terminal performs card writing operation. After the business processing request of the first user is obtained, the second terminal capable of replacing the first terminal to complete the card writing operation is determined based on the designated graphic identifier, so that the terminal without the short-distance data exchange function can execute the card writing operation, the use of the business is not limited by hardware, the process of the card writing operation is simplified, and the business propagation efficiency is higher.

Description

Card writing method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of electronic transactions, and in particular, to a card writing method and apparatus, a computer device, and a storage medium.
Background
With the rapid development of electronic information technology, in order to provide convenient services for users, different processing modes can be provided for different services during service processing. For example, in order to enable a user to recharge a bus card anytime and anywhere, at present, many mobile phones support a service of recharging the bus card. Public transport cards are IC (Integrated Circuit Card) stored value cards used in the public transportation field as fast cashless payments. The IC card is also called as a radio frequency card, consists of an IC chip and an induction antenna, can be packaged in a standard card, and has good performance and higher cost performance. The bus card is convenient to use, a user using the bus card does not need to prepare change, the user can swipe the bus card, and the bus card is generally more favorable than direct cash delivery, so that the bus card is greatly favored by people. When the balance of the bus card is insufficient, the user must go to a recharging network point specially used for recharging the bus card for recharging, but the trouble is brought to the user, for example, if the recharging network point is not near the current position of the user, the user needs to walk a certain distance specially for recharging, and if the number of people for recharging is large, the user needs to wait in a queue, so that a plurality of service providers begin to provide the bus card recharging service for the user for the convenience of recharging.
Continuing to take the bus card recharging service as an example, when the user uses the mobile terminal to execute the bus card recharging service, the mobile terminal held by the user is required to have an NFC (Near Field Communication) function, and the mobile terminal held by the user downloads a service application, and the user can complete the bus card recharging service based on the NFC function of the mobile terminal in the service application.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
for a mobile terminal without an NFC function, a bus card recharging service cannot be provided for a user, so that the process of executing the bus card recharging service by the user is complex, the service is limited by hardware, and the service propagation efficiency is low.
Disclosure of Invention
In order to overcome the problems in the related art, the invention provides a card writing method, a card writing device, computer equipment and a storage medium.
According to a first aspect of the embodiments of the present invention, there is provided a card writing method, which is applied to a first terminal, and includes:
acquiring a service processing request of a first user, wherein the service processing request is used for requesting other terminals to replace the first terminal to finish card writing operation on virtual resources, and the first user is a user logged in the first terminal;
displaying a specified graphic identifier, wherein the specified graphic identifier is used for indicating a terminal scanning the specified graphic identifier to replace the first terminal to finish card writing operation on virtual resources;
if the second terminal is determined to be capable of executing the card writing operation, displaying a business processing page, wherein the business processing page is used for adding virtual resources to the card account of the first user;
and after the virtual resource adding operation is interactively completed based on the service processing page, the second terminal performs the card writing operation.
According to the method provided by the embodiment of the invention, after the business processing request of the first user is obtained, the appointed graphic identification is displayed, the second terminal of the second user capable of replacing the first terminal to complete the card writing operation of the virtual resource is determined based on the appointed graphic identification, and the business processing page is displayed, so that the first user adds the virtual resource to the card on the business processing page, and the second terminal of the second user can perform the card writing operation after the virtual resource adding operation is completed based on the business processing page in an interactive mode, thereby ensuring that the terminal without the short-distance data exchange function can also perform the card writing operation on the card, preventing the use of the business from being limited by hardware, simplifying the process of the card writing operation, and having higher business propagation efficiency.
According to a second aspect of the embodiments of the present invention, there is provided a card writing method, which is applied to a second terminal, the method including:
scanning an appointed graphic identifier provided by a first terminal, wherein the appointed graphic identifier is used for indicating the terminal scanning the appointed graphic identifier to replace the first terminal to finish card writing operation on virtual resources;
after the scanning is successful, sending a scanning confirmation message of the second terminal to a server;
displaying a service confirmation page, wherein the service confirmation page is used for reminding the second terminal to confirm a card of a first user, and the first user is a user logged in the first terminal;
when the card of the first user is detected, sending a card confirmation message of the second terminal to the server;
acquiring a successful message of virtual resource adding operation, and displaying an operation guide page, wherein the operation guide page is used for indicating the second terminal to perform card writing operation on the card of the first user;
and writing the virtual resource to the card of the first user based on the short-distance data exchange function of the second terminal.
According to the method provided by the embodiment of the invention, the specified graphic identifier provided by the first terminal is scanned, the scanning confirmation message is sent to the server, when the card of the first user is detected, the card confirmation message is sent to the server, the successful operation adding message of the virtual resource of the first user is obtained, the operation guide page is displayed, and the virtual resource is written into the card of the first user based on the short-distance data exchange function of the second terminal, so that the second terminal can replace the first terminal to execute the card writing operation, the terminal without the short-distance data exchange function can execute the card writing operation for the card, the service use is not limited by hardware, the card writing operation process is simplified, and the service propagation efficiency is higher.
According to a third aspect of the embodiments of the present invention, there is provided a card writing method, the method being applied to a server, the method including:
acquiring a first terminal and a second terminal, wherein the second terminal can replace the first terminal to complete card writing operation on virtual resources;
sending a service confirmation page to the second terminal, and acquiring a card confirmation message of the second terminal based on the service confirmation page, wherein the service confirmation page is used for reminding the second terminal to confirm a card of a first user, and the first user is a user logged in the first terminal;
and sending a service processing page to the first terminal, and sending an operation guide page to the second terminal after the first terminal completes virtual resource adding operation based on the service processing page, wherein the service processing page is used for adding virtual resources to the card account of the first user, and the operation guide page is used for indicating the second terminal to perform card writing operation on the card of the first user.
According to the method provided by the embodiment of the invention, the first terminal and the second terminal which can replace the first terminal to complete the card writing operation on the virtual resource are obtained, the service confirmation page is sent to the second terminal, the card confirmation message of the second terminal is obtained based on the service confirmation page, the service processing page is sent to the first terminal, and the operation guide page is sent to the second terminal after the first terminal completes the virtual resource adding operation based on the service processing page, so that the second user can perform the card writing operation on the card of the first user based on the guide page, the terminal without the short-distance data exchange function can also perform the card writing operation on the card, the service use is not limited by hardware, the card writing operation process is simplified, and the service transmission efficiency is higher.
According to a fourth aspect of the embodiments of the present invention, there is provided a card writing apparatus, which is applied to a first terminal, the apparatus including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a service processing request of a first user, the service processing request is used for requesting other terminals to replace a first terminal to finish card writing operation on virtual resources, and the first user is a user logged in the first terminal;
the first display module is used for displaying a specified graphic identifier, and the specified graphic identifier is used for indicating a terminal scanning the specified graphic identifier to replace the first terminal to finish card writing operation on virtual resources;
the second display module is used for displaying a business processing page if the second terminal is determined to be capable of executing the card writing operation, wherein the business processing page is used for adding virtual resources to the card account of the first user;
and the writing module is used for enabling the second terminal to perform the card writing operation after the virtual resource adding operation is interactively completed based on the service processing page.
The device provided by the embodiment of the invention displays the appointed graphic identification after acquiring the business processing request of the first user, determines the second terminal of the second user which can replace the first terminal to complete the card writing operation of the virtual resource based on the appointed graphic identification, and displays the business processing page, so that the first user adds the virtual resource to the card on the business processing page, and the second terminal of the second user can perform the card writing operation after the virtual resource adding operation is interactively completed based on the business processing page, thereby ensuring that the terminal without the short-distance data exchange function can also perform the card writing operation for the card, preventing the use of the business from being limited by hardware, simplifying the process of the card writing operation and having higher business propagation efficiency.
According to a fifth aspect of the embodiments of the present invention, there is provided a card writing apparatus applied to a second terminal, the apparatus including:
the scanning module is used for scanning an appointed graphic identifier provided by a first terminal, and the appointed graphic identifier is used for indicating the terminal for scanning the appointed graphic identifier to replace the first terminal to finish card writing operation on virtual resources;
the sending module is used for sending a scanning confirmation message of the second terminal to the server after the scanning is successful;
the display module is used for displaying a service confirmation page, and the service confirmation page is used for reminding the second terminal to confirm a card of a first user, wherein the first user is a user logged in the first terminal;
the sending module is further configured to send a card confirmation message of the second terminal to the server when the card of the first user is detected;
the display module is further configured to obtain a successful message of virtual resource addition operation, and display an operation guidance page, where the operation guidance page is used to instruct the second terminal to perform card writing operation on the card of the first user;
and the writing module is used for writing the virtual resource into the card of the first user based on the short-distance data exchange function of the second terminal.
The device provided by the embodiment of the invention sends the scanning confirmation message to the server by scanning the designated graphic identifier provided by the first terminal, sends the card confirmation message to the server when detecting the card of the first user, acquires the successful operation message of virtual resource addition of the first user, displays the operation guide page, and writes the virtual resource into the card of the first user based on the short-distance data exchange function of the second terminal, so that the second terminal can replace the first terminal to execute the card writing operation, ensures that the terminal without the short-distance data exchange function can also execute the card writing operation for the card, the service use is not limited by hardware, the process of the card writing operation is simplified, and the service propagation efficiency is higher.
According to a sixth aspect of the embodiments of the present invention, there is provided a card writing apparatus, which is applied to a server, the apparatus including:
the acquisition module is used for acquiring a first terminal and a second terminal, wherein the second terminal can replace the first terminal to finish card writing operation on virtual resources;
the first sending module is used for sending a service confirmation page to the second terminal and acquiring a card confirmation message of the second terminal based on the service confirmation page, wherein the service confirmation page is used for reminding the second terminal to confirm a card of a first user, and the first user is a user logged in the first terminal;
the second sending module is configured to send a service processing page to the first terminal, and send an operation guidance page to the second terminal after the first terminal completes a virtual resource addition operation based on the service processing page, where the service processing page is used to add a virtual resource to a card account of the first user, and the operation guidance page is used to instruct the second terminal to perform a card writing operation on a card of the first user.
According to the device provided by the embodiment of the invention, the first terminal and the second terminal which can replace the first terminal to complete the card writing operation on the virtual resource are obtained, the service confirmation page is sent to the second terminal, the card confirmation message of the second terminal is obtained based on the service confirmation page, the service processing page is sent to the first terminal, and the operation guide page is sent to the second terminal after the first terminal completes the virtual resource adding operation based on the service processing page, so that the second user can perform the card writing operation on the card of the first user based on the guide page, the terminal without the short-distance data exchange function can also perform the card writing operation on the card, the service use is not limited by hardware, the card writing operation process is simplified, and the service transmission efficiency is higher.
According to a seventh aspect of the embodiments of the present invention, a computer device includes a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, and the processor implements the above-mentioned card writing method when executing the computer-executable instructions.
According to an eighth aspect of embodiments of the present invention, a computer-readable storage medium having instructions stored thereon for execution by a processor to perform the card writing method described above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a block diagram of a card writing system according to an embodiment of the present invention;
FIG. 2A is a flowchart of a card writing method according to an embodiment of the present invention;
FIG. 2B is a schematic diagram of a card writing method according to an embodiment of the present invention;
FIG. 2C is a schematic diagram of a card writing method according to an embodiment of the present invention;
FIG. 2D is a diagram illustrating a card writing method according to an embodiment of the present invention;
FIG. 2E is a schematic diagram of a card writing method according to an embodiment of the present invention;
FIG. 2F is a schematic diagram of a card writing method according to an embodiment of the present invention;
FIG. 2G is a schematic diagram of a card writing method according to an embodiment of the present invention;
FIG. 2H is a flowchart of a card writing method according to an embodiment of the present invention;
FIG. 2I is a flowchart of a card writing method according to an embodiment of the present invention;
FIG. 3A is a schematic structural diagram of a card writing device according to an embodiment of the present invention;
FIG. 3B is a schematic structural diagram of a card writing device according to an embodiment of the present invention;
FIG. 4A is a schematic structural diagram of a card writing device according to an embodiment of the present invention;
FIG. 4B is a schematic structural diagram of a card writing device according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a card writing device according to an embodiment of the present invention;
fig. 6 is a block diagram of a card writing apparatus 600 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the present invention in detail, the architecture of the card writing system according to the embodiment of the present invention will be briefly described.
Referring to fig. 1, the card writing system includes a first terminal 101, a second terminal 102, and at least one server 103, for simplifying the description, only the user logged in by the first terminal is taken as a first user, and the user logged in by the second terminal is taken as a second user, the first user may be represented by a first user identifier, and the second user may be represented by a second user identifier, where information for uniquely identifying the user, such as the first user identifier and the second user identifier, may be obtained by a user registering in a server of the card writing system or by a client installed in the terminal.
The first terminal 101 and the second terminal 102 may be connected to the server 103 through a wireless or wired network, and the first terminal 101 and the second terminal 102 may be electronic devices capable of accessing the server 103, which may be computers, smart phones, tablets or other electronic devices.
The server 103 may be one or more web servers for performing card writing services for the first terminal 101 and the second terminal 102. In this embodiment, both the first user logged in the first terminal 101 and the second user of the second terminal 102 may obtain the card writing service of the server 103 by registering or installing a client on the server 103, which is not limited in the embodiment of the present invention. For the server 103, the server 103 may further include at least one database for storing the social relationship chain of the first user, card details, and the like, so as to provide a more user-specific card writing service.
Fig. 2A is a flowchart illustrating a card writing method according to an exemplary embodiment, and for convenience of description, in the embodiment of the present invention, a first terminal refers to a terminal without an NFC function, and a second terminal refers to a terminal with an NFC function, as shown in fig. 2A, the method includes the following steps.
201. When the first terminal detects the trigger operation of the card writing function on the service request page of the user, the first terminal confirms to acquire the service processing request of the first user, and the service processing request is used for requesting other terminals to replace the first terminal to finish the card writing operation of the virtual resources.
The inventor recognizes that, when a card writing operation on a virtual resource is executed through a terminal at present, the terminal needs to be provided with an NFC function, so that the card writing operation on the virtual resource cannot be realized for the terminal without a short-distance data exchange function. Therefore, in order to enable a user who holds a terminal without an NFC function to perform a card writing operation on a virtual resource through the terminal, it is necessary to identify a terminal that can complete a card writing operation on a virtual resource in place of the user for the user who holds the terminal without an NFC function.
In order to facilitate a user who holds a terminal without an NFC function to write virtual resources into a card by using the terminal, the first terminal may display a service request page, so that the user may request to trigger a function of writing into the card instead on the service request page. The service request page can be jumped from other pages according to the requirements of the user. For example, an application for performing a card writing operation on the virtual resource may be installed on the first terminal, and a page shown in fig. 2B may be displayed in the application, which may be used to provide a business service such as hotel reservation, purchase of an air ticket, and the like for the user. When a user triggers a button of the city all-purpose card on the page, the first terminal acquires the functions of the first terminal and judges whether the first terminal can directly execute card writing operation on the virtual resources. If the first terminal has the NFC function, the first terminal may directly perform the card writing operation on the virtual resource without continuing to perform the following steps 202 to 211; if the first terminal does not have the NFC function, a terminal that can replace the first user to complete the card writing operation on the virtual resource needs to be determined for the first terminal, and then a jump may be made to the service request page. In order to know the requirement of the user on the card writing-in-substitute function, a button for triggering the card writing-in-substitute function can be arranged on the service request page. For example, referring to the service request page shown in FIG. 2C, instead of writing to the card function button, a "find friend help now" form may be displayed.
It should be noted that, if it is determined that the first terminal has the NFC function in the above process, it indicates that the first terminal can automatically complete the card writing operation on the virtual resource based on the application, so that the service request page may not be displayed, the service confirmation page is directly displayed on the first terminal, so that the first user confirms the card, and the service processing page is displayed after the card is successfully confirmed; after the first user completes the card writing operation on the virtual resource based on the service processing page, the operation guidance page is displayed on the first terminal, so that the first user can write the virtual resource to the card based on the NFC function of the first terminal, which means that the following steps 202 to 211 are not required to be executed.
202. And the first terminal displays the appointed graphic identification, and the appointed graphic identification is used for indicating the terminal for scanning the appointed graphic identification to replace the first user to finish the card writing operation on the virtual resource.
In the embodiment of the present invention, the designated graphic identifier may be in a form of a barcode, such as a two-dimensional code, for example, see fig. 2D, and is used to carry the first user identifier and a related instruction, so as to implement the above-mentioned function of instructing the terminal that scans the designated graphic identifier to complete the card writing operation on the virtual resource instead of the first user. The designated graphic identifier may be generated by the first terminal itself or by the server. If the designated graphic identifier is generated by the first terminal, the first terminal can acquire the first user identifier, the current time and other related information and generate the designated graphic identifier based on the related information and the related instruction; if the designated graphic identifier is generated by the server, the first terminal can send a graphic identifier request carrying the first user identifier to the server, and after receiving the graphic identifier request, the server generates the designated graphic identifier based on the first user identifier, the current time and the related instruction and returns the designated graphic identifier to the first terminal.
In order to enable the first user to know which users can replace the users to complete the card writing operation on the virtual resource, the first terminal may further display a candidate user while displaying the specified graphic identifier, where the candidate user is a user holding the specified terminal in the social relationship chain of the first user, and a specific obtaining process of the candidate user includes: the first terminal sends the first user identification to the server, and after receiving the first user identification, the server determines a social relationship chain of the first user based on the first user identification, wherein the social relationship chain of the first user comprises at least one associated user of the first user. And then, the server respectively determines the terminal model information of the associated user of at least one first user in the social relation chain, and determines the terminal with the NFC function according to the terminal model information. After the terminal with the NFC function is determined, the server respectively acquires first geographical position information of a user holding the terminal with the NFC function and second geographical position information of the current position of the first terminal, determines distances between the first geographical position information and the second geographical position information, determines a terminal with the distance being smaller than a preset distance as a designated terminal, and issues the user holding the designated terminal as a candidate user to the first terminal for display.
The displayed candidate user can have two functions, one is to prompt the first user, and the current candidate user can replace the first user to complete the card writing operation on the virtual resource; on the other hand, on the basis of prompting the first user, the click operation of the first user on the candidate user can be detected, the first user selects a second user which replaces the second user to finish the card writing operation on the virtual resource, and the second user selected by the first user is notified. That is, step 202 of the embodiment of the present invention further includes: if the operation of the first user for selecting any user in the candidate users is detected, the selected user is directly used as a second user, a service processing request is sent to the server, so that the server obtains the second user after receiving the service processing request, a service confirmation page is sent to the second terminal, and the service processing page is sent to the first terminal after the second user confirms the card based on the service confirmation page, so that the first terminal can perform interaction on the service processing page to complete virtual resource adding operation, and the second user performs card writing operation on the second terminal.
It should be noted that, because some administrative areas may not support the card writing operation of the terminal on the virtual resource at present, after the first terminal obtains the service processing request of the first user, the first terminal uploads the first user identifier to the server, the server determines, according to the received first user identifier, second geographic position information of the current position of the first terminal, determines, according to the second geographic position information, the administrative area where the first terminal is currently located, and queries whether the current administrative area where the first terminal is located supports the card writing operation of the terminal on the virtual resource. If the administrative region where the first terminal is located currently supports the card writing operation of the terminal on the virtual resource, the first terminal can display the designated graphic identifier; and if the administrative region where the first terminal is currently located does not support the card writing operation of the terminal on the virtual resources, the first terminal displays that the virtual resource writing operation cannot be performed currently, and the process is ended.
203. And the second terminal scans the designated graphic identifier provided by the first terminal, and after the scanning is successful, the second terminal sends a scanning confirmation message to the server.
In order to determine whether the second user is currently located near the first user and willing to perform the above-mentioned card writing operation for the first user, the second terminal is required to scan the specified graphic identifier provided by the first terminal, and send a scan confirmation message to the server after the scan is successful.
The scanning confirmation message carries the first user identification, the second user identification and the model information of the second terminal, so that the server can correspondingly store the first user identification and the second user identification after receiving the scanning confirmation message, and accuracy in subsequent virtual resource card writing operation is guaranteed.
It should be noted that, in order to ensure privacy information such as personal information and account information of the first user, the specified graphic identifier provided by the first terminal may include a timestamp, where the timestamp is used to indicate whether the current specified graphic identifier is valid, and when the timestamp indicates that the specified graphic identifier is in an expired state, the first terminal needs to reacquire and display a new specified graphic identifier. On one hand, if the designated graphic identifier is generated by the first terminal, the second terminal can read the time stamp of the designated graphic identifier in the designated graphic identifier after scanning the designated graphic identifier provided by the first terminal, directly judge whether the designated graphic identifier is in an effective state currently based on the time stamp and the current time, and display that the scanning is successful if the designated graphic identifier is determined to be in the effective state currently; and if the specified graphic identifier is determined to be in an expired state currently, displaying that the scanning fails, and prompting a second user that the first terminal needs to acquire and display a new specified graphic identifier again. On the other hand, if the designated graphic identifier is generated by the server, the second terminal reads the timestamp of the designated graphic identifier after scanning the designated graphic identifier provided by the first terminal, uploads the timestamp to the server, the server judges whether the designated graphic identifier is in an effective state currently or not based on the timestamp and the current time, and if the server determines that the designated graphic identifier is in the effective state currently, a scanning success instruction is issued to the second terminal; and if the server determines that the specified graphic identifier is in an expired state currently, issuing a scanning failure instruction to the second terminal to prompt the second user that the specified graphic identifier is expired currently.
In order to achieve the purpose of energy saving, the second terminal may start its NFC function only when the designated graphical identifier provided by the first terminal is successfully scanned, so as to subsequently confirm the card of the first user and perform card writing operation on the virtual resource.
204. And when the server receives the scanning confirmation message sent by the second terminal, acquiring the first terminal and the second terminal.
In the embodiment of the present invention, when the server receives the scan confirmation message of the second user, the server may extract the first user identifier, the second user identifier, and the terminal model information of the second terminal from the scan confirmation message, and determine whether the second terminal has the NFC function by obtaining the model list including at least one piece of terminal model information having the NFC function as shown in table 1 below, and determining whether the model list includes the terminal model information of the second terminal. The present invention does not specifically limit the expression of the model list.
TABLE 1
Terminal model information
XX S3
XX 9220
XX Grand 2
XX x92e
XX z2pro
And when the model list is determined to include the terminal model information of the second terminal, namely the second terminal is determined to have the NFC function, correspondingly storing the first user identification and the second user identification in the extracted scanning confirmation message, so that the second terminal replaces the first terminal bound with the second terminal to execute card writing operation of the virtual resource, and the accuracy of the operation is ensured. When the first user identifier and the second user identifier are stored correspondingly, a service number may be allocated to the first user identifier and the second user identifier, and the service number, the first user identifier and the second user identifier are stored correspondingly in the service list shown in table 2.
TABLE 2
Service numbering First user identification Second user identification
S1 407222xxx 235251xxx
S2 124789xxx 801247xxx
S3 547893xxx 902793xxx
S4 933274xxx 789456xxx
It should be noted that the server may set a white list, and for a user with low credit or poor record, the user identifier of the user is not stored in the white list. In this way, after the first user identification, the second user identification and the terminal model information of the second terminal are extracted from the scanning confirmation message, inquiring in a white list based on the first user identification to judge whether the first user identification is stored in the white list, and if the first user identification is stored in the white list, correspondingly storing the first user identification and the second user identification; and if the first user identification is not stored in the white list, ending the current process and returning an operation failure instruction to the first terminal of the first user. By performing the above-described process of determining whether the first user identifier is stored in the white list, illegal activities such as cash withdrawal of users with low credit or poor records can be avoided.
By executing the process in step 204, after receiving the scan confirmation message sent by the second terminal, the server may obtain the first user identifier and the second user identifier, and thus obtain the first terminal and the second terminal that need to complete the card writing operation on the virtual resource at present.
205. And the server sends a service confirmation page to the second terminal, wherein the service confirmation page is used for reminding the second user to confirm the card of the first user.
In the embodiment of the present invention, since the card writing operation needs to be implemented based on the NFC function, it is necessary to ensure that the second user is at the side of the first user at this time, so that the second user can take the card of the first user and confirm the card of the first user based on the second terminal, and therefore, the server needs to send the service confirmation page to the second terminal, so that the second terminal of the second user can confirm the card of the user based on the service confirmation page after receiving the service confirmation page, and it is ensured that the second user takes the card of the first user.
The service confirmation page is used for reminding the second user to confirm the card of the first user. And prompting the second user to perform operation so as to finish the confirmation of the first user card. Referring to fig. 2E, the service confirmation page sent by the server to the second terminal may be in the form shown in fig. 2E, and "attaching the bus card to the back of the mobile phone" shown in fig. 2E is a prompt for the second user, so that the second user can attach the card of the first user to the back of the second terminal, and when the second terminal detects the card attached to the back of the second terminal by the second user, the confirmation of the card of the first user is completed. When the second user completes the card confirmation for the first user, the second terminal may send a card confirmation message for the second user to the server, i.e., execute step 206 described below.
206. And the second terminal displays a service confirmation page, and sends a card confirmation message of the second user to the server when the card of the first user is detected, wherein the service confirmation page is used for reminding the second user to confirm the card of the first user.
In the embodiment of the invention, the second terminal displays the service confirmation page, generates the card confirmation message carrying the second user identification when the card of the first user is detected based on the NFC function, and sends the card confirmation message to the server, so that the server determines that the second terminal can replace the first terminal to complete the card writing operation on the virtual resource after receiving the card confirmation message. In the process of practical application, when the second terminal detects the card of the first user based on the NFC function, the card of the first user can be read to obtain card information such as a card number and card remaining virtual resources, and the card information is added to the card confirmation message, so that after the server receives the card confirmation message, the server can determine a first user identifier corresponding to a second user identifier in the service list based on the second user identifier carried by the card confirmation message, and send the card information to the first terminal indicated by the first user identifier, so that the first user knows the card information.
It should be noted that, after sending the card confirmation message to the server, the second terminal may generate a card detail page based on the acquired card information, and display the card detail page until the first user completes adding the virtual resource to the card account successfully, where the card detail page may include card information such as the remaining virtual resource of the card of the first user, the card number, and the like.
207. And when the server receives the card confirmation message of the second terminal, sending a service processing page to the first terminal, wherein the service processing page is used for adding virtual resources to the card account of the first user.
In the embodiment of the invention, when the server receives the card confirmation message of the second terminal, it is determined that the card writing operation of the virtual resource can be realized between the second terminal and the card based on the short-distance data exchange function, so that the server sends the service processing page to the first terminal of the first user, and the first user completes adding the virtual resource to the card account in the service processing page. The business processing page is used for adding virtual resources to the card account of the first user, so that the first user can select the virtual resources needing to be added to the card on the business processing page.
208. And the first terminal displays the service processing page and performs interaction based on the service processing page to complete virtual resource adding operation.
In the embodiment of the invention, a virtual resource input box and a confirmation button can be provided on the service processing page, and a user can input the number of virtual resources in the virtual resource input box of the service processing page and trigger the confirmation button; and when the first terminal detects that the user triggers the confirmation button, acquiring the quantity of the virtual resources, and performing interaction based on the service processing page to finish virtual resource adding operation. In the process of practical application, when the first terminal completes the virtual resource adding operation based on the business processing page, the interaction among the first terminal, the server and the financial institution server needs to be performed. Generally, after acquiring the virtual resource amount, the first terminal sends the virtual resource amount to the server, so that the server informs the financial institution server to deduct money equal to the virtual resource amount from an account of the first user; and after the financial institution server finishes deducting the money of the user account, generating a transaction completion voucher based on the amount of the virtual resources, and issuing the transaction completion voucher to the server, so that the server determines that the money of the user account is successfully deducted after receiving the transaction completion voucher, and generates and sends a message of successful virtual resource addition.
Referring to fig. 2F, the service processing page displayed by the first terminal may be in the form shown in fig. 2F, the service processing page is provided with a virtual resource input box in a "recharge amount" form and a confirmation button in an "immediate payment" form, when the first terminal detects that the user triggers "immediate payment", the number of virtual resources input by the user at the "recharge amount" is obtained, and the virtual resource addition operation is interactively completed based on the service processing page.
209. And after the first terminal completes the virtual resource adding operation based on the service processing page, the server sends a successful message of the virtual resource adding operation to the second terminal.
In the embodiment of the present invention, the virtual resource addition operation success message is used to indicate that the current first user has completed the addition operation on the virtual resource, and the second terminal may continue to execute the card writing operation on the virtual resource. When the successful message of the virtual resource adding operation is generated, after the server determines that the first terminal of the current first user completes the virtual resource adding operation based on the service processing page, the number of the virtual resources added by the first user and the first user identification are obtained, the second user identification corresponding to the first user identification is determined, the successful message of the virtual resource adding is generated according to the number of the virtual resources, and the successful message of the virtual resource adding is sent to the second terminal. In the actual application process, when the server generates the virtual resource addition operation success message, the server may generate the resource code data based on the number of the virtual resources, so that the virtual resource addition operation success message carries the resource code data, so that the second terminal may extract the resource code data after receiving the virtual resource addition operation success message, write the resource code data into the card of the first user based on the NFC function, and complete the card write operation on the virtual resources.
210. And the second terminal acquires the successful message of the virtual resource adding operation and displays an operation guide page, wherein the operation guide page is used for indicating the second user to use the second terminal to perform card writing operation on the card of the first user.
In the embodiment of the invention, after receiving the virtual resource addition success message sent by the server, the second terminal acquires the virtual resource quantity from the virtual resource addition success message, and generates the operation guide page according to the virtual resource quantity, so that the second user uses the second terminal to perform card writing operation on the card of the first user according to the instruction of the operation guide page. It should be noted that the operation guidance page may display an operation reminder for the second user, that is, remind the second user how to perform an operation, so that writing of virtual resources to the card of the first user may be completed. For example, referring to fig. 2G, an operation guidance page shown in fig. 2G may be displayed, and "card re-pasting completes recharging" is displayed on the operation guidance page, so that when the second terminal detects that the second user pastes the card of the first user on the second terminal, writing of the virtual resource to the card of the first user may be completed.
211. And the second terminal writes the virtual resource into the card of the first user based on the NFC function.
In the embodiment of the invention, after the second terminal displays the operation guidance page, the second user can complete the process of writing the virtual resource into the card of the first user according to the operation prompt displayed on the operation guidance page. For example, if the operation reminder displayed on the operation guidance page is "re-card-pasting completes recharging", the second user may paste the card of the first user on the second terminal, so that the second terminal may write the virtual resource into the card of the first user. In the actual application process, the virtual resource adding operation success message can carry resource code data used for indicating the number of the virtual resources, the second terminal can extract the resource code data, and an operation guide page is generated based on the resource code data. Because the NFC function of the second terminal is equivalent to a card reader function, and the data content in the card can be changed by writing the code data into the card, when the second user attaches the card to the second terminal again, the second terminal can write the resource code data carried on the operation guidance page into the card of the first user based on the NFC function, change the data content in the card, and complete the card writing operation on the virtual resource.
After the second terminal replaces the first terminal to complete the card writing operation on the virtual resource, the second terminal informs the server that the card writing operation on the virtual resource is currently completed, the server determines a first user identifier corresponding to the second user identifier according to the second user identifier, generates a success instruction, and sends the success instruction to the first terminal indicated by the first user identifier, so that the first user knows that the card writing operation on the virtual resource is successfully executed.
For the first terminal, when the processes described in the above step 201 to step 211 are performed in practical applications, the processes can be implemented by the operation sequence shown in fig. 2H. Referring to fig. 2H, a 9-grid service page may be displayed on the first terminal, and when it is detected that the first user clicks a bus card in the 9-grid service page (that is, a request trigger is a card writing function), it indicates that the first user selects to execute a card writing operation, and the first terminal detects whether the first terminal has an NFC function; when the first terminal is determined to have the NFC function, card writing operation of virtual resources can be directly performed on the basis of the first terminal; when the first terminal is determined not to have the NFC function, the first terminal informs a non-NFC recharging guiding tool (buscard _ non fc _ guide. cgi), and the non-NFC recharging guiding tool judges whether the city where the first terminal is located supports the card writing operation of the terminal to the virtual resource. If the fact that the city where the first terminal is located does not support the card writing operation of the terminal on the virtual resources is determined, the current process is ended, and operation failure is displayed on the first terminal; if the card writing operation of the virtual resource by the city support terminal where the first terminal is located is determined, the non-NFC recharging guiding tool tells a dating card education page (namely, a service request page) to the first terminal, when the first terminal detects that a user clicks the instant experience (namely, the trigger operation of writing the card function for generation) on the dating card education page, the first terminal confirms to obtain the service processing request of the first user, and requests an NFC two-dimensional code tool (NFC _ code.cgi) to generate a two-dimensional code (namely, a designated graphic identifier); after the NFC two-dimension code tool generates the two-dimension code, the two-dimension code is returned to the first terminal, and the two-dimension code is displayed by the first terminal; after the two-dimensional code is displayed, the first terminal continuously sends ckv (cloud key value) to the NFC query tool (NFC _ daidi _ poll.cgi), so that the NFC query tool detects the two-dimensional code, determines whether the two-dimensional code is valid, and instructs the first terminal to display a new two-dimensional code when it is determined that the two-dimensional code is expired. When the second terminal scans the two-dimensional code successfully, the first terminal can send an inquiry ckv to the server through the NFC inquiry tool to inquire whether the second user has already ticked (i.e., confirm the card); when the NFC query tool receives the "payment page" (i.e., transaction page) sent by the server, the NFC query tool receives the "payment page" (i.e., transaction page) that the server determines that the current second user has completed the ticker. The first user may click on payment on a "payment page", call an NFC payment instrument (nfcpay _ creator. cgi) to place an order for payment, and enter a payment password on the first terminal to complete payment. After the first user successfully pays, on one hand, the first terminal can send an inquiry ckv to the server through the NFC inquiry tool to inquire whether the second terminal currently completes the load based on the NFC function (that is, the operation of writing the virtual resource into the card of the first user is performed), and after receiving a success instruction returned by the server, the NFC inquiry tool returns a recharge result page to complete the current process; on the other hand, the first terminal may wait to receive a success instruction issued by the server after the second terminal completes the load based on the NFC function, and complete the current flow after receiving the success instruction returned by the server.
For the second terminal, when the processes described in the above step 201 to step 211 are performed in practical applications, the processes can be implemented by the operation sequence shown in fig. 2I. Referring to fig. 2I, after the second terminal scans the two-dimensional code (i.e., the designated graphic identifier) provided by the first terminal, whether the current two-dimensional code is valid is determined based on an NFC two-dimensional code detection tool (NFC _ grcode _ scan.cgi), and if it is determined that the current two-dimensional code is invalid, a scan failure is displayed; if the current two-dimension code is determined to be valid, the second terminal can acquire the model information and the application version information of the second terminal, and sends a scanning confirmation message carrying the first user identifier, the second user identifier and the model information of the second terminal to the server based on the NFC white list tool. After the server receives the scanning confirmation message, by extracting the first user identifier, the second user identifier and the model information of the second terminal carried by the scanning confirmation message, when the second terminal is determined to be capable of replacing the first terminal to execute card writing operation on the virtual resource, a 'friend representative card page' (namely a business confirmation page) is sent to an NFC white list tool of the second terminal; and when the second terminal receives the dating card page sent by the server, the card of the first user is pasted on the second terminal based on the prompt on the dating card page, and the card of the first user is confirmed. When the second terminal detects the card of the first user on the dating card page, the card confirmation message of the second user can be sent to the server through the NFC cache tool, meanwhile, the first terminal is waited to perform interaction on the business processing page to complete the virtual resource adding operation, at the moment, the second terminal can display a payment waiting page (namely a card detail page), and card information such as the card residual virtual resource, the card number and the like of the first user is displayed on the payment waiting page. It should be noted that, while waiting for the first terminal to perform the interaction on the service processing page to complete the virtual resource addition operation, the second terminal may continuously send ckv a query to the server through the NFC query tool, so as to query the payment status of the first terminal. When the first terminal interactively completes the virtual resource adding operation on the service processing page, the NFC query tool of the second terminal may receive a message that the order status sent by the server is paid (that is, a virtual resource adding operation success message), and generate a "card waiting page" (that is, an operation guidance page) based on the virtual resource carried in the virtual resource adding operation success message, and the second terminal may write the virtual resource into the card of the first user based on the NFC function according to the operation guidance page, and notify the server that the load is currently completed (that is, the operation of writing the virtual resource into the card of the first user), display the load result, and complete the current process.
According to the method provided by the embodiment of the invention, after the business processing request of the first user is obtained, the appointed graphic identification is displayed, the second terminal of the second user capable of replacing the first terminal to complete the card writing operation of the virtual resource is determined based on the appointed graphic identification, and the business processing page is displayed, so that the first user adds the virtual resource to the card on the business processing page, and the second terminal of the second user can perform the card writing operation after the virtual resource adding operation is completed based on the business processing page in an interactive mode, thereby ensuring that the terminal without the short-distance data exchange function can also perform the card writing operation on the card, preventing the use of the business from being limited by hardware, simplifying the process of the card writing operation, and having higher business propagation efficiency.
Fig. 3A is a block diagram illustrating a card writing apparatus according to an example embodiment. Referring to fig. 3A, the apparatus includes an obtaining module 301, a first display module 302, a second display module 303, and a writing module 304.
The obtaining module 301 is configured to obtain a service processing request of a first user, where the service processing request is used to request another terminal to replace the first terminal to complete a card writing operation on a virtual resource, and the first user is a user logged in the first terminal;
the first display module 302 is configured to display a specified graphic identifier, where the specified graphic identifier is used to indicate a terminal that scans the specified graphic identifier to replace a first terminal to complete a card writing operation on a virtual resource;
the second display module 303 is configured to display a service processing page if it is determined that the second terminal is capable of performing a card writing operation, where the service processing page is used to add a virtual resource to a card account of the first user;
the writing module 304 is configured to perform a card writing operation on the second terminal after completing the virtual resource adding operation based on the service processing page.
The device provided by the embodiment of the invention displays the appointed graphic identification after acquiring the business processing request of the first user, determines the second terminal of the second user which can replace the first terminal to complete the card writing operation of the virtual resource based on the appointed graphic identification, and displays the business processing page, so that the first user adds the virtual resource to the card on the business processing page, and the second terminal of the second user can perform the card writing operation after the virtual resource adding operation is interactively completed based on the business processing page, thereby ensuring that the terminal without the short-distance data exchange function can also perform the card writing operation for the card, preventing the use of the business from being limited by hardware, simplifying the process of the card writing operation and having higher business propagation efficiency.
In another embodiment, referring to fig. 3B, the apparatus further comprises a third display module 305.
The third display module 305 is configured to display candidate users having a designated terminal in the social relationship chain of the first user when displaying the designated graphical identifier, where the designated terminal is a terminal with a short-distance data exchange function, and a distance between the designated terminal and the first terminal is smaller than a preset distance.
Fig. 4A is a block diagram illustrating a card writing apparatus according to an example embodiment. Referring to fig. 4A, the apparatus includes a scanning module 401, a transmitting module 402, a display module 403, and a writing module 404.
The scanning module 401 is configured to scan an assigned graphic identifier provided by a first terminal, where the assigned graphic identifier is used to indicate the terminal that scans the assigned graphic identifier to replace the first terminal to complete a card writing operation on a virtual resource;
the sending module 402 is configured to send a scanning confirmation message of the second terminal to the server after the scanning is successful;
the display module 403 is configured to display a service confirmation page, where the service confirmation page is used to remind a second terminal to confirm a card of a first user, where the first user is a user logged in the first terminal;
the sending module 402 is further configured to send a card confirmation message of the second terminal to the server when the card of the first user is detected;
the display module 403 is further configured to obtain a successful virtual resource addition operation message, and display an operation guidance page, where the operation guidance page is used to instruct the second terminal to perform a card writing operation on the card of the first user;
the writing module 404 is configured to write the virtual resource to the card of the first user based on the short-distance data exchange function of the second terminal.
The device provided by the embodiment of the invention sends the scanning confirmation message to the server by scanning the designated graphic identifier provided by the first terminal, sends the card confirmation message to the server when detecting the card of the first user, acquires the successful operation message of virtual resource addition of the first user, displays the operation guide page, and writes the virtual resource into the card of the first user based on the short-distance data exchange function of the second terminal, so that the second terminal can replace the first terminal to execute the card writing operation, ensures that the terminal without the short-distance data exchange function can also execute the card writing operation for the card, the service use is not limited by hardware, the process of the card writing operation is simplified, and the service propagation efficiency is higher.
In another embodiment, referring to fig. 4B, the apparatus further comprises an acquisition module 405.
The obtaining module 405 is configured to obtain a card detail page of the first user, where the card detail page includes the remaining virtual resources of the card of the first user.
Fig. 5 is a block diagram illustrating a card writing apparatus according to an example embodiment. Referring to fig. 5, the apparatus includes an obtaining module 501, a first transmitting module 502 and a second transmitting module 503.
The obtaining module 501 is configured to obtain a first terminal and a second terminal, where the second terminal is a terminal that can replace the first terminal to complete a card writing operation on a virtual resource;
the first sending module 502 is configured to send a service confirmation page to the second terminal, and obtain a card confirmation message of the second terminal based on the service confirmation page, where the service confirmation page is used to remind the second terminal to confirm a card of a first user, and the first user is a user logged in the first terminal;
the second sending module 503 is configured to send a service processing page to the first terminal, and send an operation guidance page to the second terminal after the first terminal completes virtual resource addition operation based on the service processing page, where the service processing page is used to add virtual resources to a card account of the first user, and the operation guidance page is used to instruct the second terminal to perform card writing operation on a card of the first user.
According to the device provided by the embodiment of the invention, the first terminal and the second terminal which can replace the first terminal to complete the card writing operation on the virtual resource are obtained, the service confirmation page is sent to the second terminal, the card confirmation message of the second terminal is obtained based on the service confirmation page, the service processing page is sent to the first terminal, and the operation guide page is sent to the second terminal after the first terminal completes the virtual resource adding operation based on the service processing page, so that the second user can perform the card writing operation on the card of the first user based on the guide page, the terminal without the short-distance data exchange function can also perform the card writing operation on the card, the service use is not limited by hardware, the card writing operation process is simplified, and the service transmission efficiency is higher.
Fig. 6 is a block diagram illustrating a card writing apparatus 600 according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, interface to I/O (Input/Output) 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The Memory 604 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as an SRAM (Static Random Access Memory), an EEPROM (Electrically-Erasable Programmable Read-Only Memory), an EPROM (Erasable Programmable Read-Only Memory), a PROM (Programmable Read-Only Memory), a ROM (Read-Only Memory), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include an LCD (Liquid Crystal Display) and a TP (Touch Panel). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each of the front and rear cameras may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of the components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS (Complementary Metal Oxide Semiconductor) or CCD (Charge-coupled Device) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on an RFID (Radio Frequency Identification) technology, an IrDA (infrared-Data Association) technology, an UWB (Ultra Wideband) technology, a BT (Bluetooth) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more ASICs (Application Specific Integrated circuits), DSPs (Digital signal processors), DSPDs (Digital signal processing devices), PLDs (Programmable Logic devices), FPGAs (Field Programmable Gate arrays), controllers, microcontrollers, microprocessors or other electronic components for performing the above-described card writing method.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
A computer-readable storage medium having instructions which, when executed by a processor of a card writing apparatus, enable the card writing apparatus to perform the card writing method described above.
A computer device comprises a memory, a processor and computer executable instructions stored on the memory and capable of running on the processor, wherein the processor executes the computer executable instructions to realize the card writing method.
It should be noted that: in the card writing device provided in the above embodiment, only the division of the above functional modules is used for illustration when writing a card, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the service processing apparatus and the service processing method provided by the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (14)

1. A card writing method is applied to a first terminal, and comprises the following steps:
acquiring a service processing request of a first user, wherein the service processing request is used for requesting other terminals to replace the first terminal to finish card writing operation on virtual resources, and the first user is a user logged in the first terminal;
displaying an appointed graphic identifier, wherein the appointed graphic identifier is used for indicating a terminal scanning the appointed graphic identifier to replace the first terminal to complete the card writing operation of the virtual resource, and is also used for indicating the terminal scanning the appointed graphic identifier to confirm the card of the first user;
after the second terminal scans the specified graphic identifier and confirms the card of the first user, displaying a business processing page, wherein the business processing page is used for adding virtual resources to the card account of the first user;
and interacting based on the service processing page to complete virtual resource adding operation, and sending a virtual resource adding operation success message to the second terminal, so that the second terminal performs the card writing operation on the card of the first user based on the virtual resource adding operation success message, wherein the virtual resource adding operation is used for adding virtual resources to the card account of the first user, and the virtual resource adding operation success message is used for indicating the virtual resources written by the second terminal to the card of the first user.
2. The method of claim 1, further comprising:
and when the designated graphic identifier is displayed, displaying candidate users having designated terminals in the social relation chain of the first user, wherein the designated terminals are terminals with a short-distance data exchange function, and the distance between the designated terminals and the first terminal is less than a preset distance.
3. A card writing method is applied to a second terminal, and comprises the following steps:
scanning an appointed graphic identifier provided by a first terminal, wherein the appointed graphic identifier is used for indicating the terminal scanning the appointed graphic identifier to replace the first terminal to finish the card writing operation of virtual resources, and the appointed graphic identifier is also used for indicating the terminal scanning the appointed graphic identifier to confirm the card of the first user;
after the scanning is successful, sending a scanning confirmation message of the second terminal to a server;
displaying a service confirmation page returned by the server based on the scanning confirmation message, wherein the service confirmation page is used for reminding the second terminal to confirm a card of a first user, and the first user is a user logged in the first terminal;
when the card of the first user is detected, sending a card confirmation message of the second terminal to the server;
after receiving a virtual resource adding operation success message, displaying an operation guide page, wherein the operation guide page is used for indicating the second terminal to perform card writing operation on the card of the first user, the virtual resource adding operation success message is sent after the first terminal completes the virtual resource adding operation based on a service processing page, the service processing page is displayed after the second terminal scans the specified graphic identifier and confirms the card of the first user, and the virtual resource adding operation is used for adding virtual resources to the card account of the first user;
and writing the virtual resource to the card of the first user based on the short-distance data exchange function of the second terminal.
4. The method according to claim 3, wherein after sending a card confirmation message of the second terminal to the server when the card of the first user is detected, the method further comprises:
and acquiring a card detail page of the first user, wherein the card detail page comprises the card residual virtual resources of the first user.
5. A card writing method is applied to a server and comprises the following steps:
after the second terminal scans the specified graphic identifier, acquiring a first terminal and a second terminal, wherein the second terminal can replace the first terminal to complete the card writing operation on the virtual resource;
sending a service confirmation page to the second terminal, and acquiring a card confirmation message of the second terminal based on the service confirmation page, wherein the service confirmation page is used for reminding the second terminal to confirm a card of a first user, the first user is a user logged in the first terminal, the specified graphic identifier is also used for indicating the terminal scanning the specified graphic identifier to confirm the card of the first user, and the specified graphic identifier is displayed by the first terminal;
after the second terminal confirms the card of the first user, a service processing page is sent to the first terminal, and after the first terminal completes virtual resource adding operation based on the service processing page, an operation guide page is sent to the second terminal, wherein the service processing page is used for adding virtual resources to the card account of the first user, and the operation guide page is used for indicating the second terminal to perform card writing operation on the card of the first user.
6. The method of claim 5, wherein the obtaining the first terminal and the second terminal comprises:
receiving a scanning confirmation message of the second terminal, and extracting the first terminal and the second terminal from the scanning confirmation message; or the like, or, alternatively,
when the service processing request of the first user is detected, candidate users with appointed terminals in the social relation chain of the first user are obtained, the candidate users are sent to the first terminal, selected second users on the first terminal are obtained, the appointed terminal is a terminal with a short-distance data exchange function, and the distance between the appointed terminal and the first terminal is smaller than a preset distance.
7. The method of claim 6, wherein the extracting the first terminal and the second terminal from the scan confirmation message comprises:
extracting terminal model information of the second terminal from the scanning confirmation message;
and when the second terminal is determined to have a short-distance data exchange function according to the terminal model information of the second terminal, extracting the first terminal and the second terminal in the scanning confirmation message.
8. A card writing apparatus, wherein the apparatus is applied to a first terminal, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a service processing request of a first user, the service processing request is used for requesting other terminals to replace a first terminal to finish card writing operation on virtual resources, and the first user is a user logged in the first terminal;
the first display module is used for displaying an appointed graphic identifier, the appointed graphic identifier is used for indicating a terminal scanning the appointed graphic identifier to replace the first terminal to finish the card writing operation of the virtual resource, and the appointed graphic identifier is also used for indicating the terminal scanning the appointed graphic identifier to confirm the card of the first user;
the second display module is used for displaying a business processing page after the second terminal scans the specified graphic identifier and confirms the card of the first user, and the business processing page is used for adding virtual resources to the card account of the first user;
and the writing module is configured to perform interaction based on the service processing page to complete a virtual resource adding operation, and send a virtual resource adding operation success message to the second terminal, so that the second terminal performs the card writing operation on the card of the first user based on the virtual resource adding operation success message, where the virtual resource adding operation is used to add a virtual resource to the card account of the first user, and the virtual resource adding operation success message is used to indicate the virtual resource written by the second terminal to the card of the first user.
9. The apparatus of claim 8, further comprising:
and the third display module is used for displaying candidate users with appointed terminals in the social relation chain of the first user when the appointed graphic identification is displayed, wherein the appointed terminals are terminals with a short-distance data exchange function, and the distance between the appointed terminals and the first terminal is smaller than a preset distance.
10. A card writing apparatus, wherein the apparatus is applied to a second terminal, the apparatus comprising:
the scanning module is used for scanning an appointed graphic identifier provided by a first terminal, the appointed graphic identifier is used for indicating the terminal for scanning the appointed graphic identifier to replace the first terminal to finish the card writing operation on the virtual resource, and the appointed graphic identifier is also used for indicating the terminal for scanning the appointed graphic identifier to confirm the card of the first user;
the sending module is used for sending a scanning confirmation message of the second terminal to the server after the scanning is successful;
a display module, configured to display a service confirmation page returned by the server based on the scan confirmation message, where the service confirmation page is used to remind the second terminal to confirm a card of a first user, and the first user is a user logged in the first terminal;
the sending module is further configured to send a card confirmation message of the second terminal to the server when the card of the first user is detected;
the display module is further configured to display an operation guidance page after receiving a virtual resource addition operation success message, where the operation guidance page is used to instruct the second terminal to perform a card write operation on the card of the first user, the virtual resource addition operation success message is sent after the first terminal completes the virtual resource addition operation based on a service processing page, the service processing page is displayed after the second terminal scans the specified graphical identifier and confirms the card of the first user, and the virtual resource addition operation is used to add a virtual resource to a card account of the first user;
and the writing module is used for writing the virtual resource into the card of the first user based on the short-distance data exchange function of the second terminal.
11. The apparatus of claim 10, further comprising:
an obtaining module, configured to obtain a card detail page of the first user, where the card detail page includes the remaining virtual resources of the card of the first user.
12. A card writing apparatus, wherein the apparatus is applied to a server, the apparatus comprising:
the acquisition module is used for acquiring a first terminal and a second terminal after the second terminal scans the specified graphic identifier, wherein the second terminal can replace the first terminal to complete the card writing operation on the virtual resource;
the first sending module is used for sending a service confirmation page to the second terminal and acquiring a card confirmation message of the second terminal based on the service confirmation page, wherein the service confirmation page is used for reminding the second terminal to confirm a card of a first user, the first user is a user logged in the first terminal, the specified graphic identifier is also used for indicating the terminal scanning the specified graphic identifier to confirm the card of the first user, and the specified graphic identifier is displayed by the first terminal;
the second sending module is configured to send a service processing page to the first terminal after the second terminal confirms the card of the first user, and send an operation guidance page to the second terminal after the first terminal completes a virtual resource addition operation based on the service processing page, where the service processing page is used to add a virtual resource to a card account of the first user, and the operation guidance page is used to instruct the second terminal to perform a card writing operation on the card of the first user.
13. A computer device comprising a memory, a processor and computer-executable instructions stored on the memory and executable on the processor, wherein the processor when executing the computer-executable instructions implements the card writing method of any one of claims 1-7.
14. A computer-readable storage medium having instructions stored thereon for execution by a processor to perform the card writing method of any one of claims 1-7.
CN201710352725.0A 2017-05-18 2017-05-18 Card writing method and device, computer equipment and storage medium Active CN108960810B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710352725.0A CN108960810B (en) 2017-05-18 2017-05-18 Card writing method and device, computer equipment and storage medium
PCT/CN2018/087114 WO2018210271A1 (en) 2017-05-18 2018-05-16 Card writing method and device, terminal, server, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710352725.0A CN108960810B (en) 2017-05-18 2017-05-18 Card writing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108960810A CN108960810A (en) 2018-12-07
CN108960810B true CN108960810B (en) 2022-04-15

Family

ID=64273356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710352725.0A Active CN108960810B (en) 2017-05-18 2017-05-18 Card writing method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108960810B (en)
WO (1) WO2018210271A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932237B (en) * 2020-07-31 2022-11-29 武汉阿迪克电子股份有限公司 Cloud-based one-card transaction method and system
CN113807843B (en) * 2021-09-06 2023-10-20 中国银联股份有限公司 Card binding method, user terminal, server, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139543A (en) * 2015-07-31 2015-12-09 苏州海博智能系统有限公司 Intelligent card self-service charging method
CN105956854A (en) * 2016-05-11 2016-09-21 新智数字科技有限公司 Data processing method and cloud server
CN106204019A (en) * 2015-05-07 2016-12-07 深圳市腾讯计算机系统有限公司 A kind of information processing method, first terminal, the second terminal and server
CN106296183A (en) * 2016-08-01 2017-01-04 西宁高通交通科技有限公司 The off-line charging method of a kind of smart card and equipment
CN106559470A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of method for pushing and device of account information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10445723B2 (en) * 2010-04-09 2019-10-15 Paypal, Inc. NFC-transaction processing systems and methods
CN102289754A (en) * 2011-08-08 2011-12-21 中兴通讯股份有限公司 Method and system for paying on mobile terminal and mobile terminal
CN103761649A (en) * 2014-02-25 2014-04-30 唐川 Network recharging system and method for IC card
CN105868978A (en) * 2016-03-25 2016-08-17 福建联迪商用设备有限公司 NFC mobile payment method and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204019A (en) * 2015-05-07 2016-12-07 深圳市腾讯计算机系统有限公司 A kind of information processing method, first terminal, the second terminal and server
CN105139543A (en) * 2015-07-31 2015-12-09 苏州海博智能系统有限公司 Intelligent card self-service charging method
CN106559470A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of method for pushing and device of account information
CN105956854A (en) * 2016-05-11 2016-09-21 新智数字科技有限公司 Data processing method and cloud server
CN106296183A (en) * 2016-08-01 2017-01-04 西宁高通交通科技有限公司 The off-line charging method of a kind of smart card and equipment

Also Published As

Publication number Publication date
WO2018210271A1 (en) 2018-11-22
CN108960810A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN112118227B (en) Card binding method and terminal
CN110705983B (en) Method, device, equipment and storage medium for code scanning payment processing
CN108064373B (en) Resource transfer method and device
US20170372387A1 (en) Methods, Systems, and Devices for Pushing and Displaying Information
CN109598492B (en) Payment method, system, device, terminal and service server
CN104463612A (en) Method of using mobile terminal to provide parking fee preference credentials and system thereof
US20190370846A1 (en) Service processing method, storage medium, and terminal
KR20190130142A (en) Methods and devices for account creation, account refilling, and data synchronization
CN113643020A (en) Electronic transaction method and terminal
CN106503986B (en) Virtual resource transfer method and device
CN103810595B (en) Information verification method and device
CN105303371A (en) Bill processing method and device and terminal device
US20210004811A1 (en) Facial recognition payment
CN108960810B (en) Card writing method and device, computer equipment and storage medium
CN104966192B (en) Data processing method and device
US20170076368A1 (en) Method and Device for Processing Card Application Data
CN104835035A (en) Numerical value transferring method, device, and system
JP6293975B2 (en) Method, apparatus and system for displaying usage history
KR20130126048A (en) Payment method and system
CN106101249A (en) The method of PUSH message, device, terminal and server
US20150170120A1 (en) Method of providing payment services and messenger server using the method
CN111784481A (en) Code scanning ordering method, service code creating device and electronic equipment
KR20140026194A (en) System and method for providing settlement information
CN112749959B (en) Resource transfer method, system, device, equipment and storage medium
US20210334839A1 (en) Server, wallet system, computer readable recording medium and transfer method

Legal Events

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