CN115665314A - Screen display method, terminal, and computer-readable storage medium - Google Patents

Screen display method, terminal, and computer-readable storage medium Download PDF

Info

Publication number
CN115665314A
CN115665314A CN202211272632.4A CN202211272632A CN115665314A CN 115665314 A CN115665314 A CN 115665314A CN 202211272632 A CN202211272632 A CN 202211272632A CN 115665314 A CN115665314 A CN 115665314A
Authority
CN
China
Prior art keywords
terminal
card
window
display screen
display
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.)
Pending
Application number
CN202211272632.4A
Other languages
Chinese (zh)
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.)
Hangzhou Douku Software Technology Co Ltd
Original Assignee
Hangzhou Douku Software Technology 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 Hangzhou Douku Software Technology Co Ltd filed Critical Hangzhou Douku Software Technology Co Ltd
Priority to CN202211272632.4A priority Critical patent/CN115665314A/en
Publication of CN115665314A publication Critical patent/CN115665314A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present application relates to a screen display method, a terminal, and a computer-readable storage medium. The method is applied to a terminal with a Near Field Communication (NFC) function, and comprises the following steps: after detecting a near field communication radio frequency signal, acquiring a display screen state of the terminal, wherein the display screen state comprises a screen extinguishing state or a screen lightening state; displaying a target window related to a selection process of the near field communication card on a display screen of the terminal according to the state of the display screen; and under different display screen states, the display types of the target window are different. By adopting the method, the flexibility of interaction with a user when the near field communication card to be swiped is selected from the plurality of near field communication cards can be improved.

Description

Screen display method, terminal, and computer-readable storage medium
Technical Field
The present application relates to the field of near field communication technologies, and in particular, to a screen display method, a terminal, and a computer-readable storage medium.
Background
With the development of Near Field Communication (NFC) technology, more and more terminals have a function of swiping cards based on NFC. Generally, when a card is swiped based on NFC, a terminal is required to display information of a near field communication card to interact with a user, so that the user selects the near field communication card to be swiped from a plurality of near field communication cards, and the NFC card swiping function of the terminal is realized.
However, the conventional technology has a problem of poor flexibility when interacting with a user.
Disclosure of Invention
The embodiment of the application provides a screen display method, a terminal and a computer readable storage medium, which can improve the flexibility of interaction with a user when a near field communication card to be swiped is selected from a plurality of near field communication cards.
In a first aspect, an embodiment of the present application provides a screen display method, which is applied to a terminal having an NFC function, where the method includes:
after detecting a near field communication radio frequency signal, acquiring a display screen state of the terminal, wherein the display screen state comprises a screen extinguishing state or a screen lightening state;
displaying a target window related to a selection process of the near field communication card on a display screen of the terminal according to the state of the display screen;
and under different display screen states, the display types of the target window are different.
In a second aspect, an embodiment of the present application provides a screen display device, which is applied to a terminal having an NFC function, and includes:
the terminal comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the display screen state of the terminal after detecting a near field communication radio frequency signal, and the display screen state comprises a screen off state or a screen on state;
the first display module is used for displaying a target window related to the selection process of the near field communication card on a display screen of the terminal according to the state of the display screen;
and the display type of the target window is different under different display screen states.
In a third aspect, an embodiment of the present application provides a terminal, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the screen display method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the screen display method according to the first aspect.
In a fifth aspect, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the screen display method according to the first aspect.
The screen display method is applied to the terminal with the near field communication function, after the near field communication radio frequency signal is detected, the target window related to the selection process of the near field communication card can be displayed on the display screen of the terminal according to the display screen state of the terminal by acquiring the display screen state of the terminal, and the display types of the target window are different under different display screen states, so that the target windows of different display types related to the selection process of the near field communication card can be displayed on the display screen of the terminal under different display screen states of the terminal, the disturbance to a user can be reduced, the target window related to the selection process of the near field communication card can be displayed, and the flexibility of interaction between the user and the terminal is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating a pop-up notification window in the prior art;
FIG. 2 is a diagram illustrating a full screen pop-up window in the prior art;
FIG. 3 is a diagram showing an application environment of a screen display method in one embodiment;
FIG. 4 is a flowchart of a screen display method in one embodiment;
FIG. 5 is a diagram of a first window in one embodiment;
FIG. 6 is a diagram of a second window in one embodiment;
FIG. 7 is a diagram of a third window in one embodiment;
FIG. 8 is a flowchart of a screen display method in another embodiment;
FIG. 9 is a flowchart of a screen display method in another embodiment;
FIG. 10 is a block diagram showing the construction of a screen display device according to an embodiment;
FIG. 11 is a block diagram showing the construction of a screen display apparatus according to another embodiment;
FIG. 12 is a block diagram showing the construction of a screen display device according to another embodiment;
FIG. 13 is a block diagram showing the construction of a screen display apparatus according to another embodiment;
FIG. 14 is a block diagram showing the construction of a screen display apparatus according to another embodiment;
FIG. 15 is a block diagram showing the construction of a screen display apparatus according to another embodiment;
FIG. 16 is a block diagram showing the construction of a screen display apparatus according to another embodiment;
FIG. 17 is a block diagram showing the construction of a screen display apparatus according to another embodiment;
fig. 18 is a schematic configuration diagram of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
At present, near Field Communication (NFC) technology is widely applied to daily life of people, and by opening/binding a bus card, a bank card, and an access control card on a terminal, functions of swiping a bus by the terminal, swiping a subway by the terminal, paying by the terminal, swiping an access control by the terminal, and the like can be realized. For the interactive page popped up by the information, some terminals currently adopt a top pop-up notification window as shown in fig. 1, and some terminals adopt a full-screen pop-up window as shown in fig. 2. The top pop-up notification window has the minimum influence on other function pages currently used by the user, such as the situation that the user is watching a video or playing a game, and does not occupy the whole screen and has small influence on the user; when more than one near field communication card is bound on the user terminal, the problem of selecting which card to swipe is involved, one of all cards is a default card, other cards are non-default cards, if the default card is used for swiping the card, the card swiping can be directly realized, if the non-default card is used for swiping the card, the card swiping needs to be switched, the terminal usually has an automatic switching mode and a user manual switching mode, and when the user manually selects the card, all cards can be displayed in a full-screen popup mode, so that the card swiping operation of the user is facilitated. In summary, no matter which popup window method is adopted, the problem of the user cannot be well solved, a top window popping mode is unified, although the disturbance to the user is minimum, the manual card selection of the user is inconvenient, and a full-screen popup window popping mode is unified.
The screen display method provided by the embodiment of the application can be applied to the application environment shown in fig. 3. Wherein the terminal 102 communicates with the card reader 104 via NFC. The NFC is a close-range (within 10 cm) wireless communication technology, the operating frequency of the NFC is 13.56MHz, the terminal 102 with the NFC function is close to the card reader 104 by opening/binding a bus card, a bank card, and an access card on the terminal 102 with the NFC function, the card reader 104 can send a near field communication radio frequency signal to the terminal 102, and the card swiping function of the terminal 102 is realized through the near field communication radio frequency signal. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices having an NFC function, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The card reader 104 may be various card readers having NFC chips, and the like.
In one embodiment, as shown in fig. 4, a screen display method is provided, which is described by taking the method as an example applied to the terminal with the NFC function in fig. 3, and includes the following steps:
s201, after the near field communication radio frequency signal is detected, the display screen state of the terminal is obtained, wherein the display screen state comprises a screen off state or a screen on state.
The near field communication radio frequency signal in this embodiment may be a communication signal sent by a card reader when a terminal with an NFC function approaches the card reader and communicates with the card reader by using NFC. Optionally, in this embodiment, the near field communication radio frequency signal may be generated in any scene of a terminal swiping a bus card, a terminal swiping a bank card, a terminal swiping an access card, and the like. Optionally, the terminal with an NFC function may include an NFC radio frequency circuit, and the near field communication radio frequency signal in this embodiment may be detected by the NFC radio frequency circuit of the terminal.
Generally, the terminal has a function of broadcasting an event, and in this embodiment, the terminal may detect a display screen state in real time and broadcast the display screen state, so that the terminal acquires its own display screen state. The terminal may be in a standby state when the display screen state of the terminal is the off-screen state, but it should be noted that the NFC function of the terminal is not affected when the display screen state of the terminal is the off-screen state, and the card swiping still can be realized by using the NFC function; the display screen state of the terminal may be a state for using the terminal, for example, the user is watching a video using the terminal, or the user is using an application of the terminal, etc. Optionally, in this embodiment, after the NFC radio frequency signal is detected, the acquired display screen state of the terminal may be a screen-off state or a screen-on state.
S202, displaying a target window related to the selection process of the near field communication card on a display screen of the terminal according to the state of the display screen; wherein, under different display screen states, the display types of the target window are different.
Optionally, the near field communication card in this embodiment may include a simulated bus card, a simulated bank card, a simulated access card, a simulated rechargeable card, and the like. The target window related to the selection process of the near field communication cards can be windows of a plurality of near field communication cards supported by the display terminal; or, the window may be a window for displaying identification information and card swiping information of the nfc card that is matched with the nfc radio-frequency signal. For example, if the near field communication radio frequency signal is generated in a scene where the terminal swipes a bus card, the target window may be a window for displaying a plurality of near field communication cards supported by the terminal; or, the window can also be used for displaying the selected identification information of the simulated bus card and the card swiping information of the simulated bus card; for another example, if the near field communication radio frequency signal is generated in a scene in which the terminal swipes an access card, the target window may be a window of multiple near field communication cards supported by the terminal; alternatively, the window may be a window for displaying the identification information of the selected simulated access card.
Optionally, the display type of the target window may be full-screen display, or may also be popup display, or may also be split-screen display, and the like. For example, when the display screen state of the terminal is a screen-off state, the display type of the target window may be full-screen display; and when the display screen state of the terminal is a bright screen state, the display type of the target window can be popup display or split screen display. Further, as an optional implementation manner, when the display screen state of the terminal is a bright screen state, and the display type of the target window is a popup display, the popup may be displayed in a notification bar area of the display screen of the terminal, or may also be displayed in a middle area of the display screen of the terminal, or may also be displayed in a left area of the display screen of the terminal, or may also be displayed in a right area of the display screen of the terminal. Optionally, the target window may include at least one of information of multiple near field communication analog cards, a selection control of multiple near field communication analog cards, card swiping information of a near field communication analog card, and card swiping identification information of a near field communication analog card. Optionally, in this embodiment, the terminal may determine the display type of the target window according to the state of the display screen, and then control the display screen to display on the display screen of the terminal according to the determined display type of the target window.
The screen display method is applied to the terminal with the near field communication function, after the near field communication radio frequency signal is detected, the display screen state of the terminal is obtained, the target window related to the selection process of the near field communication card can be displayed on the display screen of the terminal according to the display screen state of the terminal, and the display types of the target window are different under different display screen states, so that the target windows of different display types related to the selection process of the near field communication card can be displayed on the display screen of the terminal under different display screen states of the terminal, the disturbance to a user can be reduced, the target window related to the selection process of the near field communication card can be displayed, and the flexibility of interaction between the user and the terminal is improved.
In a scene in which the terminal displays a target window related to the selection process of the near field communication card on the display screen of the terminal according to the display screen state, the display screen state of the terminal may be a screen-off state or a screen-on state. In one embodiment, when the display screen state of the terminal is a screen-off state, the display type of the target window is a full-screen display type; and when the display screen is in a bright screen state, the display type of the target window is a popup display type in a notification bar area of the current interface.
In this embodiment, when the display screen state is the off-screen state, that is, when the user does not use the terminal and the terminal is in the standby state, the display type of the target window is the full-screen display type. Optionally, when the display type of the target window is a full-screen display type, the display screen displayed in a full-screen manner may include multiple near field communication simulation cards supported by the terminal and selection controls of the multiple near field communication simulation cards, and the like.
In this embodiment, when the display screen is in a bright screen state, that is, when the user uses the terminal, the display type of the target window is a popup display type in the notification bar area of the current interface. Optionally, the target window displayed by the popup window may be a circular window, or may also be a rectangular window, or may also be an arc window, and the like. Optionally, the target window displayed in the popup window may include card swiping information of the near field communication analog card, card swiping identification information of the near field communication analog card, and the like.
In the embodiment, when the display screen state is the off-screen state, that is, when the user does not use the terminal, the target window related to the selection process of the nfc card is displayed on the display screen of the terminal in a full screen manner, so that the user can comprehensively acquire the selection information of the nfc card, when the display screen state is the on-screen display state, that is, when the user uses the terminal, the target window is displayed in the notification bar area of the current interface of the terminal in a popup window manner, the disturbance to the user can be reduced while the information of the nfc card is displayed, the use experience of the user on the terminal is ensured, and the target window is displayed by flexibly adopting different display types in different display screen states, so that the flexibility of interaction between the terminal and the user is improved.
In a scenario that the terminal displays a target window related to a selection process of the near field communication card on a display screen of the terminal according to a display screen state, if the display screen state of the terminal is a screen-off state, the target window may be a first window including a plurality of card selection controls corresponding to the plurality of near field communication cards, respectively. In one embodiment, the step S202 includes: and if the display screen state is the screen extinguishing state, displaying a first window on the display screen of the terminal within a preset time.
The preset time period may be 3 seconds, or 5 seconds, and the like, which is not limited in this embodiment. It should be noted that, after the preset duration is reached, the first window pops up from the display screen of the terminal, that is, the first window is no longer displayed on the display screen of the terminal. It can be understood that the first window is displayed on the display screen of the terminal within the preset time, and when the preset time is reached, the first window is popped up from the display screen of the terminal, so that the phenomenon that the display screen of the terminal is occupied for too long time and a user uses the display screen of the terminal to display other pages is avoided.
For example, the first window in this embodiment may be a window as shown in fig. 5, optionally, in this embodiment, the multiple card selection controls respectively corresponding to the near field communication cards and included in the first window may be circular controls, rhombic controls, or square controls, and the like, and fig. 5 illustrates only a circular control as an example.
Optionally, in this embodiment, after displaying the first window on the display screen of the terminal, the user may trigger the selection control of the target card, which is matched with the near field communication radio frequency signal, from the multiple displayed card selection controls, and if the terminal detects a trigger operation for a target card selection control in the multiple card selection controls, the terminal may perform set-top processing and/or scaling processing on the target card selection control, it may be understood that if the selected display processing performed on the target card selection control is set-top processing, the target card may be set-top displayed on the display screen of the terminal; if the selected display process performed on the target card selection control is a zoom process, the target card may be displayed in a zoomed state on the display screen of the terminal, for example, the target card may be displayed after being enlarged, or the target card may be displayed after being reduced.
In this embodiment, when the display screen state of the terminal is the screen off state, the first window including the plurality of card selection controls corresponding to the plurality of near field communication cards respectively is displayed on the display screen of the terminal within the preset time period, so that the user can comprehensively acquire the selection information of the near field communication cards.
In a scene that the terminal displays a target window related to a selection process of the near field communication card on a display screen of the terminal according to the display screen state, if the display screen state of the terminal is a bright screen state, the target window may include a second window and a third window, the second window may include a card selection guide control, and the third window may include card selection notification information. In one embodiment, the target window includes a second window including a card selection guide control and a third window including card selection notification information indicating a currently selected near field communication card. That is, the step S202 includes: and if the display screen state is a bright screen state, displaying a second window or a third window on the display screen of the terminal.
The card selection guide control included in the second window may be a circular control, a diamond control, or a square control, and optionally, an icon of the near field communication card may be further included in the card selection guide control, so as to indicate that the user triggers the card selection guide control by clicking the icon. Optionally, the card selection notification information included in the third window may be text information, image information, or the like. As an optional implementation, the currently selected near field communication card indicated by the card selection notification information may include an identifier of the currently selected near field communication card, deduction resource value information of the currently selected near field communication card, a remaining resource value of the currently selected near field communication card, and the like. Illustratively, the second window in the present embodiment may be a window as shown in fig. 6, and the third window may be a window as shown in fig. 7.
Optionally, in this embodiment, as an optional implementation manner, if the display screen state of the terminal is a bright screen state, it may be determined whether to display the second window or the third window on the display screen of the terminal according to a response result to the near field communication radio frequency signal. For example, if the response result of the terminal to the near field communication radio frequency signal is successful, a third window may be displayed on the display screen of the terminal; and if the response result of the terminal to the near field communication radio frequency signal is failure, displaying a second window on a display screen of the terminal.
Optionally, in this embodiment, as another optional implementation manner, the "displaying the second window or the third window on the display screen of the terminal" may be implemented by the steps shown in fig. 8:
and S301, acquiring the current card selection mode of the terminal.
Optionally, the current card selection mode of the terminal may be a mode in which a user manually selects a card, or a mode in which the terminal automatically selects a card. It should be noted that the current card selection mode of the terminal may be selected by the terminal when the terminal binds the supported nfc card, and optionally, the card selection mode selected by the user may be a mode in which the user manually selects the card, or a mode in which the terminal automatically selects the card. In this embodiment, the terminal may obtain the current card selection mode of the terminal according to the selection of the user when binding the supported near field communication cards.
And S302, if the card selection mode is a mode that the user manually selects the card, displaying a second window on a display screen of the terminal.
Optionally, in this embodiment, if the current card selection mode of the terminal is a mode in which the user manually selects a card, the terminal may determine that a second window including a card selection guide control is displayed on the display screen of the terminal, and display the second window on the display screen of the terminal. Further, as an optional implementation manner, after a second window is displayed on a display screen of the terminal, a user may trigger a card selection guide control in the second window, and after the terminal detects a trigger operation for the card selection guide control, a first window including a plurality of card selection controls corresponding to a plurality of near field communication cards respectively may be displayed on the display screen of the terminal within a preset time period, where the preset time period may be optionally 3 seconds, or 5 seconds, and the like, and the embodiment is not limited herein. It should be noted that, after the preset duration is reached, the first window pops up from the display screen of the terminal, that is, the first window is no longer displayed on the display screen of the terminal. It can be understood that the first window is displayed on the display screen of the terminal within the preset duration, and when the preset duration is reached, the first window is popped up from the display screen of the terminal, so that the situation that the time of occupying the display screen of the terminal is too long, and the display screen of the terminal used by a user is influenced to display other pages is avoided.
And S303, if the card selection mode is a mode for automatically selecting the card by the terminal, displaying a second window or a third window on a display screen of the terminal according to the accuracy information of the automatically selected card by the terminal.
Optionally, in this embodiment, if the current card selection mode of the terminal is a mode in which the terminal automatically selects a card, the terminal may determine, according to the accuracy information of the terminal automatically selecting the card, whether to display the second window on the display screen of the terminal or display the third window on the display screen of the terminal. Optionally, in this embodiment, the terminal may detect whether an Application Identifier (AID) sent by the near field communication card reader is received, and determine, according to a detection result, accuracy information of an automatically selected card by the terminal, for example, if the terminal detects that the AID sent by the near field communication card reader is received, the AID sent by the near field communication card reader may be matched with an AID of a near field communication card supported by the terminal, if a matching result is consistent, it may be determined that the accuracy information indicates that the accuracy of the automatically selected card by the terminal is greater than a preset threshold, and if the matching result is inconsistent, it may be determined that the accuracy information indicates that the accuracy of the automatically selected card by the terminal is less than or equal to the preset threshold; in addition, if the terminal does not detect that the AID sent by the near field communication card reader is received, the terminal may determine that the accuracy information indicates that the accuracy of the terminal automatically selecting the card is less than or equal to a preset threshold.
In this embodiment, when the display screen state of the terminal is the bright screen state, the second window or the third window is displayed on the display screen of the terminal, the second window includes the card selection guide control, the third window includes the card selection notification information indicating the currently selected near field communication card, and both the second window and the third window are local pop windows, so that the excessive display area of the display screen of the terminal is not occupied, interference to the user can be reduced as much as possible when the display screen state of the terminal is the bright screen state, and the user experience of the user on the terminal is ensured.
In the case that the current card selection mode of the terminal is a mode in which the terminal automatically selects a card, a process of how to display a target window on a display screen of the terminal according to the accuracy information of the terminal automatically selecting a card will be described in detail below. On the basis of the foregoing embodiment, in an embodiment, as shown in fig. 9, the foregoing step S303 includes:
s401, if the accuracy information indicates that the accuracy of the terminal for automatically selecting the card is greater than a preset threshold value, acquiring an identifier of the card automatically selected by the terminal, and displaying a third window on a display screen of the terminal according to the identifier.
The third window comprises card selection notification information, namely the terminal needs to acquire the identifier of the card automatically selected by the terminal when displaying the third window, and the card selection notification information is generated according to the identifier of the card automatically selected by the terminal. Optionally, in this embodiment, the terminal may generate card selection notification information according to the identifier of the card automatically selected by the terminal when it is determined that the accuracy of the card automatically selected by the terminal is greater than the preset threshold, and display a third window on the display screen of the terminal according to the card selection notification information. For example, if the identifier of the card automatically selected by the terminal is the identifier of the simulated bus card, the terminal may generate simulated bus card selection notification information according to the identifier of the simulated bus card automatically selected by the terminal when it is determined that the accuracy of automatically selecting the card by the terminal is greater than the preset threshold, and display a third window on the display screen of the terminal according to the simulated bus card selection notification information.
S402, if the accuracy information indicates that the accuracy of the terminal for automatically selecting the card is smaller than or equal to a preset threshold value, displaying a second window on a display screen of the terminal.
In this embodiment, if it is determined that the accuracy information of the terminal for automatically selecting the card indicates that the accuracy of the terminal for automatically selecting the card is less than or equal to the preset threshold, it may be determined that a second window including a card selection guide control is displayed on the display screen of the terminal. Further, as an optional implementation manner, after a second window is displayed on a display screen of the terminal, a user may trigger a card selection guide control in the second window, and after the terminal detects a trigger operation for the card selection guide control, a first window including a plurality of card selection controls respectively corresponding to a plurality of near field communication cards may be displayed on the display screen of the terminal within a preset time period, where the preset time period may be, optionally, 2 seconds, or 6 seconds, and the like, and this embodiment is not limited herein. It should be noted that, when the preset duration is reached, the first window pops up from the display screen of the terminal, that is, the first window is no longer displayed on the display screen of the terminal. It can be understood that the first window is displayed on the display screen of the terminal within the preset time, and when the preset time is reached, the first window is popped up from the display screen of the terminal, so that the phenomenon that the display screen of the terminal is occupied for too long time and a user uses the display screen of the terminal to display other pages is avoided.
In this embodiment, if the terminal determines that the accuracy information of the terminal automatically selecting the card indicates that the accuracy of the terminal automatically selecting the card is greater than the preset threshold, it may be determined that the accuracy of the terminal automatically selecting the card is high, and the card automatically selected by the terminal may respond to the near field communication radio frequency signal, and at this time, by displaying a third window including card selection notification information on a display screen of the terminal, the card selection notification information may be displayed without occupying the display screen of the terminal, thereby reducing interference to a user; if the terminal determines that the accuracy information of the terminal automatically selecting the card indicates that the accuracy of the terminal automatically selecting the card is smaller than or equal to the preset threshold value, the terminal automatically selecting the card cannot respond to the near field communication radio frequency signal, at the moment, the second window comprising the card selection guide control is displayed on the display screen of the terminal, the card selection guide control included in the second window can be triggered under the condition that most of the display screen of the terminal is not occupied, the first window is displayed on the display screen of the terminal, and a user can comprehensively acquire the selection information of the near field communication card.
In some scenarios, the user may move the terminal away from the card reader, so that the terminal can no longer detect the near field communication radio frequency signal sent by the card reader, and at this time, the terminal may terminate the pop-up window or not pop-up any window. In one embodiment, the method further comprises: and if the near field communication radio frequency signal is not detected in the process of executing the selection process of the near field communication card, forbidding to display the target window on the display screen of the terminal.
In this embodiment, if the terminal does not detect the near field communication radio frequency signal any more during the process of executing the selection process of the near field communication card, it may be stated that the terminal is removed from the card reader and the terminal cannot perform NFC communication with the card reader, and at this time, the terminal prohibits the display of the target window on the display screen of the terminal, so as to reduce interference to the user due to screen flipping as much as possible.
In the embodiment, in the process of executing the selection process of the near field communication card, after the near field communication radio frequency signal is not detected, the terminal prohibits the display of the target window on the display screen of the terminal, so that the interference of the pop-up screen to the user can be reduced as much as possible under the condition that the user moves the terminal, and the use experience of the user to the terminal is ensured.
To facilitate understanding by those skilled in the art, the screen display method provided by the present disclosure is described in detail below, and may include:
s1, after a near field communication radio frequency signal is detected, a display screen state of the terminal is obtained, wherein the display screen state comprises a screen off state or a screen on state.
S2, if the display screen is in the screen off state, displaying a first window on the display screen of the terminal within a preset time length; the first window includes a plurality of card selection controls corresponding to the plurality of near field communication cards, respectively.
And S3, if the trigger operation aiming at the target card selection control in the plurality of card selection controls is detected, performing selection display processing on the target card selection control, wherein the selection display processing comprises at least one of top setting processing and zooming processing.
And S4, if the display screen state is a bright screen state, acquiring the current card selection mode of the terminal.
S5, if the card selection mode is a mode that a user manually selects a card, displaying a second window on a display screen of the terminal; the second window includes a card selection guide control.
And S6, after the triggering operation for the card selection guide control in the second window is detected, displaying the first window on a display screen of the terminal within a preset time length.
S7, if the card selection mode is a mode that the terminal automatically selects the card, detecting whether an application identifier AID sent by the near field communication card reader is received; and determining the accuracy information of the card automatically selected by the terminal according to the detection result.
S8, if the accuracy information of the terminal automatically selecting the card indicates that the accuracy of the terminal automatically selecting the card is greater than a preset threshold value, acquiring an identifier of the terminal automatically selecting the card, and displaying a third window on a display screen of the terminal according to the identifier; the third window includes card selection notification information indicating a currently selected near field communication card.
And S9, if the accuracy information of the terminal automatically selecting the card indicates that the accuracy of the terminal automatically selecting the card is smaller than or equal to a preset threshold value, displaying a second window on a display screen of the terminal.
And S10, after the triggering operation of selecting the guide control for the card in the second window is detected, displaying the first window on a display screen of the terminal within a preset time length.
And S11, if the near field communication radio frequency signal is not detected in the process of executing the selection process of the near field communication card, forbidding to display a target window on a display screen of the terminal.
It should be noted that, for the description in the above step, reference may be made to the description related to the above embodiment, and the effect is similar, and this embodiment is not described again here.
It should be understood that, although the steps in the flowcharts related to the embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a screen display device for realizing the screen display method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so the specific limitations in one or more screen display device embodiments provided below can refer to the limitations on the screen display method in the foregoing, and details are not described herein again.
In one embodiment, as shown in fig. 10, there is provided a screen display device applied to a terminal having a near field communication NFC function, including: an acquisition module 10 and a first display module 11, wherein:
the acquiring module 10 is configured to acquire a display screen state of the terminal after detecting the near field communication radio frequency signal, where the display screen state includes a screen off state or a screen on state;
the first display module 11 is configured to display, on a display screen of the terminal according to a display screen state, a target window related to a selection process of the near field communication card;
wherein, under different display screen states, the display types of the target window are different.
Optionally, when the display screen state is a screen-off state, the display type of the target window is a full-screen display type;
and when the display screen is in a bright screen state, the display type of the target window is a popup display type in a notification bar area of the current interface.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
On the basis of the foregoing embodiment, as shown in fig. 11, optionally, the target window includes a first window, the first window includes a plurality of card selection controls respectively corresponding to a plurality of near field communication cards, and the first display module 11 includes: a first display unit 111, wherein:
the first display unit 111 is configured to display a first window on the display screen of the terminal within a preset time period if the display screen is in an off-screen state.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
On the basis of the above embodiment, as shown in fig. 12, the apparatus further includes: a processing module 12, wherein:
the processing module 12 is configured to, if a trigger operation for a target card selection control of the multiple card selection controls is detected, perform selected display processing on the target card selection control, where the selected display processing includes at least one of top setting processing and scaling processing.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
On the basis of the foregoing embodiment, as shown in fig. 13, optionally, the target window includes a second window and a third window, the second window includes a card selection guide control, the third window includes card selection notification information, and the card selection notification information is used for indicating a currently selected near field communication card, where the first display module 11 includes: a second display unit 112, wherein:
and a second display unit 112, configured to display a second window or a third window on the display screen of the terminal if the display screen state is a bright screen state.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
On the basis of the foregoing embodiment, optionally, the second display unit 112 is configured to obtain a current card selection mode of the terminal; if the card selection mode is a mode in which a user manually selects a card, displaying the second window on a display screen of the terminal; and if the card selection mode is the mode that the terminal automatically selects the card, displaying the second window or the third window on a display screen of the terminal according to the accuracy information of the terminal automatically selecting the card.
The screen display device provided in this embodiment can implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
On the basis of the foregoing embodiment, optionally, the second display unit 112 is configured to, if the accuracy information indicates that the accuracy of automatically selecting the card by the terminal is greater than a preset threshold, obtain an identifier of the automatically selected card by the terminal, and display a third window on the display screen of the terminal according to the identifier; and if the accuracy information indicates that the accuracy of the terminal for automatically selecting the card is less than or equal to the preset threshold value, displaying a second window on a display screen of the terminal.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
On the basis of the above embodiment, as shown in fig. 14, optionally, the apparatus further includes: a detection module 13 and a determination module 14, wherein:
and the detecting module 13 is configured to detect whether an application identifier AID sent by the near field communication card reader is received.
And a determining module 14, configured to determine accuracy information according to the detection result.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
On the basis of the foregoing embodiment, as shown in fig. 15, optionally, the determining module 14 includes: a first determining unit 141 and a second determining unit 142, wherein:
the first determining unit 141 is configured to, if the terminal detects that the AID sent by the near field communication card reader is received, match the AID sent by the near field communication card reader with an AID of a near field communication card supported by the terminal, determine that accuracy of automatically selecting a card by the terminal is greater than a preset threshold value if matching results are consistent, and determine that the accuracy of automatically selecting a card by the terminal is less than or equal to the preset threshold value if the matching results are inconsistent.
A second determining unit 142, configured to determine that the accuracy of automatically selecting a card by the terminal is less than or equal to the preset threshold if the terminal does not detect that the AID sent by the near field communication card reader is received.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
On the basis of the above embodiment, as shown in fig. 16, optionally, the apparatus further includes: a second display module 15, wherein:
and the second display module is used for displaying a first window on a display screen of the terminal within a preset time length after detecting the triggering operation for the card selection guide control, wherein the first window comprises a plurality of card selection controls respectively corresponding to the plurality of near field communication cards.
The screen display device provided in this embodiment can implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
On the basis of the foregoing embodiment, as shown in fig. 17, optionally, the apparatus further includes: a disabling module 16, wherein:
and the prohibiting module 16 is configured to prohibit a display of the target window on the display screen of the terminal if the nfc radio frequency signal is not detected in the process of executing the selection procedure of the nfc card.
The screen display device provided in this embodiment may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
The respective modules in the screen display device described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 18. The computer apparatus includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input device. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The input/output interface of the computer device is used for exchanging information between the processor and an external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a screen display method. The display unit of the computer device is used for forming a visual picture and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 18 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the screen display method.
Embodiments of the present application also provide a computer program product containing instructions that, when run on a computer, cause the computer to perform a screen display method.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) referred to in the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the relevant laws and regulations and standards of the relevant countries and regions.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (13)

1. A screen display method is applied to a terminal with a Near Field Communication (NFC) function, and is characterized by comprising the following steps:
after detecting a near field communication radio frequency signal, acquiring a display screen state of the terminal, wherein the display screen state comprises a screen extinguishing state or a screen lightening state;
displaying a target window related to a selection process of the near field communication card on a display screen of the terminal according to the state of the display screen;
and under different display screen states, the display types of the target window are different.
2. The method according to claim 1, wherein when the display screen state is an off screen state, the display type of the target window is a full screen display type;
and when the display screen state is a bright screen state, the display type of the target window is a popup display type in a notification bar area of the current interface.
3. The method of claim 2, wherein the target window comprises a first window comprising a plurality of card selection controls corresponding to a plurality of the near field communication cards, respectively; the displaying a target window related to a selection process of the near field communication card on a display screen of the terminal according to the state of the display screen comprises the following steps:
and if the display screen state is the screen off state, displaying the first window on the display screen of the terminal within a preset time.
4. The method of claim 3, wherein after displaying the first window on the display of the terminal, the method further comprises:
and if the trigger operation aiming at the target card selection control in the plurality of card selection controls is detected, performing selected display processing on the target card selection control, wherein the selected display processing comprises at least one of top setting processing and zooming processing.
5. The method according to claim 2, wherein the target window includes a second window including a card selection guide control and a third window including card selection notification information indicating a currently selected near field communication card; the displaying a target window related to the selection process of the near field communication card on the display screen of the terminal according to the display screen state comprises the following steps:
and if the display screen state is a bright screen state, displaying the second window or the third window on the display screen of the terminal.
6. The method according to claim 5, wherein the displaying the second window or the third window on the display screen of the terminal comprises:
acquiring a current card selection mode of the terminal;
if the card selection mode is a mode that a user manually selects a card, displaying the second window on a display screen of the terminal;
and if the card selection mode is the mode of automatically selecting the card by the terminal, displaying the second window or the third window on a display screen of the terminal according to the accuracy information of automatically selecting the card by the terminal.
7. The method according to claim 6, wherein the displaying the second window or the third window on the display screen of the terminal according to the accuracy information of the card automatically selected by the terminal comprises:
if the accuracy information indicates that the accuracy of the terminal for automatically selecting the card is greater than a preset threshold value, acquiring an identifier of the card automatically selected by the terminal, and displaying the third window on a display screen of the terminal according to the identifier;
and if the accuracy information indicates that the accuracy of the terminal for automatically selecting the card is less than or equal to the preset threshold value, displaying the second window on a display screen of the terminal.
8. The method of claim 7, further comprising:
detecting whether a terminal receives an application identifier AID sent by a near field communication card reader;
and determining the accuracy information according to the detection result.
9. The method of claim 8, wherein determining the accuracy information from the detection results comprises:
if the terminal detects that the AID sent by the near field communication card reader is received, matching the AID sent by the near field communication card reader with the AID of the near field communication card supported by the terminal, if the matching result is consistent, determining that the accuracy of the terminal automatically selecting the card is greater than the preset threshold value, and if the matching result is inconsistent, determining that the accuracy of the terminal automatically selecting the card is smaller than or equal to the preset threshold value;
and if the terminal does not detect that the AID sent by the near field communication card reader is received, determining that the accuracy of the terminal for automatically selecting the card is smaller than or equal to the preset threshold value.
10. The method of claim 6, wherein after displaying the second window on the display of the terminal, the method further comprises:
after the triggering operation aiming at the card selection guide control is detected, a first window is displayed on a display screen of the terminal within a preset time length, and the first window comprises a plurality of card selection controls respectively corresponding to the plurality of near field communication cards.
11. The method of claim 1, further comprising:
and if the near field communication radio frequency signal is not detected in the process of executing the selection process of the near field communication card, forbidding to display the target window on the display screen of the terminal.
12. A terminal comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the computer program, when executed by the processor, causes the processor to carry out the steps of the screen display method according to any one of claims 1 to 11.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11.
CN202211272632.4A 2022-10-18 2022-10-18 Screen display method, terminal, and computer-readable storage medium Pending CN115665314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211272632.4A CN115665314A (en) 2022-10-18 2022-10-18 Screen display method, terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211272632.4A CN115665314A (en) 2022-10-18 2022-10-18 Screen display method, terminal, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN115665314A true CN115665314A (en) 2023-01-31

Family

ID=84989201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211272632.4A Pending CN115665314A (en) 2022-10-18 2022-10-18 Screen display method, terminal, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115665314A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117749936A (en) * 2024-02-19 2024-03-22 花瓣支付(深圳)有限公司 Display method, electronic device and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629580A (en) * 2018-05-11 2018-10-09 维沃移动通信有限公司 One kind putting out screen method of payment and mobile terminal
CN111543041A (en) * 2017-12-29 2020-08-14 华为技术有限公司 Selection method of analog card and mobile device
CN111651216A (en) * 2020-05-07 2020-09-11 小米数字科技有限公司 NFC card processing method and device and storage medium
CN112232801A (en) * 2018-01-05 2021-01-15 华为终端有限公司 Electronic transaction method and terminal
CN112529564A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Method and electronic equipment for near field wireless communication
CN112836533A (en) * 2019-11-22 2021-05-25 青岛海信移动通信技术股份有限公司 Virtual card switching method and electronic terminal
CN113902436A (en) * 2020-06-22 2022-01-07 Oppo广东移动通信有限公司 Analog card switching method, terminal device, card reader and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111543041A (en) * 2017-12-29 2020-08-14 华为技术有限公司 Selection method of analog card and mobile device
CN112232801A (en) * 2018-01-05 2021-01-15 华为终端有限公司 Electronic transaction method and terminal
CN108629580A (en) * 2018-05-11 2018-10-09 维沃移动通信有限公司 One kind putting out screen method of payment and mobile terminal
CN112529564A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Method and electronic equipment for near field wireless communication
CN112836533A (en) * 2019-11-22 2021-05-25 青岛海信移动通信技术股份有限公司 Virtual card switching method and electronic terminal
CN111651216A (en) * 2020-05-07 2020-09-11 小米数字科技有限公司 NFC card processing method and device and storage medium
CN113902436A (en) * 2020-06-22 2022-01-07 Oppo广东移动通信有限公司 Analog card switching method, terminal device, card reader and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117749936A (en) * 2024-02-19 2024-03-22 花瓣支付(深圳)有限公司 Display method, electronic device and computer storage medium

Similar Documents

Publication Publication Date Title
US11449220B2 (en) Electronic device including touch sensitive display and method for managing the display
KR102571369B1 (en) Display control method, storage medium and electronic device for controlling the display
US20150185980A1 (en) Method and device for switching screens
US20150106765A1 (en) Mobile terminal and method of controlling therefor
EP2889741B1 (en) Screen display method and electronic device supporting same
KR20130094054A (en) Apparatus and method for managing object in portable electronic device
EP3128411A1 (en) Interface display method and device
CN112148163B (en) Screen recording method and device and electronic equipment
US20210312679A1 (en) Method for generating identification pattern and terminal device
CN111694490B (en) Setting method and device and electronic equipment
CN111638818B (en) Window position adjusting method and device and electronic equipment
CN115665314A (en) Screen display method, terminal, and computer-readable storage medium
US20160154545A1 (en) Electronic device and method for managing and displaying application icons
CN109358927B (en) Application program display method and device and terminal equipment
JP2023544544A (en) Screen capture methods, devices and electronic equipment
CN113485813A (en) Application skipping method and device
CN113282213A (en) Interface display method and device
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium
CN106775230B (en) Application freezing method and device and terminal
CN114785887A (en) Screen projection control method and device, electronic equipment and computer readable storage medium
CN113835577A (en) Display method, display device, electronic equipment and storage medium
CN114339966A (en) Interface control method, device, medium and electronic equipment for data transmission
CN109726027B (en) Message viewing method and device and electronic equipment
US10540748B2 (en) Method and apparatus for changing images of content displayed on a display
CN111782113B (en) Display method, display device and computer-readable storage medium

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