Passive visual smart card, screen swiping control method, device and storage medium
By using analog switches and MOS power switches in passive visual smart cards to control the power supply and working status of the segment code screen driver chip, the problem of passive visual card being dissipated during the RF field change period is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202211697654.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-12-28
AI Technical Summary
When the passive visual card enters or leaves the card reader's RF field, the driver connection between the smart card chip and the segment code screen is quickly switched, resulting in the segment code screen being scattered, affecting the user experience.
By introducing analog switches and MOS power switches into passive visual smart cards, adding isolation circuits and power control circuits, controlling the power supply and working state of the segment code screen driver chip, avoiding disordered high and low level switching.
It effectively avoids the phenomenon of passive visual card entering or leaving the RF field time period code screen, and improves the user experience.
Smart Images

Figure CN116029327B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to but is not limited to the field of smart card technology, and in particular to a passive visual smart card, a screen swiping control method, a device and a storage medium. Background Art
[0002] During the use of the passive visual card, when the passive visual card enters the RF field of the card reader or leaves the RF field, the smart card chip of the passive visual card will quickly enter or leave the RF field, causing the pins driving the connection between the smart card chip and the segment code screen to switch rapidly and disorderly. When the driving pins of the segment code screen switch rapidly and disorderly between high and low levels, it will occasionally cause the internal screen of the segment code screen chip to refresh, resulting in a screen flower phenomenon on the segment code screen, affecting the user experience. Summary of the invention
[0003] The embodiments of the present application provide a passive visual smart card, a screen swiping control method, a device and a storage medium, which can effectively prevent the segment code screen from producing a distorted screen phenomenon when the passive visual card enters the radio frequency field of the card reader or leaves the radio frequency field, thereby improving the user experience.
[0004] In a first aspect, an embodiment of the present application provides a passive visual smart card, comprising:
[0005] Segment screen driver chip;
[0006] A smart card chip, the smart card chip is electrically connected to the segment code screen driver chip through an analog switch;
[0007] A power supply module, the power supply module comprising a smart card chip power supply and a segment code screen power supply, the smart card chip power supply is electrically connected to the smart card chip, and the segment code screen power supply is electrically connected to the segment code screen driving chip;
[0008] A power switch is electrically connected to the smart card chip, the analog switch, the smart card chip power supply and the segment code screen power supply respectively.
[0009] According to some embodiments of the first aspect of the present application, the segment code screen driver chip includes an SDA interface and an SCL interface, the analog switch includes a first switch and a second switch, the first switch includes a first end, a second end and a third end, the second switch includes a fourth end, a fifth end and a sixth end, the first end is electrically connected to the smart card chip, the second end is grounded, the third end is electrically connected to the SDA interface of the segment code screen driver chip, the first end switches the path between the second end and the third end, the fourth end is electrically connected to the smart card chip, the fifth end is grounded, the sixth end is electrically connected to the SCL interface of the segment code screen driver chip, and the fourth end switches the path between the fifth end and the sixth end.
[0010] According to some embodiments of the first aspect of the present application, the power switch is electrically connected to a GPIO pin of the smart card chip.
[0011] According to some embodiments of the first aspect of the present application, the power switch is a MOS power switch.
[0012] According to some embodiments of the first aspect of the present application, the smart card chip is an STM32 chip.
[0013] According to some embodiments of the first aspect of the present application, the power supply module also includes a first backup power supply and a second backup power supply, the first backup power supply is electrically connected to the smart card chip and the power switch, respectively, and the second backup power supply is electrically connected to the segment code screen driver chip and the power switch, respectively.
[0014] In a second aspect, an embodiment of the present application provides a screen swiping control method, which is applied to the passive visual smart card provided in any one embodiment of the first aspect, wherein the power switch is electrically connected to the GPIO pin of the smart card chip, and the method comprises:
[0015] When receiving a screen refresh instruction, the screen refresh instruction includes a screen refresh period, controlling the GPIO pin of the smart card chip to output a low level during the screen refresh period;
[0016] The enable signal controlling the analog switch is at a low level during the screen refresh period, so that the segment code screen driving chip performs a screen refresh operation.
[0017] According to some embodiments of the second aspect of the present application, the screen swiping control method further includes:
[0018] When the reference time length is greater than or equal to the screen refresh period, the GPIO pin of the smart card chip is controlled to output a high level, and the enable signal of the analog switch is controlled to be a high level.
[0019] According to some embodiments of the second aspect of the present application, the screen swiping control method further includes:
[0020] Determine a reference time length, where the reference time length is the time length for the segment code screen driver chip to perform a screen refresh operation;
[0021] When receiving a radio frequency signal from a card reader, the smart card chip is initialized and the GPIO pin of the smart card chip is controlled to output a high level;
[0022] The enable signal for controlling the analog switch is at a high level.
[0023] In a third aspect, an embodiment of the present application provides a screen swiping control device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the screen swiping control method as described in the second aspect is implemented.
[0024] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the screen swiping control method provided in the embodiment of the second aspect.
[0025] The embodiment of the present application provides a passive visual smart card, a screen swiping control method, device and storage medium, wherein the passive visual smart card includes: a segment code screen driver chip; a smart card chip, the smart card chip is electrically connected to the segment code screen driver chip through an analog switch; a power supply module, the power supply module includes a smart card chip power supply and a segment code screen power supply, the smart card chip power supply is electrically connected to the smart card chip, and the segment code screen power supply is electrically connected to the segment code screen driver chip; a power switch, the power switch is electrically connected to the smart card chip, the analog switch, the smart card chip power supply and the segment code screen power supply respectively. According to the scheme provided in the embodiment of the present application, in the passive visual smart card, an isolation circuit and a power control circuit are added to the segment code screen driver chip through an analog switch and a power switch, so that the segment code screen can be effectively prevented from producing a screen distortion phenomenon when the passive visual card enters the card reader's radio frequency field or leaves the radio frequency field, thereby improving the user experience of the passive visual smart card. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a circuit structure diagram of a passive visual smart card provided by an embodiment of the present application;
[0027] Figure 2 is a flowchart of the steps of a screen swiping control method provided by another embodiment of the present application;
[0028] Figure 3 is a flowchart of steps for controlling the segment code screen driver chip to stop running according to a reference time length provided by another embodiment of the present application;
[0029] Figure 4 is a flowchart of steps for controlling the segment code screen driver chip to stop running provided by another embodiment of the present application;
[0030] Figure 5 It is a structural diagram of a screen swiping control device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0032] It is understood that although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0033] The present application provides a passive visual smart card, a screen swiping control method, device and storage medium, wherein the passive visual smart card includes: a segment code screen driver chip; a smart card chip, the smart card chip is electrically connected to the segment code screen driver chip through an analog switch; a power supply module, the power supply module includes a smart card chip power supply and a segment code screen power supply, the smart card chip power supply is electrically connected to the smart card chip, and the segment code screen power supply is electrically connected to the segment code screen driver chip; a power switch, the power switch is electrically connected to the smart card chip, the analog switch, the smart card chip power supply and the segment code screen power supply respectively. According to the scheme provided in the embodiment of the present application, in the passive visual smart card, an isolation circuit and a power control circuit are added to the segment code screen driver chip through an analog switch and a power switch, so that the segment code screen can be effectively prevented from producing a flowery screen phenomenon when the passive visual card enters the card reader's radio frequency field or leaves the radio frequency field, thereby improving the user experience of the passive visual smart card.
[0034] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0035] refer to Figure 1 , the embodiment of the present application provides a passive visual smart card, comprising:
[0036] Segment screen driver chip 110;
[0037] A smart card chip 120, the smart card chip 120 is electrically connected to the segment code screen driving chip 110 through an analog switch 130;
[0038] A power supply module, the power supply module includes a smart card chip power supply 140 and a segment code screen power supply 150, the smart card chip power supply 140 is electrically connected to the smart card chip 120, and the segment code screen power supply 150 is electrically connected to the segment code screen driving chip 110;
[0039] The power switch 160 is electrically connected to the smart card chip 120, the analog switch 130, the smart card chip power supply 140 and the segment code screen power supply 150 respectively.
[0040] It is understandable that in the circuit structure of the existing passive visual card, the smart card chip 120 is directly electrically connected to the segment code screen driver chip 110, and the smart card chip 120 and the segment code screen driver chip 110 share a power supply. When the passive visual card with this structure enters the card reader's radio frequency field or leaves the radio frequency field, the smart card chip 120 of the passive visual card will quickly enter or leave the radio frequency field, so that the pins driving the connection between the smart card chip 120 and the segment code screen will be quickly and disorderly switched. When the driving pins of the segment code screen switch rapidly and disorderly between high and low levels, it will occasionally cause the internal screen of the segment code screen chip to refresh, thereby causing the segment code screen to produce a flowery screen phenomenon, affecting the user experience. Based on this, the passive visual smart card provided in the embodiment of the present application includes a segment code screen driver chip 110; a smart card chip 120, the smart card chip 120 is electrically connected to the segment code screen driver chip 110 through an analog switch 130; a power supply module, the power supply module includes a smart card chip power supply 140 and a segment code screen power supply 150, the smart card chip power supply 140 is electrically connected to the smart card chip 120, and the segment code screen power supply 150 is electrically connected to the segment code screen driver chip 110; a power switch 160, the power switch 160 is electrically connected to the smart card chip 120, the analog switch 130, the smart card chip power supply 140 and the segment code screen power supply 150 respectively. That is to say, an analog switch 130 is added to the connection between the smart card chip 120 and the segment code screen driver chip 110, and a power switch 160 is added to the power supply circuit of the segment code screen driver chip 110, so as to control the working state of the segment code screen driver chip 110. When the passive visual smart card needs to refresh the screen, the power supply of the segment code screen driver chip 110 is enabled and the electrical connection between the segment code screen driver chip 110 and the smart card chip 120 is turned on, so as to effectively avoid the segment code screen from producing a flowery screen phenomenon when the passive visual card enters the radio frequency field of the card reader or leaves the radio frequency field, thereby improving the user experience of the passive visual smart card.
[0041] It should be noted that the embodiment of the present application does not limit the specific chip models of the smart card chip 120 and the segment code screen driver chip 110, and those skilled in the art may select them according to actual needs.
[0042] In some embodiments, the code screen driver chip includes an SDA interface and an SCL interface, the analog switch 130 includes a first switch 131 and a second switch 132, the first switch 131 includes a first end 1, a second end 2 and a third end 3, the second switch 132 includes a fourth end 4, a fifth end 5 and a sixth end 6, the first end 1 is electrically connected to the smart card chip 120, the second end 2 is grounded, the third end 3 is electrically connected to the SDA interface of the segment code screen driver chip 110, the first end 1 switches the path between the second end 2 and the third end 3, the fourth end 4 is electrically connected to the smart card chip 120, the fifth end 5 is grounded, the sixth end 6 is electrically connected to the SCL interface of the segment code screen driver chip 110, and the fourth end 4 switches the path between the fifth end 5 and the sixth end 6.
[0043] It can be understood that, in the case where the passive visual smart card needs to refresh the screen, the first end 1 of the first switch 131 of the analog switch 130 is controlled to be connected to the third end 3, and the fourth end 4 of the second switch 132 is controlled to be connected to the sixth end 6, so as to realize the electrical connection between the segment code screen driver chip 110 and the smart card chip 120, realize the data transmission between the smart card chip 120 and the segment code screen driver chip 110, and enable the power supply of the segment code screen driver chip 110 to ensure that the segment code screen driver chip 110 is in operation; in the case where the passive visual smart card does not need to refresh the screen (for example, when the passive visual card enters the radio frequency field of the card reader or leaves the radio frequency field), the first end 1 of the first switch 131 of the analog switch 130 is controlled to be connected to the second end 2, and the fourth end 4 of the second switch 132 is controlled to be connected to the fifth end 5 (such as Figure 1 As shown), the electrical connection between the segment code screen driver chip 110 and the smart card chip 120 is disconnected, and the power supply of the segment code screen driver chip 110 is disconnected, so that the segment code screen driver chip 110 is in a power-off state, thereby effectively avoiding the segment code screen from producing a distorted screen when the passive visual card enters the card reader's radio frequency field or leaves the radio frequency field, thereby improving the user experience of the passive visual smart card.
[0044] refer to Figure 1 In some embodiments, the power switch 160 is electrically connected to a GPIO pin of the smart card chip 120 .
[0045] It can be understood that since the GPIO pin of the smart card chip 120 is electrically connected to the power switch 160, and the power switch 160 is electrically connected to the segment code screen power supply 150, when it is necessary to enable the segment code screen driver chip 110, the GPIO pin is pulled low, that is, the GPIO pin is controlled to output a low level; when it is not necessary to enable the segment code screen driver chip 110, the GPIO pin is set high, that is, the GPIO pin is controlled to output a high level. By controlling the GPIO pin to output a high level or a low level, the operating state of the segment code screen driver chip 110 controlled by the segment code screen power supply 150 is realized.
[0046] In some embodiments, the power switch 160 is a MOS power switch 160 .
[0047] It should be noted that the embodiment of the present application does not limit the type of MOS tube used in the MOS power switch 160, which can be an N-channel enhancement tube, a P-channel enhancement tube, an N-channel depletion tube or a P-channel depletion tube. Technical personnel in this field can choose according to actual needs.
[0048] In some embodiments, the power supply module also includes a first backup power supply and a second backup power supply, the first backup power supply is electrically connected to the smart card chip 120 and the power switch 160 respectively, and the second backup power supply is electrically connected to the segment code screen driver chip 110 and the power switch 160 respectively.
[0049] It is understandable that the power supply module provided with a backup power supply can maintain the power supply status of the smart card chip power supply 140 or the segment code screen power supply 150 when the smart card chip power supply 140 or the segment code screen power supply 150 fails, thereby ensuring the reliability of the operation of the passive visual smart card.
[0050] In addition, if Figure 2 As shown, Figure 2 : is a flowchart of the steps of a screen swiping control method provided by another embodiment of the present application. An embodiment of the present application also provides a screen swiping control method, which is applied to the passive visual smart card provided by the above embodiment. The method includes but is not limited to the following steps:
[0051] Step S210, when a screen refresh instruction is received, the screen refresh instruction includes a screen refresh cycle, and the GPIO pin of the smart card chip 120 is controlled to output a low level during the screen refresh cycle;
[0052] Step S220 , controlling the enable signal of the analog switch 130 to be at a low level during the screen refresh period, so that the segment code screen driving chip 110 performs a screen refresh operation.
[0053] In addition, if Figure 3 As shown, the screen swiping control method provided by an embodiment of the present application also includes but is not limited to the following steps:
[0054] Step S310, determining a reference time length, where the reference time length is the time length for the segment code screen driver chip 110 to perform a screen refresh operation;
[0055] Step S320, when the reference time length is greater than or equal to the screen refresh period, the GPIO pin of the smart card chip 120 is controlled to output a high level, and the enable signal of the analog switch 130 is controlled to be a high level.
[0056] In addition, if Figure 4As shown, the screen swiping control method provided by an embodiment of the present application also includes but is not limited to the following steps:
[0057] Step S410, when receiving the radio frequency signal from the card reader, the smart card chip 120 is initialized and the GPIO pin of the smart card chip 120 is controlled to output a high level;
[0058] Step S420 , controlling the enable signal of the analog switch 130 to be at a high level.
[0059] It can be understood that when a screen refresh instruction is received, the GPIO pin of the smart card chip 120 is controlled to output a low level during the screen refresh cycle, thereby turning on the electrical connection between the segment code screen driver chip 110 and the smart card chip 120, realizing data transmission between the smart card chip 120 and the segment code screen driver chip 110, and controlling the enable signal of the analog switch 130 to be a low level during the screen refresh cycle, thereby enabling the power supply of the segment code screen driver chip 110, ensuring that the segment code screen driver chip 110 is in an operating state, so that the segment code screen driver chip 110 performs a screen refresh operation; determining a reference time length, the reference time length is the time length for the segment code screen driver chip 110 to perform the screen refresh operation; when the reference time length is greater than or equal to the screen refresh cycle, controlling the GPIO pin of the smart card chip 120 to output a high level, and controlling the enable signal of the analog switch 130 to be a high level, that is, when the segment code screen driver chip 110 completes the screen refresh operation, setting the GPIO pin high, and controlling the analog switch 130 to be The enable signal is high, the electrical connection between the segment code screen driver chip 110 and the smart card chip 120 is disconnected, and the power supply of the segment code screen driver chip 110 is disconnected, so that the segment code screen driver chip 110 is in a power-off state, so that the segment code screen driver chip 110 can be controlled to operate normally only when the screen needs to be refreshed, and it is in a power-off state at the rest of the time. For example, when the segment code screen driver chip 110 is far away from or close to the radio frequency field of the card reader, the segment code screen driver chip 110 is controlled not to operate. The specific operation is: when the radio frequency signal from the card reader is received, the smart card chip 120 is initialized, and the GPIO pin of the smart card chip 120 is controlled to output a high level, and the enable signal of the analog switch 130 is controlled to be a high level, so as to effectively avoid the situation that the disordered high and low levels generated by the initialization operation of the smart card chip 120 drive the segment code screen to produce a flowery screen phenomenon when the passive visual card enters the radio frequency field of the card reader or leaves the radio frequency field, thereby improving the user experience of the passive visual smart card.
[0060] It should be noted that the embodiments of the present application do not limit the specific time length of the screen refresh cycle, which can be determined by those skilled in the art based on actual conditions.
[0061] In addition, an embodiment of the present application further provides a screen swiping control device 500 , which includes: a memory 510 , a processor 520 , and a computer program stored in the memory 510 and executable on the processor 520 .
[0062] The processor 520 and the memory 510 may be connected via a bus or other means.
[0063] The non-transient software program and instructions required to implement the screen swiping control method of the above embodiment are stored in the memory 510. When executed by the processor 520, the screen swiping control method of the above embodiment is executed, for example, the above described Figure 2 Steps S210 to S220 of the method, Figure 3 Steps S310 to S320 of the method and Figure 4 The method comprises steps S410 to S420.
[0064] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0065] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by a processor 520 or a controller, for example, by a processor 520 in the embodiment of the above-mentioned screen swiping control device 500, so that the above-mentioned processor 520 can execute the screen swiping control method in the above-mentioned embodiment, for example, execute the above-mentioned Figure 2 Steps S210 to S220 of the method, Figure 3 Steps S310 to S320 of the method and Figure 4Method steps S410 to step S420 in the method. It will be appreciated by those skilled in the art that all or some of the steps and systems in the method disclosed above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
Claims
1. A passive visual smart card, characterized in that: include: Segment screen driver chip; A smart card chip, the smart card chip is electrically connected to the segment code screen driver chip through an analog switch; A power supply module, the power supply module comprising a smart card chip power supply and a segment code screen power supply, the smart card chip power supply is electrically connected to the smart card chip, and the segment code screen power supply is electrically connected to the segment code screen driving chip; A power switch, the power switch is electrically connected to the smart card chip, the analog switch, the smart card chip power supply and the segment screen power supply respectively; The segment code screen driver chip includes an SDA interface and an SCL interface, the analog switch includes a first switch and a second switch, the first switch includes a first end, a second end and a third end, the second switch includes a fourth end, a fifth end and a sixth end, the first end is electrically connected to the smart card chip, the second end is grounded, the third end is electrically connected to the SDA interface of the segment code screen driver chip, the first end switches the path between the second end and the third end, the fourth end is electrically connected to the smart card chip, the fifth end is grounded, the sixth end is electrically connected to the SCL interface of the segment code screen driver chip, and the fourth end switches the path between the fifth end and the sixth end.
2. The passive visual smart card according to claim 1, characterized in that: The power switch is electrically connected to the GPIO pin of the smart card chip.
3. The passive visual smart card according to claim 1, characterized in that: The power switch is a MOS power switch.
4. The passive visual smart card according to claim 1, characterized in that: The power supply module also includes a first backup power supply and a second backup power supply, wherein the first backup power supply is electrically connected to the smart card chip and the power switch respectively, and the second backup power supply is electrically connected to the segment code screen driver chip and the power switch respectively.
5. A screen swiping control method, characterized in that: Applied to the passive visual smart card according to any one of claims 1 to 4, the power switch is electrically connected to the GPIO pin of the smart card chip, and the method comprises: When receiving a screen refresh instruction, the screen refresh instruction includes a screen refresh period, controlling the GPIO pin of the smart card chip to output a low level during the screen refresh period; Controlling the first end of the first switch of the analog switch to be connected to the third end, controlling the fourth end of the second switch to be connected to the sixth end, and controlling the enable signal of the analog switch to be at a low level during the screen refresh cycle, so that the segment code screen driving chip performs a screen refresh operation; Determine a reference time length, where the reference time length is the time length for the segment code screen driver chip to perform a screen refresh operation; When the reference time length is greater than or equal to the screen refresh period, the GPIO pin of the smart card chip is controlled to output a high level, and the first end of the first switch of the analog switch is controlled to be connected to the second end, and the fourth end of the second switch is controlled to be connected to the fifth end, so as to control the enable signal of the analog switch to be a high level.
6. The screen swiping control method according to claim 5, characterized in that: The method further comprises: When receiving a radio frequency signal from a card reader, the smart card chip is initialized and the GPIO pin of the smart card chip is controlled to output a high level; The first end of the first switch of the analog switch is controlled to be connected to the second end, and the fourth end of the second switch is controlled to be connected to the fifth end, so as to control the enable signal of the analog switch to be high level.
7. A screen swiping control device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the screen swiping control method as described in any one of claims 5 to 6 when executing the computer program.
8. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the screen swiping control method as described in any one of claims 5 to 6.
