Detailed Description
According to the existing information image using method, after a user triggers a display function on equipment, the information image can be displayed on an equipment screen until the user cancels the display manually or the equipment automatically enters a standby state, and the risk that the information image is maliciously acquired in the period is very high. Taking a mobile phone two-dimensional code payment scene as an example, many users are used to display a payment two-dimensional code on a mobile phone in advance when waiting for payment in line, or do not immediately perform a display canceling operation after payment is finished, and even the mobile phone with the payment two-dimensional code displayed on one side … … can be placed because of busy doing other things (such as packaging after shopping), which creates conditions for malicious users.
In view of the above problems, the present application provides a scheme that an NFC (Near Field Communication) module on a user equipment is used to control display of an information image, and in practical application, the NFC module is configured on a receiving device of the information image, so that the information image can be displayed on a screen of the user equipment only when the user equipment is close to the receiving device, and conversely, the information image can disappear immediately when the user equipment is far from the receiving device, thereby improving the security of the information image.
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described in detail below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
The information image display scheme provided by the application is applied to the user equipment with the NFC module, certainly, in order to achieve display of the information image, the user equipment also needs to have a basic display function, the specific user equipment can be compound equipment such as a mobile phone, a tablet personal computer and a smart watch, and can also be single-function equipment such as an electronic business card and an electronic tag, and the application does not need to be limited to this. In addition, the specific form of the information image can be a two-dimensional code, a one-dimensional bar code or a variable bar code, and the like, and the application scene can be payment, entrance guard, business card exchange and the like, which do not influence the implementation of the scheme of the application.
Fig. 1 is a flowchart of an information image display method provided in the present application, and the method may include the following steps:
s101, receiving an information image display instruction;
s102, determining an information image to be displayed according to the information image display instruction;
s103, calling an NFC module to detect an NFC signal of the environment where the user equipment is located;
s104, displaying the information image on the screen of the user equipment in the state that the NFC module can detect the NFC signal,
and S105, not displaying the information image in the state that the NFC module cannot detect the NFC signal.
The following describes the above scheme by taking an application scenario of performing quick payment by using a mobile phone two-dimensional code (also called a two-dimensional bar code) as an example.
According to S101, when the user wishes to pay using the two-dimensional code, a corresponding trigger operation is performed on the mobile phone, for example, functions such as "pay code", "pay on the surface", and the like are selected in a specific application, so as to issue an information image display instruction to the mobile phone, which corresponds to a payment operation instruction in this embodiment. Of course, the user may also implement the display triggering operation in other manners such as a gesture, a voice control, and the like, which is not limited in this application.
According to S102, after receiving the information image display instruction, the mobile phone determines a two-dimensional code image for payment. Here, a static two-dimensional code image generated in advance may be acquired, or a two-dimensional code image may be generated by live encoding.
The difference between the scheme of the application and the scheme of the prior art is that after the two-dimensional code image is determined, the two-dimensional code image is not immediately displayed on a screen of the mobile phone, but the mobile phone enters a 'trigger display' state, and in the state, whether other trigger conditions are met is further judged, and whether the two-dimensional code image is displayed is controlled.
The NFC signal is used as another trigger condition for displaying the two-dimensional code image. According to S103-S105, in the image triggering display state, calling an NFC module to continuously detect NFC signals of the surrounding environment of the mobile phone, if the NFC signals can be detected, displaying the determined two-dimensional code image on the screen of the mobile phone, otherwise, if the NFC signals cannot be detected, not displaying the two-dimensional code image.
NFC is a short-range high-Frequency wireless communication technology, and is evolved from a Radio Frequency Identification (RFID) technology. The NFC module is a radio frequency module built in user equipment such as a mobile phone, and by using the module, it is possible to detect near-field short-distance high-frequency radio waves and transmit information by electromagnetic induction coupling of radio frequency parts in a frequency spectrum.
The effective communication distance of the NFC is generally within 10cm, and by utilizing the characteristic, the display time of the two-dimensional code image can be skillfully controlled. During practical application, the NFC module is also configured on the scanning device, and once the mobile phone is close enough to the code scanning device in the image triggering display state, the NFC module on the mobile phone can sense the NFC module in the code scanning device, the display of the two-dimensional code image can be triggered, otherwise, when the mobile phone is far away from the code scanning device, the two-dimensional code image cannot be displayed on the screen of the mobile phone. By the mode, on one hand, the effective display time of the two-dimensional code image can be shortened, the possibility that the image is maliciously acquired is reduced, and even during the display of the information image, because the code scanning device is close to and is kept in front of a screen of a mobile phone, under the condition, the implementation is difficult no matter the code scanning device is used for carrying out camera shooting or manual candid shooting.
In addition, this application scheme utilizes NFC induction technology, can be with the effective show time automatic control of two-dimensional code image in the required short time of scanning, promptly: the display device is close to automatic display and automatically disappears after being moved away, and a user does not need to perform more operation participation control, so that the use convenience is higher. Moreover, in consideration of the actual application scenario, after the user manually triggers the display operation, there is necessarily an actual information exchange requirement, that is, during the image trigger display state, the user basically does not bring the mobile phone close to other NFC devices except the code scanning device, so that the actual possibility of misjudgment is very small.
It should be noted that NFC itself is also a near field information exchange technology, but in the solution of the present application, only NFC may be actually used as a means for ranging, and an NFC module is not required to perform actual data exchange. This can greatly reduce the implementation limitations of the solution of the present application, for example: many cell-phone NFC modules all install at the cell-phone back, must hug closely the opposite terminal NFC module behind the cell-phone when information exchange moreover, if be close to cell-phone screen one side with the opposite terminal NFC module, can lead to information exchange to go on correctly because signal strength unsatisfied requirement. However, in the scheme of the present application, since actual data transmission by NFC is not required, only a low-intensity NFC signal needs to be detected to trigger information image display. In addition, at present, various standards exist in NFC, and NFC modules of different standards may have some compatibility problems, for example, when a bus card is read by an NFC mobile phone, a situation that a card can be identified but data cannot be read normally is often encountered, and the application of the scheme of the present application is not limited by this. For code scanning equipment, simple transformation can be realized even in modes such as NFC patches and the like, and the implementation cost is low. Of course, no limitation on whether NFC is used for other purposes than ranging is required to implement the scheme of the present application.
Fig. 2 is a schematic view of a specific implementation scenario in which the scheme of the present application is applied to a subway ticket gate, and an NFC module is installed near a code scanning window of the gate. When the user selects the 'pay on the counter' function in the Payment treasure application, the two-dimensional code image is not immediately displayed on the screen of the mobile phone. When a user approaches the gate to a code scanning window, the NFC module in the mobile phone senses the NFC module installed in the gate, the two-dimensional code image is triggered to be displayed on a screen of the mobile phone, and code scanning interaction is completed. After the user removes the mobile phone from the gate and scans the code window, the two-dimensional code image displayed on the mobile phone screen disappears.
It can be understood that the term "not displaying an information image" in the present application refers to not displaying an image carrying actual information to be transmitted, and therefore the actual display manner is not limited to displaying a blank area. For example, in one embodiment of the present application, a dummy image may be displayed on the screen of the user device during the "no information image is displayed". As shown in fig. 3, the pseudo image may adopt a similar style as the real image, but does not carry valid information to be transmitted, such as an account number and a password in a payment scenario, a name and a contact way in a business card exchange scenario, and the like, so that even if the pseudo image is maliciously acquired, no actual loss is caused. According to actual requirements, other functional information may be further added to the pseudo image, for example, the following may be set: when the pseudo-image is scanned, some kind of alarm mechanism is triggered to remind the user that someone is using the pseudo-image, please note the safety of personal information.
In addition, when the information image is not displayed, some prompt information may be displayed to prompt the user to bring his or her own device close to the receiving device of the information image, for example, a word such as "please bring a mobile phone close to the code scanning device" may be displayed. Of course, the user may be prompted by sound, vibration, or the like, and the present application does not need to be limited to a specific output mode of the prompting information.
It is also possible to output some sort of prompt information after the information image is displayed to inform the user that the image has been correctly displayed, considering that the user himself may be difficult to see during the actual display of the information image. In combination with the actual situation of the user equipment, the prompting modes that can be selected here include sound, vibration, flash light indication and the like, and the mode of triggering the equipment vibration to realize the prompting is a more appropriate scheme in consideration of factors such as environmental noise interference and confidentiality, and certainly, the application does not need to limit the specific output mode of the prompting information.
In a specific embodiment of the present application, it may be further configured to stop detecting the NFC signal when a duration of the NFC signal which cannot be detected exceeds a preset threshold (e.g., 20 seconds, 30 seconds, and the like), that is, exit from an image trigger display state, so as to further improve security and reduce power consumption of the user equipment.
Corresponding to the above method embodiment, the present application further provides an information image display apparatus, as shown in fig. 4, the apparatus may include:
a displayinstruction receiving module 110, configured to receive an information image display instruction;
an informationimage determining module 120, configured to determine an information image to be displayed according to an information image display instruction;
thedetection control module 130 is configured to invoke an NFC module to detect an NFC signal of an environment where the user equipment is located;
and thedisplay control module 140 is configured to display the information image on a screen of the user equipment in a state where the NFC module can detect the NFC signal, and otherwise, not display the information image.
In an embodiment of the present application, thedisplay control module 140 may be specifically configured to: and when the information image is not displayed, displaying a pseudo image which does not carry effective information to be transmitted on a screen of the user equipment.
In an embodiment of the present application, thedetection control module 130 may further be configured to: and if the duration of the NFC signals which cannot be detected exceeds a preset duration threshold, the NFC signals are stopped being detected.
Referring to fig. 5, in an embodiment of the present application, the information image display apparatus may further include:
thefirst prompting module 150 is configured to output first prompting information to prompt a user to bring a user device close to a receiving device of the information image, in a case where the information image is not displayed. For example, the first prompt information is output in a screen display manner.
Referring to fig. 5, in an embodiment of the present application, the information image display apparatus may further include:
thesecond prompting module 160 is configured to output a second prompting message after the information image is displayed, so as to prompt the user that the information image is correctly displayed. For example, the second prompting message is output in a manner that triggers a vibration of the user device.
It should be understood that thefirst prompting module 150 and thesecond prompting module 160 may be configured in the apparatus at the same time as shown in fig. 5 or may be configured in the apparatus separately, and therefore the structure shown in fig. 5 should not be construed as limiting the present application.
Based on the image display device, the application also provides a barcode payment device, which is applied to a user device with an NFC module, and the device includes:
the payment operation instruction receiving module is used for receiving a payment operation instruction;
the payment bar code determining module is used for determining a bar code image for payment according to the payment operation instruction;
the detection control module is used for calling the NFC module to detect the NFC signal of the environment where the user equipment is located;
and the payment bar code display control module is used for displaying the bar code image on a screen of the user equipment in a state that the NFC module can detect the NFC signal, or else, not displaying the bar code image.
It can be understood that the barcode payment apparatus is an implementation of the image display apparatus in a specific application environment, and therefore, the specific implementation principle and the structural schematic diagram of the barcode payment apparatus can be referred to the foregoing embodiment of the image display apparatus and the descriptions of fig. 4 and fig. 5, and a repeated description is not repeated in this embodiment.
In addition, the implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
The device provided by the present application can be applied to devices such as a mobile phone, a tablet computer, and a smart watch, and as shown in fig. 6, for a schematic diagram of a hardware structure of a device for configuring the device provided by the present application, the device may include: aprocessor 1010, amemory 1020, an input/output interface 1030, acommunication interface 1040, and abus 1050. Wherein theprocessor 1010,memory 1020, input/output interface 1030, andcommunication interface 1040 are communicatively coupled to each other within the device viabus 1050.
Theprocessor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided in the present Application.
TheMemory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. Thememory 1020 may store an operating system and other application programs, and when the technical solution provided by the present application is implemented by software or firmware, the relevant program codes are stored in thememory 1020 and called to be executed by theprocessor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
Thecommunication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such asprocessor 1010,memory 1020, input/output interface 1030, andcommunication interface 1040.
It should be noted that although the above-mentioned device only shows theprocessor 1010, thememory 1020, the input/output interface 1030, thecommunication interface 1040 and thebus 1050, in a specific implementation, the device may also include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the apparatus described above may also include only the components necessary to implement the solution of the present application, and not necessarily all of the components shown in the figures.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the solution of the present application. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is directed to embodiments of the present application and it is noted that numerous modifications and adaptations may be made by those skilled in the art without departing from the principles of the present application and are intended to be within the scope of the present application.