Near field communication device, near field communication method and storage medium
By designing a near -field communication device that contains supporting components and lifting components, the problem that traditional devices cannot automatically align the magnetic card magnetic card and cannot read and write wear or dirt -dirt magnetic cards. Essence
Patent Information
- Application Number
- CN202411421014.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-12
AI Technical Summary
Traditional near-field communication devices cannot automatically align tracks on the magnetic card, and cannot read and write operations when the magnetic card is worn or dirty.
A near -field communication device is designed, including the first conveyor, the second conveyor, the first recent communication component, the second recent communication component, the support component, and the lifting component. By supporting component adsorption communication cards, the lifting components cooperate with the support component to achieve the accurate positioning and lifting of the communication card, detect and adjust the position of the communication card in the first recent communication component. Essence
It achieves precise positioning of the communication card, avoids reading and writing failures caused by track misalignment, and ensures normal data reading and writing when the communication card is not seriously worn, improving reading and writing efficiency and reducing costs.
Smart Images

Figure CN118940780B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of wireless communication technology, and specifically relates to near field communication equipment, and more particularly to a near field communication device, a near field communication method and a storage medium. Background Art
[0002] In near-field communication applications, magnetic cards need to be read and written. Traditional near-field communication devices need to be manually aligned with the position of the magnetic track on the magnetic card, and errors in manual operation lead to reading and writing failures.
[0003] Furthermore, traditional near-field communication devices are completely unable to read and write magnetic cards when there is slight wear or dirt on the magnetic card.
[0004] Therefore, there is an urgent need to develop a new near-field communication device, near-field communication method and storage medium to solve the technical problems of being unable to automatically align the magnetic track on the magnetic card and being unable to eliminate the abnormality of the magnetic card.
[0005] It should be noted that the above information disclosed in this background technology section is only used to understand the background technology of the present application concept, and therefore, the above description is not considered to constitute information of the prior art. Summary of the invention
[0006] The embodiments of the present disclosure at least provide a near field communication device, a near field communication method and a storage medium.
[0007] In the first aspect, an embodiment of the present disclosure provides a near field communication device, which includes: a first conveyor frame, a second conveyor frame, a first near field communication component, a second near field communication component, a support component and a lifting component; wherein the first conveyor frame and the second conveyor frame are arranged longitudinally and parallel to each other so that a conveying channel is formed between the first conveyor frame and the second conveyor frame; the first near field communication component and the second near field communication component are movably installed on the first conveyor frame or the second conveyor frame in sequence; the support component is located in the conveying channel, and the lifting component is movably connected to the support component; when a communication card is placed in the conveying channel, the communication card is abutted against the support component, the first near field communication component pushes the communication card to move in the conveying channel, and the first near field communication component detects the position of the magnetic track on the communication card and the magnetic track state, so that the first near-field communication component sends a corresponding lifting instruction to the lifting component and the first near-field communication component sends the magnetic track state to the second near-field communication component, and the lifting component pushes the supporting component and the communication card to rise or fall until the first near-field communication component completely covers the magnetic track on the communication card; when the communication card moves in the conveying channel until it abuts against the second near-field communication component, the second near-field communication component pushes the communication card to continue moving in the conveying channel, and the second near-field communication component adjusts the travel speed of the communication card according to the magnetic track state of the communication card and reads and writes the communication card; and when the second near-field communication component reads abnormal information on the communication card, the second near-field communication component returns the communication card to the first near-field communication component for re-reading and re-writing.
[0008] In an optional embodiment, when any position on the magnetic track of the communication card shows a normal state, the first near-field communication component or the second near-field communication component conveys the communication card at a first set speed at that position; when any position on the magnetic track of the communication card shows an abnormal state, the first near-field communication component or the second near-field communication component conveys the communication card at that position at a set speed corresponding to the abnormal state category.
[0009] In an optional embodiment, the first near-field communication component includes: a first processing unit, a first rotating conveying unit and a first communication card read-write unit; the first rotating conveying unit is movably mounted on the first conveying frame or the second conveying frame, the first communication card read-write unit is mounted on the first rotating conveying unit, and the first rotating conveying unit, the first communication card read-write unit and the first processing unit are electrically connected; the first processing unit drives the first rotating conveying unit to rotate so that the first rotating conveying unit pushes the communication card to move in the conveying channel; the first processing unit detects the position and track state of the magnetic track on the communication card through the first communication card read-write unit, so that the first processing unit sends a corresponding lifting instruction to the lifting component and the first processing unit sends the track state to the second near-field communication component; when the second near-field communication component retracts the communication card to contact with the first rotating conveying unit, the first processing unit drives the first rotating conveying unit to rotate again, and the first processing unit reads and writes the communication card through the first communication card read-write unit.
[0010] In an optional embodiment, the first processing unit adjusts the rotation speed of the first rotating conveying unit according to the track state of the communication card to adjust the travel speed of the communication card.
[0011] In an optional implementation, after the first processing unit obtains that the first communication card reading and writing unit fails to read and write the communication card, the first processing unit reports it through an external device.
[0012] In an optional embodiment, the second near-field communication component includes: a second processing unit, a second rotating conveying unit, and a second communication card read-write unit; the second rotating conveying unit is movably mounted on the first conveying frame or the second conveying frame, the second communication card read-write unit is mounted on the second rotating conveying unit, and the second rotating conveying unit, the second communication card read-write unit and the second processing unit are electrically connected; the second processing unit drives the second rotating conveying unit to rotate so that the second rotating conveying unit pushes the communication card to move in the conveying channel; when the second processing unit obtains the track state of the communication card, the second processing unit controls the second rotating conveying unit to adjust the rotation speed in real time according to the track state of the communication card, so that the second communication card read-write unit reads and writes the communication card; when the second processing unit reads abnormal information on the communication card through the second communication card read-write unit, the second processing unit drives the second rotating conveying unit to return the communication card to the first near-field communication component.
[0013] In an optional embodiment, the support assembly includes: a support block and an adsorption unit; the support block is located in the conveying channel, a plurality of adsorption holes are arranged in sequence on the top of the support block, and the adsorption unit is connected to each adsorption hole; the adsorption unit sucks air into the communication card through each adsorption hole until the communication card is against the support block; the lifting assembly pushes the support block and the communication card to rise or fall.
[0014] In an optional embodiment, two extended slopes are provided at the bottom of the support block; the lifting assembly includes: two lifting units; each of the lifting units is inclinedly matched with the corresponding extended slope so that the lifting unit pushes the support block to rise or fall.
[0015] In an optional embodiment, the lifting unit includes: a lifting drive and a wedge block; the lifting drive is horizontally arranged, the output part of the lifting drive is connected to the wedge block, the inclined surface of the wedge block is inclined with the extended slope, and the lifting drive is electrically connected to the first processing unit in the first near-field communication component.
[0016] In a second aspect, the disclosed embodiment further provides a near-field communication method using the near-field communication device as described above, comprising: arranging the first conveyor frame and the second conveyor frame longitudinally and in parallel to form a conveying channel between the first conveyor frame and the second conveyor frame; movably installing the first near-field communication component and the second near-field communication component on the first conveyor frame or the second conveyor frame in sequence, and arranging the supporting component in the conveying channel, and the lifting component is movably connected to the supporting component; when a communication card is placed in the conveying channel, the communication card and the supporting component are abutted against each other, the first near-field communication component pushes the communication card to move in the conveying channel, and the first near-field communication component detects the position and state of the magnetic track on the communication card, so that the first near-field communication component The communication component sends a corresponding lifting instruction to the lifting component and the first near-field communication component sends the track status to the second near-field communication component, and the lifting component pushes the support component and the communication card to rise or fall until the first near-field communication component completely covers the track on the communication card; when the communication card moves in the conveying channel until it hits the second near-field communication component, the second near-field communication component pushes the communication card to continue moving in the conveying channel, and the second near-field communication component adjusts the travel speed of the communication card according to the track status of the communication card and reads and writes the communication card; and when the second near-field communication component reads abnormal information on the communication card, the second near-field communication component returns the communication card to the first near-field communication component for re-reading and re-writing.
[0017] In an optional embodiment, when any position on the magnetic track of the communication card indicates a normal state, the first near-field communication component or the second near-field communication component conveys the communication card at a first set speed at that position; when any position on the magnetic track of the communication card indicates an abnormal state, the first near-field communication component or the second near-field communication component conveys the communication card at that position at a set speed corresponding to the abnormal state category.
[0018] In a third aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program / instruction stored thereon, which implements the steps of the above method when the computer program / instruction is executed by a processor.
[0019] The beneficial effect of the present invention is that the present invention can ensure that the communication card is against the support component after being placed in the conveying channel by sucking air into the communication card through the support component, and the lifting component cooperates with the support component to drive the communication card to lift and lower, so as to realize accurate positioning of the communication card. The first near-field communication component detects the position and track status of the magnetic track on the communication card, and can adjust the position of the communication card to ensure that the first near-field communication component completely covers the magnetic track on the communication card, avoiding the problem of being unable to read and write the communication card due to misalignment of the magnetic track. At the same time, the second near-field communication component adjusts the travel speed of the communication card according to the track status of the communication card and reads and writes the communication card. When the communication card is not severely worn, normal data reading and writing can be realized. In addition, the first near-field communication component and the second near-field communication component use components with different precisions, which can improve the reading and writing efficiency on the one hand, and reduce costs and increase efficiency on the other hand.
[0020] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0021] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 A structural diagram of a near field communication device provided in an embodiment of the present disclosure;
[0024] Figure 2An internal structure diagram of a near field communication device provided by an embodiment of the present disclosure;
[0025] Figure 3 A structural diagram of the cooperation between a support assembly and a lifting assembly provided in an embodiment of the present disclosure;
[0026] Figure 4 A flowchart of a first near field communication component when detecting a track position provided by an embodiment of the present disclosure;
[0027] Figure 5 A flowchart of a first near field communication component when detecting a magnetic track state provided by an embodiment of the present disclosure;
[0028] Figure 6 A flowchart of a first near field communication component or a second near field communication component when reading and writing a communication card provided in an embodiment of the present disclosure;
[0029] Figure 7 A flowchart of the working process of a second near field communication component provided in an embodiment of the present disclosure when reading and writing a communication card is abnormal.
[0030] In the figure:
[0031] 1. First conveyor rack; 11. Conveying channel; 2. Second conveyor rack; 3. First near-field communication component; 31. First processing unit; 32. First rotating conveying unit; 33. First communication card reading and writing unit; 4. Second near-field communication component; 41. Second processing unit; 42. Second rotating conveying unit; 43. Second communication card reading and writing unit; 5. Support component; 51. Support block; 511. Adsorption hole; 512. Extended slope; 6. Lifting component; 61. Lifting drive member; 62. Wedge block. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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.
[0033] The terms used herein are only used to describe specific exemplary configurations and are not intended to be limited. As used herein, the singular articles "one", "an" and "the" may also be intended to include plural forms, unless it is clearly indicated above that this is not the case. The terms "include", "comprise" and "have" are inclusive, and therefore specify the presence of features, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components and / or combinations thereof. The method steps, processes and operations described herein should not be interpreted as necessarily requiring them to be performed in the specific order discussed or shown, unless specifically identified as an execution order. Additional or alternative steps may be adopted.
[0034] As used herein, the phrases "in one embodiment," "according to one embodiment," "in some embodiments," and the like generally refer to the fact that the particular feature, structure, or characteristic following the phrase may be included in at least one embodiment of the present disclosure. Therefore, a particular feature, structure, or characteristic may be included in more than one embodiment of the present disclosure, so that these phrases do not necessarily refer to the same embodiment. As used herein, the terms "example," "exemplary," and the like are used to "serve as an example, instance, or illustration." Any implementation, aspect, or design described herein as "example" or "exemplary" is not necessarily to be construed as preferred or superior to other implementations, aspects, or designs. On the contrary, the use of the terms "example," "exemplary," and the like is intended to present concepts in a concrete manner.
[0035] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0036] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0037] like Figures 1 to 7As shown, at least one embodiment provides a near field communication device, which includes: a first conveyor frame 1, a second conveyor frame 2, a first near field communication component 3, a second near field communication component 4, a support component 5 and a lifting component 6; wherein the first conveyor frame 1 and the second conveyor frame 2 are arranged longitudinally and parallel to form a conveying channel 11 between the first conveyor frame 1 and the second conveyor frame 2; the first near field communication component 3 and the second near field communication component 4 are movably installed on the first conveyor frame 1 or the second conveyor frame 2 in sequence; the support component 5 is located in the conveying channel 11, and the lifting component 6 is movably connected to the support component 5; when a communication card is placed in the conveying channel 11, the communication card is abutted against the support component 5, the first near field communication component 3 pushes the communication card to move in the conveying channel 11, and the first near field communication component 3 detects the communication card The position and track state of the upper track are detected, so that the first near-field communication component 3 sends a corresponding lifting instruction to the lifting component 6 and the first near-field communication component 3 sends the track state to the second near-field communication component 4, and the lifting component 6 pushes the support component 5 and the communication card to rise or fall until the first near-field communication component 3 completely covers the track on the communication card; when the communication card moves in the conveying channel 11 until it abuts against the second near-field communication component 4, the second near-field communication component 4 pushes the communication card to continue moving in the conveying channel 11, and the second near-field communication component 4 adjusts the travel speed of the communication card according to the track state of the communication card and reads and writes the communication card; and when the second near-field communication component 4 reads abnormal information on the communication card, the second near-field communication component 4 returns the communication card to the first near-field communication component 3 for re-reading and writing.
[0038] In at least one embodiment, the support component 5 sucks air into the communication card to ensure that the communication card is against the support component 5 after being placed in the conveying channel 11. The lifting component 6 cooperates with the support component 5 to drive the communication card to rise and fall, so as to achieve precise positioning of the communication card. The first near-field communication component 3 detects the position and track status of the magnetic track on the communication card and can adjust the position of the communication card to ensure that the first near-field communication component 3 completely covers the magnetic track on the communication card to avoid the problem of being unable to read and write the communication card due to misalignment of the magnetic track. At the same time, the second near-field communication component 4 adjusts the travel speed of the communication card according to the track status of the communication card and reads and writes the communication card. Normal data reading and writing can also be achieved when the communication card is not severely worn. In addition, the first near-field communication component 3 and the second near-field communication component 4 use components with different precisions, which can improve the reading and writing efficiency on the one hand and reduce costs and increase efficiency on the other.
[0039] In at least one embodiment, when any position on the magnetic track of the communication card is displayed as a normal state, the first near-field communication component 3 or the second near-field communication component 4 conveys the communication card at a first set speed at that position; when any position on the magnetic track of the communication card is displayed as an abnormal state, the first near-field communication component 3 or the second near-field communication component 4 conveys the communication card at that position at a set speed corresponding to the abnormal state category.
[0040] Specifically, for example, when the communication card is worn, the first near-field communication component 3 or the second near-field communication component 4 conveys the communication card at a first set speed, at which time the first near-field communication component 3 or the second near-field communication component 4 cannot read or write the communication card, while the first near-field communication component 3 or the second near-field communication component 4 conveys the communication card at a reduced speed, at which time the first near-field communication component 3 or the second near-field communication component 4 can read and write the communication card, and by conveying the communication card at the set speed corresponding to the abnormal state category, normal read and write operations can be achieved for the communication card under different degrees of wear.
[0041] In at least one embodiment, the first near-field communication component 3 includes: a first processing unit 31, a first rotating conveying unit 32 and a first communication card reading and writing unit 33; the first rotating conveying unit 32 is movably mounted on the first conveying frame 1 or the second conveying frame 2, the first communication card reading and writing unit 33 is mounted on the first rotating conveying unit 32, and the first rotating conveying unit 32 and the first communication card reading and writing unit 33 are electrically connected to the first processing unit 31; the first processing unit 31 drives the first rotating conveying unit 32 to rotate, so that the first rotating conveying unit 32 pushes the communication card reading and writing unit 33 to the first processing unit 31; The card moves in the conveying channel 11; the first processing unit 31 detects the position and track status of the magnetic track on the communication card through the first communication card read-write unit 33, so that the first processing unit 31 sends a corresponding lifting instruction to the lifting component 6 and the first processing unit 31 sends the track status to the second near-field communication component 4; when the second near-field communication component 4 retracts the communication card to contact with the first rotating conveying unit 32, the first processing unit 31 drives the first rotating conveying unit 32 to rotate again, and the first processing unit 31 reads and writes the communication card through the first communication card read-write unit 33.
[0042] Specifically, the first processing unit 31 can adopt a processing integrated board, the first rotating conveying unit 32 is composed of a driving source and a rotating seat, the driving source is controlled by the processing integrated board, the driving source drives the rotating seat to rotate, and the first communication card reading and writing unit 33 adopts a magnetic head reader / writer.
[0043] Specifically, the communication card is inserted into the conveying channel 11 and contacts the first rotating conveying unit 32, the first processing unit 31 drives the first rotating conveying unit 32 to rotate normally to convey the communication card, and the first communication card read-write unit 33 detects the position of the magnetic track on the communication card in real time. If the first communication card read-write unit 33 does not completely cover the magnetic track, the first processing unit 31 sends a corresponding lifting instruction to the lifting assembly 6, so that the lifting assembly 6 pushes the supporting assembly 5 and the communication card to lift and lower, so that the first communication card read-write unit 33 completely covers the magnetic track on the communication card.
[0044] Specifically, during the process of the first rotating conveying unit 32 conveying the communication card, the first communication card reading and writing unit 33 attempts to detect the track status of the track on the communication card, and the first processing unit 31 sends it to the second near field communication component 4 .
[0045] In at least one embodiment, the first processing unit 31 adjusts the rotation speed of the first rotating conveying unit 32 according to the track state of the communication card to adjust the travel speed of the communication card.
[0046] Specifically, the first processing unit 31 controls the first rotating conveying unit 32 to rotate at a reduced speed, so that the first communication card read-write unit 33 performs a decelerated scan on the communication card. Some track state abnormalities can be eliminated through the decelerated scan, so that the second communication card read-write unit 43 can read and write the communication card normally.
[0047] In at least one embodiment, when the first processing unit 31 obtains that the first communication card reading and writing unit 33 fails to read and write the communication card, the first processing unit 31 reports it through an external device.
[0048] In at least one embodiment, the second near-field communication component 4 includes: a second processing unit 41, a second rotating conveying unit 42 and a second communication card read-write unit 43; the second rotating conveying unit 42 is movably mounted on the first conveying frame 1 or the second conveying frame 2, the second communication card read-write unit 43 is mounted on the second rotating conveying unit 42, and the second rotating conveying unit 42 and the second communication card read-write unit 43 are electrically connected to the second processing unit 41; the second processing unit 41 drives the second rotating conveying unit 42 to rotate so that the second rotating conveying unit 42 pushes the communication card to move in the conveying channel 11; when the second processing unit 41 obtains the track state of the communication card, the second processing unit 41 controls the second rotating conveying unit 42 to adjust the rotation speed in real time according to the track state of the communication card, so that the second communication card read-write unit 43 reads and writes the communication card; when the second processing unit 41 reads abnormal information on the communication card through the second communication card read-write unit 43, the second processing unit 41 drives the second rotating conveying unit 42 to return the communication card to the first near-field communication component 3.
[0049] Specifically, the second processing unit 41 can adopt a processing integrated board, the second rotating conveying unit 42 is composed of a driving source and a rotating seat, the driving source is controlled by the processing integrated board, the driving source drives the rotating seat to rotate, and the second communication card reading and writing unit 43 adopts a magnetic head reader / writer.
[0050] Specifically, when the track state on the communication card is abnormal, the second processing unit 41 controls the second rotating conveying unit 42 to slow down, so that the second communication card read-write unit 43 performs a decelerated scan on the communication card. Some abnormal track state categories can be eliminated through the decelerated scan, so that the first communication card read-write unit 33 can perform normal reading and writing on the communication card.
[0051] Specifically, the second processing unit 41 drives the second rotating conveying unit 42 to return the communication card to the first rotating conveying unit 32, and the first rotating conveying unit 32 conveys the communication card again, and the first processing unit 31 generates a corresponding speed curve according to the track state of the communication card to control the first rotating conveying unit 32 to rotate. When the first communication card read-write unit 33 reads the communication card again, it can cooperate with the second communication card read-write unit 43 to realize two-stage reading and writing of the communication card, thereby further eliminating some abnormal track state categories.
[0052] Specifically, the first communication card read-write unit 33 adopts a high-precision magnetic head reader / writer, and the second communication card read-write unit 43 adopts a low-precision magnetic head reader / writer. If the second communication card read-write unit 43 cooperates with the first communication card read-write unit 33 to read the communication card as normally as possible, it can save equipment costs, and read and write the communication card at the optimal speed, thereby improving the reading and writing efficiency of the communication card.
[0053] In at least one embodiment, the support assembly 5 includes: a support block 51 and an adsorption unit; the support block 51 is located in the conveying channel 11, and a plurality of adsorption holes 511 are arranged in sequence on the top of the support block 51, and the adsorption unit is connected to each adsorption hole 511; the adsorption unit sucks air into the communication card through each adsorption hole 511 until the communication card is against the support block 51; the lifting assembly 6 pushes the support block 51 and the communication card to rise or fall.
[0054] Specifically, when the communication card is placed in the conveying channel 11, there are problems such as warping and tilting. Therefore, the adsorption unit can absorb air to ensure that the communication card is against the support block 51 after being placed in the conveying channel 11, thereby ensuring the accurate positioning of the initial position of the communication card.
[0055] Specifically, the adsorption unit is connected to each adsorption hole 511 through an air pump and an air pipe, and the air pump is controlled by the first processing unit 31 .
[0056] In at least one embodiment, two extended slopes 512 are provided at the bottom of the support block 51; the lifting assembly 6 includes: two lifting units; each of the lifting units is respectively matched with the corresponding extended slope 512 to enable the lifting unit to push the support block 51 to rise or fall.
[0057] In at least one embodiment, the lifting unit includes: a lifting drive 61 and a wedge block 62; the lifting drive 61 is horizontally arranged, the output part of the lifting drive 61 is connected to the wedge block 62, the inclined surface of the wedge block 62 is inclinedly matched with the extension slope 512, and the lifting drive 61 is electrically connected to the first processing unit 31 in the first near-field communication component 3.
[0058] Specifically, the lifting drive member 61 pushes the wedge block 62 forward, and the wedge block 62 lifts the support block 51, thereby pushing the communication card up.
[0059] Specifically, the lifting drive member 61 pulls the wedge block 62 backwards, and the wedge block 62 drives the support block 51 to fall, thereby realizing the descent of the communication card.
[0060] Based on the same technical concept, at least one embodiment also provides a near field communication method using a near field communication device as described above, which includes: arranging the first conveyor frame 1 and the second conveyor frame 2 longitudinally and parallelly to form a conveying channel 11 between the first conveyor frame 1 and the second conveyor frame 2; movably installing the first near field communication component 3 and the second near field communication component 4 on the first conveyor frame 1 or the second conveyor frame 2 in sequence, and arranging the support component 5 in the conveying channel 11, and the lifting component 6 is movably connected to the support component 5; when a communication card is placed in the conveying channel 11, the support component 5 sucks air into the communication card until the communication card and the support component 5 are against each other, and the first near field communication component 3 pushes the communication card to move in the conveying channel 11, and the first near field communication component 3 detects the position of the magnetic track on the communication card. The first near-field communication component 3 sends a corresponding lifting instruction to the lifting component 6 and the first near-field communication component 3 sends the track state to the second near-field communication component 4, and the lifting component 6 pushes the supporting component 5 and the communication card to rise or fall until the first near-field communication component 3 completely covers the track on the communication card; when the communication card moves in the conveying channel 11 and abuts against the second near-field communication component 4, the second near-field communication component 4 pushes the communication card to continue moving in the conveying channel 11, and the second near-field communication component 4 adjusts the travel speed of the communication card according to the track state of the communication card and reads and writes the communication card; and when the second near-field communication component 4 reads abnormal information on the communication card, the second near-field communication component 4 returns the communication card to the first near-field communication component 3 for re-reading and writing.
[0061] In at least one embodiment, when any position on the magnetic track of the communication card is displayed as a normal state, the first near-field communication component 3 or the second near-field communication component 4 conveys the communication card at a first set speed at that position; when any position on the magnetic track of the communication card is displayed as an abnormal state, the first near-field communication component 3 or the second near-field communication component 4 conveys the communication card at that position at a set speed corresponding to the abnormal state category.
[0062] Based on the same technical concept, at least one embodiment further provides a computer-readable storage medium on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, the steps of the above method are implemented.
[0063] To summarize, the present invention can ensure that the communication card is against the support component after being placed in the conveying channel by suctioning air into the communication card through the support component, and the lifting component cooperates with the support component to drive the communication card to lift and lower, so as to achieve precise positioning of the communication card. The first near-field communication component detects the position and state of the track on the communication card, and can adjust the position of the communication card to ensure that the first near-field communication component completely covers the track on the communication card, avoiding the problem of being unable to read and write the communication card due to misalignment of the track. At the same time, the second near-field communication component adjusts the travel speed of the communication card according to the state of the track of the communication card and reads and writes the communication card. Normal data reading and writing can also be achieved when the communication card is not severely worn. In addition, the first near-field communication component and the second near-field communication component use components with different precisions, which can improve the reading and writing efficiency on the one hand, and reduce costs and increase efficiency on the other.
[0064] The disclosure and other solutions, examples, embodiments, modules and functional operations described in this document can be implemented in digital electronic circuits, or computer software, firmware or hardware, including the structures disclosed in this document and their structural equivalents, or a combination of one or more thereof. The disclosure and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a tangible and non-volatile computer-readable medium for execution by a data processing device or to control the operation of the data processing device. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a storage device, a material composition that affects a machine-readable propagation signal, or a combination of one or more thereof. The term "data processing unit" or "data processing device" includes all devices, equipment and machines for processing data, including, for example, a programmable processor, a computer or a multiprocessor or a computer group. In addition to hardware, the device may also include code that creates an execution environment for a computer program, for example, code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more thereof. A propagated signal is an artificially generated signal, for example, a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device.
[0065] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language (including compiled or interpreted languages) and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple coordinated files (e.g., files that store one or more modules, subroutines, or portions of code). A computer program may be deployed for execution on one or more computers that are located at one site or distributed across multiple sites and interconnected by a communications network.
[0066] The processes and logic flows described in this document may be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be performed by, and the apparatus may also be implemented as, special purpose logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
[0067] For example, processors suitable for executing computer programs include general and special purpose microprocessors, and any one or more of any type of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic components of a computer are a processor that executes instructions and one or more storage devices that store instructions and data. Typically, a computer will also include one or more mass storage devices for storing data, such as magnetic disks, magneto-optical disks, or optical disks, or operably coupled to receive data from a mass storage device or transfer data to a mass storage device, or both. However, a computer does not necessarily have such a device. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and compact disk read-only memory (CD ROM) and digital versatile disk read-only memory (DVD-ROM) disks. The processor and memory can be supplemented by dedicated logic circuits, or incorporated in dedicated logic circuits.
[0068] Although this patent document contains many details, they should not be construed as limitations on the scope of any invention or the claims, but rather as descriptions of features of particular embodiments of particular inventions. Certain features described in this patent document in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various functions described in the context of a single embodiment may also be implemented separately in multiple embodiments, or in any suitable subcombination. In addition, although the above-mentioned features may be described as working in certain combinations, or even initially claimed to be so, in some cases, one or more features in the claim combination may be removed from the combination, and the claim combination may be directed to subcombinations or variations of subcombinations.
[0069] Likewise, although operations are described in a particular order in the drawings, this should not be understood as requiring that such operations be performed in the particular order or order shown, or that all illustrated operations be performed, in order to achieve the desired results. In addition, the separation of various system components in the embodiments of this patent document should not be understood as requiring such separation in all embodiments.
[0070] Only a few implementations and examples are described, and other implementations, enhancements, and variations can be made based on what is described and illustrated in this patent document.
[0071] A first component is directly coupled to a second component when there are no intermediate components other than a line, trace, or another medium between the first component and the second component. A first component is indirectly coupled to a second component when there are intermediate components other than a line, trace, or another medium between the first component and the second component. The term "coupled" and its variations include direct coupling and indirect coupling. Unless otherwise specified, the use of the term "about" is meant to include a range of 10% above and below the value.
[0072] Although several embodiments are provided in the present disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of the present disclosure. The present examples are considered to be illustrative rather than restrictive and are not limited to the details given. For example, various elements or components may be combined or integrated in another system, or certain features may be omitted or not implemented.
[0073] In several embodiments provided herein, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0074] In addition, without departing from the scope of the present disclosure, the discrete or separate techniques, systems, subsystems, and methods described and illustrated in the various embodiments may be combined or integrated with other systems, modules, techniques, or methods. Other items shown or discussed as coupled may be directly connected, or may be indirectly coupled or communicated electrically, mechanically, or otherwise through some interface, device, or intermediate component. Other examples of changes, substitutions, and alterations may be determined by those skilled in the art without departing from the spirit and scope disclosed herein.
Claims
1. A near field communication device, characterized in that: include: A first conveyor frame, a second conveyor frame, a first near field communication component, a second near field communication component, a support component and a lifting component; in The first conveying frame and the second conveying frame are arranged longitudinally and parallel to each other, so that a conveying channel is formed between the first conveying frame and the second conveying frame; The first near field communication component and the second near field communication component are movably mounted on the first conveyor frame or the second conveyor frame in sequence; The support assembly is located in the conveying channel, and the lifting assembly is movably connected to the support assembly; When a communication card is placed in the conveying channel, the communication card abuts against the supporting component, the first near-field communication component pushes the communication card to move in the conveying channel, and the first near-field communication component detects the position and state of the magnetic track on the communication card, so that the first near-field communication component sends a corresponding lifting instruction to the lifting component and the first near-field communication component sends the magnetic track state to the second near-field communication component, and the lifting component pushes the supporting component and the communication card to rise or fall until the first near-field communication component completely covers the magnetic track on the communication card; When the communication card moves in the conveying channel until it abuts against the second near-field communication component, the second near-field communication component pushes the communication card to continue moving in the conveying channel, and the second near-field communication component adjusts the travel speed of the communication card according to the magnetic track state of the communication card and reads and writes the communication card; and When the second near field communication component reads abnormal information on the communication card, the second near field communication component returns the communication card to the first near field communication component for re-reading and re-writing; The first near field communication component includes: a first processing unit, a first rotating conveying unit and a first communication card reading and writing unit; The first rotating conveying unit is movably mounted on the first conveying frame or the second conveying frame, the first communication card reading and writing unit is mounted on the first rotating conveying unit, and the first rotating conveying unit, the first communication card reading and writing unit and the first processing unit are electrically connected; The first processing unit drives the first rotating conveying unit to rotate, so that the first rotating conveying unit pushes the communication card to move in the conveying channel; The first processing unit detects the position and state of the magnetic track on the communication card through the first communication card reading and writing unit, so that the first processing unit sends a corresponding lifting instruction to the lifting component and the first processing unit sends the magnetic track state to the second near field communication component; When the second near field communication component retracts the communication card to contact with the first rotating conveying unit, the first processing unit drives the first rotating conveying unit to rotate again, and the first processing unit reads and writes the communication card through the first communication card reading and writing unit; The communication card is inserted into the conveying channel and contacts the first rotating conveying unit. The first processing unit drives the first rotating conveying unit to rotate normally to convey the communication card, and the first communication card reading and writing unit detects the position of the magnetic track on the communication card in real time. If the first communication card reading and writing unit does not completely cover the magnetic track, the first processing unit sends a corresponding lifting instruction to the lifting component, so that the lifting component pushes the supporting component and the communication card to lift and lower, and the first communication card reading and writing unit completely covers the magnetic track on the communication card. During the process of the first rotating conveying unit conveying the communication card, the first communication card reading and writing unit detects the track state of the track on the communication card, and the first processing unit sends it to the second near field communication component; The first processing unit adjusts the rotation speed of the first rotating conveying unit according to the track state of the communication card to adjust the travel speed of the communication card; The first processing unit controls the first rotating conveying unit to rotate at a reduced speed, so that the first communication card reading and writing unit performs a deceleration scan on the communication card, and some abnormal track status categories are eliminated through the deceleration scan, and the second communication card reading and writing unit performs normal reading and writing on the communication card; The second near field communication component includes: a second processing unit, a second rotating conveying unit, and a second communication card reading and writing unit; The second rotating conveying unit is movably mounted on the first conveying frame or the second conveying frame, the second communication card reading and writing unit is mounted on the second rotating conveying unit, and the second rotating conveying unit, the second communication card reading and writing unit and the second processing unit are electrically connected; The second processing unit drives the second rotating conveying unit to rotate, so that the second rotating conveying unit pushes the communication card to move along the conveying channel; When the second processing unit acquires the track state of the communication card, the second processing unit controls the second rotating conveying unit to adjust the rotation speed in real time according to the track state of the communication card, so that the second communication card reading and writing unit reads and writes the communication card; When the second processing unit finds that the information on the communication card read by the second communication card reading and writing unit is abnormal, the second processing unit drives the second rotating conveying unit to return the communication card to the first near field communication component; When the track state on the communication card is abnormal, the second processing unit controls the second rotating conveying unit to rotate at a reduced speed, so that the second communication card reading and writing unit performs a deceleration scan on the communication card, and some abnormal track state categories are eliminated by the deceleration scan, and the first communication card reading and writing unit performs normal reading and writing on the communication card; The second processing unit drives the second rotating conveying unit to return the communication card to the first rotating conveying unit, and the first rotating conveying unit conveys the communication card again. The first processing unit generates a corresponding speed curve according to the track state of the communication card to control the first rotating conveying unit to rotate. When the first communication card read-write unit reads the communication card again, it cooperates with the second communication card read-write unit to read and write the communication card in two sections to eliminate some abnormal track state categories.
2. The near field communication device according to claim 1, wherein: When any position on the magnetic track of the communication card is displayed as a normal state, the first near field communication component or the second near field communication component conveys the communication card at the position at a first set speed; When any position on the magnetic track of the communication card shows an abnormal state, the first near field communication component or the second near field communication component transports the communication card at the position at a set speed corresponding to the abnormal state category.
3. The near field communication device according to claim 1, wherein: When the first processing unit obtains that the first communication card reading and writing unit fails to read and write the communication card, the first processing unit reports the failure through an external device.
4. The near field communication device according to claim 1, wherein: The support assembly comprises: a support block and an adsorption unit; The support block is located in the conveying channel, a plurality of adsorption holes are arranged in sequence on the top of the support block, and the adsorption unit is connected to each adsorption hole; The adsorption unit sucks air toward the communication card through the adsorption holes until the communication card abuts against the support block; The lifting assembly pushes the support block and the communication card to rise or fall.
5. The near field communication device according to claim 4, wherein: The bottom of the support block is provided with two extended slopes; The lifting assembly comprises: two lifting units; Each lifting unit is respectively matched with a corresponding extending slope surface in an inclined plane, so that the lifting unit pushes the supporting block to rise or fall.
6. The near field communication device according to claim 5, wherein: The lifting unit comprises: a lifting drive member and a wedge block; The lifting drive member is arranged horizontally, the output part of the lifting drive member is connected to the wedge block, the inclined surface of the wedge block is inclinedly matched with the extended slope surface, and the lifting drive member is electrically connected to the first processing unit in the first near field communication component.
7. A near field communication method using the near field communication device according to any one of claims 1 to 6, characterized in that: include: The first conveying frame and the second conveying frame are arranged longitudinally and parallel to each other, so that a conveying channel is formed between the first conveying frame and the second conveying frame; The first near field communication component and the second near field communication component are movably mounted on the first conveying frame or the second conveying frame in sequence, and the support component is arranged in the conveying channel, and the lifting component is movably connected to the support component; When the communication card is placed in the conveying channel, the communication card abuts against the supporting component, the first near-field communication component pushes the communication card to move in the conveying channel, and the first near-field communication component detects the position and state of the magnetic track on the communication card, so that the first near-field communication component sends a corresponding lifting instruction to the lifting component and the first near-field communication component sends the magnetic track state to the second near-field communication component, and the lifting component pushes the supporting component and the communication card to rise or fall until the first near-field communication component completely covers the magnetic track on the communication card; When the communication card moves in the conveying channel until it abuts against the second near-field communication component, the second near-field communication component pushes the communication card to continue moving in the conveying channel, and the second near-field communication component adjusts the travel speed of the communication card according to the magnetic track state of the communication card and reads and writes the communication card; as well as When the second near field communication component reads abnormal information on the communication card, the second near field communication component returns the communication card to the first near field communication component for re-reading and re-writing.
8. The near field communication method according to claim 7, characterized in that: When any position on the magnetic track of the communication card is displayed as a normal state, the first near field communication component or the second near field communication component conveys the communication card at the position at a first set speed; When any position on the magnetic track of the communication card shows an abnormal state, the first near field communication component or the second near field communication component conveys the communication card at the position at a set speed corresponding to the abnormal state category.
9. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 7 to 8 are implemented.
Citation Information
Patent Citations
Electronic signature tool and system
CN102932146A
Separated type optical testing device based on commonly-used mobile intelligent terminal
CN102946272A