CN117576834A - Display abnormality detection method, device and equipment of POS machine and storage medium - Google Patents

Display abnormality detection method, device and equipment of POS machine and storage medium Download PDF

Info

Publication number
CN117576834A
CN117576834A CN202410065440.9A CN202410065440A CN117576834A CN 117576834 A CN117576834 A CN 117576834A CN 202410065440 A CN202410065440 A CN 202410065440A CN 117576834 A CN117576834 A CN 117576834A
Authority
CN
China
Prior art keywords
information
pos machine
display
transaction
initial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410065440.9A
Other languages
Chinese (zh)
Other versions
CN117576834B (en
Inventor
李洪明
李晓涛
赵浩峰
李伟
王正凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jifang Industrial Control Co ltd
Original Assignee
Shenzhen Jifang Industrial Control Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jifang Industrial Control Co ltd filed Critical Shenzhen Jifang Industrial Control Co ltd
Priority to CN202410065440.9A priority Critical patent/CN117576834B/en
Publication of CN117576834A publication Critical patent/CN117576834A/en
Application granted granted Critical
Publication of CN117576834B publication Critical patent/CN117576834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention belongs to the technical field of data processing, and discloses a display abnormality detection method, device and equipment of a POS machine and a storage medium. According to the invention, the initial display information of the POS machine at the current moment and the corresponding transaction flow of the POS machine are obtained, the initial display information is matched with the transaction flow, when the matching fails, the input information input to the POS machine by a user before the current moment is obtained, and then the abnormal display detection is carried out on the POS machine according to the initial display information and the input information. According to the invention, the initial display information of the POS machine at the current moment is matched with the transaction flow of the POS machine, so that whether the initial display information on the POS machine is normal or not can be preliminarily judged, and when the matching fails, the display abnormality of the POS machine is detected according to the initial display information and the input information input to the POS machine by a user, so that the accuracy of the display abnormality detection of the POS machine can be improved.

Description

Display abnormality detection method, device and equipment of POS machine and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting display abnormality of a POS machine.
Background
The POS (point of sale) machine is a multifunctional terminal, and can be installed in special commercial tenant of credit card and acceptance site to be connected with computer to form network so as to implement automatic transfer of electronic funds. However, during the use of the POS machine, the information displayed on the POS machine screen may not match with the information to be displayed, so that the POS machine display may be abnormal. Therefore, how to effectively detect abnormal display of the POS device is a problem to be solved.
Disclosure of Invention
The invention mainly aims to provide a display abnormality detection method, device and equipment for a POS machine and a storage medium, and aims to solve the technical problem of how to effectively detect the display abnormality of the POS machine.
In order to achieve the above object, the present invention provides a method for detecting abnormal display of a POS machine, the method for detecting abnormal display of a POS machine includes the following steps:
acquiring initial display information of a POS machine at the current moment and a transaction flow corresponding to the POS machine, and carrying out information matching on the initial display information and the transaction flow;
when the matching fails, acquiring input information input to the POS machine by a user before the current moment;
and detecting abnormal display of the POS machine according to the initial display information and the input information.
Optionally, the step of obtaining the initial display information of the POS machine at the current time and the transaction flow corresponding to the POS machine, and matching the initial display information with the transaction flow includes:
acquiring an initial display image of the POS machine at the current moment, and performing character recognition on the initial display image through a convolutional neural network to acquire initial display information;
acquiring state information of the POS machine at the current time, and determining a corresponding transaction flow of the POS machine according to the state information;
and determining transaction display information corresponding to the transaction flow according to the model information of the POS machine, and carrying out information matching on the transaction display information and the initial display information.
Optionally, the step of obtaining the state information of the POS machine at the current time and determining the transaction flow corresponding to the POS machine according to the state information specifically includes:
acquiring state information of the POS machine at the current time, wherein the state information comprises: interface information and card insertion port information;
judging whether the POS machine is in a normal running state according to the interface information;
if yes, determining the transaction state of the POS machine according to the card inserting port information;
and determining a transaction flow corresponding to the POS machine according to the transaction state and the request state between the POS machine and the transaction party.
Optionally, the step of determining transaction display information corresponding to the transaction flow according to the model information of the POS machine and performing information matching on the transaction display information and the initial display information specifically includes:
determining transaction display information corresponding to the transaction flow according to the model information of the POS machine, and determining a transaction information type corresponding to the transaction display information;
determining an initial information type corresponding to the initial display information;
when the initial information type exists in the transaction information types, judging that the matching is passed;
and when the initial information type does not exist in the transaction information type, judging that the matching fails.
Optionally, the step of detecting display abnormality of the POS machine according to the initial display information and the input information specifically includes:
determining an input type corresponding to the input information, and acquiring a time interval between an input time corresponding to the input information and the current time;
determining target display information corresponding to the POS machine according to the time interval and the input type;
and matching the initial display information with the target display information, and detecting abnormal display of the POS machine according to a matching result.
Optionally, the step of determining target display information corresponding to the POS machine according to the time interval and the input type specifically includes:
determining transaction duration between the POS machine and the transaction party according to historical data transmitted by the POS machine and the transaction party;
judging whether the transaction is completed or not according to the time interval and the transaction duration;
if yes, determining a target display type according to the input type, and determining target display information corresponding to the target display type.
Optionally, before the step of acquiring the input information input to the POS machine by the user before the current time when the matching fails, the method further includes:
when the matching is successful, judging whether the missing display information type exists in the initial information type corresponding to the initial display information according to the transaction information type corresponding to the transaction flow;
if yes, acquiring missing display information corresponding to the display information type;
and displaying the missing display information on the POS machine.
In addition, in order to achieve the above object, the present invention further provides a display abnormality detection device for a POS machine, where the display abnormality detection device for a POS machine includes:
the information matching module is used for acquiring initial display information of the POS machine at the current moment and a transaction flow corresponding to the POS machine, and carrying out information matching on the initial display information and the transaction flow;
the information acquisition module is used for acquiring input information input to the POS machine by a user before the current moment when the matching fails;
and the display abnormality detection module is used for detecting display abnormality of the POS machine according to the initial display information and the input information.
In addition, in order to achieve the above purpose, the present invention further provides a display abnormality detection device for a POS machine, where the display abnormality detection device for a POS machine includes: the display abnormality detection device comprises a memory, a processor and a display abnormality detection program of the POS machine, wherein the display abnormality detection program of the POS machine is stored in the memory and can run on the processor, and the display abnormality detection program of the POS machine is configured to realize the steps of the display abnormality detection method of the POS machine.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a display abnormality detection program of a POS machine is stored, and the display abnormality detection program of the POS machine, when executed by a processor, implements the steps of the display abnormality detection method of the POS machine as described above.
According to the invention, the initial display information of the POS machine at the current moment and the corresponding transaction flow of the POS machine are obtained, the initial display information is matched with the transaction flow, when the matching fails, the input information input to the POS machine by a user before the current moment is obtained, and then the abnormal display detection is carried out on the POS machine according to the initial display information and the input information. According to the invention, by matching the initial display information of the POS machine at the current moment with the transaction flow of the POS machine, whether the initial display information on the POS machine is normal or not can be primarily judged, when the matching is failed, namely, the POS display is possibly abnormal, the POS machine is subjected to display abnormality detection according to the initial display information and the input information input to the POS machine by a user, the POS machine is subjected to display abnormality detection again according to the input information, and therefore, the accuracy of the display abnormality detection of the POS machine can be improved.
Drawings
FIG. 1 is a schematic structural diagram of a display abnormality detection device of a POS machine of a hardware running environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for detecting display anomalies in a POS machine according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for detecting display anomalies in a POS machine according to the present invention;
FIG. 4 is a flowchart of a third embodiment of a method for detecting display anomalies in a POS machine according to the present invention;
FIG. 5 is a block diagram showing a first embodiment of an abnormality detection apparatus for a POS machine according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a display abnormality detection device of a POS machine in a hardware running environment according to an embodiment of the present invention.
As shown in FIG. 1, the display abnormality detection apparatus of the POS machine may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the display anomaly detection apparatus of the POS machine, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include an operating system, a network communication module, a user interface module, and a display abnormality detection program for the POS machine.
In the display abnormality detection device of the POS machine shown in fig. 1, the network interface 1004 is mainly used for performing data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the display abnormality detection device of the POS machine can be arranged in the display abnormality detection device of the POS machine, and the display abnormality detection device of the POS machine invokes a display abnormality detection program of the POS machine stored in the memory 1005 through the processor 1001 and executes the display abnormality detection method of the POS machine provided by the embodiment of the invention.
Based on the display abnormality detection device of the POS machine, an embodiment of the invention provides a display abnormality detection method of the POS machine, and referring to fig. 2, fig. 2 is a flow chart of a first embodiment of the display abnormality detection method of the POS machine according to the invention.
In this embodiment, the method for detecting abnormal display of the POS machine includes the following steps:
step S10: acquiring initial display information of a POS machine at the current moment and a transaction flow corresponding to the POS machine, and carrying out information matching on the initial display information and the transaction flow.
It should be noted that, the execution body of the embodiment may be a computing service device, such as a computer, with functions of data processing, network communication and program running, or an electronic device or a display abnormality detection device of a POS device, which can implement the above functions. The present embodiment and the following embodiments will be described below with reference to the display abnormality detection device of the POS machine.
It is understood that the initial display information refers to information displayed on a screen of the POS machine at the current time, for example, information such as connection request, card number input request, etc. The transaction flow refers to the flow of the POS machine at the current moment in the use process, and the transaction flow can comprise: 1. turning on a POS machine power supply, and inputting an operation number and a corresponding password; 2. after the input is finished, the user goes to a POS machine card swiping interface; 3. after 'confirm', input '1' and choose to consume; 4. after the consumption amount is input, the user presses the 'confirmation' and then goes to a 'please insert or swipe card' interface; 5. firstly, operating to swipe the magnetic stripe card, enabling the side, provided with the magnetic stripe, of the bank card to face the POS machine, then placing the bank card into a groove of the POS machine, and pulling the bank card from top to bottom; 6. the POS machine reads the card number of the bank card and presses the confirmation after no error; 7. after the POS machine finishes the paper output, the transaction is completed.
In a specific implementation, the embodiment may match the initial display information with the transaction flow, specifically, may obtain the information that should be displayed by the transaction flow of the POS machine at the current time, for example, in the 4 th transaction step, the information that should be displayed is the input consumption amount, after the "confirm" is pressed, the information that should be displayed is the "please insert card or swipe card", and then the information that should be displayed is compared with the initial display information, if the initial display information is basically the same, the matching is illustrated to be successful, if the initial display information is completely different, the matching is illustrated to be failed, and at this time, the POS machine may have abnormal display.
Step S20: and when the matching fails, acquiring input information input to the POS machine by a user before the current moment.
It can be understood that when the matching between the initial display information and the transaction flow fails, it can be initially determined that the POS machine may have abnormal display, and at this time, information input to the POS machine by the user at all times before the current time, that is, input information, is input to the POS machine by the user at all times between the current time and the time of starting the transaction, where the time of starting the transaction is the time of starting the transaction on the POS machine for the same bank card corresponding to the current time.
Further, in order to display the complete information on the POS machine, in this embodiment, before step S20, the method further includes: when the matching is successful, judging whether the missing display information type exists in the initial information type corresponding to the initial display information according to the transaction information type corresponding to the transaction flow; if yes, acquiring missing display information corresponding to the display information type; and displaying the missing display information on the POS machine.
It should be understood that when the matching is successful, it is indicated that there is no abnormal display condition of the POS machine, but a situation may occur in which part of the information is not displayed, in order to display the complete information on the POS machine, in this embodiment, the transaction information types corresponding to the transaction flows may be obtained, the transaction information types corresponding to the different transaction flows may be different, and it may be determined that the transaction information types corresponding to the transaction information are "please insert or swipe cards", for example, the transaction information types may be request types, and the initial display information may also correspond to the initial information types.
In a specific implementation, whether the missing display information type exists in the initial information type can be judged, namely, the initial information type is matched with the transaction information type, the information types except the initial information type in the transaction information type are used as the missing display information type, missing display information corresponding to the display information type is obtained, for example, when the missing display information type is a connection state type, the corresponding missing display information can be obtained to be in connection, connection is successful, and the like, and the missing display information is displayed on a POS machine.
Step S30: and detecting abnormal display of the POS machine according to the initial display information and the input information.
It can be understood that in this embodiment, further display abnormality detection can be performed on the POS machine according to the initial display information and the input information, specifically, information that should be displayed at the current moment can be obtained approximately according to the input information, and the information is matched with the initial display information, so as to perform display abnormality detection on the POS machine.
According to the embodiment, the initial display information of the POS machine at the current moment and the corresponding transaction flow of the POS machine are obtained, the initial display information is matched with the transaction flow in information, when the matching fails, the input information input to the POS machine by a user before the current moment is obtained, and then abnormal display detection is carried out on the POS machine according to the initial display information and the input information. According to the embodiment, through matching the initial display information of the POS machine at the current moment with the transaction flow of the POS machine, whether the initial display information on the POS machine is normal or not can be primarily judged, when matching fails, namely, the POS display is possibly abnormal, the POS machine is subjected to display abnormality detection according to the initial display information and the input information input to the POS machine by a user, the POS machine can be subjected to display abnormality detection again according to the input information, and therefore accuracy of display abnormality detection of the POS machine can be improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a method for detecting abnormal display of a POS machine according to the present invention.
Based on the first embodiment, in this embodiment, the step S10 includes:
step S101: acquiring an initial display image of the POS machine at the current moment, and performing character recognition on the initial display image through a convolutional neural network to acquire initial display information.
It should be understood that the initial display image refers to an image displayed on a screen of the POS machine at the current moment, and when the POS machine is detected for abnormal display, the initial display image can be obtained through a camera, and the initial display image can be intercepted through a screenshot plug-in installed inside the POS machine.
In a specific implementation, the initial display image may be text-identified by a convolutional neural network, which may be a CRNN network, an ABCNet network, or the like. The characters, numbers and the like on the initial display image can be identified through the network, so that initial display information is obtained.
Step S102: acquiring state information of the POS machine at the current time, and determining a transaction flow corresponding to the POS machine according to the state information.
It can be understood that the state information may refer to information related to a state of the POS machine at a current time, and may include interface information, card insertion port information, connection information, and the like, and may determine a transaction flow in which the POS machine is located at the current time according to the state information.
Further, in order to effectively obtain the transaction flow corresponding to the POS machine, in this embodiment, the step S102 includes: acquiring state information of the POS machine at the current time, wherein the state information comprises: interface information and card insertion port information; judging whether the POS machine is in a normal running state according to the interface information; if yes, determining the transaction state of the POS machine according to the card inserting port information; and determining a transaction flow corresponding to the POS machine according to the transaction state and the request state between the POS machine and the transaction party.
It should be understood that, in this embodiment, the status information may include interface information and card socket information, and the interface of the POS machine may include a USB interface, an ethernet interface, a serial interface, etc., and the interface information may include an interface in a working state on the POS machine, and may also include information such as whether the interface is used normally. The POS machine can also be judged whether to be in a normal running state according to the interface information, specifically, the POS machine is indicated to be in the normal running state when the POS machine is normally connected to a network or a router through an Ethernet interface, and the POS machine is indicated to be in the normal running state when the POS machine is normally connected to the printer, the bar code scanner and other equipment through a USB interface if the POS machine is required to be connected to the printer, the bar code scanner and other equipment.
It can be understood that when the POS machine is in a normal running state, the transaction state of the POS machine can be determined according to the card insertion port information, the transaction state can include a state before transaction, during transaction, after transaction, and the like, when the card insertion port information is a bank card, the transaction state can be a state during transaction or a state after transaction, at this time, whether the POS machine has interaction with a transaction party can be judged, the transaction party can be a bank or the like, if the POS machine has interaction with the transaction party, the transaction state is the state during transaction, if the POS machine has no interaction with the transaction party, the transaction state is the state after transaction; when the card insertion port information is that the bank card does not exist, the transaction state may be a pre-transaction state or a post-transaction state, at this time, whether the POS machine receives information such as a bank card password input by a user or not can be judged, if the information is not received, the transaction state is indicated to be the pre-transaction state, and if the information is received, the transaction state is indicated to be the post-transaction state.
In a specific implementation, the request state refers to a state when interaction occurs between the POS machine and the transaction party, for example, the POS machine sends a request to the transaction party to perform a service such as consumption, or the transaction sends a request to the POS machine to remind that the transaction is completed. And determining a transaction flow corresponding to the POS machine according to the transaction state and the request state, for example, the transaction state is in transaction, the request state is POS and a request is sent to a transaction party, and the transaction flow can be transaction after the POS machine reads the card number of the bank card.
Step S103: and determining transaction display information corresponding to the transaction flow according to the model information of the POS machine, and carrying out information matching on the transaction display information and the initial display information.
It can be understood that, for different POS devices, the displayed information may also be different, and in this embodiment, the model information of the POS device may be obtained first, then the transaction display information corresponding to each transaction flow under the model information, that is, the transaction display information that should be displayed by each transaction flow corresponding to the model information, is determined, and the transaction display information and the initial display information are matched in information.
Further, in order to effectively perform information matching, in this embodiment, the step S103 includes: determining transaction display information corresponding to the transaction flow according to the model information of the POS machine, and determining a transaction information type corresponding to the transaction display information; determining an initial information type corresponding to the initial display information; when the initial information type exists in the transaction information types, judging that the matching is passed; and when the initial information type does not exist in the transaction information type, judging that the matching fails.
It should be understood that, for the transaction display information corresponding to each transaction flow, the type corresponding to the transaction display information is the transaction information type, and the initial information type corresponding to the initial display information is determined. When the initial information type exists in the transaction information type, namely, only one type is the same between the transaction information type and the initial information type, the matching can be judged to pass, and when the initial information type does not exist in the transaction information type, the matching can be judged to fail.
According to the embodiment, the initial display image of the POS machine at the current time is obtained, the initial display image is subjected to character recognition through the convolutional neural network, initial display information is obtained, then state information of the POS machine at the current time is obtained, a transaction flow corresponding to the POS machine is determined according to the state information, transaction display information corresponding to the transaction flow is determined according to model information of the POS machine, and the transaction display information is matched with the initial display information. According to the embodiment, the initial display image is subjected to character recognition through the convolutional neural network, so that the initial display information of the POS machine can be accurately obtained, the transaction flow of the POS machine can be accurately obtained according to the state information, and the transaction display information corresponding to the transaction flow is subjected to information matching with the initial display information, so that information matching can be effectively carried out.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of a method for detecting abnormal display of a POS machine according to the present invention.
Based on the above embodiments, in this embodiment, the step S30 includes:
step S301: and determining the input type corresponding to the input information, and acquiring the time interval between the input time corresponding to the input information and the current time.
It is understood that the input type refers to a type corresponding to input information, for example, when the input information is a six-digit number, the corresponding input type is a password. The time interval refers to the interval between the time of input of information by the user to the POS machine and the current time.
Step S302: and determining target display information corresponding to the POS machine according to the time interval and the input type.
It should be noted that the target display information refers to information that should be displayed by the POS machine, and may be specifically determined according to a time interval and an input type.
Further, in order to effectively obtain the target display information, in this embodiment, the step S302 includes: determining transaction duration between the POS machine and the transaction party according to historical data transmitted by the POS machine and the transaction party; judging whether the transaction is completed or not according to the time interval and the transaction duration; if yes, determining a target display type according to the input type, and determining target display information corresponding to the target display type.
It should be understood that the historical data may be data transmitted during a previous transaction process to complete a transaction, may be data transmitted between the POS machine and the transaction party during a previous day and a previous two days, and may determine a transaction duration according to the historical data, specifically, the transaction duration may be obtained according to a data amount and a data length corresponding to the historical data transmitted during the completion of a transaction, and generally, the greater the data amount and the longer the data length, the longer the required transaction duration may be, and in this embodiment, the mapping relationship between the data amount, the data length and the transaction duration may be preset, so that the transaction duration may be obtained according to the mapping relationship, and the transaction duration may be in a range.
It is appreciated that when the time interval is less than the transaction duration, it may be determined that the transaction is not complete; when the time interval is greater than the transaction duration, it may be determined that the transaction has been completed. When the transaction is completed, the target display type may be determined according to the input type, for example, when the input type is a password, the corresponding target display type may be a transaction state type, and the corresponding target display information may be in the transaction, specifically, the target display information is related to the model information of the POS machine.
Step S303: and matching the initial display information with the target display information, and detecting abnormal display of the POS machine according to a matching result.
It should be appreciated that the process of matching the initial display information to the target display information may refer to the process of matching the initial display information to the transaction display information described above. When the initial display information is successfully matched with the target display information, judging that the POS machine has no abnormal display; when the initial display information and the target display information fail to be matched, the POS machine can be judged to have abnormal display.
According to the embodiment, the input type corresponding to the input information is determined, the time interval between the input time corresponding to the input information and the current time is obtained, then the target display information corresponding to the POS machine is determined according to the time interval and the input type, then the initial display information and the target display information are matched, and the POS machine is subjected to abnormal display detection according to the matching result. According to the embodiment, the target display information corresponding to the POS machine is determined according to the time interval and the input type, the information which the POS machine should display at the current moment can be accurately obtained, and then the POS machine is subjected to abnormal display detection according to the matching result between the initial display information and the target display information, so that the accuracy of abnormal display detection of the POS machine can be improved.
Referring to fig. 5, fig. 5 is a block diagram showing a first embodiment of an abnormality detection device for a POS machine according to the present invention.
As shown in fig. 5, the device for detecting abnormal display of a POS machine according to the embodiment of the invention includes:
the information matching module 10 is used for acquiring initial display information of the POS machine at the current moment and a transaction flow corresponding to the POS machine, and matching the initial display information with the transaction flow;
the information obtaining module 20 is configured to obtain input information input to the POS machine by a user before the current time when the matching fails;
and the display abnormality detection module 30 is used for detecting display abnormality of the POS machine according to the initial display information and the input information.
According to the embodiment, the initial display information of the POS machine at the current moment and the corresponding transaction flow of the POS machine are obtained, the initial display information is matched with the transaction flow in information, when the matching fails, the input information input to the POS machine by a user before the current moment is obtained, and then abnormal display detection is carried out on the POS machine according to the initial display information and the input information. According to the embodiment, through matching the initial display information of the POS machine at the current moment with the transaction flow of the POS machine, whether the initial display information on the POS machine is normal or not can be primarily judged, when matching fails, namely, the POS display is possibly abnormal, the POS machine is subjected to display abnormality detection according to the initial display information and the input information input to the POS machine by a user, the POS machine can be subjected to display abnormality detection again according to the input information, and therefore accuracy of display abnormality detection of the POS machine can be improved.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in the embodiment may refer to the method for detecting abnormal display of the POS machine provided in any embodiment of the present invention, which is not described herein.
Based on the first embodiment of the display abnormality detection device for the POS machine, a second embodiment of the display abnormality detection device for the POS machine is provided.
In this embodiment, the information matching module 10 is further configured to obtain an initial display image of the POS machine at a current time, and perform text recognition on the initial display image through a convolutional neural network to obtain initial display information; acquiring state information of the POS machine at the current time, and determining a corresponding transaction flow of the POS machine according to the state information; and determining transaction display information corresponding to the transaction flow according to the model information of the POS machine, and carrying out information matching on the transaction display information and the initial display information.
Further, the information matching module 10 is further configured to obtain status information of the POS machine at the current time, where the status information includes: interface information and card insertion port information; judging whether the POS machine is in a normal running state according to the interface information; if yes, determining the transaction state of the POS machine according to the card inserting port information; and determining a transaction flow corresponding to the POS machine according to the transaction state and the request state between the POS machine and the transaction party.
Further, the information matching module 10 is further configured to determine transaction display information corresponding to the transaction flow according to model information of the POS machine, and determine a transaction information type corresponding to the transaction display information; determining an initial information type corresponding to the initial display information; when the initial information type exists in the transaction information types, judging that the matching is passed; and when the initial information type does not exist in the transaction information type, judging that the matching fails.
Further, the display abnormality detection module 30 is further configured to determine an input type corresponding to the input information, and obtain a time interval between an input time corresponding to the input information and the current time; determining target display information corresponding to the POS machine according to the time interval and the input type; and matching the initial display information with the target display information, and detecting abnormal display of the POS machine according to a matching result.
Further, the display abnormality detection module 30 is further configured to determine a transaction duration between the POS machine and the transaction party according to the historical data transmitted by the POS machine and the transaction party; judging whether the transaction is completed or not according to the time interval and the transaction duration; if yes, determining a target display type according to the input type, and determining target display information corresponding to the target display type.
Further, the information obtaining module 20 is further configured to determine, when the matching is successful, whether a missing display information type exists in the initial information types corresponding to the initial display information according to the transaction information types corresponding to the transaction flow; if yes, acquiring missing display information corresponding to the display information type; and displaying the missing display information on the POS machine.
Other embodiments or specific implementation manners of the display abnormality detection device for a POS machine of the present invention may refer to the above method embodiments, and will not be described herein.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium is stored with a display abnormality detection program of the POS machine, and the display abnormality detection program of the POS machine realizes the steps of the display abnormality detection method of the POS machine when being executed by a processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of embodiments, it will be clear to a person skilled in the art that the above embodiment method may be implemented by means of software plus a necessary general hardware platform, but may of course also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read-only memory/random-access memory, magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The display abnormality detection method of the POS machine is characterized by comprising the following steps of:
acquiring initial display information of a POS machine at the current moment and a transaction flow corresponding to the POS machine, and carrying out information matching on the initial display information and the transaction flow;
when the matching fails, acquiring input information input to the POS machine by a user before the current moment;
and detecting abnormal display of the POS machine according to the initial display information and the input information.
2. The method for detecting abnormal display of POS machine according to claim 1, wherein said steps of obtaining initial display information of POS machine at current time and corresponding transaction flow of POS machine, and matching said initial display information with said transaction flow comprise:
acquiring an initial display image of the POS machine at the current moment, and performing character recognition on the initial display image through a convolutional neural network to acquire initial display information;
acquiring state information of the POS machine at the current time, and determining a corresponding transaction flow of the POS machine according to the state information;
and determining transaction display information corresponding to the transaction flow according to the model information of the POS machine, and carrying out information matching on the transaction display information and the initial display information.
3. The method for detecting abnormal display of POS machine according to claim 2, wherein said obtaining state information of the POS machine at the current time and determining a transaction flow corresponding to the POS machine according to the state information specifically includes:
acquiring state information of the POS machine at the current time, wherein the state information comprises: interface information and card insertion port information;
judging whether the POS machine is in a normal running state according to the interface information;
if yes, determining the transaction state of the POS machine according to the card inserting port information;
and determining a transaction flow corresponding to the POS machine according to the transaction state and the request state between the POS machine and the transaction party.
4. The method for detecting abnormal display of POS machine according to claim 2, wherein said step of determining transaction display information corresponding to said transaction flow according to said POS machine model information and matching said transaction display information with said initial display information comprises:
determining transaction display information corresponding to the transaction flow according to the model information of the POS machine, and determining a transaction information type corresponding to the transaction display information;
determining an initial information type corresponding to the initial display information;
when the initial information type exists in the transaction information types, judging that the matching is passed;
and when the initial information type does not exist in the transaction information type, judging that the matching fails.
5. The method for detecting abnormal display of a POS machine according to claim 1, wherein the step of detecting abnormal display of the POS machine based on the initial display information and the input information comprises:
determining an input type corresponding to the input information, and acquiring a time interval between an input time corresponding to the input information and the current time;
determining target display information corresponding to the POS machine according to the time interval and the input type;
and matching the initial display information with the target display information, and detecting abnormal display of the POS machine according to a matching result.
6. The method for detecting abnormal display of a POS machine according to claim 5, wherein said step of determining target display information corresponding to said POS machine according to said time interval and said input type comprises:
determining transaction duration between the POS machine and the transaction party according to historical data transmitted by the POS machine and the transaction party;
judging whether the transaction is completed or not according to the time interval and the transaction duration;
if yes, determining a target display type according to the input type, and determining target display information corresponding to the target display type.
7. The method for detecting abnormal display of a POS machine according to any one of claims 1 to 6, wherein, when the matching fails, before the step of obtaining the input information input to the POS machine by the user before the current time, further comprises:
when the matching is successful, judging whether the missing display information type exists in the initial information type corresponding to the initial display information according to the transaction information type corresponding to the transaction flow;
if yes, acquiring missing display information corresponding to the display information type;
and displaying the missing display information on the POS machine.
8. The utility model provides a display abnormality detection device of POS machine which characterized in that, the display abnormality detection device of POS machine includes:
the information matching module is used for acquiring initial display information of the POS machine at the current moment and a transaction flow corresponding to the POS machine, and carrying out information matching on the initial display information and the transaction flow;
the information acquisition module is used for acquiring input information input to the POS machine by a user before the current moment when the matching fails;
and the display abnormality detection module is used for detecting display abnormality of the POS machine according to the initial display information and the input information.
9. Display abnormality detection equipment of POS machine, characterized in that, the equipment includes: a memory, a processor, and a display abnormality detection program of a POS machine stored on the memory and operable on the processor, the display abnormality detection program of the POS machine configured to implement the steps of the display abnormality detection method of a POS machine according to any one of claims 1 to 7.
10. A storage medium, wherein a display abnormality detection program of a POS machine is stored on the storage medium, and the display abnormality detection program of the POS machine, when executed by a processor, implements the steps of the display abnormality detection method of a POS machine according to any one of claims 1 to 7.
CN202410065440.9A 2024-01-17 2024-01-17 Display abnormality detection method, device and equipment of POS machine and storage medium Active CN117576834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410065440.9A CN117576834B (en) 2024-01-17 2024-01-17 Display abnormality detection method, device and equipment of POS machine and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410065440.9A CN117576834B (en) 2024-01-17 2024-01-17 Display abnormality detection method, device and equipment of POS machine and storage medium

Publications (2)

Publication Number Publication Date
CN117576834A true CN117576834A (en) 2024-02-20
CN117576834B CN117576834B (en) 2024-03-29

Family

ID=89886773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410065440.9A Active CN117576834B (en) 2024-01-17 2024-01-17 Display abnormality detection method, device and equipment of POS machine and storage medium

Country Status (1)

Country Link
CN (1) CN117576834B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018074027A1 (en) * 2016-10-17 2018-04-26 日本電気株式会社 Anomaly detection device, control method, and program
WO2019178753A1 (en) * 2018-03-20 2019-09-26 深圳蓝贝科技有限公司 Payment method, device and system
CN110851299A (en) * 2019-11-15 2020-02-28 深圳前海微众银行股份有限公司 Automatic flow exception eliminating method, device, equipment and storage medium
CN111552591A (en) * 2020-03-25 2020-08-18 中国平安财产保险股份有限公司 Page abnormity recovery method, device, equipment and computer readable storage medium
US20230022924A1 (en) * 2021-07-21 2023-01-26 Toshiba Tec Kabushiki Kaisha Detection apparatus for detecting abnormal operations at a point of sales apparatus
CN116452329A (en) * 2023-03-06 2023-07-18 中银金融科技有限公司 Abnormal behavior monitoring method and device, electronic equipment and storage medium
CN116580657A (en) * 2023-03-29 2023-08-11 深圳市正浩创新科技股份有限公司 Fault detection method, device, equipment and computer readable storage medium
CN116860565A (en) * 2022-03-28 2023-10-10 北京小米移动软件有限公司 Abnormality display detection method, abnormality display detection device, electronic device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018074027A1 (en) * 2016-10-17 2018-04-26 日本電気株式会社 Anomaly detection device, control method, and program
WO2019178753A1 (en) * 2018-03-20 2019-09-26 深圳蓝贝科技有限公司 Payment method, device and system
CN110851299A (en) * 2019-11-15 2020-02-28 深圳前海微众银行股份有限公司 Automatic flow exception eliminating method, device, equipment and storage medium
CN111552591A (en) * 2020-03-25 2020-08-18 中国平安财产保险股份有限公司 Page abnormity recovery method, device, equipment and computer readable storage medium
US20230022924A1 (en) * 2021-07-21 2023-01-26 Toshiba Tec Kabushiki Kaisha Detection apparatus for detecting abnormal operations at a point of sales apparatus
CN116860565A (en) * 2022-03-28 2023-10-10 北京小米移动软件有限公司 Abnormality display detection method, abnormality display detection device, electronic device and storage medium
CN116452329A (en) * 2023-03-06 2023-07-18 中银金融科技有限公司 Abnormal behavior monitoring method and device, electronic equipment and storage medium
CN116580657A (en) * 2023-03-29 2023-08-11 深圳市正浩创新科技股份有限公司 Fault detection method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN117576834B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN104065639B (en) The binding method of bank card and system
CN102779382B (en) Self-service issuing device for social security financial IC (integrated circuit) card and data processing method thereof
CN110334144B (en) Message display method, device, computer equipment and storage medium
US20180285843A1 (en) Electronic system and method for atm cash withdrawals
CN110060433B (en) Bank self-service equipment assisting device, bank self-service cooperation system and bank self-service cooperation method
CN104599112A (en) Information transmission method, device and system
CN103065173A (en) Identity card information self-help form filling and automatic entering system based on two-dimension code
CN106779663A (en) A kind of self-help serving system and its operating method
US9361608B2 (en) Transaction dispute resolution
US20070114273A1 (en) Transaction cooperation method in branch office system
JP6585388B2 (en) Payment system
CN103020814A (en) Intelligent identity card information preprocessing system
JP5655415B2 (en) Window terminal and identity verification system
CN105138887B (en) A kind of input method of log-on message, device and terminal device
CN117576834B (en) Display abnormality detection method, device and equipment of POS machine and storage medium
CN111859322A (en) Identity verification method and device and electronic equipment
KR20090001514A (en) System and method for automating identification card processing task using order waiting system
JP2007249630A (en) Financial transaction system
CN113034182A (en) Automatic point integrating method, system, server and storage medium
CN111507331B (en) Payment data processing method and system
CN108334586B (en) Electronic implementation method, equipment and storage medium for insurance business letter file
CN112184213A (en) Code scanning payment method and related device
US20150106132A1 (en) Processing insurance payments
CN103685148A (en) Security information interaction system, security information interaction device and security information interaction method
CN111415134B (en) Commodity bar code handling method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant