CN113256877B - Banknote information management method, banknote information management device, banknote information management storage medium, and computer device - Google Patents

Banknote information management method, banknote information management device, banknote information management storage medium, and computer device Download PDF

Info

Publication number
CN113256877B
CN113256877B CN202011637840.0A CN202011637840A CN113256877B CN 113256877 B CN113256877 B CN 113256877B CN 202011637840 A CN202011637840 A CN 202011637840A CN 113256877 B CN113256877 B CN 113256877B
Authority
CN
China
Prior art keywords
banknote
manager
current node
node
queue
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.)
Active
Application number
CN202011637840.0A
Other languages
Chinese (zh)
Other versions
CN113256877A (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.)
Nanjing Yihua Information Technology Co ltd
Shenzhen Yihua Times Intelligent Automation System Co ltd
Shenzhen Yihua Computer Co Ltd
Original Assignee
Nanjing Yihua Information Technology Co ltd
Shenzhen Yihua Times Intelligent Automation System Co ltd
Shenzhen Yihua Computer 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 Nanjing Yihua Information Technology Co ltd, Shenzhen Yihua Times Intelligent Automation System Co ltd, Shenzhen Yihua Computer Co Ltd filed Critical Nanjing Yihua Information Technology Co ltd
Priority to CN202011637840.0A priority Critical patent/CN113256877B/en
Publication of CN113256877A publication Critical patent/CN113256877A/en
Application granted granted Critical
Publication of CN113256877B publication Critical patent/CN113256877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/10Mechanical details
    • G07D11/16Handling of valuable papers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/10Mechanical details
    • G07D11/16Handling of valuable papers
    • G07D11/18Diverting into different paths or containers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/20Controlling or monitoring the operation of devices; Data handling
    • G07D11/22Means for sensing or detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to the technical field of financial information management, and discloses a banknote information management method, which comprises the following steps: acquiring a transaction path of paper money at a financial terminal; constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager; and storing the banknote objects in different queues of the manager according to the state relation between the banknote and the node on the transaction path. According to the scheme, through the mode of the node manager, banknote objects passing through the nodes and triggered sensor event information are stored in the manager corresponding to the nodes for distributed management, so that banknote objects can be added and deleted in a queue and sensor event information can be inserted simply, and the problem that matching dislocation can be caused when the banknote objects are leaked, the banknote objects are pulled open by a double tension and the like in a general scheme is solved.

Description

Banknote information management method, banknote information management device, banknote information management storage medium, and computer device
Technical Field
The present invention relates to the technical field of financial information management, and in particular, to a banknote information management method, device, storage medium, and computer apparatus.
Background
When the cash processing equipment performs the business of storing and taking the paper money with the movement, various sensors are arranged, and the form index of the paper money is calculated according to the information acquired by the sensors so as to evaluate the actual effects of collecting and digging the paper money in the paper money box, passing the paper money in the channel and receiving and digging the paper money by a customer.
In the traditional scheme, the information management of paper currency and sensors adopts a form of independent storage of queues, paper currency information is stored as one queue, the information of the sensors is stored as the other queue, and the sensor information corresponding to the paper currency is acquired based on the sequence of the paper currency passing through the sensors; once the conditions of banknote missing, double-tension pulling and the like occur, the operations of inserting sensor information and adding and deleting banknote objects are difficult to be carried out in the middle of the queue, and finally, matching dislocation is caused.
Disclosure of Invention
In view of the above, it is necessary to provide a banknote information management method, apparatus, storage medium, and computer device, in order to solve the above-described problems.
A banknote information management method, the method comprising:
acquiring a transaction path of paper money on a financial terminal, wherein a plurality of nodes are preset on the transaction path;
constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager;
when the paper money enters the previous node, adding a paper money object corresponding to the paper money to the end of a first queue of a manager of the current node;
when the paper money enters the current node, removing a first paper money object of a first queue of the manager of the current node and adding the first paper money object to the tail end of a second queue in the manager of the current node;
when the banknote leaves the current node, removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node.
A banknote information management apparatus, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a transaction path of paper money at a financial terminal, and a plurality of nodes are preset on the transaction path;
the construction module is used for constructing an independent manager corresponding to each node, 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager;
the first processing module is used for adding the banknote object corresponding to the banknote to the end of the first queue of the manager of the current node when the banknote enters the previous node;
the second processing module is used for removing a first banknote object of a first queue of the current node manager and adding the first banknote object to the tail of a second queue in the manager of the current node when the banknote enters the current node;
and the third processing module is used for removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node when the banknote leaves the current node.
A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring a transaction path of paper money on a financial terminal, wherein a plurality of nodes are preset on the transaction path;
constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager;
when the paper money enters the previous node, adding a paper money object corresponding to the paper money to the end of a first queue of a manager of the current node;
when the paper money enters the current node, removing a first paper money object of a first queue of the manager of the current node and adding the first paper money object to the tail end of a second queue in the manager of the current node;
when the banknote leaves the current node, removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring a transaction path of paper money on a financial terminal, wherein a plurality of nodes are preset on the transaction path;
constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager;
when the paper money enters the previous node, adding a paper money object corresponding to the paper money to the end of a first queue of a manager of the current node;
when the paper money enters the current node, removing a first paper money object of a first queue of the manager of the current node and adding the first paper money object to the tail end of a second queue in the manager of the current node;
when the banknote leaves the current node, removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node.
The embodiment of the invention has the following beneficial effects:
according to the banknote information management method, the banknote information management device, the storage medium and the computer equipment, the transaction path of the banknote at the financial terminal is firstly obtained, then an independent manager corresponding to each node is constructed, 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager; and finally, storing the banknote objects in different queues of the manager according to the state relation between the banknote and the node on the transaction path. According to the scheme, banknote objects passing through the nodes and triggered sensor event information are stored in the corresponding manager of the nodes in a node manager mode, and distributed management is carried out; by means of distributed management, banknote objects and event information of an insertion sensor can be simply added and deleted in a queue, and the problem that matching dislocation is caused by conditions of banknote leakage, tension pulling and the like in a general scheme is solved. Meanwhile, the scheme does not influence the subsequent banknote analysis, even deepens the correlation between the banknote and the node, and expands other operations on the basis of the scheme more easily.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a flow chart of an implementation of a banknote information management method in one embodiment;
FIG. 2 is a schematic illustration of banknote movement during a transaction in one embodiment;
FIG. 3 is a block diagram showing the construction of a banknote information management apparatus according to one embodiment;
FIG. 4 is a block diagram of a computer device in one embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, there is provided a banknote information management method including:
step 102, acquiring a transaction path of the paper currency at the financial terminal, wherein a plurality of nodes are preset on the transaction path.
The transaction path refers to a channel through which paper money needs to pass when in transaction, for example, a channel through which paper money needs to pass from a paper money inlet to a paper money box when deposit business is carried out; the transaction path is provided with a plurality of sensors, and the nodes are preset according to the distribution of the sensors, so that the information triggered when the paper money passes through the sensors can be stored in the manager corresponding to the nodes.
And 104, constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager.
The manager refers to a virtual manager for storing banknote related information, the banknote related information comprises banknote objects and banknote triggered sensor event information, the banknote objects refer to data objects pointing to corresponding banknotes and used for identifying legal identities of the banknotes in the transaction process, and the banknote objects are constructed when the banknotes enter the first node.
The banknote object is used for associating sensor event information triggered by the banknote object and banknote checking information of corresponding banknotes.
Wherein the banknote object and the sensor event information are stored in the manager based on the order of passage or occurrence, and the banknote object and the sensor event information are matched according to the order.
And 106, when the paper currency enters the previous node, adding the paper currency object corresponding to the paper currency to the end of the first queue of the manager of the current node.
3 queues for storing banknote objects are preset in the manager, and the first queue is used for storing banknote objects corresponding to upcoming banknotes; the second queue is used for storing banknote objects corresponding to the passing banknotes; the third queue is used for storing banknote objects corresponding to the passed banknotes.
Wherein the queues are all first-in first-out queues, in one embodiment, when the paper money enters the previous node, the paper money is judged to be in an upcoming state, and the corresponding paper money object is added to the end of the first queue of the current node; when the paper currency in sequence before the paper currency enters the current node, the paper currency object corresponding to the paper currency is the first paper currency object of the first queue of the current node.
As shown in fig. 2, fig. 2 is a schematic diagram of banknote movement during a transaction from node 1 to node 4 in one embodiment; taking the example of the node 2, the banknote object corresponding to Bill1, bill2, bill3 and Bill4 which has passed through the node 2 is added to a third queue of the node 2 manager; the banknote object corresponding to Bill5 passing through node 2 has been added to the second queue of the node 2 manager; the banknote object corresponding to Bill6, which is passing through node 1 and is determined to be in the upcoming state by node 2, has been added to the first queue of the node 2 manager.
And 108, when the paper money enters the current node, removing the first paper money object of the first queue of the manager of the current node, and adding the first paper money object to the end of the second queue in the manager of the current node.
When the paper currency enters the current node, the paper currency is judged to be in a passing state, and the paper currency object corresponding to the paper currency is removed from the first queue and added to the tail end of the second queue.
Step 110, when the banknote leaves the current node, removing the first banknote object of the second queue of the manager of the current node, and adding the first banknote object to the end of the third queue in the manager of the current node.
Wherein when the banknote leaves the current node, the banknote is judged to have passed, the banknote object corresponding to the banknote is removed from the second queue and added to the end of the third queue; and meanwhile, storing the sensor event information triggered by the paper money at the current node into a manager of the current node, and associating the current node.
When sensor event information triggered by a certain banknote in a transaction path is required to be extracted, determining a banknote object corresponding to the banknote, and extracting sensor event information sequentially associated with the banknote object in a manager of all nodes of the transaction path to analyze the form of the banknote at the current moment.
According to the banknote information management method, firstly, the transaction path of the banknote at the financial terminal is obtained, then, an independent manager corresponding to each node is constructed, 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager; and finally, storing the banknote objects in different queues of the manager according to the state relation between the banknote and the node on the transaction path. According to the scheme, banknote objects passing through the nodes and triggered sensor event information are stored in the corresponding manager of the nodes in a node manager mode, and distributed management is carried out; by means of distributed management, banknote objects and event information of an insertion sensor can be simply added and deleted in a queue, and the problem that matching dislocation is caused by conditions of banknote leakage, tension pulling and the like in a general scheme is solved. Meanwhile, the scheme does not influence the subsequent banknote analysis, even deepens the correlation between the banknote and the node, and expands other operations on the basis of the scheme more easily.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: when the current node is the first node, acquiring information of the paper currency entering the current node, constructing a paper currency object associated with the paper currency information, and adding the paper currency object to the end of a second queue of a manager of the current node.
The first node is the first node of the transaction path, and after the banknote detection is completed, banknote detection information is obtained; and constructing a banknote object associated with the banknote information by taking the banknote detection information as the banknote information, and adding the banknote object to the tail end of the second queue of the manager of the first node.
When the paper currency enters the transaction flow, the first node constructs a paper currency object, and the legal identity of the paper currency in the transaction flow is identified, so that the destination of the corresponding paper currency can be conveniently found in the subsequent information management, and the operations such as data analysis and the like are performed by matching the corresponding data information.
In one embodiment, sensor event information triggered by a banknote corresponding to a transaction is associated with the banknote by constructing a banknote object corresponding to the banknote at a head node; and acquiring the current triggered sensor event information of the paper money in real time in the transaction process, analyzing the form of the paper money, feeding back the financial terminal to correspondingly adjust the paper money, ensuring the correctness of the form of the paper money, avoiding the paper money blocking, and reducing the failure rate of the financial terminal.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: when the paper money enters the current node and the current node has the peer node, removing a first paper money object in a first queue in a manager of the current node and all peer nodes of the current node, and adding the paper money object to the end of a second queue of the manager of the current node.
Wherein, the peer node is a node with the same superior node; when the paper money enters the previous node, the paper money object corresponding to the paper money is added at the end of the first queue of the lower node manager, so that before the paper money enters the current node, the current node and the first queues of all the same-level node managers have the same paper money object; in order to ensure the uniqueness of the transaction path where the banknote object is located, when the banknote enters the current node, removing the first banknote object in a first queue in the manager of the current node and all peer nodes of the current node, and adding the banknote object to the tail end of a second queue in the manager of the current node.
It will be appreciated that the transaction path may have multiple branches while executing the same transaction. In one embodiment, the financial terminal receives a banknote from the banknote inlet when performing a deposit transaction, the banknote entering the two banknote boxes through two partially overlapping channels corresponding to two branch paths of the transaction path.
In one embodiment, the method further comprises: when an abnormal situation is detected, acquiring related data of the abnormal situation; determining an object to be adjusted and a corresponding position according to the related data of the abnormal condition; and carrying out adjustment operation on the adjustment objects at the corresponding positions so as to enable each banknote object to be matched with the corresponding triggered sensor event information.
The abnormal situation refers to the situation that the banknote object is not matched with the sensor event information triggered by the banknote object due to various factors in the transaction process, and comprises the situation that the banknote object quantity is inconsistent with the banknote quantity actually passing through the node due to banknote missing, double-tension pulling and the like, and also comprises the situation that the sensor event information is inconsistent with the banknote quantity actually passing through the node due to sensor failure, sensor shielding and the like.
Corresponding judging standards are preset in each abnormal condition, and according to the judging standards, abnormal data meeting the judging standards can be found in the related data of the abnormal conditions, so that the corresponding positions to be adjusted are positioned, and the object to be adjusted is obtained.
It will be appreciated that the purpose of the adjustment is to match the banknote object with the correspondingly triggered sensor event information, and thus the adjusted object is referred to as the banknote object or sensor event information.
In one embodiment, the determining the object and the corresponding position to be adjusted according to the related data of the abnormal situation further includes: when the situation of the tension of the double paper money is detected, determining a new paper money object to be added according to abnormal paper money movement data, and determining the corresponding position of the newly detected paper money in the queue; the adjusting operation is performed on the adjusting object at the corresponding position, and the method further comprises the following steps: and constructing a new banknote object at the corresponding position so as to enable the newly detected banknote to be matched with the sensor event information triggered by the new banknote.
The double-sheet pulling refers to the situation that two paper money are overlapped together to enter a transaction flow and are separated into two paper money in the transaction process. In one embodiment, 10 nodes are preset on the transaction path, 9 banknote objects are created at the first node, the 5 th node is pulled open again, the financial terminal positions an abnormal position from the abnormal data according to the detected abnormality in the motion data from the 5 th node to the 6 th node, and a new banknote object is constructed at the abnormal position.
The abnormal banknote motion data refer to abnormal banknote motion speed, the distance between known nodes is fixed, the banknote motion speed driven by mechanical transmission is maximum, and when the time from the last node to the current node is detected to be shorter than the theoretical shortest time, the abnormal condition that the double tension is pulled is judged.
In one embodiment, when the sensor in the current node is detected to be shielded, the sensor event information stored in the current node manager is acquired, the position of the banknote object which does not trigger the sensor event information is determined, and the banknote object is deleted.
In one embodiment, the method further comprises: and when the paper currency triggers a sensor event each time, extracting all sensor event information triggered correspondingly by the paper currency, and analyzing the form of the paper currency according to the sensor event information.
When the paper currency triggers a sensor event, a paper currency object corresponding to the paper currency is obtained, corresponding sensor event information currently stored in all nodes is obtained according to the paper currency object, and the form of the paper currency is analyzed according to the sensor event information.
Under the condition that the banknote object is matched with the triggered sensor event information, calculating the data such as the inclination, the angle, the width and the banknote spacing of the banknote according to the sensor event information, and analyzing the travelling form of the banknote, so that the financial terminal can monitor and adjust the banknote movement process according to the banknote form, and the probability of banknote clamping caused by the form problems such as excessive inclination is reduced.
In one embodiment, when the banknote enters the previous node, the banknote object corresponding to the banknote is added to the end of the first queue of the manager of the current node, including: when the paper currency enters the previous node and the current node has the same-level node, adding the paper currency object corresponding to the paper currency to the end of the first queue of the manager of the current node and all the same-level nodes.
When the transaction path is branched and corresponds to different tail nodes respectively, the paper money enters one node, and the paper money objects corresponding to the paper money are added at the tail of the first queue of the corresponding lower node manager, so that the paper money can be selected to enter a channel corresponding to any lower node; when the paper currency is distributed into one of the lower nodes, the paper currency objects corresponding to the paper currency in other lower node managers are deleted, so that the uniqueness of the paper currency transaction path is ensured.
As shown in fig. 3, there is provided a banknote information management apparatus including:
the acquiring module 10 is configured to acquire a transaction path of a banknote at a financial terminal, where a plurality of nodes are preset on the transaction path;
a construction module 20, configured to construct an individual manager corresponding to each node, where 3 queues are preset in the manager, where the queues are used to store banknote objects, the banknote objects are used to associate sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager;
the first processing module 30 is configured to add a banknote object corresponding to the banknote to the end of the first queue of the manager of the current node when the banknote enters the previous node;
a second processing module 40, configured to remove a first banknote object of a first queue of the current node manager and add the first banknote object to an end of a second queue in the manager of the current node when the banknote enters the current node;
a third processing module 50 for removing the first banknote object of the second queue of the current node manager and adding to the end of the third queue in the manager of the current node when the banknote leaves the current node.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: when the current node is the first node, acquiring information of the paper currency entering the current node, constructing a paper currency object associated with the paper currency information, and adding the paper currency object to the end of a second queue of a manager of the current node.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: and when the paper money enters the current node and the current node has the same-level node, removing a first paper money object in a first queue in the manager of the current node and all the same-level nodes of the current node, and adding the paper money object to the tail end of a second queue in the manager of the current node.
In one embodiment, the method further comprises: when an abnormal situation is detected, acquiring related data of the abnormal situation; determining an object to be adjusted and a corresponding position according to the related data of the abnormal condition; and carrying out adjustment operation on the adjustment objects at the corresponding positions so as to enable each banknote object to be matched with the corresponding triggered sensor event information.
In one embodiment, the determining the object and the corresponding position to be adjusted according to the related data of the abnormal situation further includes: when the situation of the tension of the double paper money is detected, determining a new paper money object to be added according to abnormal paper money movement data, and determining the corresponding position of the newly detected paper money in the queue; the adjusting operation is performed on the adjusting object at the corresponding position, and the method further comprises the following steps: and constructing a new banknote object at the corresponding position so as to enable the newly detected banknote to be matched with the sensor event information triggered by the new banknote.
In one embodiment, the method further comprises: and when the paper currency triggers a sensor event each time, extracting all sensor event information triggered correspondingly by the paper currency, and analyzing the form of the paper currency according to the sensor event information.
In one embodiment, when the banknote enters the previous node, the banknote object corresponding to the banknote is added to the end of the first queue of the manager of the current node, including: when the paper currency enters the last node and the current node has the same-level node, adding the paper currency object corresponding to the paper currency to the end of the first queue of the manager of the current node and all the same-level nodes.
FIG. 4 illustrates an internal block diagram of a computer device in one embodiment. As shown in fig. 4, the computer device includes a processor, a memory, and a network interface connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by the processor, causes the processor to implement a banknote information management method. The internal memory may also store a computer program which, when executed by the processor, causes the processor to execute the banknote information management method. Those skilled in the art will appreciate that the structures shown in FIG. 4 are block diagrams only and do not constitute a limitation of the computer device on which the present aspects apply, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is presented comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring a transaction path of paper money on a financial terminal, wherein a plurality of nodes are preset on the transaction path; constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager; when the paper money enters the previous node, adding a paper money object corresponding to the paper money to the end of a first queue of a manager of the current node; when the paper money enters the current node, removing a first paper money object of a first queue of the manager of the current node and adding the first paper money object to the tail end of a second queue in the manager of the current node; when the banknote leaves the current node, removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: when the current node is the first node, acquiring information of the paper currency entering the current node, constructing a paper currency object associated with the paper currency information, and adding the paper currency object to the end of a second queue of a manager of the current node.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: and when the paper money enters the current node and the current node has the same-level node, removing a first paper money object in a first queue in the manager of the current node and all the same-level nodes of the current node, and adding the paper money object to the tail end of a second queue in the manager of the current node.
In one embodiment, the method further comprises: when an abnormal situation is detected, acquiring related data of the abnormal situation; determining an object to be adjusted and a corresponding position according to the related data of the abnormal condition; and carrying out adjustment operation on the adjustment objects at the corresponding positions so as to enable each banknote object to be matched with the corresponding triggered sensor event information.
In one embodiment, the determining the object and the corresponding position to be adjusted according to the related data of the abnormal situation further includes: when the situation of the tension of the double paper money is detected, determining a new paper money object to be added according to abnormal paper money movement data, and determining the corresponding position of the newly detected paper money in the queue; the adjusting operation is performed on the adjusting object at the corresponding position, and the method further comprises the following steps: and constructing a new banknote object at the corresponding position so as to enable the newly detected banknote to be matched with the sensor event information triggered by the new banknote.
In one embodiment, the method further comprises: and when the paper currency triggers a sensor event each time, extracting all sensor event information triggered correspondingly by the paper currency, and analyzing the form of the paper currency according to the sensor event information.
In one embodiment, when the banknote enters the previous node, the banknote object corresponding to the banknote is added to the end of the first queue of the manager of the current node, including: when the paper currency enters the last node and the current node has the same-level node, adding the paper currency object corresponding to the paper currency to the end of the first queue of the manager of the current node and all the same-level nodes.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring a transaction path of paper money on a financial terminal, wherein a plurality of nodes are preset on the transaction path; constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, and the sensor event information is stored in the manager; when the paper money enters the previous node, adding a paper money object corresponding to the paper money to the end of a first queue of a manager of the current node; when the paper money enters the current node, removing a first paper money object of a first queue of the manager of the current node and adding the first paper money object to the tail end of a second queue in the manager of the current node; when the banknote leaves the current node, removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: when the current node is the first node, acquiring information of the paper currency entering the current node, constructing a paper currency object associated with the paper currency information, and adding the paper currency object to the end of a second queue of a manager of the current node.
In one embodiment, when the banknote enters the current node, the first banknote object of the first queue of the manager of the current node is removed and added to the end of the second queue in the manager of the current node, and the method further comprises: and when the paper money enters the current node and the current node has the same-level node, removing a first paper money object in a first queue in the manager of the current node and all the same-level nodes of the current node, and adding the paper money object to the tail end of a second queue in the manager of the current node.
In one embodiment, the method further comprises: when an abnormal situation is detected, acquiring related data of the abnormal situation; determining an object to be adjusted and a corresponding position according to the related data of the abnormal condition; and carrying out adjustment operation on the adjustment objects at the corresponding positions so as to enable each banknote object to be matched with the corresponding triggered sensor event information.
In one embodiment, the determining the object and the corresponding position to be adjusted according to the related data of the abnormal situation further includes: when the situation of the tension of the double paper money is detected, determining a new paper money object to be added according to abnormal paper money movement data, and determining the corresponding position of the newly detected paper money in the queue; the adjusting operation is performed on the adjusting object at the corresponding position, and the method further comprises the following steps: and constructing a new banknote object at the corresponding position so as to enable the newly detected banknote to be matched with the sensor event information triggered by the new banknote.
In one embodiment, the method further comprises: and when the paper currency triggers a sensor event each time, extracting all sensor event information triggered correspondingly by the paper currency, and analyzing the form of the paper currency according to the sensor event information.
In one embodiment, when the banknote enters the previous node, the banknote object corresponding to the banknote is added to the end of the first queue of the manager of the current node, including: when the paper currency enters the last node and the current node has the same-level node, adding the paper currency object corresponding to the paper currency to the end of the first queue of the manager of the current node and all the same-level nodes.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A banknote information management method, the method comprising:
acquiring a transaction path of paper money on a financial terminal, wherein a plurality of nodes are preset on the transaction path;
constructing an independent manager corresponding to each node, wherein 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, the sensor event information is stored in the manager, the banknote objects refer to data objects pointing to the corresponding banknote and are used for identifying legal identities of the banknote in the transaction process, and the banknote objects are constructed when the banknote enters the first node;
when the paper money enters the previous node, adding a paper money object corresponding to the paper money to the end of a first queue of a manager of the current node;
when the paper money enters the current node, removing a first paper money object of a first queue of the manager of the current node and adding the first paper money object to the tail end of a second queue in the manager of the current node;
when the banknote leaves the current node, removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node.
2. The method of claim 1, wherein when the banknote enters the current node, removing a first banknote object of a first queue of the current node manager and adding to an end of a second queue of the manager of the current node, further comprising:
when the current node is the first node, acquiring information of the paper currency entering the current node, constructing a paper currency object associated with the paper currency information, and adding the paper currency object to the end of a second queue of a manager of the current node.
3. The method of claim 2, wherein when the banknote enters the current node, removing a first banknote object of a first queue of the current node manager and adding to an end of a second queue of the manager of the current node, further comprising:
and when the paper money enters the current node and the current node has the same-level node, removing a first paper money object in a first queue in the manager of the current node and all the same-level nodes of the current node, and adding the paper money object to the tail end of a second queue in the manager of the current node.
4. The banknote information management method according to claim 1, wherein the method further comprises:
when an abnormal situation is detected, acquiring related data of the abnormal situation;
determining an object to be adjusted and a corresponding position according to the related data of the abnormal condition;
and carrying out adjustment operation on the adjustment objects at the corresponding positions so as to enable each banknote object to be matched with the corresponding triggered sensor event information.
5. The method according to claim 4, wherein the determining the object and the corresponding position to be adjusted based on the data related to the abnormal situation further comprises:
when the situation of the tension of the double paper money is detected, determining a new paper money object to be added according to abnormal paper money movement data, and determining the corresponding position of the newly detected paper money in the queue;
the adjusting operation is performed on the adjusting object at the corresponding position, and the method further comprises the following steps:
and constructing a new banknote object at the corresponding position so as to enable the newly detected banknote to be matched with the sensor event information triggered by the new banknote.
6. The banknote information management method according to claim 1, wherein the method further comprises:
and when the paper currency triggers a sensor event each time, extracting all sensor event information triggered correspondingly by the paper currency, and analyzing the form of the paper currency according to the sensor event information.
7. The method according to claim 2, wherein adding a banknote object corresponding to the banknote to the end of the manager first queue of the current node when the banknote enters the previous node, comprises:
when the paper currency enters the last node and the current node has the same-level node, adding the paper currency object corresponding to the paper currency to the end of the first queue of the manager of the current node and all the same-level nodes.
8. A banknote information management device, the device comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a transaction path of paper money at a financial terminal, and a plurality of nodes are preset on the transaction path;
the construction module is used for constructing an independent manager corresponding to each node, 3 queues are preset in the manager, the queues are used for storing banknote objects, the banknote objects are used for associating sensor event information triggered by the banknote in the node, the sensor event information is stored in the manager, the banknote objects refer to data objects pointing to the corresponding banknote and are used for identifying legal identity of the banknote in the transaction process, and the banknote objects are constructed when the banknote enters the first node;
the first processing module is used for adding the banknote object corresponding to the banknote to the end of the first queue of the manager of the current node when the banknote enters the previous node;
the second processing module is used for removing a first banknote object of a first queue of the current node manager and adding the first banknote object to the tail of a second queue in the manager of the current node when the banknote enters the current node;
and the third processing module is used for removing the first banknote object of the second queue of the current node manager and adding the first banknote object to the end of the third queue in the manager of the current node when the banknote leaves the current node.
9. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any one of claims 1 to 7.
10. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 7.
CN202011637840.0A 2020-12-31 2020-12-31 Banknote information management method, banknote information management device, banknote information management storage medium, and computer device Active CN113256877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011637840.0A CN113256877B (en) 2020-12-31 2020-12-31 Banknote information management method, banknote information management device, banknote information management storage medium, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011637840.0A CN113256877B (en) 2020-12-31 2020-12-31 Banknote information management method, banknote information management device, banknote information management storage medium, and computer device

Publications (2)

Publication Number Publication Date
CN113256877A CN113256877A (en) 2021-08-13
CN113256877B true CN113256877B (en) 2024-02-02

Family

ID=77180705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011637840.0A Active CN113256877B (en) 2020-12-31 2020-12-31 Banknote information management method, banknote information management device, banknote information management storage medium, and computer device

Country Status (1)

Country Link
CN (1) CN113256877B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067807A (en) * 2001-08-29 2003-03-07 Hitachi Ltd Automatic machine
CN1707999A (en) * 2004-05-03 2005-12-14 汤姆森许可公司 Distributed management of a certificate revocation list
CN101599190A (en) * 2008-06-05 2009-12-09 日立欧姆龙金融系统有限公司 Bill handling device and method
CN103942873A (en) * 2013-01-21 2014-07-23 日立欧姆龙金融系统有限公司 Paper currency handling device and paper currency detection method
CN105096444A (en) * 2014-05-22 2015-11-25 浙江大学 Banknote identification instrument image acquisition and data processing method and circuit
CN105745675A (en) * 2013-11-29 2016-07-06 联邦快递服务公司 Methods and systems for managing shipment of an item using a wireless node network
CN106484542A (en) * 2016-09-06 2017-03-08 华为技术有限公司 The method and apparatus of overlapping nodes event in a kind of process distributed system
CN106779925A (en) * 2016-12-01 2017-05-31 武汉票据交易中心有限公司 A kind of many people's agreed-upon price mthods, systems and devices of bill
CN109189595A (en) * 2018-09-17 2019-01-11 深圳怡化电脑股份有限公司 Event-handling method, device, equipment and medium based on server
KR20190016289A (en) * 2017-08-08 2019-02-18 기산전자 주식회사 Method of remotely controlling bill counter
CN110738497A (en) * 2019-12-19 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device, node equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070110024A1 (en) * 2005-11-14 2007-05-17 Cisco Technology, Inc. System and method for spanning tree cross routes

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067807A (en) * 2001-08-29 2003-03-07 Hitachi Ltd Automatic machine
CN1707999A (en) * 2004-05-03 2005-12-14 汤姆森许可公司 Distributed management of a certificate revocation list
CN101599190A (en) * 2008-06-05 2009-12-09 日立欧姆龙金融系统有限公司 Bill handling device and method
CN103942873A (en) * 2013-01-21 2014-07-23 日立欧姆龙金融系统有限公司 Paper currency handling device and paper currency detection method
CN105745675A (en) * 2013-11-29 2016-07-06 联邦快递服务公司 Methods and systems for managing shipment of an item using a wireless node network
CN105096444A (en) * 2014-05-22 2015-11-25 浙江大学 Banknote identification instrument image acquisition and data processing method and circuit
CN106484542A (en) * 2016-09-06 2017-03-08 华为技术有限公司 The method and apparatus of overlapping nodes event in a kind of process distributed system
CN106779925A (en) * 2016-12-01 2017-05-31 武汉票据交易中心有限公司 A kind of many people's agreed-upon price mthods, systems and devices of bill
KR20190016289A (en) * 2017-08-08 2019-02-18 기산전자 주식회사 Method of remotely controlling bill counter
CN109189595A (en) * 2018-09-17 2019-01-11 深圳怡化电脑股份有限公司 Event-handling method, device, equipment and medium based on server
CN110738497A (en) * 2019-12-19 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device, node equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
自动售票机纸币处理模块的设计与实现;江宇浩 等;《计算机应用》;230-233 *

Also Published As

Publication number Publication date
CN113256877A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN108306864B (en) Network data detection method and device, computer equipment and storage medium
US10261967B2 (en) Data extraction
US9014419B2 (en) Valuable document identification method and identification system thereof
CN105405221A (en) Method and device for automated test
CN109829640A (en) Recognition methods, device, computer equipment and the storage medium of enterprise's default risk
CN108985741B (en) Automatic query tracking method for capital flow of police platform
CN113256877B (en) Banknote information management method, banknote information management device, banknote information management storage medium, and computer device
CN110084606A (en) Risk control method, device, computer equipment and storage medium
CN107844714A (en) A kind of verification method and device, computer installation, readable storage medium storing program for executing
CN109711301A (en) Driver's checking method, device, computer equipment and storage medium
CN109460995A (en) Financial accreditation method, apparatus, computer equipment and storage medium
CN109617755B (en) Acceptance method and device of access system
CN113256904B (en) Self-service financial terminal control method, device, terminal and readable medium
CN114510589A (en) Enterprise financial data entry method and device and electronic equipment
CN112632330A (en) Method and device for routing inspection of ATM equipment, computer equipment and storage medium
CN109559232A (en) Transaction data processing method, device, computer equipment and storage medium
Ural et al. An EFSM-based passive fault detection approach
CN113192252B (en) Method, device, equipment and readable medium for detecting note duplicate
CN110569240B (en) Data storage method and device, computer equipment and storage medium
CN115587898B (en) Financial data secure sharing method and system based on cloud service
CN114553588B (en) Internet financial data protection method and server based on artificial intelligence
CN106407159A (en) Index verification method capable of reducing test sample size
CN113435517B (en) Abnormal data point output method, device, computer equipment and storage medium
CN105405220A (en) Method and device for automated test
CN111383027A (en) Account case-involved detection 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