Card reading method, system and device of card reader
Through the combined marking technology of the data collection and processing module, the initialization requirements of the card reader and device are determined, solving the problem of low card reading efficiency of the card reader in the existing technology, and achieving more efficient card reading accuracy and device combination management. .
Patent Information
- Application Number
- CN202410913408.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-09
AI Technical Summary
Existing card readers do not take into account the different initialization requirements of the equipment when reading the card, resulting in the card being unable to be recognized or the card reading efficiency being low, affecting the card reading efficiency.
The data collection module collects card reader, device and environmental data, uses principal component regression and logistic regression methods for data processing and classification, determines the initialization requirements of the card reader and device, and performs combined marking to optimize the card reading process.
It improves the accuracy and efficiency of card reading, reduces costs, and facilitates future inquiries and matching.
Smart Images

Figure CN118734879A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal transmission technology, and more specifically, to a card reading method, system and device of a card reader. Background Art
[0002] Signal transmission technology is a very important field in electronic engineering and communication engineering. It can receive and identify various signals by encoding and modulating signal machines and building network protocols and system architectures. When signal transmission technology is applied to card readers, it can make card reading more efficient and also ensure the security of information transmission.
[0003] The prior art has the following deficiencies: In the past, when reading a card, the card reader would initialize the device after loading the driver and then read the card. This did not take into account that different devices and card readers have different initialization requirements. When some devices read the card without initialization, the card cannot be recognized and the card reading fails. Or some devices take a long time to initialize, resulting in low card reading efficiency and other problems.
[0004] In view of the above problems, the present invention proposes a solution. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides an energy-saving and environmentally friendly rail transit turnout snow melting system, which solves the problems raised in the above-mentioned background technology by adjusting the snow melting opening and closing time when the train passes through different turns.
[0006] To achieve the above object, the present invention provides the following technical solutions: A card reader system and device, comprising: a data acquisition module, a data processing module, a data classification module and a feedback adjustment module, wherein the modules are signal-connected; The data acquisition module is used to collect card reader data, device data and environmental data and send them to the data processing module for processing; The data processing module is used to receive various types of data and perform different types of processing on the data. It uses the principal component regression method to process the card reader data and calculate the card reader data frame coefficient and the card reader transmission coefficient. It uses the covariance formula to calculate the covariance and set the device classification threshold after randomly sampling and screening the device data. It uses the mean value and standard deviation to calculate the voltage coefficient and temperature coefficient according to the environmental data, and sends the various coefficients and thresholds calculated by the data processing module to the data classification module for classification processing. The data classification module is used to receive various coefficients and thresholds calculated by the data processing module and compare them respectively, classify the card reader and the device and judge whether the current card reading environment is good or not, and choose whether to classify and match the card reader and the device and make a combination mark according to the judgment result; if the card reader and the device are not marked as a combination, the data classification module automatically collects feedback data and transmits it to the feedback adjustment module; The feedback adjustment module receives feedback data and uses a logistic regression method to calculate the combination coefficient of the card reader and the device, and determines whether to mark the current combination by comparing the device combination coefficient with a preset combination coefficient threshold.
[0007] In a preferred embodiment, the data acquisition module collects the data in the following specific steps: The card reader data includes the card reader data frame length and the card reader data transmission speed; the device data includes the card reader initialization time and real-time current when the device is working; the environmental data includes the device real-time voltage and the card reading environment humidity; the data acquisition module selects a period of time as the sample time, and selects multiple time points within the sample time to collect the card reader data transmission speed; The data acquisition module will A card reader is connected to the device for initialization and recording The card reader initialization time and record the device current consumption during the initialization process; select The median initialization time of each card reader is recorded, and multiple time points are set in the initialization time of the card reader to collect the current voltage of the device and detect the current card reading environment humidity.
[0008] In a preferred embodiment, when the data processing module receives the card reader data, the average of the card reader transmission speeds collected by the same card reader at multiple time points selected in the sample time is taken as the card reader transmission average speed, and the data frame lengths of multiple card readers are merged into a data frame data set; the average transmission speeds of equal card readers are collected and merged into an average speed data set, the data in the data frame data set and the average speed data set are normalized, and the normalized results of the calculated data are replaced with the corresponding data in the data set in sequence to obtain a data frame coefficient data set and an average speed coefficient data set.
[0009] In a preferred embodiment, the data processing module uses the principal component regression method to process the card reader data. The specific steps are as follows: The data processing module sets the principal component interval, arranges the data in the data frame data set from large to small, selects the median in the data frame data set, sets the principal component threshold ratio with the median to determine the principal component threshold interval, expands the median to both sides according to the principal component threshold interval ratio to obtain the principal component threshold interval, marks the data in the data frame data set that is in the principal component threshold interval as the principal component data, and marks the other data as the secondary component data, and classifies and calculates the data to obtain the card reader data frame coefficient.
[0010] In a preferred embodiment, when calculating the card reader data frame coefficient, the data processing module obtains the card reader data frame coefficient by performing weighted calculation by setting component weights for the main component data and the sub-component data, wherein the main component weight and the sub-component weight can be set by multiplying the main component threshold interval ratio by the scaling ratio.
[0011] In a preferred embodiment, the data classification module performs the following specific steps: The data classification module compares the received card reader data frame coefficient, the card reader transmission coefficient, the data frame threshold and the transmission threshold. If the card reader data frame coefficient is lower than the data frame threshold and the card reader transmission coefficient exceeds the transmission threshold, it is determined that the card reader initialization requirement is low, otherwise it is determined that the card reader initialization requirement is high; The data classification module compares the card reader initialization time, device current consumption and device classification threshold to determine the device initialization requirements and classify the device according to the initialization requirements. After the data classification module classifies the card reader and the device, it determines whether the environment is good and whether to combine the card reader and the device according to the environmental conditions.
[0012] In a preferred embodiment, the specific steps of determining whether the environment is good are as follows: When the voltage coefficient and the temperature coefficient are lower than the voltage threshold and the temperature threshold, the card reading environment is judged to be good; if the card reading environment is good and the initialization requirements of the card reader and the device are low, the current card reader and the current device are combined and marked and recorded in the corresponding data storage database; if the current card reader and the current device are not combined, the data classification module performs multiple card reading operations on the device and the card reader, and accesses the log data stored in the card reader after the card reading operation to obtain the number of cards read, the number of correct cards read and the error rate when the card reader and the device perform card reading operations, and transmits them to the feedback adjustment module.
[0013] In a preferred embodiment, the feedback adjustment module receives the card reading number, the correct card reading number and the error rate transmitted by the data classification module to calculate the card reading accuracy rate, and the card reading accuracy rate is the ratio of the correct card reading number to the card reading number; The logistic regression method is used to calculate the card reader and device combination coefficient, and the formula can be: ,in is the combination coefficient, e is the natural base, z is the combination factor, if the card reader and device combination coefficient exceeds the combination coefficient threshold, the card reader and device combination is marked and recorded in the corresponding data storage database.
[0014] A card reading method of a card reader, used to implement the card reading system and device of the card reader, characterized in that it comprises the following steps: Step 1, collect card reader data, device data and environment data; Step 2: Analyze the initialization requirements of the card reader using the principal component regression method based on the card reader data, analyze the initialization requirements of the device based on the device data, and use the environmental data to determine whether the card reading environment is good; Step 3: Choose whether to classify and match the card reader and the device and perform combination marking according to the card reading environment judgment result; Step 4: If the card reader and the device do not perform combined marking, collect feedback data and use the logistic regression method to determine whether to perform combined marking based on the feedback data.
[0015] The technical effects and advantages of the card reading method, system and device of the card reader of the present invention are as follows: The present invention collects card reader data, analyzes the card reader data and classifies the card reader into low initialization requirement card readers and high initialization requirement card readers, collects device data, analyzes the device data and classifies the device into low initialization requirement device and high initialization requirement device, collects environmental data, uses the environmental data to determine whether to perform combination marking on the card reader and the device, collects feedback data if the combination marking is not performed, performs secondary judgment on the card reader and the device according to the feedback data, and selects whether to perform combination marking on the card reader and the device according to the judgment result and records it in the corresponding data storage database. The accuracy of card reading is improved, and the combination of the card reader and the device is recorded, which is convenient for future query and matching, reduces costs and increases efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A card reading system and device flow chart of a card reader of the present invention, Figure 2 This is a main diagram showing the structure of a card reading method of a card reader of the present invention. Figure 3 This is a schematic diagram of the structure of a card reading method of a card reader of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] The present invention collects card reader data, analyzes the card reader data and classifies the card reader into low initialization requirement card readers and high initialization requirement card readers, collects device data, analyzes the device data and classifies the device into low initialization requirement device and high initialization requirement device, collects environmental data, uses the environmental data to determine whether to perform combination marking on the card reader and the device, collects feedback data if the combination marking is not performed, performs secondary judgment on the card reader and the device according to the feedback data, and selects whether to perform combination marking on the card reader and the device according to the judgment result and records it in the corresponding data storage database. The accuracy of card reading is improved, and the combination of the card reader and the device is recorded, which is convenient for future query and matching, reduces costs and increases efficiency.
[0019] Embodiment 1, a card reading system and device of a card reader, such as Figure 1 As shown, it includes: a data acquisition module, a data processing module, a data classification module and a feedback adjustment module, and the signals between the modules are connected.
[0020] The functions of each module are as follows: The data acquisition module is used to collect card reader data, device data and environmental data and send them to the data processing module for processing. Card reader data includes card reader data frame length and card reader data transmission speed. The data acquisition module obtains the card reader data frame length by accessing and parsing the data stack and uses the performance test tool to detect the card reader data transmission speed; device data includes the card reader initialization time and real-time current when the device is working. The data acquisition module uses a logic analyzer to collect the card reader initialization time when the device is working and uses the built-in current monitoring of the power supply to obtain the real-time current; environmental data includes the real-time voltage of the device and the humidity of the card reading environment. The data acquisition module uses the built-in voltage monitoring of the power supply to obtain the real-time voltage and obtains the humidity of the card reading environment through the humidity sensor.
[0021] The data processing module is used to receive various types of data sent by the data acquisition module, normalize the various types of data, and use the principal component regression method to calculate the card reader data frame coefficient and the card reader transmission coefficient of the normalized card reader data; after randomly sampling and screening the normalized device data, the covariance formula is used to calculate the covariance to set the device classification threshold and calculate the current device covariance as the basis for classification; the voltage coefficient and temperature coefficient are calculated using the mean value and standard deviation of the environmental data, and the various coefficients and thresholds calculated by the data processing module are sent to the data classification module for classification processing.
[0022] The data classification module is used to receive various coefficients and thresholds calculated by the data processing module and compare them respectively, and classify the current card reader and the current device through the comparison results. The data classification module compares the voltage coefficient and temperature coefficient with the preset voltage threshold and temperature threshold to determine whether the current card reading environment is good. If the current card reading environment is good and the initialization requirements of the current card reader and the current device are low, the current card reader and the current device are combined and marked; if the current card reader and the current device are not combined and marked, the data classification module automatically performs a card reading test on the current card reader and the current device, and transmits the number of card readings, the number of correct card readings and the error rate obtained from the card reading test to the feedback adjustment module.
[0023] The feedback adjustment module receives the number of card readings, the number of correct card readings and the error rate after the current card reader and the current device have performed a card reading test, and uses the number of card readings and the number of correct card readings to calculate the card reading accuracy of the current card reader and the current device. After calculating the card reading accuracy of the current card reader, the comprehensive error rate is used to construct a logistic regression formula. The combination coefficient of the current card reader and the current device is calculated according to the logistic regression formula. By comparing the current device combination coefficient with a preset combination coefficient threshold, it is determined whether to mark the current combination.
[0024] It should be noted that when the card reader uses the standard serial port communication protocol, its data frame length is shorter, the card reader initialization requirements are low, the faster the data transmission speed, the faster the data exchange between the card reader and the card, the lower the initialization time, and the lower the initialization requirements; the initialization time of card readers of different devices is different. The shorter the initialization time of the same card reader on different devices, the lower the initialization requirements of the device. Devices with low initialization requirements do not require complicated processing and often consume less current when working; whether the device voltage is stable and the humidity of the card reading environment will affect the card reading process.
[0025] The parsing data stack stores the text and values before and after the card reader data frame is parsed. The card reader data frame length can be obtained by parsing the data stack. Performance testing tools are often used to monitor network performance and data transmission speed. Common performance testing tools include , which can be used to detect the data transmission speed of the card reader. A logic analyzer is a measuring instrument used to analyze and test data circuit signals. It can capture and display the waveform of digital signals and analyze and decode the signals. It can be used to collect the initialization time of the card reader when the device is working. Power supply built-in current monitoring means that the device power adapter has a current detection circuit integrated inside, which can directly output the current signal for external devices to use. Power supply built-in voltage monitoring means that the power adapter has a voltage detection circuit integrated inside, which can be used to obtain the real-time current and voltage conditions of the device when it is working. A humidity sensor is a sensor device used to detect the water vapor content in the environment, which can be used to detect the humidity of the card reading environment. The log data stored in the card reader includes system event records, which can obtain the number of card reads, the number of correct card reads, and the error rate after the card reader matches the device.
[0026] In the data acquisition module, The specific steps for obtaining the card reader data of each card reader, the device data of the same amount of devices, and the environmental data are as follows: Taking a certain card reader as an example, the data acquisition module accesses the parsed data stack to obtain the card reader data frame length; a period of time is selected as the sample time, and multiple time points are selected within the sample time to collect the card reader data transmission speed.
[0027] Take a certain device as an example. A card reader is connected to the device for initialization and recording The card reader initialization time and record the device current consumption during the initialization process; select The median initialization time of each card reader is recorded, and multiple time points are set in the initialization time of the card reader to collect the current voltage of the device and use the humidity sensor to detect the current card reading environment humidity.
[0028] The specific processing steps of the data processing module are as follows: When the data processing module receives the card reader data, it takes the average of the card reader transmission speeds collected from the same type of card reader at multiple time points selected in the sample time as the card reader transmission average speed, merges the data frame lengths of sufficient card readers into a data frame data set; and collects the average transmission speeds of equal number of card readers into an average speed data set.
[0029] The data in the data frame data set and the average speed data set are normalized, and the normalization formula can be: ,in is the data in the data frame dataset or the average speed dataset, is the minimum data in the corresponding data set, is the largest data in the corresponding data set, is the result after the corresponding data is normalized. The result after the calculated data normalization is replaced with the corresponding data in the data set in turn to obtain the data frame coefficient data set and the average speed coefficient data set.
[0030] The card reader initialization coefficient can be calculated by principal component regression method to classify the card reader initialization requirements. Taking the data frame data set as an example, the principal component threshold interval is set, the data in the data frame data set is arranged from large to small, the median is selected in the data frame data set, and the principal component threshold ratio is set to determine the principal component threshold interval. The principal component threshold interval ratio is set to , with the median Expand to both sides to get the principal component threshold interval, It can be set according to the actual situation, for example: set the main component threshold interval ratio to , then the median is calculated according to The principal component threshold ratio is expanded to both sides, and the principal component threshold interval obtained covers the middle The data in the data frame data set that is within the main component threshold interval is marked as the main component data, and the other data is marked as the secondary component data.
[0031] The card reader data frame coefficient is obtained by setting component weights for the main component data and the sub-component data. The formula can be ,in, is the card reader data frame coefficient, and are the principal component weights and the secondary component weights, respectively. is the mean value of the principal component data, is the average value of the sub-component data, and further, the principal component weight and subcomponent weights The setting can be set according to the principal component threshold interval ratio multiplied by the scaling ratio, and the formulas are , , where s is the scaling ratio, which can be adjusted according to actual conditions. The ratio of the principal component threshold interval.
[0032] Similarly, the average speed coefficient data set is used to calculate the card reader transmission coefficient, which is marked as Before classifying the current card reader, the data processing module receives the current card reader data frame length and the card reader transmission speed, and after normalization, uses the same method to calculate the current card reader data frame coefficient and the current card reader transmission coefficient, which are marked as and , calculated to obtain and After that, the data processing module will , , and Sent to the data classification module.
[0033] It should be noted that the above data are subjected to the same normalization operation, and the current data is used as the only principal component data when calculating the current card reader data frame coefficient and the current card reader transmission coefficient, and the secondary component data is set to 0.
[0034] When the data processing module receives the equipment data, it normalizes the equipment data and merges the same type of data into an initialization data set and a current consumption data set. The merged initialization data set and the current consumption data set are screened by random sampling. Random sampling is a conventional method and will not be described here. The covariance of the screened data is calculated as the raw material classification threshold.
[0035] The covariance calculation formula is: in, is the initialization data and current consumption data after screening, and For random data in the filtered initialization data and current consumption data, for The expectation can be the average value of the initial data after screening, for The expectation can be the average value of the current consumption data after screening, m is the number of the two types of data after screening, and m random sampling operations are performed on the two data sets respectively to obtain the same number of the two types of data after screening.
[0036] Covariance Can be expressed and When the covariance is greater than 0, it means that the change trends of the two variables are consistent. When the covariance is less than 0, it means that the change trends of the two variables are opposite. and From the properties of , it can be seen that the shorter the initialization time of the card reader or the less the current consumption of the device during the initialization process, the lower the initialization requirement of the device, that is, and are two positively correlated random variables, so .
[0037] The calculated covariance is used as the device classification threshold and marked as The data processing module receives the initialization time of the card reader in the current device and the current consumption of the device during the initialization process, and performs the normalization process as the formula for calculating the covariance. and , and mark the result of the calculation as After marking, the data processing module will and Sent to the data classification module.
[0038] The data processing module receives environmental data and combines the current voltages of the devices at multiple time points into a voltage data set, calculates the mean value and standard deviation of the voltage data set, and can mark the sum of the mean value and standard deviation of the voltage data set as the current device voltage coefficient. , the current card reading environment humidity is normalized to obtain the temperature coefficient, and the voltage coefficient and temperature coefficient are sent to the data classification module.
[0039] It should be noted that the above formulas and methods for calculating various coefficients and setting thresholds are not unique and can be adjusted according to actual conditions.
[0040] The specific functions of the data classification module are as follows: The data classification module uses the received card reader data frame coefficients , Card reader transmission coefficient , Current card reader data frame coefficient and the current reader transmission coefficient Classify the current card reader. If and , if the current card reader data frame coefficient is small and the current card reader transmission coefficient is large, it is judged that the current card reader initialization requirement is low; otherwise, it is judged that the current card reader initialization requirement is high.
[0041] The data classification module compares the received device classification threshold and The size of determines the current device initialization requirements. If , if the card reader initialization time in the current device and the device current consumption during initialization are large, it is judged that the current device initialization requirement is high; otherwise, it is judged that the current device initialization requirement is low.
[0042] After the data classification module has finished classifying the card reader and the device, it starts to confirm the current card reading environment. The data classification module compares the received voltage coefficient and temperature coefficient with the preset voltage threshold and temperature threshold.
[0043] When the voltage coefficient and temperature coefficient are lower than the voltage threshold and temperature threshold, that is, the voltage variation range is small, the voltage is relatively stable, the temperature is low, and the device impedance is low, the current card reading environment is judged to be good. If the current card reading environment is good, and the initialization requirements of the current card reader and the current device are both low, the current card reader and the current device are combined and marked and recorded in the corresponding data storage database.
[0044] If the current card reader and the current device are not marked as a combination, the data classification module will automatically use the current device and the current card reader to perform multiple card reading operations, and after the card reading operation, it will automatically access the log data stored inside the card reader to obtain the number of card readings, the number of correct card readings, and the error rate when the current card reader and the current device perform card reading operations, and transmit them to the feedback adjustment module.
[0045] It should be noted that the voltage threshold and the temperature threshold are set by professionals in the field based on experience and will not be analyzed here.
[0046] The feedback adjustment module receives the number of card readings, the number of correct card readings, and the error rate from the data classification module and marks them as , and The card reading accuracy is calculated by the formula: ,in is the card reading accuracy, is the number of card readings, and b is the number of correct card readings. The combination coefficient of the current card reader and the current device is calculated using the logistic regression method, and the formula can be: ,in is the combination coefficient, e is the natural base, z is the combination factor, and its calculation formula can be: The feedback adjustment module calculates the combination coefficient of the current card reader and the current device and compares it with the preset combination coefficient threshold to determine whether to mark the current combination.
[0047] If the combination coefficient of the current card reader and the current device exceeds the combination coefficient threshold, that is, the current card reader and the current device combination has a higher card reading accuracy rate or a lower error rate, the current card reader and the current device combination is marked and recorded in the corresponding data storage database.
[0048] It should be noted that the combination coefficient threshold can be set according to actual conditions, and the formula invented in the above steps is not unique and can be adjusted according to actual conditions.
[0049] Embodiment 2, a card reading method of a card reader, such as Figure 2 , Figure 3 As shown, the following steps are included: Step 1: Collect reader data, device data, and environment data.
[0050] Step 2: Analyze the initialization requirements of the card reader using the principal component regression method based on the card reader data, analyze the device initialization requirements based on the device data, and use the environmental data to determine whether the card reading environment is good.
[0051] Step 3: Choose whether to classify and match the card reader and device and perform combination marking based on the card reading environment judgment result.
[0052] Step 4: If the card reader and the device do not perform combined marking, collect feedback data and use the logistic regression method to determine whether to perform combined marking based on the feedback data.
[0053] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0054] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product.
[0055] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application of the technical solution and the invention constraints. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0056] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0057] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0058] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A card reading system and device of a card reader, comprising: Data acquisition module, data processing module, data classification module and feedback adjustment module, and signal connections between the modules; The data acquisition module is used to collect card reader data, device data and environmental data and send them to the data processing module for processing; The data processing module is used to receive various types of data and perform different types of processing on the data, use the principal component regression method to process the card reader data and calculate the card reader data frame coefficient and the card reader transmission coefficient; After randomly sampling and filtering the equipment data, the covariance formula is used to calculate the covariance to set the equipment classification threshold; the voltage coefficient and temperature coefficient are calculated using the average value and standard deviation according to the environmental data, and the various coefficients and thresholds calculated by the data processing module are sent to the data classification module for classification processing; The data classification module is used to receive various coefficients and thresholds calculated by the data processing module and compare them respectively, classify the card reader and the device and judge whether the current card reading environment is good or not, and choose whether to classify and match the card reader and the device and make a combination mark according to the judgment result; if the card reader and the device are not marked as a combination, the data classification module automatically collects feedback data and transmits it to the feedback adjustment module; The feedback adjustment module receives feedback data and uses a logistic regression method to calculate the combination coefficient of the card reader and the device, and determines whether to mark the current combination by comparing the device combination coefficient with a preset combination coefficient threshold.
2. The card reading system and device of the card reader according to claim 1, characterized in that: The specific steps for the data acquisition module to collect various data are as follows: The card reader data includes the card reader data frame length and the card reader data transmission speed; the device data includes the card reader initialization time and real-time current when the device is working; the environmental data includes the device real-time voltage and the card reading environment humidity; the data acquisition module selects a period of time as the sample time, and selects multiple time points within the sample time to collect the card reader data transmission speed; The data acquisition module will A card reader is connected to the device for initialization and recording The card reader initialization time and record the device current consumption during the initialization process; select The median initialization time of each card reader is recorded, and multiple time points are set in the initialization time of the card reader to collect the current voltage of the device and detect the current card reading environment humidity.
3. The card reading system and device of the card reader according to claim 1, characterized in that: When the data processing module receives the card reader data, the average of the card reader transmission speeds collected by the same card reader at multiple time points selected in the sample time is taken as the card reader transmission average speed, and the data frame lengths of multiple card readers are merged into a data frame data set; the average transmission speeds of equal card readers are collected and merged into an average speed data set, the data in the data frame data set and the average speed data set are normalized, and the normalized results of the calculated data are replaced with the corresponding data in the data set in turn to obtain a data frame coefficient data set and an average speed coefficient data set.
4. A card reading system and device for a card reader according to claim 1, characterized in that ; The data processing module uses the principal component regression method to process the card reader data. The specific steps are as follows: The data processing module sets the principal component interval, arranges the data in the data frame data set from large to small, selects the median in the data frame data set, sets the principal component threshold ratio with the median to determine the principal component threshold interval, expands the median to both sides according to the principal component threshold interval ratio to obtain the principal component threshold interval, marks the data in the data frame data set that is in the principal component threshold interval as the principal component data, and marks the other data as the secondary component data, and classifies and calculates the data to obtain the card reader data frame coefficient.
5. The card reading system and device of the card reader according to claim 4, characterized in that: When calculating the card reader data frame coefficient, the data processing module obtains the card reader data frame coefficient by setting component weights for the main component data and the sub-component data, where the main component weight and the sub-component weight can be set by multiplying the main component threshold interval ratio by the scaling ratio.
6. The card reading system and device of the card reader according to claim 1, characterized in that: The specific steps of data classification module classification are as follows: The data classification module compares the received card reader data frame coefficient, the card reader transmission coefficient, the data frame threshold and the transmission threshold. If the card reader data frame coefficient is lower than the data frame threshold and the card reader transmission coefficient exceeds the transmission threshold, it is determined that the card reader initialization requirement is low, otherwise it is determined that the card reader initialization requirement is high; The data classification module compares the card reader initialization time, device current consumption and device classification threshold to determine the device initialization requirements and classify the device according to the initialization requirements. After the data classification module classifies the card reader and the device, it determines whether the environment is good and whether to combine the card reader and the device according to the environmental conditions.
7. The card reading system and device of the card reader according to claim 6, characterized in that: The specific steps to determine whether the environment is good are as follows: When the voltage coefficient and the temperature coefficient are lower than the voltage threshold and the temperature threshold, the card reading environment is judged to be good; if the card reading environment is good and the initialization requirements of the card reader and the device are low, the current card reader and the current device are combined and marked and recorded in the corresponding data storage database; if the current card reader and the current device are not combined, the data classification module performs multiple card reading operations on the device and the card reader, and accesses the log data stored in the card reader after the card reading operation to obtain the number of cards read, the number of correct cards read and the error rate when the card reader and the device perform card reading operations, and transmits them to the feedback adjustment module.
8. The card reading system and device of the card reader according to claim 7, characterized in that: The feedback adjustment module uses the logistic regression method to determine whether to mark the current combination. The specific steps are as follows: The feedback adjustment module receives the card reading number, the correct card reading number and the error rate transmitted by the data classification module to calculate the card reading accuracy rate, which is the ratio of the correct card reading number to the card reading number; The logistic regression method is used to calculate the card reader and device combination coefficient, and the formula can be: ,in is the combination coefficient, e is the natural base, z is the combination factor, if the card reader and device combination coefficient exceeds the combination coefficient threshold, the card reader and device combination is marked and recorded in the corresponding data storage database.
9. A card reading method of a card reader, based on a card reading system and device of a card reader according to any one of claims 1 to 8, characterized in that: The following steps are involved: Step 1, collect card reader data, device data and environment data; Step 2: Analyze the initialization requirements of the card reader using the principal component regression method based on the card reader data, analyze the initialization requirements of the device based on the device data, and use the environmental data to determine whether the card reading environment is good; Step 3: Choose whether to classify and match the card reader and the device and perform combination marking according to the card reading environment judgment result; Step 4: If the card reader and the device do not perform combined marking, collect feedback data and use the logistic regression method to determine whether to perform combined marking based on the feedback data.
Citation Information
Patent Citations
Card reading method and device for card reader
CN109063522A
Maintenance early warning method and device for card reader equipment
CN111783486A
Card reading method of card service system, electronic equipment, card service system and storage medium
CN117408268A
Working method for smart card reader
US20160292466A1
Method and system for near field communication
WO2011091622A1
