CN111753564B - State display method and device of magnetic card information reading equipment and equipment with state display device - Google Patents

State display method and device of magnetic card information reading equipment and equipment with state display device Download PDF

Info

Publication number
CN111753564B
CN111753564B CN201910244209.5A CN201910244209A CN111753564B CN 111753564 B CN111753564 B CN 111753564B CN 201910244209 A CN201910244209 A CN 201910244209A CN 111753564 B CN111753564 B CN 111753564B
Authority
CN
China
Prior art keywords
state
indicator lamp
signal
trigger signal
lighting state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910244209.5A
Other languages
Chinese (zh)
Other versions
CN111753564A (en
Inventor
霍勇
张冉冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201910244209.5A priority Critical patent/CN111753564B/en
Publication of CN111753564A publication Critical patent/CN111753564A/en
Application granted granted Critical
Publication of CN111753564B publication Critical patent/CN111753564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/08Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes
    • G06K7/082Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The invention discloses a state display method and device of magnetic card information reading equipment and equipment with the same, wherein the magnetic card information reading equipment comprises a state indicator lamp, and the method comprises the following steps: in the process of receiving the trigger signal, keeping the state indicator lamp in a first lighting state; judging whether the trigger signal is an invalid signal; if the trigger signal is an invalid signal, the status indicator lamp is controlled to be switched from the first lighting state to the second lighting state when the card swiping fails, or the status indicator lamp is continuously kept in the first lighting state when the card swiping does not occur. The method provided by the embodiment of the invention can keep the original state of the state indicator lamp in the process of receiving the trigger signal, so that the state indicator lamp is not displayed and reminded when interference of an interference source exists, the phenomenon of false triggering caused by the interference source is avoided, and the use experience is improved.

Description

State display method and device of magnetic card information reading equipment and equipment with state display device
Technical Field
The invention relates to the technical field of magnetic card information reading equipment, in particular to a state display method and device of magnetic card information reading equipment and equipment with the state display device.
Background
In the related art, the Card swiping status of an MSR (Magnetic Card Reader) and a corresponding LED (light-emitting diode) display mechanism are as follows: when the MSR is in the on state, the clock system CLS of the MSR is at a high level, as shown in fig. 1, when the MSR receives a card swiping signal, the CLS is pulled down to a low level, the green light is kept off during the card swiping process, after the card swiping is finished, the CLS is pulled up to a high level, and the green light is turned on again after the card swiping is successful.
However, in the process of swiping a card, the MSR is often easily affected by the interference signal, as shown in fig. 2, when the MSR receives the interference signal, the CLS is pulled down to a low level, and the green light is turned off, so that the phenomenon that the MSR is falsely triggered due to the interference signal is easily caused in the process of swiping the card, and the user experience is reduced.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide a status display method for a magnetic card information reading device, which can avoid a false triggering phenomenon caused by an interference source, and improve the use experience.
A second object of the present invention is to provide a status display device of a magnetic card information reading apparatus.
A third object of the present invention is to provide a magnetic card information reading apparatus.
A fourth object of the invention is to propose a computer-readable storage medium.
In order to achieve the above object, a first embodiment of the present invention provides a method for displaying a status of a magnetic card information reading device, where the magnetic card information reading device includes a status indicator lamp, and the method includes: in the process of receiving the trigger signal, keeping the state indicator lamp in a first lighting state; judging whether the trigger signal is an invalid signal; if the trigger signal is the invalid signal, the status indicator lamp is controlled to be switched from the first lighting state to a second lighting state when the card swiping fails, or the status indicator lamp is continuously kept in the first lighting state when the card swiping does not occur.
According to the state display method of the magnetic card information reading device, the original state of the state indicator lamp can be kept in the process of receiving the trigger signal, so that when interference of an interference source exists, display reminding is not carried out on the interference source, the phenomenon of false triggering caused by the interference source is avoided, and the use experience is improved.
In addition, the status display method of the magnetic card information reading device according to the above-described embodiment of the present invention may further have the following additional technical features:
further, in an embodiment of the present invention, the method further includes: and when the trigger signal is an effective signal, controlling the status indicator lamp to be in the first lighting state continuously.
Further, in an embodiment of the present invention, the determining whether the trigger signal is an invalid signal includes: after the triggering is finished, detecting the current voltage state of the magnetic card information reading equipment; and when the current voltage state meets a preset state, judging that the trigger signal is the invalid signal when the card is not swiped.
Further, in an embodiment of the present invention, in controlling the status indicator light to transition to the second lighting state, the method further includes: detecting a duration of the second lighting state; and when the duration time meets the preset duration time, controlling the state indicator lamp to be converted from the second lighting state to the first lighting state.
Further, in an embodiment of the present invention, the method further includes: when the trigger signal is decoded, the status indicator lamp is controlled to be turned off; judging whether the decoding is successful; and if the decoding is successful, controlling the status indicator lamp to enter the first lighting state, otherwise, controlling the status indicator lamp to enter the second lighting state.
In order to achieve the above object, a second embodiment of the present invention provides a status display apparatus for a magnetic card information reading device, where the magnetic card information reading device includes a status indicator lamp, and the method includes: the first judgment module is used for judging whether the trigger signal is an invalid signal; the first control module is used for keeping the status indicator lamp in a first lighting state in the process of receiving the trigger signal, and controlling the status indicator lamp to be switched from the first lighting state to a second lighting state when the trigger signal is an invalid signal when card swiping fails, or keeping the status indicator lamp in the first lighting state continuously when the trigger signal is an invalid signal when the card swiping does not occur.
The state display device of the magnetic card information reading equipment provided by the embodiment of the invention can keep the original state of the state indicator lamp in the process of receiving the trigger signal, so that the state indicator lamp is not displayed and reminded when interference of an interference source exists, the phenomenon of false triggering caused by the interference source is avoided, and the use experience is improved.
In addition, the status display device of the magnetic card information reading apparatus according to the above-described embodiment of the present invention may further have the following additional technical features:
further, in an embodiment of the present invention, when the trigger signal is an active signal, the first control module is further configured to control the status indicator lamp to be in the first lighting state continuously.
Further, in an embodiment of the present invention, the first determining module includes: and the detection unit is used for detecting the current voltage state of the magnetic card information reading device after the triggering is finished, and judging that the triggering signal is the invalid signal when the current voltage state meets a preset state.
Further, in an embodiment of the present invention, the method further includes: a detection module for detecting a duration of the second lighting state; and the second control module is used for controlling the state indicator lamp to be converted into the first lighting state from the second lighting state when the duration time meets the preset duration.
Further, in an embodiment of the present invention, the method further includes: the third control module is used for controlling the status indicator lamp to be turned off when the trigger signal is decoded; the second judging module is used for judging whether the decoding is successful; and the fourth control module is used for controlling the state indicator lamp to enter the first lighting state when the decoding is successful, and otherwise, controlling the state indicator lamp to enter the second lighting state.
To achieve the above object, a third embodiment of the present invention provides a magnetic card information reading apparatus, including: a status indicator light; and a status display device of the magnetic card information reading apparatus as described in the above embodiments.
The magnetic card information reading device provided by the embodiment of the invention can keep the original state of the state indicator lamp in the process of receiving the trigger signal, so that the state indicator lamp is not displayed and reminded when interference of an interference source exists, the phenomenon of false triggering caused by the interference source is avoided, and the use experience is improved.
To achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to the above embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a timing diagram of normal MSR operation of the related art;
FIG. 2 is a timing diagram of related art MSR operation in the presence of an interfering signal;
fig. 3 is a flowchart of a status display method of a magnetic card information reading apparatus according to an embodiment of the present invention;
fig. 4 is a flowchart of a status display method of a magnetic card information reading apparatus according to another embodiment of the present invention;
fig. 5 is a flowchart of a status display method of a magnetic card information reading apparatus according to still another embodiment of the present invention;
fig. 6 is an operation timing chart of the magnetic card information reading apparatus according to the embodiment of the present invention;
fig. 7 is a block diagram illustrating a status display device of a magnetic card information reading apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram schematically illustrating a status display device of a magnetic card information reading apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram schematically illustrating a status display device of a magnetic card information reading apparatus according to another embodiment of the present invention;
fig. 10 is a block diagram illustrating a status display device of a magnetic card information reading apparatus according to still another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Before describing the method and apparatus for displaying the status of a magnetic card information reading device and a device having the same according to an embodiment of the present invention, a related art will be briefly described.
The MSR card swiping state and the corresponding LED display principle are shown in the table 1, the MSR is always on in a green state, as shown in fig. 1, the clock system CLS of the MSR is at a high level, and the DAV (effective digital output) is at a low level; when the MSR receives a card swiping signal, the CLS is pulled down to be at a low level, the green light is kept to be turned off in the card swiping process, and after the card swiping is finished, the CLS is pulled up to be at a high level, whether valid card information exists or not is detected and judged, namely whether the card swiping is successful or not is judged, and if the card swiping fails or the card swiping is overtime, the red light is turned on for 1 second; if the card swiping is successful, the green light is lightened again, after a certain time (such as 7.5ms), the DAV generates interruption and is pulled up to high level, the green light is lightened when the MSR data is correct, namely the green light is lightened when the decoding is successful, and the red light is lightened for 1 second when the decoding is failed or overtime occurs.
TABLE 1
Figure BDA0002010587910000041
However, in the related art, there is a phenomenon that the MSR is triggered by mistake due to an interference source, and the method and the device for displaying the status of the magnetic card information reading device and the device having the same according to the embodiments of the present invention can effectively solve the above existing technical problems.
A state display method, an apparatus, and a device having the same of a magnetic card information reading device according to an embodiment of the present invention will be described below with reference to the accompanying drawings, and first, a state display method of a magnetic card information reading device according to an embodiment of the present invention will be described with reference to the accompanying drawings.
Fig. 3 is a flowchart of a method for displaying a status of a magnetic card information reading apparatus according to an embodiment of the present invention.
As shown in fig. 3, the method for displaying the status of a magnetic card information reading device, the magnetic card information reading device comprising a status indicator lamp, wherein the method comprises the following steps:
in step S301, the status indicator lamp is maintained in the first lighting state in the process of receiving the trigger signal.
The trigger signal may be a card swiping signal or an interference signal, and the card swiping signal further includes a card swiping failure signal and a card swiping success signal, and of course, the trigger signal may be a card swiping signal and an interference signal coexisting. The magnetic card information reading device can be a magnetic card reader/writer, a magnetic card swipe slot, a magnetic card reader/writer, a magnetic card inquiry reader/writer and the like. The first lighting state may be a normally on state (for example, a green light is normally on), and of course, the first lighting state may also be another state (for example, a blinking state), which is not limited herein.
In practical applications, no matter whether the trigger signal is a card swiping signal or an interference signal, the state of the status indicator lamp of the magnetic card information reading device in the related art may change (for example, in the process of receiving the trigger signal, the status indicator lamp changes from a normally on state to an off state), so that a false triggering phenomenon caused by the interference source may occur when the interference source interferes. In order to solve the technical problems, in the process of receiving the trigger signal, the embodiment of the invention maintains the original state of the state indicator lamp, so that when interference of an interference source exists, the interference source is not displayed for reminding, the phenomenon of false triggering caused by the interference source is avoided, and the use experience is improved.
In step S302, it is determined whether the trigger signal is an invalid signal.
The invalid signal may be a signal (i.e., an interference signal) when the card is not swiped, or a signal of card swiping failure, etc.
In one embodiment of the present invention, determining whether the trigger signal is an invalid signal includes: after the triggering is finished, detecting the current voltage state of the magnetic card information reading equipment; and when the current voltage state meets the preset state, judging that the trigger signal is an invalid signal when the card is not swiped.
For example, whether the trigger signal is an invalid signal when the card is not swiped may be determined according to a current voltage state of the DAV, where the trigger signal is an valid signal when the DAV is at a high level, and the trigger signal is an invalid signal when the card is not swiped when the DAV is at a low level.
For example, as shown in fig. 2, after the card swiping is finished, if the DAV is always in the low level state, the trigger signal is determined to be an invalid signal when the card is not swiped, and the specific principle is as follows:
when the interference signal appears, the CLS is pulled down to be in a low level, after the interference signal is ended, the CLS is pulled up to be in a high level, and after a certain time, the DAV is always in a low level state, so that the trigger signal can be judged to be an invalid signal when the card is not swiped.
The above-mentioned determination method for the trigger signal being the invalid signal when the card is not swiped is a common technique in the art, and the determination method for the trigger signal being the invalid signal when the card is swiped fails is not described herein for avoiding redundancy.
In step S303, if the trigger signal is an invalid signal, the control status indicator light is switched from the first lighting state to the second lighting state when the card swiping fails.
It will be appreciated that the trigger signal may be an invalid signal when the card is not swiped, or the trigger signal may be an invalid signal when the card is failed to swipe. In the embodiment of the present invention, the detailed description will be made on the trigger signal being an invalid signal that fails to swipe the card, specifically:
and when the trigger signal is an invalid signal when the card swiping fails, controlling the state indicator lamp to be switched from the first lighting state to the second lighting state. Wherein the first lighting state and the second lighting state are different lighting states, and the embodiment of the present invention may set one or more status indicator lamps for displaying the lighting states.
For example, when one status indicator lamp is provided, the first lighting state is a normally-on state, and the second lighting state is a blinking state. When the magnetic card information reading equipment is started, the state indicator lamp is in a normally-on state, the state indicator lamp is kept in the normally-on state in the process of receiving the trigger signal, and the state indicator lamp is controlled to be in a flashing state from the normally-on state when the trigger signal is judged to be an invalid signal when the card swiping failure occurs, so that the user is reminded of the card swiping failure through different lighting states of the state indicator lamp, and the use experience of the user is improved.
For another example, when two status indicators are provided, the first lighting state is green and the second lighting state is red, taking green and red as an example. When the magnetic card information reading equipment is started, the green lamp is in a normally-on state, the green lamp is kept in the normally-on state in the process of receiving the trigger signal, and when the trigger signal is judged to be an invalid signal when the card swiping failure occurs, the green lamp is controlled to be turned off, the red lamp is controlled to be in the normally-on state, the user is reminded of the card swiping failure through different lighting states of the state indicator lamps, and the use experience of the user is improved.
Further, after the control status indicator lamp is switched to the second lighting status, the method further comprises the following steps: detecting a duration of the second lighting state; and when the duration time meets the preset duration time, the control state indicator lamp is switched from the second lighting state to the first lighting state.
The preset time may be 1 second or 2 seconds, and those skilled in the art may set the preset time according to actual conditions, which is not specifically limited herein. Taking the preset time period as an example, which may be 1 second, the second lighting state (for example, a red light is turned on) is set at this time due to the card swiping failure, and when the duration time of the second lighting state exceeds 1 second, the control state indicator light is switched from the second lighting state to the first lighting state (for example, the control red light is turned off, and the control green light is turned on).
In one embodiment of the present invention, when the trigger signal is an inactive signal, the status indicator lamp is controlled to be continuously in the first lighting state.
As shown in fig. 1, the magnetic card information reading device receives the trigger signal, and after the triggering is finished (i.e. after the card swiping is finished), the CLS is pulled up to the high level, and after a certain time, for example, 7.5ms, the current voltage state of the magnetic card information reading device is detected, for example, the valid digital output DAV is the high level, and at this time, the trigger signal is determined to be the valid signal. That is to say, when the trigger signal is an effective signal, the card swiping success state is determined at the moment, and the state indicator lamp is controlled to be continuously in the first lighting state.
Further, after determining that the card swiping is successful, determining whether the decoding is successful, further comprising: when the trigger signal is decoded, the state indicator lamp is controlled to be turned off; judging whether the decoding is successful; and if the decoding is successful, controlling the state indicator lamp to enter a first lighting state, otherwise, controlling the state indicator lamp to enter a second lighting state.
Taking the first lighting state as green light lighting and the second lighting state as red light lighting as an example, keeping the green light normally on after the card swiping is successful, turning off the green light in the decoding process, and controlling the green light to be on if the decoding is successful; if decoding fails or decoding is overtime, the red light is controlled to be on, and after a certain time (for example, after 1 second), the red light is turned off, the green light is turned on, so that whether decoding is successful or not is reminded through different lighting states of the status indicator lamps, and the use experience of a user is improved.
The above is the first embodiment of the present invention, which is mainly applied to the case of swiping a card when an interference source exists, and the method for displaying the status of the magnetic card information reading device will be further described with reference to table 2.
First, when the magnetic card information reading device is in the on state, the green light is always on.
Secondly, when the card is swiped, because of the existence of the interference signal, in order to avoid the phenomenon that the magnetic card information reading device is triggered by mistake due to the interference signal in the process of swiping the card, the green light is kept normally on in the process of swiping the card, and at the moment, the magnetic card information reading device receives the trigger signal.
Then, judging that the trigger signal is an invalid signal for card swiping failure or judging that the card swiping time is overtime, lighting a red light, and after a certain time (for example, after 1 second), turning off the red light and lighting a green light; and if the trigger signal is judged to be an effective signal for successful card swiping, keeping the lighting state of the green light unchanged.
Finally, after the card swiping success is judged, entering a decoding process, controlling the green light to be turned off in the decoding process, and controlling the green light to be turned on if the decoding is successful; if the decoding fails or the decoding is overtime, the red light is controlled to be on, and after a certain time (for example, after 1 second), the red light is turned off and the green light is turned on.
TABLE 2
Figure BDA0002010587910000061
According to the state display method of the magnetic card information reading device provided by the embodiment of the invention, the original state of the state indicator lamp can be kept in the process of receiving the trigger signal, so that when interference of an interference source exists, the interference source is not displayed and reminded, the false triggering phenomenon caused by the interference source is avoided, and whether card swiping and decoding are successful or not is reminded for a user through different lighting states of the state indicator lamp, so that the use experience is improved.
Based on the above embodiments, another status display method for a magnetic card information reading device is further provided in the embodiments of the present invention, so as to illustrate a work flow of the magnetic card information reading device when there is no interference source. It should be noted that, the work flow of card swiping of the magnetic card information reading device when there is no interference source is similar to the case of the work flow of card swiping of the magnetic card information reading device when there is an interference source, and in order to avoid redundancy, no specific description is made here. The operation flow of the card reading of the magnetic card information reading device without the interference source will be described with reference to table 3.
First, when the magnetic card information reading device is in the on state, the green light is always on.
Secondly, the green light is kept on during the card swiping process, and at the moment, the magnetic card information reading device receives a trigger signal.
Then, judging that the trigger signal is an invalid signal for card swiping failure or judging that the card swiping time is overtime, lighting a red light, and after a certain time (for example, after 1 second), turning off the red light and lighting a green light; and if the trigger signal is judged to be an effective signal for successful card swiping, keeping the lighting state of the green light unchanged.
Finally, after the card swiping success is judged, entering a decoding process, controlling the green light to be turned off in the decoding process, and controlling the green light to be turned on if the decoding is successful; if the decoding fails or the decoding is overtime, the red light is controlled to be on, and after a certain time (for example, after 1 second), the red light is turned off and the green light is turned on.
TABLE 3
Figure BDA0002010587910000071
According to the state display method of the magnetic card information reading device provided by the embodiment of the invention, the original state of the state indicator lamp can be kept in the process of receiving the trigger signal, so that when interference of an interference source exists, the interference source is not displayed and reminded, the false triggering phenomenon caused by the interference source is avoided, and whether card swiping and decoding are successful or not is reminded for a user through different lighting states of the state indicator lamp, so that the use experience is improved.
Based on the above embodiment, the embodiment of the present invention further provides another status display method for a magnetic card information reading device, so as to illustrate how to perform a work flow of the magnetic card information reading device only when an interference source exists.
As shown in fig. 4, an embodiment of the present invention further provides a method for displaying a status of a magnetic card information reading device, including the following steps:
in step S401, the status indicator lamp is maintained in the first lighting state during the reception of the trigger signal.
In step S402, it is determined whether the trigger signal is an invalid signal.
Steps S401 and S402 may refer to the description of steps S301-S302 previously described.
In step S403, if the trigger signal is an invalid signal, the status indicator lamp continues to be maintained in the first lighting state when the card is not swiped.
It is understood that the invalid signal when the trigger signal is a card swiping failure may include: the trigger signal is an invalid signal when the card is not swiped, or the trigger signal is an invalid signal when the card swiping fails. The embodiment of the invention mainly elaborates the triggering signal which is an invalid signal when the card swiping fails. The method specifically comprises the following steps:
if the trigger signal is an invalid signal when the card is not swiped, the status indicator lamp is continuously kept in the first lighting state, and the trigger signal is generated due to the presence of the interference signal, but the card is not actually swiped, as shown in table 4, in the case where the card is not swiped and the interference signal is present. Therefore, in order to avoid the phenomenon of false triggering caused by the interference signal of the magnetic card information reading device, the embodiment of the invention keeps the original state of the state indicator lamp when the trigger signal is detected to be the invalid signal when the card is not swiped, so that the state indicator lamp is not displayed and reminded when the interference source interference exists, the false triggering phenomenon caused by the interference source is avoided, the use experience is improved, and the use experience of a user is improved.
TABLE 4
Figure BDA0002010587910000081
The status display method of the magnetic card information reading apparatus will be further explained with reference to table 4.
First, when the magnetic card information reading device is in the on state, the green light is always on.
Secondly, when the card is swiped, because of the existence of the interference signal, in order to avoid the phenomenon that the magnetic card information reading device is triggered by mistake due to the interference signal in the process of swiping the card, the green light is kept normally on in the process of swiping the card, and at the moment, the magnetic card information reading device receives the trigger signal.
And finally, when the trigger signal is judged to be an invalid signal when the card is not swiped, continuously keeping the green light on.
According to the state display method of the magnetic card information reading device provided by the embodiment of the invention, the original state of the state indicator lamp can be kept in the process of receiving the trigger signal, so that when interference of an interference source exists, display reminding is not carried out on the interference source, the phenomenon of false triggering caused by the interference source is avoided, when the trigger signal is determined to be the interference signal, the original state of the state indicator lamp is kept, and the use experience is improved.
The above embodiments are detailed descriptions of the case of swiping a card when the magnetic card information reading device has an interference source, the case of only having the interference source, and the case of swiping a card when the interference source does not exist, and a status display method of the magnetic card information reading device will be further described with reference to fig. 5.
As shown in fig. 5, the method for displaying the status of a magnetic card information reading device, the magnetic card information reading device including a status indicator lamp, wherein the method includes the steps of:
in step S501, the status indicator lamp is maintained in the first lighting state during the reception of the trigger signal.
In step S502, it is determined whether the trigger signal is an invalid signal, and if the trigger signal is an invalid signal during card swiping failure, step S503 is executed; when the trigger signal is an invalid signal when the card is not swiped, executing step S505; when the trigger signal is a valid signal, step 506 is executed.
In step S503, if the trigger signal is an invalid signal, the control status indicator lamp is switched from the first lighting state to the second lighting state when the card swiping fails.
In step S504, the duration of the second lighting state is detected; and when the duration time meets the preset duration time, the control state indicator lamp is switched from the second lighting state to the first lighting state.
In step S505, if the trigger signal is an invalid signal, the status indicator lamp continues to be maintained in the first lighting state when the card is not swiped.
In step S506, the status indicator lamp is controlled to be in the first lighting state continuously when the trigger signal is the active signal.
In step S507, when the trigger signal is decoded, the status indicator lamp is controlled to be turned off.
In step S508, it is determined whether the decoding is successful, and if the decoding is successful, step S509 is performed; otherwise, step S510 is executed.
In step S509, the control state indicator lamp enters the first lighting state.
In step S510, the control state indicator lamp enters the second lighting state.
It should be noted that, the steps S501 to S510 may refer to the description of the above embodiments.
The status display method of the magnetic card information reading apparatus will be further described with reference to fig. 6.
First, when the magnetic card information reading device is in a power-on state, the green light is normally on, the red light is in a power-off state, the CLS is at a high level, and the DAV is at a low level.
Secondly, in the process of swiping the card, the CLS is pulled down to be at a low level, and the time length of swiping the card, namely the time length of the CLS at the low level, is determined by the card swiping speed. Wherein the content of the first and second substances,
(1) in the related art, the green light is kept turned off during the card swiping process, however, since the magnetic card information reading device is easily affected by the interference signal, the phenomenon that the MSR is falsely triggered due to the interference signal is easily generated during the card swiping process in the related art.
(2) In the embodiment of the invention, the status indicator lamp is kept in the lighting state all the time in the process of receiving the trigger signal, so that the phenomenon that the magnetic card information reading equipment is mistakenly triggered by the interference signal in the process of receiving the trigger signal is effectively avoided, the reliability of the magnetic card information reading equipment is improved, the use experience of a user is improved, and the method is simple and easy to implement.
Then, after the card swiping is finished, the CLS is pulled up to a high level, and a judgment time of 7.5ms is given, at this time, (1) the trigger signal is judged to be an invalid signal for card swiping failure or the card swiping timeout is judged, the red light is turned on, and after a certain time (for example, after 1 second), the red light is turned off and the green light is turned on; (2) when the trigger signal is judged to be an invalid signal when the card is not swiped, continuously keeping the green light on; (3) and if the DAV is interrupted and the DAV is pulled up to a high level, the lighting state of the green light is kept unchanged when the trigger signal is judged to be an effective signal for successfully swiping the card.
Finally, entering a decoding process if the trigger signal is judged to be an effective signal that the card swiping is successful, controlling the green light to be turned off in the decoding process, and controlling the green light to be turned on if the decoding is successful; if the decoding fails or the decoding is overtime, the red light is controlled to be on, and after a certain time (for example, after 1 second), the red light is turned off and the green light is turned on.
In summary, according to the status display method of the magnetic card information reading device provided by the embodiment of the present invention, in the process of receiving the trigger signal, the original status of the status indicator lamp can be maintained, so that when there is interference from the interference source, the status indicator lamp is not displayed for reminding, thereby avoiding false triggering caused by the interference source, and reminding the user whether the card swiping is successful or not and whether the decoding is successful or not through different lighting statuses of the status indicator lamp, and when it is determined that the trigger signal is the interference signal, the original status of the status indicator lamp is maintained, thereby improving the use experience.
Next, a state display device of a magnetic card information reading apparatus proposed according to an embodiment of the present invention is described with reference to the drawings.
Fig. 7 is a block diagram of a status display device of a magnetic card information reading apparatus according to an embodiment of the present invention.
As shown in fig. 7, the status display apparatus of the magnetic card information reading device includes a status indicator lamp, wherein the apparatus 700 includes: a first determination module 710 and a first control module 720.
The first determining module 710 is configured to determine whether the trigger signal is an invalid signal. The first control module 720 is configured to, in a process of receiving the trigger signal, maintain the status indicator in a first lighting state, and control the status indicator to switch from the first lighting state to a second lighting state when the trigger signal is an invalid signal when the card swiping fails, or continue to maintain the status indicator in the first lighting state when the trigger signal is an invalid signal when the card swiping fails. The device 700 provided by the embodiment of the invention can keep the original state of the state indicator lamp in the process of receiving the trigger signal, so that the interference source is not displayed and reminded when the interference source is interfered, the phenomenon of false triggering caused by the interference source is avoided, and the use experience is improved.
Further, in an embodiment of the present invention, when the trigger signal is an active signal, the first control module 720 is further configured to control the status indicator lamp to be in the first lighting state continuously.
Further, in an embodiment of the present invention, as shown in fig. 8, the first determining module 710 includes: a detection unit 711.
The detecting unit 711 is configured to detect a current voltage state of the magnetic card information reading device after the triggering is finished, and determine that the triggering signal is an invalid signal when the current voltage state satisfies a preset state.
Further, in an embodiment of the present invention, as shown in fig. 9, the apparatus 700 of the embodiment of the present invention further includes: a detection module 730 and a second control module 740.
The detecting module 730 is configured to detect a duration of the second lighting state; the second control module 740 is configured to control the status indicator to switch from the second lighting status to the first lighting status when the duration satisfies the predetermined duration.
Further, in an embodiment of the present invention, as shown in fig. 10, the apparatus 700 of the embodiment of the present invention further includes: a third control module 750, a second determination module 760, and a fourth control module 770.
The third control module 750 is configured to control the status indicator light to be turned off when the trigger signal is decoded. The second determining module 760 is used for determining whether the decoding is successful. The fourth control module 770 is configured to control the status indicator to enter the first lighting state when the decoding is successful, and otherwise control the status indicator to enter the second lighting state.
It should be noted that the explanation of the embodiment of the method for displaying the status of the magnetic card information reading device is also applicable to the status display apparatus of the magnetic card information reading device of the embodiment, and the details are not repeated here.
According to the state display device of the magnetic card information reading equipment provided by the embodiment of the invention, the original state of the state indicator lamp can be kept in the process of receiving the trigger signal, so that when interference of an interference source exists, the interference source is not displayed for reminding, the false triggering phenomenon caused by the interference source is avoided, a user is reminded whether card swiping is successful or not and whether decoding is successful or not through different lighting states of the state indicator lamp, and when the trigger signal is determined to be the interference signal, the original state of the state indicator lamp is kept, and the use experience is improved.
In addition, an embodiment of the present invention further provides a magnetic card information reading apparatus, including: a status indicator light; and a status display device of the magnetic card information reading apparatus as in the above-described embodiments.
The magnetic card information reading device provided by the embodiment of the invention can keep the original state of the state indicator lamp in the process of receiving the trigger signal, so that the interference source is not displayed and reminded when the interference source interference exists, the false triggering phenomenon caused by the interference source is avoided, a user is reminded whether the card swiping is successful or not and whether the decoding is successful or not through different lighting states of the state indicator lamp, and the original state of the state indicator lamp is kept when the trigger signal is determined to be the interference signal, so that the use experience is improved.
Furthermore, an embodiment of the present invention also proposes a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method of the above-described embodiment.
It should be noted that the computer readable medium of the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents is encompassed without departing from the spirit of the disclosure. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.

Claims (10)

1. A status display method of a magnetic card information reading device, wherein the magnetic card information reading device comprises a status indicator lamp, wherein the method comprises:
in the process of receiving the trigger signal, keeping the state indicator lamp in a first lighting state;
judging whether the trigger signal is an invalid signal; the determining whether the trigger signal is an invalid signal includes: after the triggering is finished, detecting the current voltage state of the magnetic card information reading equipment; when the current voltage state meets a preset state, judging that the trigger signal is the invalid signal when the card is not swiped; and
if the trigger signal is the invalid signal, the status indicator lamp is controlled to be switched from the first lighting state to a second lighting state when the card swiping fails, or the status indicator lamp is continuously kept in the first lighting state when the card swiping does not occur.
2. The method of claim 1, further comprising:
and when the trigger signal is an effective signal, controlling the status indicator lamp to be in the first lighting state continuously.
3. The method of claim 1, wherein in controlling the status indicator light to transition to the second illuminated state, further comprising:
detecting a duration of the second lighting state;
and when the duration time meets the preset duration time, controlling the state indicator lamp to be converted from the second lighting state to the first lighting state.
4. The method of claim 2, further comprising:
when the trigger signal is decoded, the status indicator lamp is controlled to be turned off;
judging whether the decoding is successful;
and if the decoding is successful, controlling the status indicator lamp to enter the first lighting state, otherwise, controlling the status indicator lamp to enter the second lighting state.
5. A status display device of a magnetic card information reading apparatus, characterized in that the magnetic card information reading apparatus includes a status indicator lamp, wherein the device comprises:
the first judgment module is used for judging whether the trigger signal is an invalid signal; the first judging module comprises: the detection unit is used for detecting the current voltage state of the magnetic card information reading equipment after the triggering is finished, and judging that the triggering signal is the invalid signal when the current voltage state meets a preset state;
the first control module is used for keeping the status indicator lamp in a first lighting state in the process of receiving the trigger signal, and controlling the status indicator lamp to be switched from the first lighting state to a second lighting state when the trigger signal is an invalid signal when card swiping fails, or keeping the status indicator lamp in the first lighting state continuously when the trigger signal is an invalid signal when the card swiping does not occur.
6. The apparatus of claim 5, wherein the first control module is further configured to control the status indicator light to be in the first illuminated state continuously when the trigger signal is a valid signal.
7. The apparatus of claim 5, further comprising:
a detection module for detecting a duration of the second lighting state;
and the second control module is used for controlling the state indicator lamp to be converted into the first lighting state from the second lighting state when the duration time meets the preset duration.
8. The apparatus of claim 6, further comprising:
the third control module is used for controlling the status indicator lamp to be turned off when the trigger signal is decoded;
the second judging module is used for judging whether the decoding is successful;
and the fourth control module is used for controlling the state indicator lamp to enter the first lighting state when the decoding is successful, and otherwise, controlling the state indicator lamp to enter the second lighting state.
9. A magnetic card information reading apparatus, characterized by comprising:
a status indicator light; and
a status display device of a magnetic card information reading apparatus according to any one of claims 5 to 8.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201910244209.5A 2019-03-28 2019-03-28 State display method and device of magnetic card information reading equipment and equipment with state display device Active CN111753564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910244209.5A CN111753564B (en) 2019-03-28 2019-03-28 State display method and device of magnetic card information reading equipment and equipment with state display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910244209.5A CN111753564B (en) 2019-03-28 2019-03-28 State display method and device of magnetic card information reading equipment and equipment with state display device

Publications (2)

Publication Number Publication Date
CN111753564A CN111753564A (en) 2020-10-09
CN111753564B true CN111753564B (en) 2022-02-08

Family

ID=72672312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910244209.5A Active CN111753564B (en) 2019-03-28 2019-03-28 State display method and device of magnetic card information reading equipment and equipment with state display device

Country Status (1)

Country Link
CN (1) CN111753564B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732069A (en) * 2021-02-20 2021-04-30 上海创感传感技术有限公司 Electronic equipment state modification method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202486971U (en) * 2012-03-20 2012-10-10 深圳市爱美家电子科技有限公司 Card swiping remote controller
CN206135967U (en) * 2016-06-06 2017-04-26 史坚青 SK I authorizes controller
CN106980890A (en) * 2017-04-26 2017-07-25 昆明理工大学 A kind of active RFID
CN107256728A (en) * 2017-05-22 2017-10-17 福建福清核电有限公司 A kind of nuclear power plant's Digital Control rod current monitoring fastener based on FPGA
CN108394376A (en) * 2017-02-08 2018-08-14 比亚迪股份有限公司 Key matching system and method for automobile
CN208351564U (en) * 2018-04-18 2019-01-08 河南青豆计算机科技有限公司 A kind of anticollision buffering device of outdoor entrance guard card reader

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9818054B1 (en) * 2017-01-16 2017-11-14 International Business Machines Corporation Tag with tunable retro-reflectors

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202486971U (en) * 2012-03-20 2012-10-10 深圳市爱美家电子科技有限公司 Card swiping remote controller
CN206135967U (en) * 2016-06-06 2017-04-26 史坚青 SK I authorizes controller
CN108394376A (en) * 2017-02-08 2018-08-14 比亚迪股份有限公司 Key matching system and method for automobile
CN106980890A (en) * 2017-04-26 2017-07-25 昆明理工大学 A kind of active RFID
CN107256728A (en) * 2017-05-22 2017-10-17 福建福清核电有限公司 A kind of nuclear power plant's Digital Control rod current monitoring fastener based on FPGA
CN208351564U (en) * 2018-04-18 2019-01-08 河南青豆计算机科技有限公司 A kind of anticollision buffering device of outdoor entrance guard card reader

Also Published As

Publication number Publication date
CN111753564A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
EP3624085A1 (en) Method for recognizing traffic light, device, storage medium, and vehicle
US20150113369A1 (en) Image transitioning and error detection for online presentations
CN110908838B (en) Data processing method and device, electronic equipment and storage medium
EP3828684A1 (en) Method and device for switching and controlling an approaching event detection element
CN111753564B (en) State display method and device of magnetic card information reading equipment and equipment with state display device
CN110377341B (en) Method, device, medium and electronic equipment for monitoring no-response exception
CN108959031B (en) NVME backboard lighting control method, system, medium and equipment
CN112235924A (en) Sensor fault processing method and related device
CN111427417B (en) Time acquisition method and device and electronic equipment
CN114816748A (en) Thread scheduling method and device, electronic equipment and storage medium
CN110989877A (en) Message management method, related equipment and computer readable storage medium
US11927948B2 (en) Presenting a current status of a device in dependence on a privacy mode
US9594667B2 (en) Enhancing weak consistency
CN108966140B (en) Network control method, system, mobile terminal and storage medium
US9443221B2 (en) Physical location tagging via image recognition
CN108401003B (en) Radar data synchronization method, device, equipment and computer storage medium
CN115567896A (en) Communication method and device applied to vehicle, electronic equipment, medium and vehicle
CN113412684B (en) Improving automation rules by determining relationships between events and control commands
US20220353976A1 (en) Providing a notification for a lighting device without user-specified power-switch behavior
EP3942903B1 (en) Diagnosing a problem occurring when controlling a lighting device based on lighting device grouping information
ES2935590T3 (en) Determining the accessibility of an electronic device through multiple wireless communication protocols
US20170223323A1 (en) Input/output device, input/output method, and computer-readable recording medium
CN112462921A (en) Application program management method, device and storage medium
CN111475060B (en) Touch identification method and device
CN113406945B (en) Wide-domain frequency wake-up signal processing method and device

Legal Events

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