Learning machine, card identification method and readable storage medium

By using resistors with different resistance values ​​to identify cards in the learning machine, the problem of high cost of NFC tags was solved, achieving the effects of reducing production costs and improving detection stability.

CN121583157APending Publication Date: 2026-02-27UBTECH ROBOTICS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511757217.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-26
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

The use of NFC tags in existing learning machines is costly, leading to increased production costs.

Method used

By setting a first resistor with different resistance values ​​on the card body, and forming a parallel structure with a constant resistor on the card reader through a data acquisition circuit, the card function is determined according to the resistance value, which reduces the production cost of the learning machine.

Benefits of technology

By using the resistance value to identify cards, the production cost of the learning machine is reduced, while the stability and reliability of card detection are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121583157A_ABST
    Figure CN121583157A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of learning machines, and provides a learning machine, a card recognition method and a readable storage medium, and the method comprises the steps: presetting a first resistor in a card body, enabling the first resistor to be connected with a collection circuit on a card recognizer after the card body is inserted into a card groove in the card recognizer, and enabling an output signal of the collection circuit to be changed, card functions can be determined according to output signals of the acquisition circuit. The function of the card can be determined by presetting the first resistor in the card body, and the price of the resistor is relatively low, so that the cost of the learning machine is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of learning machines, and particularly relates to a learning machine, a card identification method and a readable storage medium. BACKGROUND

[0002] The card insertion type learning machine can display or play corresponding content after a card is inserted into a card slot. At present, a bar code or an NFC (Near Field Communication) tag is arranged on the card, and the learning machine plays corresponding content by identifying the bar code or the NFC tag on the card after the card is inserted into the card slot. However, the cost of arranging the bar code or the NFC tag is relatively high, which increases the production cost of the product. SUMMARY

[0003] The learning machine, the card identification method and the readable storage medium provided by the embodiments of the application can solve the problem of high cost of the learning machine.

[0004] In a first aspect, the embodiments of the application provide a learning machine, comprising:

[0005] a plurality of card bodies and a card identifier; each of the card bodies is provided with a first resistor, and the resistors provided on different card bodies have different resistance values; the card identifier is provided with a processor, a card slot, and a collection circuit connected to the processor, and the collection circuit is provided with connection end points of the first resistors, and the collection circuit is provided with a second resistor with a constant resistance value;

[0006] After the card body is inserted into the card slot, two ends of the first resistor are connected to the connection end points, and the first resistor and the second resistor form a parallel structure.

[0007] In the application, the first resistor is prearranged in the card body, the first resistor is connected to the collection circuit after the card body is inserted into the card slot, the output signal of the collection circuit changes, and the function of the card can be determined according to the output signal of the collection circuit. In the application, the first resistor is prearranged in the card body, the resistors on different card bodies have different resistance values, different first resistors can correspond to different functions, the function of the card can be determined according to the first resistor on the card, and the cost of the learning machine is reduced because the price of the resistor is relatively low.

[0008] In a possible implementation manner of the first aspect, the card body is provided with a position marking part, and the card identifier is provided with a position detection part.

[0009] After the card body is inserted into the card slot, the position detection part identifies the position marking part.

[0010] In the application, a position mark part is arranged on the card body, a position detection part is arranged on the card recognizer, after the card body is inserted into the card recognizer, the position detection part detects the position mark part, the output signal of the position detection part changes, whether the card body is completely inserted into the card slot is determined according to the output signal of the position detection part, and the stability and reliability of the card detection are increased.

[0011] In a possible implementation of the first aspect, the position detection part comprises an infrared sensor.

[0012] In a possible implementation of the first aspect, the acquisition circuit further comprises a third resistor, a first end of the second resistor is connected to the ground, a second end of the second resistor is connected to a first end of the third resistor and a signal acquisition end of the processor respectively, and a second end of the third resistor is connected to an input voltage; the first end of the second resistor and the second end of the second resistor are reserved for the connection end of the first resistor.

[0013] In the second aspect, an embodiment of the application provides a card recognition method applied to the learning machine, and the method comprises the following steps.

[0014] Detecting an output signal of the acquisition circuit;

[0015] When the output signal is in a first preset interval, determining a card function corresponding to the card body according to the output signal, wherein the first preset interval is determined based on the output signal of the acquisition circuit after the card body is inserted into the card slot;

[0016] Executing the card function.

[0017] In a possible implementation of the second aspect, the output signal of the acquisition circuit is a voltage signal;

[0018] The step of determining the card function corresponding to the card body according to the output signal comprises the following steps.

[0019] Calculating the resistance value of the first resistor according to the voltage signal;

[0020] Finding the card function corresponding to the resistance value of the first resistor to obtain the card function corresponding to the card body, wherein a mapping relationship between different resistance values and card functions is stored in advance.

[0021] In a possible implementation of the second aspect, before the step of detecting the output signal of the acquisition circuit, the method further comprises the following steps.

[0022] Obtaining an output signal of the position detection part, wherein the position detection part generates a signal after recognizing the position mark part;

[0023] If the output signal is in the second preset interval, it is determined that the card body is inserted into the card slot completely.

[0024] In a possible implementation of the second aspect, after the output signal of the position detection component is acquired, the method further includes:

[0025] If the output signal is not in the preset interval, an alarm signal is sent.

[0026] In a possible implementation of the second aspect, after the resistance value of the first resistor is calculated according to the voltage signal, the method further includes:

[0027] The card identification corresponding to the resistance value of the first resistor is searched to obtain a target identification, wherein a mapping relationship between different resistance values and card identifications is stored in advance.

[0028] The card function corresponding to the target identification is searched to obtain the card function corresponding to the card body, wherein a mapping relationship between different card identifications and card functions is stored in advance.

[0029] In a third aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the card identification method in any one of the second aspect.

[0030] In a fourth aspect, an embodiment of the present application provides a computer program product, when the computer program product is run on a terminal device, the terminal device executes the card identification method in any one of the second aspect. BRIEF DESCRIPTION OF DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0032] Figure 1 is a structure schematic diagram of a learning machine in the prior art provided by an embodiment of the present application;

[0033] Figure 2 is a structure schematic diagram of a learning machine in the present application provided by an embodiment of the present application;

[0034] Figure 3 is a structure schematic diagram of a learning machine in the present application provided by another embodiment of the present application;

[0035] Figure 4This is a schematic diagram of the structure of a position detection component in a learning machine according to an embodiment of this application;

[0036] Figure 5 This is a schematic flowchart of a card recognition method provided in an embodiment of this application;

[0037] Figure 6 This is a schematic flowchart of a card body position detection method provided in an embodiment of this application. Detailed Implementation

[0038] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0039] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0040] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0041] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0042] A card-based learning machine is a device that enables learning by inserting cards.

[0043] Specifically, such as Figure 1 As shown, an NFC tag is set on card 1, and the learning machine 2 is equipped with a processor and an NFC card reader module. After card 1 is inserted into the learning machine 2, the NFC card reader module reads the NFC tag on the card and determines the content to be played based on the read NFC tag.

[0044] Because the setup and reading costs of NFC tags are relatively high, the cost of learning machines produced using the above method is relatively high.

[0045] To reduce production costs, this application proposes a learning device comprising a card body and a card reader. A resistor connection terminal is provided on the card reader, and a resistor is provided on the card body. After the card body is inserted into the card reader, the resistor on the card body connects to the reserved resistor connection terminal on the card reader, causing a change in the resistance value on the card reader. The content to be played is determined based on this change in resistance value. This application achieves card function determination solely through resistance, significantly reducing the production cost of the learning device compared to using NFC tags.

[0046] The structure of the learning machine described in this application will be explained below.

[0047] The learning device includes: a card body and a card reader; the card body is equipped with a first resistor; the card reader is equipped with a processor, a card slot, and a data acquisition circuit connected to the processor. A connection terminal for the first resistor is reserved on the data acquisition circuit; after the card body is inserted into the card slot, the two ends of the first resistor are connected to the connection terminal.

[0048] In this embodiment, the card body can be square, round, etc., and there is no limitation.

[0049] To differentiate the content or functions on different card bodies, the resistance value of the first resistor is different on different card bodies.

[0050] After the card body is inserted into the card slot, the first resistor is connected to the acquisition circuit. The overall resistance of the acquisition circuit changes, and the output signal of the acquisition circuit changes accordingly. The processor determines the content on the inserted card body based on the output signal of the acquisition circuit.

[0051] In one implementation, such as Figure 2 As shown, a first resistor R1 is provided on the card body 3. The acquisition circuit provided on the card reader 4 may include a second resistor R2 with a constant resistance value. The input and output terminals of the second resistor R2 are respectively connected to the processor. The output and input terminals of the second resistor R2 form the connection points reserved for the first resistor R1.

[0052] After the card body is inserted into the card slot, the first resistor R1 and the second resistor R2 form a parallel structure. The processor detects a change in the voltage across the second resistor R2 and determines the card function based on this voltage. Different card functions corresponding to different voltages are pre-stored. Alternatively, the processor calculates the resistance of the first resistor based on the voltage across the second resistor and the resistance of the second resistor; it then determines the card function based on the resistance of the first resistor. Different card functions corresponding to different resistance values ​​are pre-stored. Alternatively, the processor calculates the resistance of the first resistor based on the voltage across the second resistor and the resistance of the second resistor; it then determines the card identifier (ID) based on the resistance of the first resistor, and uses the card identifier to determine the card function. Different card identifiers corresponding to different resistance values, as well as the corresponding pull tab content for each card identifier, are pre-stored. Alternatively, the total resistance value in the current acquisition circuit is determined based on the parallel structure of the first resistor R1 and the second resistor R2, and the card function is determined based on the current total resistance value; or the corresponding card identifier is determined based on the current total resistance value, and the corresponding card function is found based on the card identifier.

[0053] In another implementation, such as Figure 3 As shown, the acquisition circuit includes a second resistor and a third resistor. The first end of the second resistor is grounded, and the second end of the second resistor is connected to the first end of the third resistor and the signal acquisition terminal of the processor, respectively. The second end of the third resistor is connected to the input voltage. The first end of the second resistor and the second end of the second resistor are reserved for the connection point of the first resistor.

[0054] After the card body is inserted into the card slot, the first resistor and the second resistor form a parallel structure. The voltage across the second resistor changes, and the voltage at the connection point between the second and third resistors, which is acquired by the processor, changes accordingly. The output signal of the acquisition circuit is the voltage at the connection point between the second and third resistors.

[0055] After the processor acquires the voltage at the connection point between the second and third resistors, it determines the card function on the card body based on the connection point voltage. Different card functions corresponding to different voltages are pre-stored.

[0056] Alternatively, after the processor acquires the voltage at the connection point between the second and third resistors, it can calculate the resistance value of the first resistor based on the connection point voltage and the resistance value of the second resistor. The card function on the card body is then determined based on the resistance value of the first resistor.

[0057] Alternatively, after the processor acquires the voltage at the connection point between the second and third resistors, it can calculate the resistance value of the first resistor based on the connection point voltage and the resistance value of the second resistor. The card identifier (ID) is then determined based on the resistance value of the first resistor, and the card function on the card body is identified through the card identifier.

[0058] When a card is inserted into the card reader, it may not be fully inserted. If the card is not fully inserted, the output signal from the processor's acquisition circuit may be unstable and unreliable. To increase the stability and reliability of card recognition, a position detection component can be installed on the learning machine to detect whether the card is fully inserted into the card slot.

[0059] Specifically, such as Figure 4 As shown, the card body is provided with a position marking part, and the card reader is provided with a position detection part; after the card body is inserted into the card slot, the position detection part recognizes the position marking part.

[0060] The location of the position marker can be set as needed, and there are no restrictions here.

[0061] In one approach, the position detection component can be a photoelectric sensor. The photoelectric sensor operates continuously, and the light (or magnetic field, etc.) emitted by its transmitter is not received by the receiver, or the photoelectric sensor is in a stable, untriggered state. At this time, the processor reads a "no card" or "card not in place" signal (e.g., a high or low level). After the card is fully inserted into the card slot, if the processor detects a specific signal change—a specific signal change identified by the position detection component as a change in the position marker—it determines that the card is fully inserted into the card slot and has reached the correct position. For example, the photoelectric sensor can be an infrared sensor, and correspondingly, the position marker can be a reflective surface that reflects infrared light.

[0062] When the position detection component is a photoelectric sensor, the position marking on the card body can be a through hole. The card reader is equipped with a transmitter and a receiver. When the card body is not inserted into the card slot, the photoelectric signal emitted by the transmitter is received by the receiver, and the receiver outputs a first signal. As the card body is inserted, the photoelectric signal emitted by the transmitter is blocked by the card body, and the receiver cannot receive the photoelectric signal, so the receiver outputs a second signal. After the card body is fully inserted into the card slot, the photoelectric signal emitted by the transmitter passes through the through hole and is received by the receiver, and the transmitter outputs a third signal. The processor determines whether the card body is fully inserted into the card slot based on the signals output by the transmitter.

[0063] In another embodiment, the position detection component can be a Hall sensor, and the position marker can be a magnet. When the position detection component does not detect the position marker, the Hall sensor does not detect a magnetic field and outputs a default level; after the card body is inserted into the card slot, the Hall sensor detects the magnetic field of the magnet, and the output level flips.

[0064] In another embodiment, the position detection component can be a normally open micro switch, and the position marking part can be a protrusion. When the card body is not fully inserted, the protrusion will not touch the normally open micro switch, and the normally open micro switch remains in the normally open state; after the card body is inserted into the card slot, the protrusion touches the normally open micro switch, and the normally open micro switch switches to the closed state.

[0065] The card recognition method of this application embodiment will be described in detail below with reference to the above-mentioned learning machine. The method of this application is applied to the processor in the card recognizer.

[0066] Figure 5 A schematic flowchart of the card recognition method provided in this application is shown, with reference to... Figure 5 The method is described in detail below:

[0067] S101, Detect the output signal of the acquisition circuit.

[0068] In this embodiment, the output signal can be as follows: Figure 2 The voltage across the second resistor R2 shown; or, as shown Figure 3 The voltage between the second resistor R2 and the third resistor R3 is shown.

[0069] S102, when the output signal is within a first preset range, the card function corresponding to the card body is determined according to the output signal, wherein the first preset range is determined based on the output signal of the acquisition circuit after the card body is inserted into the card slot.

[0070] In this embodiment, when the card body is not inserted into the card slot, the output signal of the acquisition circuit is a standard signal. After the card body is inserted into the card slot, a first resistor is connected to the acquisition circuit, the total resistance of the resistors in the acquisition circuit changes, and the output signal of the acquisition circuit changes.

[0071] Based on the resistance value of the first resistor in different card bodies, the range of the output signal of the acquisition circuit after the card body is inserted into the card slot is determined, and the first preset range is obtained.

[0072] When the output signal is within the preset range, it is determined that the card body is inserted into the card slot. It is necessary to play the card function corresponding to the card body. At this time, it is necessary to determine the card function corresponding to the card body based on the output signal.

[0073] In one approach, a mapping table between output signals and card functions is pre-set, and the card function corresponding to the current output signal is found through the mapping table.

[0074] S103, execute the card function.

[0075] In this embodiment, performing card functions may include playing card content, lighting up the corresponding indicator light, etc.

[0076] In one feasible implementation, the output signal of the acquisition circuit is a voltage signal, such as... Figure 2 and Figure 3 As shown in the figure. Accordingly, the implementation process of step S102 may include:

[0077] Based on the voltage signal, the resistance value of the first resistor is calculated; the card function corresponding to the resistance value of the first resistor is found, and the card function corresponding to the card body is obtained, wherein different mapping relationships between resistance values ​​and card functions are pre-stored.

[0078] Alternatively, the card identifier corresponding to the resistance value of the first resistor is found to obtain the target identifier, wherein different mapping relationships between resistance values ​​and card identifiers are pre-stored; the card function corresponding to the target identifier is found to obtain the card function corresponding to the card body, wherein different mapping relationships between card identifiers and card functions are pre-stored.

[0079] In one possible implementation, such as Figure 6 As shown, the position detection component and the position marking component detect whether the card body is fully inserted into the card slot.

[0080] S201, acquire the output signal of the position detection component, wherein the position detection component generates a signal after recognizing the position marker.

[0081] S202, if the output signal is within the second preset range, then it is determined that the card body has been inserted into the card slot.

[0082] S203, if the output signal is not within the second preset range, send an alarm signal.

[0083] For the explanation of steps S201 to S203, please refer to the above explanation of the position detection component and the position marking part, and it will not be repeated here.

[0084] In this embodiment, the alarm signal is used to notify the user that the card body is not fully inserted into the card slot.

[0085] The alarm signal can be a light signal, with an indicator light pre-set on the card reader, and the light signal controls the indicator light to turn on. Alternatively, the alarm signal can be a sound signal, with a sound component pre-set on the card reader, and the sound signal controls the sound component to emit a sound.

[0086] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0087] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0088] Similarly, as a computer program product, when the computer program product is run on a terminal device, it enables the terminal device to implement the steps in the above-described method embodiments.

[0089] The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0090] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A learning machine, characterized in that, include: Multiple card bodies and card readers; each card body is provided with a first resistor, and the resistance value of the first resistor is different on different card bodies; the card reader is provided with a processor, a card slot, and a data acquisition circuit connected to the processor, the data acquisition circuit has a reserved connection terminal of the first resistor, and the data acquisition circuit is provided with a second resistor with a constant resistance value; After the card body is inserted into the card slot, the two ends of the first resistor are connected to the connection terminal, and the first resistor and the second resistor form a parallel structure.

2. The learning machine as described in claim 1, characterized in that, The card body is provided with a position marking part, and the card reader is provided with a position detection part; After the card body is inserted into the card slot, the position detection component identifies the position mark.

3. The learning machine as described in claim 2, characterized in that, The position detection component includes an infrared sensor.

4. The learning machine as described in any one of claims 1 to 3, characterized in that, The acquisition circuit further includes a third resistor. The first end of the second resistor is grounded, and the second end of the second resistor is connected to the first end of the third resistor and the signal acquisition terminal of the processor, respectively. The second end of the third resistor is connected to the input voltage. The first end of the second resistor and the second end of the second resistor are reserved for the connection point of the first resistor.

5. A card recognition method, characterized in that, Applied to the learning machine as described in any one of claims 1 to 4, the method comprises: Detect the output signal of the acquisition circuit; When the output signal is within a first preset range, the card function corresponding to the card body is determined based on the output signal, wherein the first preset range is determined based on the output signal of the acquisition circuit after the card body is inserted into the card slot; Perform the card function.

6. The card recognition method as described in claim 5, characterized in that, The output signal of the acquisition circuit is a voltage signal; The step of determining the card function corresponding to the card body based on the output signal includes: Calculate the resistance value of the first resistor based on the voltage signal; Find the card function corresponding to the resistance value of the first resistor to obtain the card function corresponding to the card body, wherein different resistance values ​​and card functions are pre-stored.

7. The card recognition method as described in claim 5, characterized in that, Before detecting the output signal of the acquisition circuit, the method further includes: The output signal of the position detection component is acquired, wherein the position detection component generates a signal after recognizing the position marker. If the output signal is within the second preset range, then it is determined that the card body has been inserted into the card slot.

8. The card recognition method as described in claim 7, characterized in that, After acquiring the output signal of the position detection component, the method further includes: If the output signal is not within the preset range, an alarm signal is sent.

9. The card recognition method as described in claim 6, characterized in that, After calculating the resistance value of the first resistor based on the voltage signal, the method further includes: Find the card identifier corresponding to the resistance value of the first resistor to obtain the target identifier, wherein different resistance values ​​and card identifiers are pre-stored; Find the card function corresponding to the target identifier to obtain the card function corresponding to the card body, wherein different card identifiers and card functions are pre-stored.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the card recognition method as described in any one of claims 5 to 9.