A method, system and medium for near detection of receipt paper for self-service terminals
By configuring sensors and roller modules on the self-service terminals, building a radio sensing module and paper-feeding detection link, the problem of inaccurate detection of strip paper residues is solved, accurate detection is achieved, and print quality and user experience are improved.
Patent Information
- Application Number
- CN202210717158.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-06-23
AI Technical Summary
The existing self-service terminal strip printer cannot accurately detect paper margins, resulting in incomplete printing of the last strip, affecting the user experience.
A pair of sensors and roller modules are configured on the self-service terminal equipment, and a radio sensor module and a paper-feeding detection link are built. Through the sensor's radio sensor signal and position adjustment, accurate detection of the strip of paper is achieved.
It realizes accurate detection of strip paper, avoids the problem of incomplete printing content, improves printing quality and user experience, is suitable for different paper models, and can be applied to any printing module except for the hospital self-service terminal.
Smart Images

Figure CN115116183B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of self-service terminal printing detection, and particularly to a method, system and medium for detecting the approaching end of receipt paper for a self-service terminal. Background Art
[0002] Currently, the function of the receipt printer module in hospital self-service terminals is mainly used to print registration vouchers and payment vouchers. The receipt printer module determines the state of the paper running out (i.e., less paper) by installing a reflective sensor on the paper shaft bracket, and determines the state of the paper being empty (i.e., the paper is used up) by installing a reflective sensor at the head of the receipt printer.
[0003] Based on the above structure, it is found that during the use of the receipt printer module, when the paper roll is about to run out, the paper will become loose as the paper shaft rolls. This loose state causes the reflective sensor to detect errors and cannot accurately detect the state of the receipt paper approaching the end; furthermore, when the main control unit calls the receipt printing service, it will obtain the sensor state at the printer head once. If the sensor at the printer head detects that there is paper, printing will still be performed. However, when the remaining paper length is insufficient, the last receipt printing will result in incomplete printed content, that is, a situation of no paper, which in turn causes the customer to be unable to obtain the complete receipt content, and this situation cannot be detected by the current receipt printing module.
[0004] Therefore, in view of the above problems, it is necessary to design a set of detection methods on the entire self-service terminal to achieve accurate detection of the approaching end of receipt paper and paper emptiness, thereby avoiding the problem that the last receipt is not fully printed and affecting the user experience. Summary of the Invention
[0005] The main purpose of the present invention is to design a set of detection methods on the entire self-service terminal to achieve accurate detection of the approaching end of receipt paper and paper emptiness, thereby avoiding the problem that the last receipt is not fully printed and affecting the user experience.
[0006] To achieve the above object, a technical solution adopted by the present invention is: to provide a method for detecting the approaching end of receipt paper for a self-service terminal, including the following steps:
[0007] Initial configuration step:
[0008] Configure the sensor module and the roller module; obtain the receipt paper specification information;
[0009] Link building step:
[0010] Build a receipt paper approaching detection link based on the sensor module, the roller module and the receipt paper specification information;
[0011] Detection and printing step:
[0012] Obtain the printing requirement, determine the near situation of the receipt paper based on the near detection link of the receipt paper and the printing requirement, and perform a printing operation based on the near situation of the receipt paper.
[0013] As an improved solution, the sensor module includes a pair of sensors;
[0014] The roller module includes a pair of rollers;
[0015] The receipt paper specification information includes: a first receipt paper length value and a second receipt paper length value;
[0016] The near detection link of the receipt paper includes: an opposed sensing module and a paper feeding detection link;
[0017] The printing requirement includes: a first requirement and a second requirement; the first requirement is that printing is required; the second requirement is that printing is not required;
[0018] The near situation of the receipt paper includes: a first situation, a second situation, and a third situation; the first situation is that there is paper in the printing module and the receipt paper is not in a near state; the second situation is that there is paper in the printing module and the receipt paper is in a near state; the third situation is a paper shortage state.
[0019] As an improved solution, the step of building the near detection link of the receipt paper based on the sensor module, the roller module, and the receipt paper specification information further includes:
[0020] Confirm the paper outlet of the paper shaft in the terminal device, confirm the paper feeding channel in the printing module that is connected to the paper outlet of the paper shaft, and set a first position and a second position;
[0021] Install one of the sensors at a position corresponding to the first position at the paper outlet of the paper shaft, install the other sensor at a position corresponding to the second position at the paper outlet of the paper shaft, and set the sensing mode of the two sensors to the opposed sensing mode to obtain the opposed sensing module;
[0022] At the middle position of the paper feeding channel, install two of the rollers in sequence along the length direction of the paper feeding channel; adjust the positions of the two rollers based on the receipt paper specification information, and set the adjusted two rollers and the paper feeding channel to form the paper feeding detection link.
[0023] As an improved solution, the step of adjusting the positions of the two rollers based on the receipt paper specification information to obtain the paper feeding detection link further includes:
[0024] Set the upper roller position and the lower roller position, and set the spacing position based on the first receipt paper length value and the second receipt paper length value;
[0025] First, adjust the positions of the two rollers in the vertical direction based on the upper roller position and the lower roller position respectively, and then adjust the distance between the two rollers in the horizontal direction according to the spacing position to obtain the paper feed detection link.
[0026] As an improved solution, the spacing position is greater than the maximum value of the first receipt paper length value and the second receipt paper length value.
[0027] As an improved solution, the step of judging the approaching situation of the receipt paper based on the receipt paper approaching detection link and the printing requirement further includes:
[0028] Identify the printing requirement;
[0029] When the printing requirement is the first requirement, execute the initial judgment step; the initial judgment step includes: obtaining the sensing situation based on the opposed sensing module, if there is no opposed sensing signal between the two sensors in the sensing situation, then judge that the approaching situation of the receipt paper is the first situation; if there is an opposed sensing signal between the two sensors in the sensing situation, then obtain the service status of the printing module, and execute the advanced judgment step based on the service status;
[0030] When the printing requirement is the second requirement, set an interval duration, and execute the initial judgment step every interval duration.
[0031] As an improved solution, the service status includes: the first status and the second status; the first status is that there is a printing service in progress; the second status is that there is no printing service in progress;
[0032] The advanced judgment step includes:
[0033] If the service status is the first status, then judge that the approaching situation of the receipt paper is the second situation; if the service status is the second status, then judge that the approaching situation of the receipt paper is the third situation.
[0034] As an improved solution, the step of performing a printing operation based on the approaching situation of the receipt paper further includes:
[0035] When the approaching situation of the receipt paper is the first situation, perform the printing operation based on the paper feed detection link;
[0036] When the approaching situation of the receipt paper is the second situation or the third situation, generate a receipt paper replenishment and maintenance prompt message, and upload the receipt paper replenishment and maintenance prompt message to the management background of the terminal device;
[0037] The printing operation includes:
[0038] Invoking the printing module for printing, and outputting the printed receipt paper along the paper feeding detection link.
[0039] The present invention also provides a receipt paper near detection system for a self-service terminal, including:
[0040] An initial configuration module, a link building module, and a detection and printing module;
[0041] The initial configuration module is used to configure the sensor module and the roller module; the initial configuration module is also used to obtain receipt paper specification information;
[0042] The link building module is used to build a receipt paper near detection link according to the sensor module, the roller module, and the receipt paper specification information;
[0043] The detection and printing module is used to obtain a printing requirement, and judge the near situation of the receipt paper based on the receipt paper near detection link and the printing requirement, and the detection and printing module executes a printing operation based on the near situation of the receipt paper.
[0044] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the receipt paper near detection method for a self-service terminal are implemented.
[0045] The beneficial effects of the present invention are:
[0046] 1. The receipt paper near detection method for a self-service terminal according to the present invention can improve the paper feeding channel of the receipt printing module on the self-service terminal device, and then build a receipt paper near detection link. Through this link and the detection logic in the present invention, the near state of the receipt paper can be accurately detected, avoiding the problem of incomplete printing content for users, significantly improving the printing effect and quality of the receipt paper. At the same time, the present invention has strong expansibility, and the roller spacing length in the detection link can be adaptively configured according to different printing paper models. Moreover, the present invention can also be applied to any printing module not limited to hospital self-service terminals, with extremely high applicability, application value, and market value, making up for the deficiencies of the prior art.
[0047] 2. The near - paper detection system for receipt paper of the self - service terminal of the present invention can, through the mutual cooperation of the initial configuration module, the link building module, and the detection and printing module, improve the paper - feeding channel of the receipt printing module on the self - service terminal device, thereby building a near - paper detection link for the receipt paper. By cooperating with the detection logic in the present invention through this link, it can accurately detect the near - paper state of the receipt paper, avoid the problem of incomplete printed content for users, significantly improve the printing effect and quality of the receipt paper. At the same time, the present invention has strong expandability. The roller spacing length in the detection link can be adaptively configured according to different receipt paper models, and the present invention can also be applied to any printing module not limited to hospital self - service terminals, with extremely high applicability, application value, and market value, making up for the deficiencies of the prior art.
[0048] 3. The computer - readable storage medium of the present invention can guide the initial configuration module, the link building module, and the detection and printing module to cooperate, thereby improving the paper - feeding channel of the receipt printing module on the self - service terminal device, building a near - paper detection link for the receipt paper. By cooperating with the detection logic in the present invention through this link, it can accurately detect the near - paper state of the receipt paper, avoid the problem of incomplete printed content for users, significantly improve the printing effect and quality of the receipt paper, and effectively improve the operability of the near - paper detection method for the receipt paper of the self - service terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0050] Figure 1 is the flowchart of the near - paper detection method for the receipt paper of the self - service terminal described in Embodiment 1 of the present invention;
[0051] Figure 2 is the specific process schematic diagram of the near - paper detection method for the receipt paper of the self - service terminal described in Embodiment 1 of the present invention;
[0052] Figure 3 is the structural schematic diagram of the near - paper detection link for the receipt paper in the near - paper detection method for the receipt paper of the self - service terminal described in Embodiment 1 of the present invention;
[0053] Figure 4 is the architecture diagram of the near - paper detection system for the receipt paper of the self - service terminal described in Embodiment 2 of the present invention;
[0054] The reference signs in the drawings are as follows:
[0055] 1. First sensor; 2. Second sensor; 3. First roller; 4. Second roller. Detailed implementation manners
[0056] The following elaborates on the preferred embodiments of the present invention in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0057] In the description of the present invention, it should be noted that the embodiments described are some embodiments of the present invention, rather than all embodiments; based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0058] In the description of the present invention, it should be noted that the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0059] Embodiment 1
[0060] This embodiment provides a method for detecting the proximity of receipt paper for a self-service terminal, as Figures 1 to 3 shown, including the following steps:
[0061] S100. Initial configuration step, specifically including:
[0062] S110. Configure the sensor module and the roller module; obtain the receipt paper specification information; in this embodiment, mainly through the improvement of the sensor module and the roller module in the printing module, and then accurately detect the relevant situation of the approaching receipt paper to take the most reasonable countermeasures;
[0063] In this embodiment, the sensor module includes a pair of sensors, which are the first sensor 1 and the second sensor 2 in this embodiment; the roller module includes a pair of rollers, which are the first roller 3 and the second roller 4 in this embodiment; the receipt paper specification information includes: the first receipt paper length value and the second receipt paper length value; the first receipt paper length value and the second receipt paper length value respectively correspond to the length of the registration receipt and the payment receipt printed by the printing module;
[0064] S200. Link building step, specifically including:
[0065] S210. Build a receipt paper proximity detection link based on the sensor module, the roller module, and the receipt paper specification information; the receipt paper proximity detection link is the improvement of the sensor module and the roller module in the printing module;
[0066] Specifically, the near detection link of the receipt paper includes: an opposed sensing module and a paper feeding detection link;
[0067] Specifically, the step of building the near detection link of the receipt paper based on the sensor module, the roller module and the receipt paper specification information further includes: confirming the paper outlet of the paper shaft of the printing module in the terminal device, confirming the paper feeding channel in the printing module connected to the paper outlet of the paper shaft, and setting a first position and a second position; in this embodiment, the first position is the upper position above the entrance of the paper feeding channel, and the second position is the lower position below the entrance of the paper feeding channel; installing one of the sensors at the position corresponding to the first position at the paper outlet of the paper shaft, and installing the other sensor at the position corresponding to the second position at the paper outlet of the paper shaft, and setting the sensing modes of the two sensors to the opposed sensing mode to obtain the opposed sensing module; the opposed sensing mode means that the sensing probes of the sensing ends of the two sensors face each other and both face the paper feeding channel; at the middle position of the paper feeding channel, two of the rollers are installed in sequence along the length direction of the paper feeding channel; adjusting the positions of the two rollers based on the receipt paper specification information, and setting the two adjusted rollers and the paper feeding channel to form the paper feeding detection link; in this embodiment, the paper feeding length of the entire paper feeding path is adaptively lengthened by the two rollers, thereby improving the detectability during receipt paper feeding and avoiding the situation where a too short receipt cannot be detected; specifically, the step of adjusting the positions of the two rollers based on the receipt paper specification information to obtain the paper feeding detection link further includes: setting the upper roller position and the lower roller position, and setting the spacing position based on the peak value of the receipt paper length and the valley value of the receipt paper length; in this embodiment, that is, the spacing position is greater than the maximum value of the first receipt paper length value and the second receipt paper length value; that is, the length of the receipt paper feeding detection is greater than the length of the longer receipt among the registration receipt and the payment receipt, avoiding incomplete printing of the last receipt; in this embodiment again, first adjust the positions of the two rollers in the vertical direction based on the upper roller position and the lower roller position respectively, and then adjust the spacing distance between the two rollers in the horizontal direction according to the spacing position to obtain the paper feeding detection link; in this embodiment, the upper roller position is the roller position above the paper feeding channel, and the lower roller position is the roller position below the paper feeding channel; finally, an S-shaped route is formed by the two rollers and the paper feeding channel; correspondingly, on the one hand, the function of the sensor can also be used at the paper outlet of the paper shaft and the entrance of the paper feeding channel to judge the remaining paper by judging the paper roll thickness through the opposed degree of the sensor sensing signals; when using a single sensor in the prior art, when the paper is about to run out, the state of the paper on the paper shaft will become loose with the rotation of the paper shaft, resulting in inaccurate judgment, while using the opposed sensor in this embodiment can accurately judge whether there is paper or not.
[0068] S300. Detection and printing steps, specifically including:
[0069] S310. Obtain the printing requirement, judge the near situation of the receipt paper based on the near detection link of the receipt paper and the printing requirement, and perform a printing operation based on the near situation of the receipt paper.
[0070] Specifically, the printing requirement includes: a first requirement and a second requirement; the first requirement is that printing is required; the second requirement is that printing is not required; the near situation of the receipt paper includes: a first situation, a second situation, and a third situation; the first situation is that there is paper in the printing module and the receipt paper is not in a near state; the second situation is that there is paper in the printing module and the receipt paper is in a near state; the third situation is a paperless state;
[0071] Specifically, the step of judging the near situation of the receipt paper based on the near detection link of the receipt paper and the printing requirement further includes: identifying the printing requirement; when the printing requirement is the first requirement, perform an initial judgment step; the initial judgment step includes: obtaining the sensing situation based on the opposed sensing module, if the sensing situation is that there is no opposed sensing signal between the two sensors, it means that the sensing signal between the two sensors is blocked, indicating that there is a receipt paper in the paper feeding channel, so judge that the near situation of the receipt paper is the first situation; if the sensing situation is that there is an opposed sensing signal between the two sensors, it means that the sensing signal between the two sensors is not blocked, indicating that there is no receipt paper in the paper feeding channel, so it is necessary to obtain the service status of the printing module, and further judge the specific paperless state according to the current service status of the printing module to improve the judgment accuracy; perform an advanced judgment step based on the service status; when the printing requirement is the second requirement, so when there is no printing requirement, continue to automatically detect and judge the receipt status, so set an interval duration, and perform the initial judgment step every interval duration; in this embodiment, the interval duration is set to 10 minutes;
[0072] Specifically, the service status includes; a first status and a second status; the first status is that there is a printing service in progress; the second status is that there is no printing service in progress;
[0073] The advanced judgment step includes: if the service status is the first status, it means that the printer currently has paper, and in combination with the previous detection result, because there is a sensing signal between the two sensors, it is judged that the receipt paper is already the last one, so judge that the near situation of the receipt paper is the second situation; if the service status is the second status, it means that there is no printing service and the printing module is in a paperless state, so judge that the near situation of the receipt paper is the third situation.
[0074] The step of performing a printing operation based on the near - situation of the receipt paper further includes: when the near - situation of the receipt paper is the first situation, performing the printing operation based on the paper - feeding detection link; the printing operation includes: calling the printing module for printing and outputting the printed receipt paper along the paper - feeding detection link; when the near - situation of the receipt paper is the second situation or the third situation, generating a receipt - paper replenishment and maintenance prompt message and uploading the receipt - paper replenishment and maintenance prompt message to the management background of the terminal device; the receipt - paper replenishment and maintenance prompt message includes: The printing module is out of paper, please replenish it in time.
[0075] Embodiment 2
[0076] This embodiment is based on the same inventive concept as the method for detecting the near - situation of a receipt paper for a self - service terminal described in Embodiment 1, and provides a system for detecting the near - situation of a receipt paper for a self - service terminal, as Figure 4 shown, including: an initial configuration module, a link building module, and a detection and printing module;
[0077] The initial configuration module is used to configure the sensor module and the roller module; the initial configuration module is also used to obtain the receipt - paper specification information; [[ID=1""12]]
[0078] Specifically, the sensor module includes a pair of sensors; the roller module includes a pair of rollers; the receipt - paper specification information includes: a first receipt - paper length value and a second receipt - paper length value.
[0079] The link building module is used to build a receipt - paper near - situation detection link according to the sensor module, the roller module, and the receipt - paper specification information;
[0080] Specifically, the receipt - paper near - situation detection link includes: an opposed - type sensing module and a paper - feeding detection link;
[0081] Specifically, the steps for the link building module to build the near receipt paper detection link based on the sensor module, the roller module, and the receipt paper specification information further include: The link building module confirms the paper outlet of the paper shaft in the printing module of the terminal device. The link building module confirms the paper feeding channel in the printing module that is connected to the paper outlet of the paper shaft. The link building module sets a first position and a second position. The link building module installs one of the sensors at the position corresponding to the first position at the paper outlet of the paper shaft. The link building module installs the other sensor at the position corresponding to the second position at the paper outlet of the paper shaft. The link building module sets the sensing modes of the two sensors to the opposed sensing mode to obtain the opposed sensing module. The link building module is at the middle position of the paper feeding channel. The link building module sequentially installs two rollers along the length direction of the paper feeding channel. The link building module adjusts the positions of the two rollers based on the receipt paper specification information. The link building module sets the two adjusted rollers and the paper feeding channel to form the paper feeding detection link.
[0082] Specifically, the steps for the link building module to adjust the positions of the two rollers based on the receipt paper specification information to obtain the paper feeding detection link further include: The link building module sets the position of the upper roller and the position of the lower roller. The link building module sets the spacing position based on the first receipt paper length value and the second receipt paper length value. First, the link building module adjusts the positions of the two rollers in the vertical direction respectively based on the position of the upper roller and the position of the lower roller. Then, the link building module adjusts the spacing distance between the two rollers in the horizontal direction according to the spacing position to obtain the paper feeding detection link.
[0083] Specifically, the spacing position is greater than the maximum value of the first receipt paper length value and the second receipt paper length value.
[0084] The detection and printing module is used to obtain the printing requirement, and judge the near receipt paper situation based on the near receipt paper detection link and the printing requirement. The detection and printing module performs the printing operation based on the near receipt paper situation.
[0085] Specifically, the printing requirement includes: a first requirement and a second requirement; the first requirement is that printing is needed; the second requirement is that printing is not needed.
[0086] The near receipt paper situation includes: a first situation, a second situation, and a third situation; the first situation is that the printing module has paper and the receipt paper is not in the near state; the second situation is that the printing module has paper and the receipt paper is in the near state; the third situation is the paper shortage state.
[0087] Specifically, the step in which the detection and printing module determines the near situation of the receipt paper based on the near detection link and the printing requirement further includes: the detection and printing module identifies the printing requirement; when the printing requirement is the first requirement, the detection and printing module executes an initial judgment step; the initial judgment step includes: the detection and printing module obtains the sensing situation based on the opposed sensing module, if the sensing situation is that there is no opposed sensing signal between the two sensors, the detection and printing module determines that the near situation of the receipt paper is the first situation; if the sensing situation is that there is an opposed sensing signal between the two sensors, the detection and printing module obtains the service status of the printing module, and the detection and printing module executes an advanced judgment step based on the service status; when the printing requirement is the second requirement, the detection and printing module sets an interval duration, and the detection and printing module executes the initial judgment step every interval duration.
[0088] Specifically, the service status includes: a first status and a second status; the first status is that there is a printing service in progress; the second status is that there is no printing service in progress;
[0089] Specifically, the advanced judgment step includes: if the service status is the first status, the detection and printing module determines that the near situation of the receipt paper is the second situation; if the service status is the second status, the detection and printing module determines that the near situation of the receipt paper is the third situation.
[0090] Specifically, the step in which the detection and printing module executes a printing operation based on the near situation of the receipt paper further includes: when the near situation of the receipt paper is the first situation, the detection and printing module executes the printing operation based on the paper feed detection link; when the near situation of the receipt paper is the second situation or the third situation, the detection and printing module generates a receipt paper replenishment and maintenance prompt message, and the detection and printing module uploads the receipt paper replenishment and maintenance prompt message to the management background of the terminal device;
[0091] Specifically, the printing operation includes: the detection and printing module invokes the printing module for printing, and the detection and printing module outputs the printed receipt paper along the paper feed detection link. [[ID=X]]
[0092] Embodiment 3
[0093] This embodiment provides a computer-readable storage medium, including:
[0094] The storage medium is used to store computer software instructions for implementing the near-paper detection method for receipt paper used in the self-service terminal described in Embodiment 1 above. It includes a program for executing the procedures set for the near-paper detection method for receipt paper used in the self-service terminal. Specifically, the executable program can be built into the near-paper detection system for receipt paper used in the self-service terminal described in Embodiment 2. In this way, the near-paper detection system for receipt paper used in the self-service terminal can implement the near-paper detection method for receipt paper used in the self-service terminal described in Embodiment 1 by executing the built-in executable program.
[0095] In addition, the computer-readable storage medium of this embodiment can adopt any combination of one or more readable storage media. Among them, the readable storage medium includes systems, devices or components of electricity, light, electromagnetism, infrared rays or semiconductors, or any combination of the above.
[0096] Different from the prior art, adopting a near-paper detection method, system and medium for receipt paper used in a self-service terminal according to the present application can improve the paper feeding channel of the receipt printing module on the self-service terminal device, and then build a near-paper detection link. By cooperating with the detection logic in the present invention through this link, the near-paper state of the receipt paper can be accurately detected, avoiding the problem of incomplete printed content for the user, significantly improving the printing effect and quality of the receipt paper. At the same time, the present invention has strong expandability. The length of the roller spacing in the detection link can be adaptively configured according to different receipt paper models, and the present invention can also be applied to any printing module not limited to hospital self-service terminals, with extremely high applicability, application value and market value, making up for the deficiencies of the prior art.
[0097] The serial numbers of the disclosed embodiments in the present invention above are only for description and do not represent the advantages or disadvantages of the embodiments.
[0098] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, or a program for instructing relevant hardware to complete can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disc, etc.
[0099] The above are only the embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied to other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A method for detecting the proximity of receipt paper for a self-service terminal, characterized in that, It includes the following steps: Initial configuration step: Configure the sensor module and the roller module; obtain the receipt paper specification information; Link establishment step: Build a receipt paper near detection link based on the sensor module, the roller module, and the receipt paper specification information; The sensor module includes a pair of sensors; The roller module includes a pair of rollers; The receipt paper specification information includes: a first receipt paper length value and a second receipt paper length value; The receipt paper near detection link includes: an opposed sensing module and a paper feeding detection link; The printing requirements include: a first requirement and a second requirement; the first requirement is that printing is required; the second requirement is that printing is not required; The receipt paper near situation includes: a first situation, a second situation, and a third situation; the first situation is that there is paper in the printing module and the receipt paper is not in a near state; the second situation is that there is paper in the printing module and the receipt paper is in a near state; the third situation is a paper shortage state; The step of building a receipt paper near detection link based on the sensor module, the roller module, and the receipt paper specification information further includes: confirm the paper outlet of the paper shaft in the printing module of the terminal device, confirm the paper feeding channel in the printing module that is connected to the paper outlet of the paper shaft, set a first position and a second position; install one of the sensors at the position corresponding to the first position at the paper outlet of the paper shaft, install the other sensor at the position corresponding to the second position at the paper outlet of the paper shaft, set the sensing mode of the two sensors to the opposed sensing mode to obtain the opposed sensing module; at the middle position of the paper feeding channel, install the two rollers in sequence along the length direction of the paper feeding channel; adjust the positions of the two rollers based on the receipt paper specification information, and set the adjusted two rollers and the paper feeding channel to form the paper feeding detection link; Detection and printing step: Obtain the printing requirements, judge the receipt paper near situation based on the receipt paper near detection link and the printing requirements, and perform a printing operation based on the receipt paper near situation.
2. The method for detecting the proximity of a receipt paper for a self-service terminal according to claim 1, wherein: The step of adjusting the positions of the two rollers based on the receipt paper specification information to obtain the paper feeding detection link further includes: Set the upper roller position and the lower roller position, and set the spacing position based on the first receipt paper length value and the second receipt paper length value; First, adjust the positions of the two rollers in the vertical direction based on the upper roller position and the lower roller position, and then adjust the spacing distance between the two rollers in the horizontal direction according to the spacing position to obtain the paper feeding detection link.
3. The method for detecting the proximity of a receipt paper for a self-service terminal according to claim 2, wherein: The spacing position is greater than the maximum value of the first receipt paper length value and the second receipt paper length value.
4. The method for detecting the proximity of a receipt paper for a self-service terminal according to claim 2, wherein: The step of judging the receipt paper near situation based on the receipt paper near detection link and the printing requirements further includes: Identify the printing requirement; When the printing requirement is the first requirement, perform an initial judgment step; the initial judgment step includes: obtaining a sensing situation based on the opposed sensing module. If there is no opposed sensing signal between the two sensors in the sensing situation, it is determined that the near situation of the receipt paper is the first situation; if there is an opposed sensing signal between the two sensors in the sensing situation, obtain the service status of the printing module, and perform an advanced judgment step based on the service status; When the printing requirement is the second requirement, set an interval duration, and perform the initial judgment step every interval duration.
5. The method for detecting the near situation of the receipt paper for a self-service terminal according to claim 4, wherein: The service status includes: a first status and a second status; the first status is that there is a printing service in progress; The second status is that there is no printing service in progress; The advanced judgment step includes: If the service status is the first status, it is determined that the near situation of the receipt paper is the second situation; If the service status is the second status, it is determined that the near situation of the receipt paper is the third situation.
6. The method for detecting the near situation of the receipt paper for a self-service terminal according to claim 5, wherein: The step of performing a printing operation based on the near situation of the receipt paper further includes: When the near situation of the receipt paper is the first situation, perform the printing operation based on the paper feeding detection link; When the near situation of the receipt paper is the second situation or the third situation, generate a receipt paper replenishment and maintenance prompt message, and upload the receipt paper replenishment and maintenance prompt message to the management background of the terminal device; The printing operation includes: Call the printing module to perform printing, and output the printed receipt paper along the paper feeding detection link.
7. A receipt paper near detection system for a self-service terminal based on the receipt paper near detection method for a self-service terminal according to claim 6, characterized in that, Includes: An initial configuration module, a link building module, and a detection and printing module; The initial configuration module is used to configure the sensor module and the roller module; the initial configuration module is also used to obtain the receipt paper specification information; The link building module is used to build a near receipt paper detection link according to the sensor module, the roller module, and the receipt paper specification information; The detection and printing module is used to obtain a printing requirement, judge the near situation of the receipt paper based on the near receipt paper detection link and the printing requirement, and the detection and printing module performs a printing operation based on the near situation of the receipt paper.
8. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for detecting the near situation of the receipt paper for a self-service terminal according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Self-service bill acceptance device with seal stamping function and self-service bill acceptance method
CN102855705A
Invoice self-service printer capable of printing photos
CN106652247A