A demodulation method and device of an analog card, an electronic device and a medium

By integrating a demodulation system into the card reader, the problem that traditional card readers cannot support analog card functions is solved, the signal demodulation function is realized, and the application scenarios of the card reader are expanded.

CN121279329BActive Publication Date: 2026-02-27BEIJING ZHAOXUN HENGDA TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511842016.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-09
Publication Date
2026-02-27
Estimated Expiration
2045-12-09

AI Technical Summary

Technical Problem

Traditional card readers do not have card emulation capabilities and cannot be flexibly applied in various scenarios.

Method used

The card reader integrates a demodulation system, including a filtering module, a detection module, and a comparison module. It achieves signal demodulation through signal filtering, detection, and comparison, and supports analog card functionality.

Benefits of technology

It realizes the signal demodulation function of card reader in various application scenarios, expands the application scenarios of card reader, enables it to have card emulation function, and supports flexible application in multiple scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121279329B_ABST
    Figure CN121279329B_ABST
Patent Text Reader

Abstract

The application provides a demodulation method and device of an analog card, electronic equipment and a medium, effectively solving the phenomenon that a traditional card reader does not have an analog card function and cannot realize flexible application in multiple scenes. The method comprises the following steps: configuring a card reader based on a demodulation system in advance, so as to obtain a signal received by the card reader through the demodulation system after the configuration is completed; copying the signal to obtain a first signal and a second signal, and inputting the first signal to a filtering module and the second signal to a comparison module respectively; the filtering module filters the first signal, an envelope signal is obtained from the filtered first signal through a detection module, and the envelope signal is input to the comparison module; the comparison module compares the envelope signal with the second signal, obtains a data signal from the signal, and realizes demodulation of a signal emitted by a signal emission terminal by the card reader based on the data signal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field, in particular to a demodulation method and device of a simulated card, an electronic device and a medium. BACKGROUND

[0002] Traditional card readers mostly only support single card reading or charging functions, and the application scenarios are limited to fixed payment scenarios, which cannot meet the user's use requirements in mobile and integrated scenarios. The combination of the mobile NFC chip through the card reader mode and the card simulation mode has verified the practicability of the read-write-simulation integrated function, and the user can not only charge the physical card through the mobile phone, but also directly use the mobile phone to simulate the physical card consumption, realizing a convenient experience of one device with multiple purposes.

[0003] This multi-mode cooperative application mode promotes the functional upgrade demand of card reader devices in various scenarios. In order to adapt to diversified use scenarios and break the functional boundaries of traditional card readers, the card reader can not only complete the read-write operation on passive cards, but also expand to more interactive scenarios such as consumption and passage through card simulation function, so it is urgent to add the simulation card function to the existing card reader to realize flexible application in multiple scenarios. SUMMARY

[0004] Therefore, the purpose of the present application is to provide a demodulation method and device of a simulated card, an electronic device and a medium, which effectively solves the problem that the traditional card reader does not have the simulation card function and cannot realize flexible application in multiple scenarios.

[0005] In a first aspect, the present application provides a demodulation method of a simulated card, applied to a demodulation system, the demodulation system comprising a filtering module, a detection module and a comparison module, and the method comprising:

[0006] The card reader is configured in advance based on the demodulation system, so that the signal received by the card reader from the signal transmitting terminal can be obtained through the demodulation system after the configuration is completed; the filtering module, the detection module and the comparison module have target structures respectively;

[0007] The signal is copied to obtain a first signal and a second signal, and the first signal is input to the filtering module and the second signal is input to the comparison module; the signal comprises a data signal;

[0008] The filtering module filters the first signal, and the detection module obtains an envelope signal from the filtered first signal, and inputs the envelope signal to the comparison module;

[0009] The comparison module compares the envelope signal and the second signal to obtain a data signal from the signal, and realizes the demodulation of the signal transmitted by the signal transmitting terminal based on the data signal.

[0010] With reference to the first aspect, in a first possible implementation of the first aspect, the comparison module compares the envelope signal and the second signal to obtain the data signal from the signal, including:

[0011] selecting a target current for the comparison module, to control the comparison module to a target state based on the target current;

[0012] the comparison module compares the envelope signal and the second signal based on the target state to extract the data signal.

[0013] With reference to the first aspect, in a second possible implementation of the first aspect, the comparison module compares the envelope signal and the second signal based on the target state, including:

[0014] controlling the comparison module to compare the envelope signal and the second signal according to a time scale to obtain a comparison result;

[0015] extracting a change rule in the comparison result to obtain the data signal based on the change rule.

[0016] With reference to the first aspect, in a third possible implementation of the first aspect, the detection module obtains the envelope signal from the filtered first signal, and further includes:

[0017] judging whether the amplitude of the first signal is in a preset target state condition, and generating a corresponding judgment result;

[0018] based on the judgment result, using different processing mechanisms to process the first signal to extract the envelope signal.

[0019] With reference to the first aspect, in a fourth possible implementation of the first aspect, the detection module uses different processing mechanisms to process the first signal to extract the envelope signal, including:

[0020] based on the size of the refresh current, establishing a charging processing mechanism and a discharging processing mechanism, and executing the charging processing mechanism and the discharging processing mechanism;

[0021] after multiple cycles of executing the charging processing mechanism and the discharging processing mechanism, the envelope signal output by the detection module.

[0022] With reference to the first aspect, in a fifth possible implementation of the first aspect, the card reader is configured in advance based on the demodulation system, including:

[0023] extracting a signal receiving line of the card reader, and controlling the demodulation system to join at a target position of the signal receiving line;

[0024] configuring the demodulation system in multiple dimensions, and fusing configuration results in multiple dimensions to end the configuration of the demodulation system.

[0025] In combination with the first aspect, the embodiments of the present application provide a sixth possible implementation manner of the first aspect, wherein the multiple-dimensional configuration of the demodulation system comprises:

[0026] predetermining hardware configuration dimensions and software configuration dimensions for the demodulation system; different configuration dimensions correspond to different configuration manners;

[0027] calling the configuration manners to respectively configure each configuration dimension of the demodulation system.

[0028] In combination with the first aspect, the embodiments of the present application provide a sixth possible implementation manner of the first aspect, wherein the multiple-dimensional configuration of the demodulation system comprises:

[0029] obtaining a card reader based on the demodulation system in advance, so as to obtain a signal received by the card reader from a signal transmitting terminal through the demodulation system after the configuration is completed; the filter module, the detection module and the comparison module respectively have target structures;

[0030] copying the signal to obtain a first signal and a second signal, and inputting the first signal to the filter module and the second signal to the comparison module respectively; the signal comprises a data signal;

[0031] filtering the first signal by the filter module, obtaining an envelope signal from the filtered first signal through the detection module, and inputting the envelope signal to the comparison module;

[0032] comparing the envelope signal and the second signal by the comparison module to obtain a data signal from the signal, and realizing demodulation of a signal transmitted by the signal transmitting terminal by the card reader based on the data signal.

[0033] In combination with the first aspect, the embodiments of the present application provide a sixth possible implementation manner of the first aspect, wherein the multiple-dimensional configuration of the demodulation system comprises:

[0034] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program. When the computer program is run by a processor, the steps of the demodulation method of the analog card are executed.

[0035] The demodulation method of the analog card provided by the embodiments of the present application is applied to a demodulation system, which comprises a filtering module, a detection module and a comparison module. The method first configures a card reader based on the demodulation system in advance, so that the card reader receives a signal from a signal transmitting terminal after the configuration is completed. The filtering module, the detection module and the comparison module have target structures respectively. Then, the signal is copied to obtain a first signal and a second signal, and the first signal and the second signal are input to the filtering module and the comparison module respectively. The signal comprises a data signal. Then, the filtering module filters the first signal, and the detection module obtains an envelope signal from the filtered first signal and inputs the envelope signal to the comparison module. Finally, the comparison module compares the envelope signal and the second signal to obtain a data signal from the signal, and realizes the demodulation of the signal transmitted by the signal transmitting terminal based on the data signal. Based on this method, the problem that the current card reader cannot be used in multiple scenes because it does not have the function of simulating a card is solved. By integrating the demodulation system on the card reader, the demodulation function of the signal is realized, so that the card reader has the function of simulating a card, and can be applied in multiple application scenarios, thereby expanding the application scenarios of the card reader. BRIEF DESCRIPTION OF DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.

[0037] Figure 1 A flowchart of a demodulation method of an analog card provided by the embodiments of the present application is shown;

[0038] Figure 2 A circuit diagram of a demodulation system provided by the embodiments of the present application is shown;

[0039] Figure 3 A circuit principle diagram of a detection module provided by the embodiments of the present application is shown;

[0040] Figure 4 A circuit principle diagram of a comparison module provided by the embodiments of the present application is shown;

[0041] Figure 5 A simulation waveform diagram of the demodulation system provided by the embodiment of the present application is shown;

[0042] Figure 6 A structural block diagram of a demodulation device of an analog card provided by the embodiment of the present application is shown;

[0043] Figure 7 A structural block diagram of an electronic device provided by the embodiment of the present application is shown. DETAILED DESCRIPTION

[0044] To make the objectives, technical solutions, and superiorities of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in connection with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application serve only the purpose of description and illustration, and do not serve to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts show the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented in no particular order, and the steps without logical context relationship can be reversed in order or implemented simultaneously. In addition, one or more other operations can be added to the flowcharts or one or more operations can be removed from the flowcharts under the guidance of the content of the present application.

[0045] In addition, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0046] It should be noted that the term “comprising” will be used in the embodiments of the present application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0047] Traditional card readers mostly use simple demodulation methods such as radio frequency envelope detection and diode detection. These methods have exposed many problems in actual application, such as demodulation failure, sensitivity decline, and insufficient compatibility, etc. It is necessary to add analog demodulation function to the card reader.

[0048] Based on this, the embodiments of the present application provide a demodulation method, system, device, and medium for analog cards, which are described below through embodiments.

[0049] Embodiment 1

[0050] For the convenience of understanding the present embodiment, first of all, a kind of demodulation method of analog card disclosed in the present application is introduced in detail.As shown in a flow chart of a kind of demodulation method of analog card, the present application provides a kind of demodulation method of analog card, applied to demodulation system, the demodulation system includes filter module, detection module and comparison module, the method includes: Figure 1

[0051] S101, pre-configure card reader based on the demodulation system, to obtain the signal received by the card reader from signal transmitting terminal after configuration is completed by the demodulation system;Filter module, detection module and comparison module have target structure respectively;

[0052] S102, copy the signal to obtain first signal and second signal, and input the first signal to filter module and the second signal to comparison module respectively;The signal includes data signal;

[0053] S103, the filter module filters the first signal, and the envelope signal is obtained from the filtered first signal by detection module, and the envelope signal is input to comparison module;

[0054] S104, the comparison module compares the envelope signal and the second signal to obtain the data signal from the signal, and realizes the demodulation of the signal emitted by the signal transmitting terminal by the card reader based on the data signal.

[0055] In step S101, the present application pre-configures card reader based on the demodulation system, that is, controls the demodulation system to be built-in in the card reader, such as the chip of card reader, and debugs, and confirms the completion of configuration after debugging, and needs to be determined before configuration Application scenario and technical standard of card reader, match corresponding parameters for the demodulation system, avoid configuration deviation, including configuring the demodulation system to demodulate based on the principle of analog demodulation, and specifying its performance indicators, such as signal-to-noise ratio threshold of demodulated signal, signal gain requirement corresponding to card reading distance, and whether it needs to be compatible with multi-rate signal, etc. It is also necessary to select the demodulation core scheme, such as the demodulation system of the present application including filter module, detection module and comparison module, and configuring the filter module, detection module and comparison module to have target structure respectively, so as to realize analog demodulation function, the demodulation system is configured on the card reader, and the signal emitted from the signal transmitting terminal is received by the card reader through antenna, so as to start analog demodulation of the signal, wherein the signal transmitting terminal can be another card reader, or the terminal device with which the card reader needs to interact information.

[0056] In the specific implementation process of step S101, there is an embodiment that the card reader is pre-configured based on the demodulation system, including: ​

[0057] S1011, extract the signal receiving dynamic line of the card reader, and control the demodulation system to join at the target position of the signal receiving dynamic line;

[0058] S1012, configure the demodulation system in multiple dimensions, and fuse the configuration results in multiple dimensions to end the configuration of the demodulation system.

[0059] In steps S1011-S1012, generally, the card reader gradually converts the signal reflected by the card into a digital signal that can be processed by the control unit. The signal receiving dynamic line of the card reader generally receives the signal through the antenna ANT, and then transmits the signal to the control unit for processing. The application controls the demodulation system to join at the target position of the signal receiving dynamic line, that is, configures the demodulation system to connect the antenna, that is, realizes that the demodulation system can receive the signal as soon as the antenna receives the signal. The demodulation system is configured in hardware and software to realize multi-dimensional configuration of the demodulation system, and the configuration results in multiple dimensions are fused. That is, after the hardware and software are configured and the configuration is passed, the multi-scene test is performed, such as the test in the complex electromagnetic environment of the market, subway, etc. It is checked whether the filter module in the hardware configuration dimension can effectively remove the clutter. Problems are investigated and optimized, such as gradually adjusting the card reading distance, verifying whether the demodulation system can stably receive the signal, and if the signal is interrupted, further optimizing the filter parameters, so as to ensure the stable cooperation of the card reader and the demodulation system, and only then can the configuration of the demodulation system be ended.

[0060] In the specific implementation process of step S1012, there is an embodiment that the demodulation system is configured in multiple dimensions, including:

[0061] S10121, the hardware configuration dimension and the software configuration dimension for the demodulation system are determined in advance; different configuration dimensions correspond to different configuration methods;

[0062] S10122, the configuration method is called to configure each configuration dimension of the demodulation system correspondingly.

[0063] In steps S10121-S10122, the present application determines the hardware configuration dimension and the software configuration dimension for the demodulation system; different configuration dimensions correspond to different configuration manners; the hardware configuration specifically configures the demodulation system to include a filtering module, a detection module, and a comparison module, the detection module is a peak value detection module, and each component parameter and value of the filtering module, the detection module, and the comparison module are configured according to the frequency of the signal, respectively, on the basis of the hardware configuration, the carrier frequency of the antenna needs to be matched with the demodulation system, otherwise the analog demodulation effect cannot be guaranteed; the software configuration specifically cooperates with the hardware to complete signal decoding, protocol adaptation, and data verification, so that the filtering module, the detection module, and the comparison module can realize corresponding functions and cooperatively realize the analog demodulation effect, then in the specific configuration, the configuration manner is called to perform corresponding configuration on each configuration dimension of the demodulation system to obtain the configuration result of each configuration dimension, and if the configuration result of one dimension is not passed, the configuration needs to be performed again until the configuration is successful.

[0064] In step S102, after receiving the signal output by the antenna ANT, the demodulation system copies the signal to obtain a first signal and a second signal, the signal includes a data signal and a carrier signal, the signal frequency is 13.56M, that is, the carrier signal is 13.56M, and the data signal is 106K, the obtained first signal and second signal both include a data signal and a carrier signal, and the first signal is input to the filtering module and the second signal is input to the comparison module, respectively; as shown in Figure 2 The filtering module is a low-pass filter and specifically consists of a resistor R and a capacitor C, the comparison module is specifically a comparator and can be implemented based on an operational amplifier, and the specific parameter values are determined in the configuration process.

[0065] In step S103, since the signal received by the card reader is susceptible to electromagnetic interference, such as high-frequency noise generated by surrounding electronic equipment, the filtering module is used to filter the first signal, the low-pass filter included in the filtering module filters out high-frequency noise and noise, which can cause the signal to be distorted and affect the demodulation of the data signal, the filtered first signal is an amplitude modulation signal containing a high-frequency carrier, the detection module obtains an envelope signal from the filtered first signal, specifically, it is judged whether the amplitude of the filtered first signal is in a target state, different mechanisms are used to process the first signal, so as to realize the effect of extracting the envelope signal through the detection module, and output the envelope signal to the comparison module, the envelope signal corresponds to the 0, 1 logic of the data signal in the fluctuation change, and the restoration from the amplitude modulation signal to the data envelope is completed.

[0066] In the implementation of step S103, there is an embodiment that the detection module obtains the envelope signal from the filtered first signal, and further comprises:

[0067] S1031, judging whether the amplitude of the first signal is in a preset target state condition, and generating a corresponding judgment result;

[0068] S1032, based on the judgment result, using different processing mechanisms to process the first signal to extract the envelope signal.

[0069] In steps S1031-S1032, as Figure 2 PEAKDET in the detection module, specifically a peak detection module, as Figure 3 The peak detection module includes PMOS tubes (MP0, MP1, MP2, MP3) and NMOS tubes (MN4, MN5), current source I0 and refresh current I1 and capacitor C0, IN is the input port, OUT is the output port, and the circuit provides stable current The refresh current I1 of the detection module is very small, and the refresh current I1 is a charging and discharging current for tracking the amplitude change of the first signal. The detection module judges whether the amplitude of the first signal is in a preset target state condition and generates a corresponding judgment result. The target state condition is whether the amplitude of the first signal reaches the preset peak threshold range of the first signal. If the judgment result is reached, the processing mechanism sequence is charging processing mechanism first and discharging processing mechanism second. If the judgment result is not reached, the processing mechanism is to control the envelope signal output to follow the change of the first signal, and the output signal follows the change of the input signal. Specifically, during charging, even if the current is small, it can be charged to the signal peak value in a long interval. During discharging, the slow envelope decline trend is consistent with the slow discharging rate of small current, and the capacitor voltage can follow the envelope trend decline, and this process is executed in a cycle. The voltage waveform across the capacitor will show a smooth fluctuation state. This waveform is exactly the envelope signal of the input amplitude modulation signal.

[0070] In the implementation of step S1031, there is an embodiment that the detection module obtains the envelope signal from the filtered first signal, and further comprises:

[0071] S10311, based on the size of the refresh current, establishing a charging processing mechanism and a discharging processing mechanism, and executing the charging processing mechanism and the discharging processing mechanism;

[0072] S10312, collecting the envelope signal output by the detection module after multiple cycles of executing the charging processing mechanism and the discharging processing mechanism.

[0073] In steps S10311-S10312, when the distance between the card reader and the card or the terminal where the card is located is small, the amplitude of the signal is large, and the refresh current I1 is also large, wherein the refresh current I1 is the charge and discharge current for tracking the amplitude change of the first signal, and a capacitor C0 is added to the output of the detection module for signal integration. The current of the detection module MP0 increases, and OUT can be quickly charged high. The capacitor of the detection module is charged, and the voltage across the capacitor will quickly rise synchronously with the peak value of the first signal. This charging process is a current refresh, and the core purpose is to capture the highest amplitude of the signal in real time, so that the capacitor voltage does not lag behind the signal peak value, and the rising change of the first signal amplitude can be ensured to be followed. If the distance between the card reader and the card or the terminal where the card is located is large, the amplitude of the signal is small, and the refresh current I1 is also small, then the detection module refresh current I1 is small, and the output signal changes slowly following the input signal. The capacitor C0 will release the electric quantity through a high resistance load, forming a slow discharge refresh current. This small current discharge design can not only prevent the capacitor C0 voltage from suddenly dropping due to the decrease of the signal amplitude, but also slowly follow the overall downward trend of the signal amplitude. After multiple cycles of charging refresh to capture the peak value and discharging refresh to maintain the trend, the voltage waveform across the capacitor C0 will present a smooth fluctuation state. This waveform is exactly the envelope signal of the input amplitude modulation signal. The high and low changes of the envelope signal correspond one by one to the 0 and 1 logic of the data signal.

[0074] In step S104, the specific structure of the comparison module is as shown in Figure 4 The comparison module includes a plurality of PMOS tubes and NMOS tubes, a target current I2, input ports V+ and V-, and an output port OUT. The comparison module compares the envelope signal and the second signal. The envelope signal is connected to the negative terminal, and the reference signal is connected to the positive terminal. When the envelope signal voltage is higher than the second signal, the comparator outputs a high level. When the envelope signal voltage is lower than the second signal, the output is low. The conversion from the analog envelope to the digital signal is completed, so as to obtain the data signal from the signal. The data signal is the useful signal in the signal, and the demodulation of the signal emitted by the signal emission terminal of the card reader is realized based on the data signal. The data interaction between the card reader and other terminals that need to interact is also realized, and the scene applicability of the card reader is improved. Figure 5 The simulation waveform of the present application is shown in the figure. V1 is the antenna signal, V2 is the first signal filtered by RC, V3 is the envelope signal Vdet obtained from V2, and Vdet is compared with the second signal to obtain the demodulated data signal data.

[0075] In the implementation of step S104, there is an embodiment that the comparison module compares the envelope signal and the second signal to obtain a data signal from the signals, including:

[0076] S1041, selecting a target current for the comparison module to control the comparison module to a target state based on the target current;

[0077] S1042, the comparison module compares the envelope signal and the second signal based on the target state to extract the data signal.

[0078] In steps S1041-S1042, before the comparison module compares, the slew rate of the comparison module needs to be judged. If the slew rate is lower than 13.56M and the 13.56M signal cannot be identified, the comparison module will not flip, and the comparison cannot be performed. At this time, the target current for the comparison module is selected to control the slew rate of the comparison module to reach between 106k and 13.56M based on the target current. At this time, the comparison module reaches the target state and can flip. At this time, the second signal 13.56M carrier signal and 106k data signal can be compared by the comparator, thereby realizing the analog demodulation function and extracting the data signal. The demodulation system of the present application realizes good demodulation card analog signal effect in the card reader, and consumes very small area and power consumption.

[0079] In the implementation of step S1042, there is an embodiment that the comparison module compares the envelope signal and the second signal based on the target state, including:

[0080] S10421, controlling the comparison module to compare the envelope signal and the second signal according to the time scale to obtain a comparison result;

[0081] S10422, extracting the change rule in the comparison result to obtain the data signal based on the change rule.

[0082] In steps S10421-S10422, the comparison module completes threshold judgment of the envelope signal and the second signal in a preset time node or time window through a time synchronization mechanism, ensures that the comparison result is time-aligned with the envelope signal and the second signal, controls the comparison module to compare the envelope signal with the second signal according to a time scale, obtains a comparison result, and the comparison result may have sporadic level jitter due to interference, needs to be filtered through noise and edge de-jitter to remove invalid fluctuations, retain a real change trend, segment the comparison result according to the previously set time scale, each time scale corresponds to one data bit, form an ordered sequence of bit period-level state, extract a change rule in the comparison result, and identify a frame boundary from the change rule, such as finding a characteristic change in the ordered sequence according to a frame format specified by a protocol, such as a start bit of 0 for Manchester coding corresponding to middle low to high jump; a stop bit of 1 corresponding to middle high to low jump, locking the start and end ranges of a single frame of data, removing redundant information such as start bits, check bits and stop bits, and combining the remaining data bits in order to obtain a binary data signal consistent with the original transmission signal of the card.

[0083] The card reader of the application is only used as an example, and the demodulation system can also be applied to other devices that need to add analog card functions. After adding the analog card functions, the card reader or other devices can be switched to passive responders, simulated into various physical cards such as bus cards, access control cards, bank cards and the like, and interacted with external devices such as POS machines, gates, card reader terminals, upgraded from a single reading and writing tool to a bidirectional interactive device that can read and write and can be read, and realized flexible switching of a one-machine-two-use role.

[0084] Embodiment 2

[0085] The application provides a demodulation device for an analog card, as shown in Figure 6 The application provides a demodulation device for an analog card, as shown in

[0086] The acquisition module 601 is configured to pre-configure a card reader based on the demodulation system, so as to acquire a signal received by the card reader from a signal transmitting terminal through the demodulation system after the configuration is completed; the filtering module, the detection module and the comparison module have target structures respectively;

[0087] The copying module 602 is configured to copy the signal to obtain a first signal and a second signal, and input the first signal to the filtering module and the second signal to the comparison module respectively; the signal includes a data signal;

[0088] a filtering module 603, configured to filter the first signal, and obtain an envelope signal from the filtered first signal by the detecting module, and input the envelope signal to a comparing module;

[0089] a demodulating module 604, configured to compare the envelope signal and the second signal by the comparing module to obtain a data signal from the signal, and realize demodulation of the signal emitted by the signal emission terminal by the card reader based on the data signal.

[0090] In an implementation, the demodulating module comprises:

[0091] a selecting module, configured to select a target current for the comparing module, so as to control the comparing module to a target state based on the target current;

[0092] the comparing module, configured to compare the envelope signal and the second signal based on the target state of the comparing module, so as to extract the data signal.

[0093] In an implementation, the demodulating module further comprises:

[0094] a controlling module, configured to control the comparing module to compare the envelope signal and the second signal according to a time scale to obtain a comparison result;

[0095] an extracting module, configured to extract a change rule in the comparison result, so as to obtain the data signal based on the change rule.

[0096] In an implementation, the filtering module comprises:

[0097] a judging module, configured to judge whether the amplitude of the first signal is in a preset target state condition, and generate a corresponding judgment result;

[0098] an adopting module, configured to adopt different processing mechanisms to process the first signal based on the judgment result to extract the envelope signal.

[0099] In an implementation, the filtering module further comprises:

[0100] a establishing module, configured to establish a charging processing mechanism and a discharging processing mechanism based on the size of the refresh current, and execute the charging processing mechanism and the discharging processing mechanism;

[0101] a collecting module, configured to collect the envelope signal output by the detecting module after multiple cycles of executing the charging processing mechanism and the discharging processing mechanism.

[0102] In an implementation, the obtaining module comprises:

[0103] a joining module configured to extract a signal receiving line of the card reader and control the demodulation system to join at a target position of the signal receiving line;

[0104] a fusing module configured to configure the demodulation system in multiple dimensions and fuse the configuration results in multiple dimensions to end the configuration of the demodulation system.

[0105] In an available implementation, the obtaining module further comprises:

[0106] a configuration module configured to determine hardware configuration dimensions and software configuration dimensions of the demodulation system in advance, wherein different configuration dimensions correspond to different configuration manners;

[0107] a calling module configured to call the configuration manners to configure each configuration dimension of the demodulation system correspondingly.

[0108] Embodiment 3

[0109] The application further provides an electronic device, such as Figure 7 As shown in the figure, it comprises a processor 701, a memory 702 and a bus 703, the memory 702 stores machine readable instructions executable by the processor 701, when the electronic device is running, the processor 701 and the memory 702 communicate through the bus 703, and the machine readable instructions are executed by the processor 701 to perform the steps of any one of the demodulation methods of the simulated card.

[0110] Embodiment 4

[0111] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to perform the steps of any one of the demodulation methods of the simulated card.

[0112] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system and the device described above can refer to the corresponding process in the method embodiment, and will not be repeated in the present application. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented by other means. The above-described device embodiments are only schematic, for example, the division of the modules is only a logical function division, and the actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed mutual elements can be indirect coupling or communication connection through some communication interface, device or module, which can be electrical, mechanical or other forms.

[0113] The modules described as separate components can or can not be physically separated, and the components shown as modules can or can not be physical units, i.e. can be located in one place or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0114] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.

[0115] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solutions of the present application essentially or the parts of the prior art or the parts of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and various program code storage media.

[0116] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A demodulation method for an analog card, characterized in that, The method is applied to a demodulation system, which includes a filtering module, a detection module, and a comparison module, and includes: The card reader is pre-configured based on the demodulation system so that, after configuration, the signal received by the card reader from the signal transmitting terminal can be obtained through the demodulation system; the filtering module, detection module, and comparison module each have a target structure; The signal is copied to obtain a first signal and a second signal, and the first signal is input to the filtering module and the second signal is input to the comparison module, respectively; the signal includes a data signal; The filtering module filters the first signal, and the detection module obtains the envelope signal from the filtered first signal and inputs the envelope signal to the comparison module. The comparison module compares the envelope signal and the second signal to obtain a data signal from the signal, and demodulates the signal emitted by the signal transmitting terminal by the card reader based on the data signal. The detection module obtains the envelope signal from the filtered first signal and further includes: Determine whether the amplitude of the first signal is within the preset target state condition and generate a corresponding determination result; the amplitude of the first signal is determined based on the distance between the signal transmitting terminal and the card reader; Based on the judgment result, different processing mechanisms are used to process the first signal to extract the envelope signal; if the judgment result is achieved, the processing mechanism sequence is charging processing mechanism first and discharging processing mechanism last; if the judgment result is not achieved, the processing mechanism is to control the output envelope signal to follow the change of the first signal slowly.

2. The method according to claim 1, characterized in that, The comparison module compares the envelope signal and the second signal to obtain a data signal from the signals, including: Select a target current for the comparison module, and control the comparison module to a target state based on the target current; The comparison module based on the target state compares the envelope signal and the second signal to extract the data signal.

3. The method according to claim 2, characterized in that, The comparison module based on the target state compares the envelope signal and the second signal, including: The comparison module is controlled to compare the envelope signal with the second signal according to a time scale to obtain a comparison result; Extract the variation patterns from the comparison results to obtain the data signal based on the variation patterns.

4. The method according to claim 1, characterized in that, The process of processing the first signal using different processing mechanisms to extract the envelope signal includes: Based on the magnitude of the refresh current, a charging process mechanism and a discharging process mechanism are established and executed. The envelope signal output by the detection module is collected after the charging and discharging processes are executed repeatedly.

5. The method according to claim 1, characterized in that, The pre-configured card reader based on the demodulation system includes: Extract the signal receiving path of the card reader, and control the demodulation system to add the signal at the target position of the signal receiving path; The demodulation system is configured in multiple dimensions, and the configuration results from these multiple dimensions are integrated to conclude the configuration of the demodulation system.

6. The method according to claim 5, characterized in that, The multi-dimensional configuration of the demodulation system includes: The hardware and software configuration dimensions for the demodulation system are predetermined; different configuration dimensions correspond to different configuration methods. The configuration method is invoked to configure each configuration dimension of the demodulation system accordingly.

7. A demodulation device for an analog card, characterized in that, The device is applied to a demodulation system, which includes a filtering module, a detection module, and a comparison module. The acquisition module is used to pre-configure the card reader based on the demodulation system, so as to acquire the signal received by the card reader from the signal transmitting terminal through the demodulation system after the configuration is completed; the filtering module, detection module and comparison module each have a target structure; A copying module is used to copy the signal to obtain a first signal and a second signal, and input the first signal to a filtering module and the second signal to a comparison module, respectively; the signal includes a data signal; A filtering module is used to filter the first signal, and the detection module obtains the envelope signal from the filtered first signal and inputs the envelope signal to the comparison module. The demodulation module is used by the comparison module to compare the envelope signal and the second signal to obtain a data signal from the signal, and to demodulate the signal emitted by the signal transmitting terminal by the card reader based on the data signal; The filtering module includes: a judgment module, used to judge whether the amplitude of the first signal is under a preset target state condition and generate a corresponding judgment result; the amplitude of the first signal is determined according to the distance between the signal transmitting terminal and the card reader; A module is used to process the first signal using different processing mechanisms based on the judgment result to extract the envelope signal; if the judgment result is achieved, the processing mechanism sequence is charging processing mechanism first and discharging processing mechanism second, and if the judgment result is not achieved, the processing mechanism controls the output envelope signal to follow the change of the first signal slowly.

8. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of a demodulation method for an analog card as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of a demodulation method for an emulation card as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Demodulation circuit, chip, charger, signal processing method, device and medium

    CN118101402A