CN116304176B - Real-time data center table-based processing method and processing system - Google Patents

Real-time data center table-based processing method and processing system Download PDF

Info

Publication number
CN116304176B
CN116304176B CN202310564676.2A CN202310564676A CN116304176B CN 116304176 B CN116304176 B CN 116304176B CN 202310564676 A CN202310564676 A CN 202310564676A CN 116304176 B CN116304176 B CN 116304176B
Authority
CN
China
Prior art keywords
user
bank
equipment
time period
node
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
CN202310564676.2A
Other languages
Chinese (zh)
Other versions
CN116304176A (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 University of Finance and Economics
Jiangsu Suning Bank Co Ltd
Original Assignee
Nanjing University of Finance and Economics
Jiangsu Suning Bank 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 University of Finance and Economics, Jiangsu Suning Bank Co Ltd filed Critical Nanjing University of Finance and Economics
Priority to CN202310564676.2A priority Critical patent/CN116304176B/en
Publication of CN116304176A publication Critical patent/CN116304176A/en
Application granted granted Critical
Publication of CN116304176B publication Critical patent/CN116304176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/732Query formulation
    • G06F16/7335Graphical querying, e.g. query-by-region, query-by-sketch, query-by-trajectory, GUIs for designating a person/face/object as a query predicate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a processing method and a processing system based on a real-time data center, wherein video data are acquired according to first acquisition equipment of each bank equipment to obtain a plurality of sub video data, an identification area is determined, and a second acquisition equipment acquires and judges images. The user in the identification area collects a first moment, and the user leaves the identification area to collect a second moment, so that a plurality of interception time periods are obtained for intercepting sub-video data, and compressed video data are obtained. And numbering the user information to obtain user numbering information, initializing a data mapping list, constructing a device column, a time column and a user column, and generating a current data mapping list. Extracting bank equipment information generating equipment nodes of equipment columns, intercepting time period information generating time period nodes, and generating user nodes when user number information of user columns exists. And constructing a bank node, connecting each equipment node with the bank node to generate a data structure tree, and synchronously storing the compressed video data based on the data structure tree.

Description

Real-time data center table-based processing method and processing system
Technical Field
The invention relates to the technical field of data processing, in particular to a processing method and a processing system based on a real-time data center.
Background
The development speed of social informatization is always kept at a high level, and banking industry is used as the leading faucet industry, and large-scale information technology engineering construction is always carried out. Bank data synchronization is an important ring in information technology engineering construction, wherein the synchronization of video data in bank data synchronization is particularly important.
The bank deposit and withdrawal device needs to shoot a large amount of video data every day, wherein the video data contains effective data for user to conduct deposit and withdrawal business transaction and invalid data in unmanned operation. In the prior art, video data of all time periods are generally stored synchronously, and the data are stored in a database in a large amount, so that a large amount of storage space is occupied, and meanwhile, the prior art cannot be combined with user attributes to assist a worker in carrying out quick data analysis on the synchronous data.
Therefore, how to filter and synchronize the bank data and combine the user attribute to assist the staff to perform quick data analysis on the synchronized data becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a processing method and a processing system based on a real-time data center, which can be used for filtering and synchronizing bank data by combining acquisition equipment at different positions and assisting a worker in carrying out rapid data analysis on the synchronized data by combining user attributes.
In a first aspect of an embodiment of the present invention, a processing method based on a real-time data center is provided, including:
acquiring video data in real time according to a first acquisition device at each bank device to obtain a plurality of sub video data corresponding to each bank device, determining an identification area corresponding to each bank device, and acquiring a judgment image containing each identification area in real time based on a second acquisition device;
acquiring a first moment when a user exists in an identification area based on the judging image, acquiring a second moment when the user leaves the identification area, acquiring a plurality of interception time periods corresponding to each bank device according to the first moment and the second moment, and intercepting corresponding sub-video data according to a plurality of interception time period sets to acquire compressed video data corresponding to each bank device;
identifying and numbering user information in each piece of compressed video data to obtain user numbering information, initializing a data mapping list, and vertically and sequentially constructing a device column for filling bank device information, a time column for filling interception time period information and a user column for filling user numbering information in the data mapping list to generate a current data mapping list;
Extracting bank equipment information generating equipment nodes of equipment columns in the current data mapping list, extracting interception time period information of time columns in the current data mapping list, generating time period nodes connected with the corresponding equipment nodes, extracting user number information of user columns in the current data mapping list, and generating user nodes connected with the corresponding time period nodes based on the same user number information when the same user number information exists;
and constructing a bank node, connecting each equipment node with the bank node, generating a data structure tree, and synchronously storing the compressed video data based on the data structure tree.
In one possible implementation manner of the first aspect, optionally,
the step of acquiring a first moment when a user exists in the identification area based on the judgment image, and acquiring a second moment when the user leaves the identification area, and acquiring a plurality of intercepting time periods corresponding to the banking equipment according to the first moment and the second moment, wherein the method comprises the steps of:
carrying out coordinate processing on the judging images, classifying coordinate points of the identification areas corresponding to the banking equipment, and obtaining an identification area coordinate set corresponding to each identification area;
Acquiring current pixel values corresponding to coordinate points in each identification area coordinate set, comparing the current pixel values of the identification area coordinate sets with a preset pixel value interval, and taking the judgment image as a first judgment image if the current pixel values are not in the preset pixel value interval;
counting a plurality of continuous first judgment images as a first set, acquiring a shooting moment corresponding to a first judgment image in the first set as a first moment, and acquiring a shooting moment corresponding to a last first judgment image in the first set as a second moment;
and obtaining a plurality of intercepting time periods corresponding to the banking equipment according to the corresponding first time and second time.
In one possible implementation manner of the first aspect, optionally,
intercepting the corresponding sub-video data according to a plurality of intercepting time period sets to obtain compressed video data corresponding to each bank device, wherein the method comprises the following steps:
counting a plurality of interception time periods corresponding to each bank device to obtain an interception time period set corresponding to each bank device;
extracting a time axis of sub video data of each bank device, determining a start video frame of a corresponding moment on the time axis according to a first moment in the intercepting time period set, and determining an end video frame of a corresponding moment on the time axis according to a second moment in the intercepting time period set;
Intercepting the sub-video data based on the corresponding initial video frame and the corresponding end video frame to obtain a plurality of compressed video data corresponding to each bank device.
In one possible implementation manner of the first aspect, optionally,
the identifying and numbering the user information in each compressed video data to obtain user numbering information includes:
obtaining a first user number according to the number of the compressed video data corresponding to each bank device;
identifying the facial features of the users in the compressed video data to obtain facial features of the users corresponding to the compressed video data, and classifying the same facial features of the users to obtain a plurality of user sets;
counting the total number of the facial features of the users in each user set to obtain the number of the removed users, and counting the number of the user sets to obtain the number of the supplementary users;
obtaining a second user number based on the first user number, the reject user number and the supplement user number;
and generating a corresponding number of feature random codes according to the second user number, and numbering the facial features of each user based on the feature random codes to obtain user numbering information, wherein the feature random codes corresponding to the facial features of the same user are consistent.
In one possible implementation manner of the first aspect, optionally,
initializing a data mapping list, vertically constructing a device column for filling bank device information, a time column for filling interception time period information and a user column for filling user number information in the data mapping list in sequence, and generating a current data mapping list, wherein the method comprises the following steps of:
initializing a data mapping list, obtaining the number of interception time periods corresponding to each bank device, and constructing a corresponding number of time columns corresponding to each bank device in a second column of the data mapping list based on the number of interception time periods;
determining a row span according to the number of time columns corresponding to each bank device, and constructing a device column corresponding to each bank device in a first column of the data mapping list based on the row span;
and determining the number of user columns according to the number of time columns corresponding to each bank device, constructing the user columns corresponding to each time column in the third column of the data mapping list based on the number of the user columns, and generating a current data mapping list.
In one possible implementation manner of the first aspect, optionally,
when the same user number information exists, generating the user node connected with the corresponding time period node based on the same user number information, comprising:
When the same user number information exists, generating corresponding user nodes based on the same user number information;
counting all time period nodes corresponding to the user nodes, determining the time period node positions on two sides of all time period nodes as a first positioning point and a second positioning point, and connecting the first positioning point with the second positioning point to obtain a positioning line;
acquiring a midpoint of the positioning line as a third positioning point, constructing a reference line perpendicular to the positioning line downwards based on the third positioning point, arranging the user node at a first distance from the reference line to the positioning line, and deleting the positioning line and the reference line after the user node is positioned at the reference line;
and connecting the user node with the corresponding time period node.
In one possible implementation manner of the first aspect, optionally,
after the user node is located at the reference line, further comprising:
if there are other user nodes at the reference line, the respective said user node is arranged at a second distance below the other user nodes.
In one possible implementation manner of the first aspect, optionally,
Synchronously storing the compressed video data based on the data structure tree, including:
acquiring storage paths corresponding to the compressed video data, and generating a plurality of link paths based on the storage paths;
counting a plurality of link paths corresponding to the bank nodes to generate a bank path set, counting a link path generating device path set corresponding to the device node, counting a link path generating time period path set corresponding to the time period node, and counting a link path generating user path set corresponding to the user node;
and binding the bank path set with the bank node correspondingly, binding the equipment path set with the equipment node correspondingly, binding the time period path set with the time period node correspondingly, binding the user path set with the user node correspondingly, and synchronously storing the compressed video data.
In one possible implementation manner of the first aspect, optionally,
the construction of the banking node, the connection of the equipment nodes and the banking node, the generation of a data structure tree, and the synchronous storage of the compressed video data based on the data structure tree, further comprises:
Acquiring the duration of a plurality of intercepting time periods corresponding to each bank device in a preset time period, obtaining the device use duration, obtaining the total device use duration based on the device use duration, and calculating according to the total device use duration and the preset duration to obtain a use duration influence coefficient;
counting the actual sub-access quantity of each bank device in a preset time period, obtaining an actual total access quantity based on the actual sub-access quantity of each bank device, and comparing the actual total access quantity with the preset total access quantity to obtain an access quantity influence coefficient;
performing fusion calculation on the using time length influence coefficient and the access volume influence coefficient to obtain a first evaluation coefficient, and performing calculation on the basis of the first evaluation coefficient and the current bank equipment quantity to obtain equipment supplementing quantity;
the first evaluation coefficient and the device replenishment amount are calculated by the following formula,
wherein ,for the first evaluation coefficient, +.>For the upper limit value of the number of banking devices, +.>Is->The first banking device is used for a period of time corresponding to the first banking device and is used for a period of time corresponding to the first banking device>For a preset time length, < >>For duration influencing factors>Is->The bank equipment corresponding actual sub-access quantity in the preset time period,/for each bank equipment >For the preset total access amount->For the access volume influencing factor +.>Supplement the device with->The number of the current banking equipment;
and generating reminding information according to the equipment supplement quantity and sending the reminding information to a management end.
In a second aspect of the embodiment of the present invention, there is provided a processing system based on a real-time data center, including:
the system comprises an acquisition unit, a first acquisition unit and a second acquisition unit, wherein the acquisition unit acquires video data in real time according to first acquisition equipment at each bank equipment to obtain a plurality of sub video data corresponding to each bank equipment, determines an identification area corresponding to each bank equipment, and acquires a judgment image containing each identification area in real time based on second acquisition equipment;
the intercepting unit is used for acquiring a first moment when a user exists in the identification area based on the judging image, acquiring a second moment when the user leaves the identification area, acquiring a plurality of intercepting time periods corresponding to the bank equipment according to the first moment and the second moment, and intercepting the corresponding sub-video data according to a plurality of intercepting time period sets to acquire compressed video data corresponding to the bank equipment;
the construction unit is used for identifying and numbering the user information in each piece of compressed video data to obtain user numbering information, initializing a data mapping list, and vertically and sequentially constructing an equipment column for filling bank equipment information, a time column for filling interception time period information and a user column for filling user numbering information in the data mapping list to generate a current data mapping list;
A connection unit for extracting bank equipment information generating equipment nodes of equipment columns in the current data mapping list, extracting interception time period information of time columns in the current data mapping list, generating time period nodes connected with the corresponding equipment nodes, extracting user number information of user columns in the current data mapping list, and generating user nodes connected with the corresponding time period nodes based on the same user number information when the same user number information exists;
and the storage unit is used for constructing a bank node, connecting each equipment node with the bank node, generating a data structure tree, and synchronously storing the compressed video data based on the data structure tree.
In a third aspect of embodiments of the present invention, there is provided a storage medium having stored therein a computer program for implementing the method of the first aspect and the various possible designs of the first aspect when the computer program is executed by a processor.
According to the technical scheme provided by the invention, the video data to be intercepted corresponding to each device is obtained through the first acquisition device positioned at a first angle (for example, the first acquisition device is arranged at each bank device), then the intercepting time period of only a user corresponding to each video data to be intercepted is obtained through the second acquisition device positioned at a second angle (the identification area at all bank deposit and withdrawal devices can be shot), the intercepting time period is utilized to intercept the corresponding video data to be intercepted, and useless video data is removed, so that filtered bank data is obtained, and the storage space of the bank data during synchronization is reduced. In addition, the scheme can classify the intercepted video data, builds a data mapping list and a data structure tree to conduct data carding and displaying, and assists workers to conduct rapid data analysis on synchronous data by combining user attributes.
According to the technical scheme provided by the invention, when the intercepting time period is obtained, the real-time judgment is carried out by combining the judgment strategy and the identification areas positioned at the deposit and withdrawal devices of each bank, so that the intercepting time period with only the user is obtained, the image acquired by the second acquisition device is subjected to the coordinated processing in the process, whether the user exists or not is judged by combining the change of the pixel value in the identification area, and the first moment when the corresponding user exists and the second moment when the user leaves are accurately and automatically obtained by combining the judgment moment.
According to the technical scheme provided by the invention, in the process of classifying and carding the data, the classification processing of videos is carried out on different users, in the process, facial features of the users are identified, and then the number corresponding to the videos of the users is generated by utilizing the number after identification, wherein in the process of obtaining the number, the scheme can be combined with the total number of the users and the rejection number of the same users to obtain the supplementary number of one user. Thereby obtaining the corresponding accurate number of each user. After the numbers are obtained, the scheme can also classify the same data for the users with the same numbers. It is worth mentioning that the face recognition of the user does not need to recognize personal information of the user, only needs to compare the recognized face data to judge whether the user is the same user, and the number of the user and the classification of the same user data can be realized while the data processing amount is reduced.
The technical scheme provided by the invention is that the data mapping list is initialized, and a current data mapping list is constructed and set according to the facial feature data information of the banking equipment and the user and the intercepting time period. The method and the device locate row spans corresponding to the bank equipment and the number of user bars corresponding to the user bars according to the number of video time periods. Because the corresponding row span and the corresponding number of user columns of the banking equipment are built on the basis of the number of intercepting time periods. Therefore, the time column corresponding to the interception time period is constructed in the second column. And constructing the span of the equipment columns and the number of the user columns by utilizing one data base of the time column, so that the data in different dimensions can be mutually corresponding.
According to the technical scheme provided by the invention, the bank node is constructed according to the information of the bank, the equipment node, the time period node and the user node are sequentially constructed according to the equipment column, the time column and the user column in the current data mapping list, and the nodes are correspondingly connected in sequence to construct a data structure tree. The staff can directly view and retrieve the data of the user nodes corresponding to the same user number information intuitively and efficiently according to the data structure tree, so that the staff is assisted in carrying out rapid data analysis on the synchronous data by combining the user attributes. The present solution requires locating the locations of the user nodes in order to make the locations between the corresponding nodes relatively moderate while making the data structure tree look relatively balanced. The scheme can adopt a mode of left-right positioning and up-down positioning for matching positioning. First, the scheme can position the user node at the left and right positions. Combining the first locating point of the head part and the second locating point of the tail part of the time period node to obtain a locating line, and arranging a reference line according to the midpoint of the locating line to obtain a third locating point positioned at the first distance of the midpoint of the locating line. In a second step, it is determined whether there are duplicate user nodes present in this location. And if so, the user nodes at the same position are subjected to adjustment of the up-down distance. The above positioning enables the user nodes to be located in the structure tree in a balanced manner. The whole structure tree is balanced, and the staff is more intuitively assisted in data analysis of the synchronous data. After the data structure tree is obtained, the scheme is used for further facilitating the analysis of the data by the user. The video storage path corresponding to the node is bound. In the binding process, the scheme can be used for configuring the associated data by combining the attribute of the node, so that the associated data can be called by combining the requirements of staff. .
Drawings
FIG. 1 is a flow chart of a first embodiment of a real-time data-based processing method;
FIG. 2 is a schematic diagram of a processing system based on a real-time data center station;
FIG. 3 is a schematic diagram of a data structure tree.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, 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.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein.
It should be understood that, in various embodiments of the present invention, the sequence number of each process does not mean that the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present invention, "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements that are expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present invention, "plurality" means two or more. "and/or" is merely an association relationship describing an association object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. "comprising A, B and C", "comprising A, B, C" means that all three of A, B, C comprise, "comprising A, B or C" means that one of the three comprises A, B, C, and "comprising A, B and/or C" means that any 1 or any 2 or 3 of the three comprises A, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponding to B", or "B corresponding to a" means that B is associated with a, from which B can be determined. Determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information. The matching of A and B is that the similarity of A and B is larger than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection" depending on the context.
The technical scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
The invention provides a processing method based on a real-time data center, as shown in fig. 1, which specifically comprises the following steps:
step S1, acquiring video data in real time according to first acquisition equipment at each bank equipment to obtain a plurality of sub video data corresponding to each bank equipment, determining an identification area corresponding to each bank equipment, and acquiring a judgment image containing each identification area in real time based on second acquisition equipment;
The technical scheme provided by the invention can be provided with a scene of correspondingly placing the automatic teller machine, wherein the bank equipment can be the bank automatic teller machine, and the bank data can be the monitoring data corresponding to the bank automatic teller machine.
The first collection device may be a camera mounted on the deposit and withdrawal device, i.e. a camera having a first angle. The video data of the user at each bank deposit and withdrawal device can be collected in real time according to the camera on the bank deposit and withdrawal device. It can be appreciated that there are typically multiple bank depositing and dispensing devices in each area where the atm is located, so it is understood that the sub-video data may be monitoring data corresponding to each bank depositing and dispensing device for each user.
The identification area is an area preset by a worker in front of the bank deposit and withdrawal device, the area is generally marked in a round shape or a rectangular shape by using colors (such as red and the like) convenient to identify, and a user can stand in the area to operate the bank deposit and withdrawal device. The second acquisition equipment is a total camera which is arranged in the area of the bank for storing the bank deposit and withdrawal equipment and can shoot each bank deposit and withdrawal equipment, and the second acquisition equipment can be used for acquiring a judging image containing an identification area before each bank deposit and withdrawal equipment in real time. The judging image is an image represented by a preset area containing the identification area in front of the bank deposit and withdrawal device, and the function of the judging image is mainly to judge whether a user is operating the bank deposit and withdrawal device in the identification area. It should be noted that the depositing and withdrawing device in this scheme is open, not in the form of a glass house, otherwise it will affect the judgment of the user.
The second collection device is different from the first collection device in that the first collection device only collects and stores video of a user using the bank deposit and withdrawal device, and sub-video is obtained. And the second acquisition device can locate the time period when the user exists, so that the device usage attributes of the first acquisition device and the second acquisition device are different to a certain extent.
S2, acquiring a first moment when a user exists in an identification area based on the judging image, acquiring a second moment when the user leaves the identification area, acquiring a plurality of interception time periods corresponding to the bank equipment according to the first moment and the second moment, and intercepting the corresponding sub-video data according to a plurality of interception time period sets to acquire compressed video data corresponding to the bank equipment;
according to the technical scheme provided by the invention, the second acquisition device judges whether the user is operating in the identification area in front of the bank deposit and withdrawal device based on the judgment image. If the user is in the identification area according to the judgment image, the second acquisition device acquires the first moment of the user in the identification area. The first moment is the initial time when the user enters the identification area. And a second moment is acquired when the user leaves the identification area. The second moment is the last time when the user leaves the identification area. And obtaining the intercepting time period corresponding to each bank deposit and withdrawal device when each user uses according to the initial time when the user enters the identification area and the final time when the user leaves the identification area. The intercepting time period is the time period when each user uses the bank deposit and withdrawal device.
It can be known that each bank deposit and withdrawal device has a plurality of users to use, and then each bank device corresponds to the intercepting time period of the plurality of users. And summarizing the intercepting time periods of a plurality of users corresponding to each bank device to obtain a intercepting time period set corresponding to each bank device. The second acquisition equipment intercepts sub-video data corresponding to the intercepting time periods of a plurality of users in each bank equipment according to the intercepting time period set corresponding to each bank equipment, and compressed video data corresponding to each bank equipment is obtained.
And compressing video data, namely, video data when each user corresponding to each bank device performs operation and use. Blank video data recorded without user operation has been deleted from the compressed video data. The user compresses the sub video data of the bank equipment, so that the compressed video data is obtained, and the function of reducing the data storage capacity of the bank database is realized. When the staff later-stage needs to call the video data of a certain user, the staff is not required to watch blank video data which are not shot any more, so that the video data of the target user can be found more conveniently and rapidly, and the overall working efficiency of the bank is improved.
In one possible implementation manner, in step S2 (a first time is acquired when a user exists in the identification area based on the determination image, and a second time is acquired when the user leaves the identification area, and a plurality of interception time periods corresponding to each bank device are obtained according to the first time and the second time), the method specifically includes the following steps S21-S24, which specifically include:
s21, carrying out coordinate processing on the judging images, classifying coordinate points of the identification areas corresponding to the banking equipment, and obtaining an identification area coordinate set corresponding to each identification area;
according to the technical scheme provided by the invention, the judgment image is subjected to coordinated processing to obtain the coordinate points corresponding to the front identification areas of each bank device, and the coordinate points corresponding to the front identification areas of each bank device are classified to obtain the identification area set corresponding to the front identification areas of each bank device.
Step S22, obtaining current pixel values corresponding to coordinate points in each identification area coordinate set, comparing the current pixel values of the identification area coordinate sets with a preset pixel value interval, and taking the judgment image as a first judgment image if the current pixel values are not in the preset pixel value interval;
According to the technical scheme provided by the invention, the current pixel value corresponding to each coordinate point in the coordinate set of the identification area in front of each bank device is obtained. The current pixel value is the RGB value of the current moment of each coordinate point in the coordinate set of the identification area. The preset pixel value interval is an RGB value interval which is manually preset for each coordinate point in the coordinate set of the identification area, and is generally set to be an RGB value interval which is convenient to identify, so that the subsequent second acquisition equipment can be used for judging whether a user operates each bank equipment or not.
And comparing the current pixel value of the coordinate set of the identification area corresponding to each bank device with a preset pixel value interval. And if the current pixel value is not in the preset pixel value interval, marking the judgment image corresponding to the bank equipment as a first judgment image. The first judgment image is the judgment image used by a user for operating the bank equipment. The first judgment image has the effect that the bank equipment can be known that the user is currently performing the use operation according to the first judgment image. The first judgment image is different from the judgment image in that the inside of the first judgment image is someone.
Step S23, counting a plurality of continuous first judgment images as a first set, acquiring a shooting moment corresponding to a first judgment image in the first set as a first moment, and acquiring a shooting moment corresponding to a last first judgment image in the first set as a second moment;
according to the technical scheme provided by the invention, in an actual scene, a user can place the bank deposit and withdrawal device in a bank for use operation continuously, and meanwhile, the user can leave after the use is finished continuously. And when the second acquisition equipment acquires that the user exists in the judgment image, marking the judgment image as a first judgment image. When a user enters an identification area in front of a certain bank device and operates the bank device, the second acquisition device counts a plurality of first judgment images of the user continuously operating the bank device as a first set. The first set contains each image of each user using a banking device.
In a specific embodiment, when the second collecting device collects the identification area of the judging image of one bank device, the user a operates in the identification area for the first second at a certain moment, and then one hundred continuous first judging images exist until the user a operates in the identification area for one hundred seconds. And when the user A finishes using for one hundred and one second, the second acquisition equipment finds that no person exists in the identification area of the bank equipment, judges that the image is interrupted, and indicates that the user A walks in the identification area of the bank equipment. User B may have continued to operate the banking device ten seconds later. The same is repeated for all the first judgment images of the user B. Each user corresponds to a respective first set.
It can be known that different banking devices respectively judge judging images only belonging to own devices. The judgment is carried out separately. If all the banking devices in the bank are people, the banking devices respectively acquire the first judging images of the device, and the first judging images are not interfered with each other and are not interfered with each other. For example, the bank device a may be a first judgment image acquired starting at one hundred and one ten seconds at a certain moment, and the bank device B may be a first judgment image acquired starting at seventy seconds at a certain moment, the first judgment images acquired by the two bank devices being different and different users. The first set corresponds to each banking device because it is for determining the time period in which the user corresponding to each banking device exists. For example, three banking devices are all present at the same time, then there are three first sets, but the points in time corresponding to the three first sets are not the same.
Acquiring a first judging image in the first set, and determining the initial moment when the second acquisition equipment shoots that the user enters the identification area as a first moment according to the first judging image. And acquiring the last first judgment image in the first set, and determining the ending moment of the second acquisition equipment when the user leaves the identification area as the second moment according to the last first judgment image.
And step S24, obtaining a plurality of intercepting time periods corresponding to the banking equipment according to the corresponding first time and second time.
According to the technical scheme provided by the invention, a plurality of intercepting time periods corresponding to a plurality of users of each bank equipment can be obtained according to the first moment when the users enter the identification area and the second moment when the users leave the identification area. The intercepting time period is the time period when each user uses the bank deposit and withdrawal device.
In one possible implementation manner, in step S2 (capturing the corresponding sub-video data according to the plurality of capturing period sets to obtain the compressed video data corresponding to each bank device), the technical scheme provided by the present invention specifically includes the following steps S25 to S27, which are specifically as follows:
step S25, counting a plurality of interception time periods corresponding to the banking equipment to obtain an interception time period set corresponding to the banking equipment;
according to the technical scheme provided by the invention, the intercepting time periods corresponding to each user in each bank device are counted when the user operates and uses the intercepting time periods, so that the intercepting time period set corresponding to each bank device is obtained.
Step S26, extracting a time axis of sub video data of each bank device, determining a start video frame of a corresponding moment on the time axis according to a first moment in the intercepting time period set, and determining an end video frame of a corresponding moment on the time axis according to a second moment in the intercepting time period set;
According to the technical scheme provided by the invention, the time axis in the video data corresponding to each user is extracted according to the video data collected in real time by each user performing the use operation in each bank deposit and withdrawal device. For example, the time axis of the user a operating the banking apparatus a is extracted to be 2022, 1 month, 1 day, 10:00 am to 10:15 am from the sub-video data of the user a having used the banking apparatus a.
Marking the first moment of the interception time period corresponding to each user in the interception time period set according to the interception time period set corresponding to each bank device, and determining the initial video frame of the corresponding moment on the time axis. And the initial video frame is the first frame of video picture in the corresponding judgment image identification area before the user enters a certain bank device. Marking the second moment of the interception time period corresponding to each user in the interception time period set, and determining the tail video frame of the corresponding moment on the time axis. And the last video frame is the last frame of video picture in the corresponding judgment image identification area before the user leaves a certain bank device.
And step S27, intercepting the sub-video data based on the corresponding initial video frame and the corresponding tail video frame to obtain a plurality of compressed video data corresponding to each bank device.
According to the technical scheme provided by the invention, the video data of each user performing the use operation, which are acquired in real time in each bank device, are intercepted according to the initial video frame in the corresponding judgment image identification area before the user enters a certain bank device and the end video frame in the corresponding judgment image identification area before the user leaves a certain bank device, so as to obtain a plurality of compressed video data corresponding to a plurality of users in each bank device.
Step S3, identifying and numbering user information in each compressed video data to obtain user numbering information, initializing a data mapping list, and vertically and sequentially constructing an equipment column for filling bank equipment information, a time column for filling interception time period information and a user column for filling user numbering information in the data mapping list to generate a current data mapping list;
according to the technical scheme provided by the invention, the user information in each compressed video data corresponding to each user in each bank equipment is identified and numbered, and the user label information is obtained. User information, namely facial features of each user. The user numbering information is information which is randomly numbered according to the facial features of each user, and is mainly used for sorting and distinguishing a plurality of users using a certain banking device.
A data mapping list is manually preset, the data mapping list is initialized, and a device column for filling bank device information, a time column for filling interception time period information and a user column for filling user number information are sequentially constructed in the data mapping list according to a vertical direction. The banking device information is information representing each banking device. The interception time period information is information representing the interception time period corresponding to each user. Sequentially filling the equipment column, the time column and the user column into a preset data mapping list to generate a current data mapping list.
In one possible implementation manner, in step S3 (identifying and numbering the user information in each compressed video data to obtain the user numbering information), the technical solution provided in the present invention specifically includes the following steps S31-S35, which specifically includes the following steps:
step S31, obtaining the number of first users according to the number of the compressed video data corresponding to each bank device;
according to the technical scheme provided by the invention, the quantity of the compressed video data corresponding to each bank equipment is counted and summed to obtain the first user quantity. The first user number is the total number of users corresponding to the used banking equipment after the user number of each banking equipment is added up. In general, how many users use one banking device will generate how many compressed video data, and therefore, the number of first users of the banking devices is counted according to the number of compressed video data of each banking device.
Step S32, identifying the facial features of the users in the compressed video data to obtain the facial features of the users corresponding to the compressed video data, and classifying the same facial features of the users to obtain a plurality of user sets;
according to the technical scheme provided by the invention, the facial features of the user in each compressed video data corresponding to each user in each bank device are identified, and the facial features of the user corresponding to each compressed video data are obtained.
In one particular embodiment, it is possible that a user uses a banking device too many times during a day or time period and the banking device used is not the same, then the facial features of the user may have been identified many times. At the same time, there may be multiple users who use the banking device similarly, so that the identified facial features of the same user need to be categorized to obtain multiple user sets.
For example, user a and user b have paid twice and user b has deposited three times during the day. Then user a has two identical user facial features and user b has three identical user facial features. After statistics, only user A and user B have the same facial features on the same day, and then there are two user sets on the same day.
Step S33, counting the total number of the facial features of the users in each user set to obtain the number of removed users, and counting the number of the user sets to obtain the number of complementary users;
according to the technical scheme provided by the invention, the number of the same user facial feature data in each user set is counted, and the total number of the user facial features is obtained by adding the number of the same user facial feature data in each set. And obtaining the number of the removed users according to the total number of the facial features of the users. And counting a plurality of user sets to obtain the set number of the user sets, and obtaining the supplementary user number according to the set number of the user sets.
For example, there are 2 user sets, user a and user b, respectively. The A user set has 2 user facial features identical to those of the A user, and the B user set has 3 user facial features identical to those of the B user. The total number of facial features of the user is 5 after addition. And the total number of facial features of the user is 5. The number of user sets is 2, and the corresponding number of supplementary users is 2.
Step S34, obtaining a second user number based on the first user number, the reject user number and the supplement user number;
The technical scheme provided by the invention is that the first user quantity is subtracted from the reject user quantity and then the supplement user quantity is added to obtain the second user quantity. The second user number is the corresponding user number after deleting the same facial feature data corresponding to the users who repeatedly transact business on the banking equipment. That is, some users use the banking apparatus several times, recognize a plurality of user facial feature data of the same person, and after calculation, the second user number only includes the total number of users having different user facial feature data.
And step S35, generating a corresponding number of feature random codes according to the number of the second users, and numbering the facial features of each user based on the feature random codes to obtain user numbering information, wherein the feature random codes corresponding to the same facial features of the users are consistent.
According to the technical scheme provided by the invention, the characteristic random code corresponding to the number of the users is generated according to the second number of the users. The feature random code is a random digital code generated according to different facial features of different users. For example, one hundred users generate 1, 2, 3 … 100 signature random codes, respectively. And numbering the facial features corresponding to each user according to the feature random codes to obtain user numbering information. The user numbering information is information which is randomly numbered according to the facial features of each user, and is mainly used for sorting and distinguishing a plurality of users using a certain banking device.
Wherein, the random codes of the features corresponding to the facial features of the same user are consistent. For example, the 2 user sets are a first user set and a second user set corresponding to the first user and the second user, respectively. The A user set has 2 user facial features identical to those of the A user, and the B user set has 3 user facial features identical to those of the B user. Let the feature random code representing user a be 1 and the feature random code representing user b be 2. Then the feature random codes of the facial features of the 2 users in the A user set are all 1, and the feature random codes of the facial features of the 3 users in the B user set are all 2.
In a possible implementation manner, in step S3 (initializing a data mapping list, vertically and sequentially constructing an equipment column for filling bank equipment information, a time column for filling interception time period information, and a user column for filling user number information in the data mapping list to generate a current data mapping list), the method specifically includes the following steps S36-S38, which are specifically as follows:
step S36, initializing a data mapping list, obtaining the number of interception time periods corresponding to each bank device, and constructing a corresponding number of time columns corresponding to each bank device in a second column of the data mapping list based on the number of interception time periods;
According to the technical scheme provided by the invention, a data mapping list is manually preset, and the data mapping list is initialized. Acquiring the number of interception time periods corresponding to each bank device, and constructing a corresponding number of time columns corresponding to each bank device in a second column vertical to the data mapping list according to the number of interception time periods. For example, the bank equipment a corresponds to 10 interception periods, and then the number of interception periods is 10. There are 10 time slots corresponding to banking device a.
Step S37, determining a row span according to the number of time columns corresponding to each bank device, and constructing a device column corresponding to each bank device in the first column of the data mapping list based on the row span;
according to the technical scheme provided by the invention, the row span is determined according to the number of time columns corresponding to each bank device. The row span is how wide each bank equipment horizontal list corresponds to and needs to occupy a few rows. And constructing a device column corresponding to each bank device in the first column of the data mapping list according to the row span corresponding to each bank device. For example, the number of time columns corresponding to the bank equipment A is 10, then in the first column of the data mapping list, the bank equipment A needs to reserve a line span of 10 lines, and after the first column of the data mapping list frames 10 lines, the same kind of items are combined, and the corresponding equipment information of the bank equipment A is filled into the corresponding equipment columns.
Step S38, determining the number of user fields according to the number of time fields corresponding to each bank device, and constructing the user fields corresponding to each time field in the third column of the data mapping list based on the number of user fields to generate a current data mapping list.
According to the technical scheme provided by the invention, the number of guardrails is determined according to the number of time bars corresponding to each bank equipment. It can be known how many users are in each bank device during the intercepting period, so the number of user columns corresponding to the users is determined according to the number of time columns corresponding to the intercepting period. And vertically constructing user columns corresponding to the time columns in the third column of the data mapping list according to the number of the guardrails. Sequentially filling the equipment column, the time column and the user column into a preset data mapping list to generate a current data mapping list.
S4, extracting bank equipment information generating equipment nodes of equipment columns in the current data mapping list, extracting interception time period information of time columns in the current data mapping list, generating time period nodes connected with the corresponding equipment nodes, extracting user number information of user columns in the current data mapping list, and generating user nodes connected with the corresponding time period nodes based on the same user number information when the same user number information exists;
According to the technical scheme provided by the invention, the bank equipment information corresponding to each bank equipment in the equipment column in the current data mapping list is extracted, and the equipment nodes are generated. Extracting the intercepting time period information corresponding to each user of the time column in the current data mapping list, generating a time period node, and connecting the time period node with a device node corresponding to each bank device. Extracting user number information of a user column in the current data mapping list, and when the same user number information exists, connecting time period nodes corresponding to the same user number information to generate user nodes corresponding to the same user number information. The device node, the time period node and the user node are mainly convenient for subsequent data structure tree acquisition.
In a possible implementation manner, as shown in fig. 3, in step S4 (when the same user number information exists, generating the user node connected with the corresponding time period node based on the same user number information), the method specifically includes the following steps S41-S44, which are specifically as follows:
step S41, when the same user number information exists, generating corresponding user nodes based on the same user number information;
According to the technical scheme provided by the invention, when the same user number exists, the user node corresponding to the same user number information is generated.
Step S42, counting all time period nodes corresponding to the user nodes, determining the time period node positions on two sides of all time period nodes as a first positioning point and a second positioning point, and connecting the first positioning point and the second positioning point to obtain a positioning line;
according to the technical scheme provided by the invention, all time period nodes corresponding to the same user number information are counted. And after statistics, determining the number and the positions of all the time segment nodes, marking the time segment node positioned at the leftmost side in all the time segment nodes as a first positioning point, and marking the time segment node positioned at the rightmost side in all the time segment nodes as a second positioning point. And connecting the first positioning point with the second positioning point to obtain a positioning line. The positioning line is convenient for positioning the position of the user node subsequently.
Step S43, obtaining the midpoint of the positioning line as a third positioning point, constructing a reference line perpendicular to the positioning line downwards based on the third positioning point, arranging the user node at a first distance from the reference line to the positioning line, and deleting the positioning line and the reference line after the user node is positioned at the reference line;
According to the technical scheme provided by the invention, the midpoint of the positioning line is marked as a third positioning point after being acquired, and a reference line perpendicular to the positioning line is drawn downwards along the third positioning point. The user node is arranged on the reference line at a first distance from the positioning line. The first distance is a manually preset distance. After the user node is located on the reference line, the location line and the reference line are deleted in sequence. The method has the advantages that the user nodes are positioned more accurately, and user nodes corresponding to the same user number information can be found intuitively and accurately.
And step S44, connecting the user node with the corresponding time period node.
According to the technical scheme provided by the invention, the located user nodes are connected with all time period nodes corresponding to the same user number information.
In a possible implementation manner, in step S43 (after the user node is located at the reference line), the technical solution provided in the present invention specifically includes the following step S431, which specifically includes the following steps:
s431, if there are other user nodes at the reference line, arranging the corresponding user nodes at a second distance below the other user nodes.
According to the technical scheme provided by the invention, if the user nodes corresponding to other same user number information exist at the reference line perpendicular to the positioning line, the user nodes are arranged at a second distance below other user nodes along the reference line. The second distance is a manually preset distance which is extended downwards on the basis of the first distance. The function of setting the second distance is to avoid overlapping of user nodes corresponding to two different users respectively, so that the different user nodes cannot be intuitively positioned.
And S5, constructing a bank node, connecting each equipment node with the bank node, generating a data structure tree, and synchronously storing the compressed video data based on the data structure tree.
According to the technical scheme provided by the invention, each bank has a corresponding number of bank devices, so that a corresponding bank node is constructed on the basis of the device node corresponding to each bank device. According to the bank information corresponding to the bank nodes, the related information of different bank devices corresponding to different banks can be accurately fetched. And connecting the bank node with the equipment node, connecting the equipment node with the corresponding time period node, and connecting the time period node with the user node corresponding to the same user number information to generate a data structure tree.
The data structure tree has the function that the data can be directly and intuitively fetched by staff to the user nodes corresponding to the same user number information according to the data structure tree. And synchronously storing the compressed video data corresponding to each user according to the data structure tree.
In one possible implementation manner, in step S5 (the compressed video data is synchronously stored based on the data structure tree), the technical scheme provided by the present invention specifically includes the following steps S51 to S53, which are specifically as follows:
step S51, obtaining storage paths corresponding to the compressed video data, and generating a plurality of link paths based on the storage paths;
according to the technical scheme provided by the invention, the storage path corresponding to the compressed video data of each user is acquired. The storage path corresponding to the compressed video data is the path for storing the compressed video data. And generating a plurality of corresponding link paths according to the storage paths of the compressed video data of each user. Clicking the corresponding link path can check the compressed video data corresponding to each user according to the storage path of the compressed video data of each user.
Step S52, counting a plurality of link paths corresponding to the bank nodes to generate a bank path set, counting a link path corresponding to the equipment node to generate an equipment path set, counting a link path corresponding to the time period node to generate a time period path set, and counting a link path corresponding to the user node to generate a user path set;
According to the technical scheme provided by the invention, a plurality of link paths corresponding to the bank nodes are counted to generate a bank path set. The bank path set includes link paths corresponding to the bank nodes representing the banks. And counting the link paths corresponding to the equipment nodes to generate an equipment path set. The device path set includes a link path corresponding to a device node representing each banking device. And counting the link paths corresponding to the user nodes to generate a user path set. The user path set includes link paths corresponding to user nodes each having the same user number information.
Step S53, binding the bank path set and the bank node correspondingly, binding the equipment path set and the equipment node correspondingly, binding the time period path set and the time period node correspondingly, binding the user path set and the user node correspondingly, and synchronously storing the compressed video data.
According to the technical scheme provided by the invention, the bank path set and the bank node are correspondingly bound. Clicking a link path corresponding to a bank node in the bank path set, and checking the related information of the bank corresponding to the bank node.
And setting the device path set and the device node in a binding mode. Clicking a link path corresponding to the equipment node in the equipment path set, and checking the related information of the bank equipment corresponding to the equipment node.
And setting the time slot path set and the time slot node in a binding mode. Clicking a link path corresponding to a time segment node in the time segment path set, and checking related information of the intercepted time segment corresponding to the time segment node.
And setting the binding of the user path set and the user node. Clicking a link path corresponding to the user node in the user path set, and checking the related information of the user with the same user number information corresponding to the user node.
And synchronously storing the compressed video data corresponding to each user according to the bank path set, the equipment path set, the time period path set and the user path set after binding setting.
In one possible implementation manner, after step S5 (a banking node is constructed, and each equipment node is connected with the banking node to generate a data structure tree, and compressed video data is synchronously stored based on the data structure tree), the method specifically includes the following steps S54-S57, which are specifically as follows:
Step S54, obtaining the duration of a plurality of intercepting time periods corresponding to each bank device in a preset time period, obtaining the device use duration, obtaining the total device use duration based on the device use durations, and calculating according to the total device use duration and the preset time duration to obtain a use duration influence coefficient;
the technical scheme provided by the invention has the advantages that the preset time period is the preset time period, and the data related to the banking equipment is mainly convenient for staff to count in the time period.
Each interception time period corresponds to the duration of operation when each user uses a certain bank device. And acquiring the duration of a plurality of intercepting time periods corresponding to each bank device in a preset time period, and sequentially adding the acquired duration to obtain the using duration of each bank device. The time length when the equipment is used is the actual time length used by a certain bank equipment corresponding to a plurality of users in a preset time period.
And adding the equipment use time periods corresponding to each bank equipment in the bank in sequence, so that the total equipment use time period of all the bank equipment in the bank can be obtained. The total equipment use duration is the actual total duration used by all users corresponding to all bank equipment in a preset time period.
For example, three bank depositing and dispensing devices are A, B, C. In one day, 6 users use the A device, and the duration of a plurality of interception time periods corresponding to the A device is 15min, 10min, 7min, 13min, 11min and 14min respectively, so that the duration of the interception time periods corresponding to the six users is sequentially added and calculated to obtain the 1h10min of the A device when the A device is used. In addition, in the same day, a total of 14 users used the B device and a total of 37 users used the C device. The method sequentially calculates that the equipment using sub-time length of the equipment B is 3h15min and the equipment using sub-time length of the equipment C is 7h20min. And sequentially adding the using time lengths of the corresponding devices of the A, B, C devices to obtain the total using time length of the devices of all the devices in the bank, wherein the total using time length of the devices is 11h45min.
And calculating the total using time length and the preset time length of the equipment to obtain the using time length influence coefficient. The preset time length is the preset operation time length of the bank equipment, and is convenient for the subsequent comparison with the total time length of the equipment. The time length influence coefficient has the main effect that a coefficient related to the operation time length dimension is calculated, so that an evaluation coefficient is conveniently calculated by combining the coefficient with other coefficients, and the quantity required to be added by the banking equipment is determined.
Step S55, counting the actual sub-access quantity of each bank device in a preset time period, obtaining an actual total access quantity based on the actual sub-access quantity of each bank device, and comparing the actual total access quantity with a preset total access quantity to obtain an access quantity influence coefficient;
according to the technical scheme provided by the invention, the actual sub-access amount of each bank device in the preset time period is counted. The actual sub-access amount is the number of users which are specifically operated and used by each banking device. And adding the actual sub-access amounts of each bank device in sequence to obtain the actual total access amount of all the bank devices in the bank. The actual total access amount is the number of users which are specifically operated and used by all banking equipment.
And calculating the actual total access quantity and the preset total access quantity to obtain an access quantity influence coefficient. The preset total access quantity is the preset total access quantity of users of all bank equipment, and is convenient for subsequent comparison with the actual total access quantity. The effect of the access volume influence coefficient is that a coefficient related to the dimension of the access volume of the user is calculated, so that an evaluation coefficient is conveniently calculated by combining the coefficient with other coefficients to determine the quantity required to be added by the banking equipment.
S56, carrying out fusion calculation on the using time length influence coefficient and the access quantity influence coefficient to obtain a first evaluation coefficient, and carrying out calculation on the basis of the first evaluation coefficient and the current bank equipment quantity to obtain equipment supplementing quantity;
according to the technical scheme provided by the invention, the use time length influence coefficient and the access quantity influence coefficient are fused and calculated to obtain the first evaluation coefficient. And the first evaluation coefficient is the evaluation coefficient for determining how many banking devices need to be added. The first evaluation coefficient has the main effect that whether the banking equipment can meet the use requirement of a user is comprehensively calculated according to the use condition of the banking equipment in a preset time period, and the efficiency of handling banking business of the user is improved by increasing the number of the banking equipment. And obtaining the quantity of the banking equipment in the bank at the current moment, and multiplying the first evaluation coefficient by the quantity of the banking equipment at the current moment to obtain the equipment supplementing quantity. The equipment replenishment quantity is the quantity which needs to be added for the banking equipment.
The first evaluation coefficient and the device replenishment amount are calculated by the following formula,
wherein ,for the first evaluation coefficient, +.>For the upper limit value of the number of banking devices, +.>Is->The bank equipment is used for a long time in a preset time period when the corresponding equipment is used >For a preset time length, < >>For duration influencing factors>Is->The bank equipment corresponding actual sub-access quantity in the preset time period,/for each bank equipment>For the preset total access amount->For the access volume influencing factor +.>Supplement the device with->The number of the current banking equipment;
the technical proposal provided by the invention uses the equipment corresponding to each bank equipment in the bank for a long timeSequentially adding to obtain total equipment use duration of all bank equipment in the bank>. Total duration of device use +.>And a preset time length->Divided by the duration influencing factor +.>Adjusting to obtain the influence coefficient of the service life. Duration influencing factor->May be preset by a worker.
Actual sub-access amount of each bank equipmentSequentially adding to obtain the actual total access quantity of all banking devices in the bank>. Actual total access +.>And preset total access amount->Dividing, influencing factors by access volumeAdjusting to obtain access volume influence coefficient +.>. Access volume influencing factor->Is preset by human.
Duration influence coefficientInfluence coefficient with access volume->Multiplying to obtain a first evaluation coefficient->. First evaluation coefficient->Is +. >The value obtained after multiplication is taken up as an integer to obtain the device supplementing amount +.>
Total duration of device useAnd the actual total access +.>Respectively with the first evaluation coefficient->Proportional to the ratio. When the device is used for total duration +.>And the actual total access +.>The larger the corresponding first evaluation coefficientThe larger; conversely, when the device is used for a total length of time +.>And the actual total access +.>The smaller the corresponding first evaluation coefficient +.>The smaller.
And step S57, generating reminding information according to the equipment supplement quantity and sending the reminding information to a management end.
According to the technical scheme provided by the invention, the reminding information which cannot meet the use requirement of the user is generated according to the equipment supplement quantity, and the reminding information is sent to the management end. After receiving the management information, the staff establishes a scheme for adding the banking equipment.
In order to implement the processing method based on the real-time data center, the invention also provides a processing system based on the real-time data center, as shown in fig. 2, the system structure diagram comprises:
the system comprises an acquisition unit, a first acquisition unit and a second acquisition unit, wherein the acquisition unit acquires video data in real time according to first acquisition equipment at each bank equipment to obtain a plurality of sub video data corresponding to each bank equipment, determines an identification area corresponding to each bank equipment, and acquires a judgment image containing each identification area in real time based on second acquisition equipment;
The intercepting unit is used for acquiring a first moment when a user exists in the identification area based on the judging image, acquiring a second moment when the user leaves the identification area, acquiring a plurality of intercepting time periods corresponding to the bank equipment according to the first moment and the second moment, and intercepting the corresponding sub-video data according to a plurality of intercepting time period sets to acquire compressed video data corresponding to the bank equipment;
the construction unit is used for identifying and numbering the user information in each piece of compressed video data to obtain user numbering information, initializing a data mapping list, and vertically and sequentially constructing an equipment column for filling bank equipment information, a time column for filling interception time period information and a user column for filling user numbering information in the data mapping list to generate a current data mapping list;
a connection unit for extracting bank equipment information generating equipment nodes of equipment columns in the current data mapping list, extracting interception time period information of time columns in the current data mapping list, generating time period nodes connected with the corresponding equipment nodes, extracting user number information of user columns in the current data mapping list, and generating user nodes connected with the corresponding time period nodes based on the same user number information when the same user number information exists;
And the storage unit is used for constructing a bank node, connecting each equipment node with the bank node, generating a data structure tree, and synchronously storing the compressed video data based on the data structure tree.
The present invention also provides a storage medium having stored therein a computer program for implementing the methods provided by the various embodiments described above when executed by a processor.
The storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). In addition, the ASIC may reside in a user device. The processor and the storage medium may reside as discrete components in a communication device. The storage medium may be read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tape, floppy disk, optical data storage device, etc.
The present invention also provides a program product comprising execution instructions stored in a storage medium. The at least one processor of the device may read the execution instructions from the storage medium, the execution instructions being executed by the at least one processor to cause the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the terminal or the server, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (9)

1. A method for processing a base station based on real-time data, comprising:
acquiring video data in real time according to a first acquisition device at each bank device to obtain a plurality of sub video data corresponding to each bank device, determining an identification area corresponding to each bank device, and acquiring a judgment image containing each identification area in real time based on a second acquisition device;
acquiring a first moment when a user exists in an identification area based on the judging image, acquiring a second moment when the user leaves the identification area, acquiring a plurality of interception time periods corresponding to each bank device according to the first moment and the second moment, and intercepting corresponding sub-video data according to a plurality of interception time period sets to acquire compressed video data corresponding to each bank device;
identifying and numbering user information in each piece of compressed video data to obtain user numbering information, initializing a data mapping list, and vertically and sequentially constructing a device column for filling bank device information, a time column for filling interception time period information and a user column for filling user numbering information in the data mapping list to generate a current data mapping list;
Extracting bank equipment information generating equipment nodes of equipment columns in the current data mapping list, extracting interception time period information of time columns in the current data mapping list, generating time period nodes connected with the corresponding equipment nodes, extracting user number information of user columns in the current data mapping list, and generating user nodes connected with the corresponding time period nodes based on the same user number information when the same user number information exists;
constructing a bank node, connecting each equipment node with the bank node, generating a data structure tree, and synchronously storing compressed video data based on the data structure tree;
the construction of the banking node, the connection of the equipment nodes and the banking node, the generation of a data structure tree, and the synchronous storage of the compressed video data based on the data structure tree, further comprises:
acquiring the duration of a plurality of intercepting time periods corresponding to each bank device in a preset time period, obtaining the device use duration, obtaining the total device use duration based on the device use duration, and calculating according to the total device use duration and the preset duration to obtain a use duration influence coefficient;
Counting the actual sub-access quantity of each bank device in a preset time period, obtaining an actual total access quantity based on the actual sub-access quantity of each bank device, and comparing the actual total access quantity with the preset total access quantity to obtain an access quantity influence coefficient;
performing fusion calculation on the using time length influence coefficient and the access volume influence coefficient to obtain a first evaluation coefficient, and performing calculation on the basis of the first evaluation coefficient and the current bank equipment quantity to obtain equipment supplementing quantity;
the first evaluation coefficient and the device replenishment amount are calculated by the following formula,
wherein ,for the first evaluation coefficient, +.>For the upper limit value of the number of banking devices, +.>Is->The bank equipment is used for a long time in a preset time period when the corresponding equipment is used>For a preset time length, < >>For duration influencing factors>Is->The bank equipment corresponding actual sub-access quantity in the preset time period,/for each bank equipment>For the preset total access amount->For the access volume influencing factor +.>Supplement the device with->For the current banking equipmentNumber of pieces;
and generating reminding information according to the equipment supplement quantity and sending the reminding information to a management end.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the step of acquiring a first moment when a user exists in the identification area based on the judgment image, and acquiring a second moment when the user leaves the identification area, and acquiring a plurality of intercepting time periods corresponding to the banking equipment according to the first moment and the second moment, wherein the method comprises the steps of:
Carrying out coordinate processing on the judging images, classifying coordinate points of the identification areas corresponding to the banking equipment, and obtaining an identification area coordinate set corresponding to each identification area;
acquiring current pixel values corresponding to coordinate points in each identification area coordinate set, comparing the current pixel values of the identification area coordinate sets with a preset pixel value interval, and taking the judgment image as a first judgment image if the current pixel values are not in the preset pixel value interval;
counting a plurality of continuous first judgment images as a first set, acquiring a shooting moment corresponding to a first judgment image in the first set as a first moment, and acquiring a shooting moment corresponding to a last first judgment image in the first set as a second moment;
and obtaining a plurality of intercepting time periods corresponding to the banking equipment according to the corresponding first time and second time.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
intercepting the corresponding sub-video data according to a plurality of intercepting time period sets to obtain compressed video data corresponding to each bank device, wherein the method comprises the following steps:
Counting a plurality of interception time periods corresponding to each bank device to obtain an interception time period set corresponding to each bank device;
extracting a time axis of sub video data of each bank device, determining a start video frame of a corresponding moment on the time axis according to a first moment in the intercepting time period set, and determining an end video frame of a corresponding moment on the time axis according to a second moment in the intercepting time period set;
intercepting the sub-video data based on the corresponding initial video frame and the corresponding end video frame to obtain a plurality of compressed video data corresponding to each bank device.
4. The method of claim 3, wherein the step of,
the identifying and numbering the user information in each compressed video data to obtain user numbering information includes:
obtaining a first user number according to the number of the compressed video data corresponding to each bank device;
identifying the facial features of the users in the compressed video data to obtain facial features of the users corresponding to the compressed video data, and classifying the same facial features of the users to obtain a plurality of user sets;
counting the total number of the facial features of the users in each user set to obtain the number of the removed users, and counting the number of the user sets to obtain the number of the supplementary users;
Obtaining a second user number based on the first user number, the reject user number and the supplement user number;
and generating a corresponding number of feature random codes according to the second user number, and numbering the facial features of each user based on the feature random codes to obtain user numbering information, wherein the feature random codes corresponding to the facial features of the same user are consistent.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
initializing a data mapping list, vertically constructing a device column for filling bank device information, a time column for filling interception time period information and a user column for filling user number information in the data mapping list in sequence, and generating a current data mapping list, wherein the method comprises the following steps of:
initializing a data mapping list, obtaining the number of interception time periods corresponding to each bank device, and constructing a corresponding number of time columns corresponding to each bank device in a second column of the data mapping list based on the number of interception time periods;
determining a row span according to the number of time columns corresponding to each bank device, and constructing a device column corresponding to each bank device in a first column of the data mapping list based on the row span;
And determining the number of user columns according to the number of time columns corresponding to each bank device, constructing the user columns corresponding to each time column in the third column of the data mapping list based on the number of the user columns, and generating a current data mapping list.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
when the same user number information exists, generating the user node connected with the corresponding time period node based on the same user number information, comprising:
when the same user number information exists, generating corresponding user nodes based on the same user number information;
counting all time period nodes corresponding to the user nodes, determining the time period node positions on two sides of all time period nodes as a first positioning point and a second positioning point, and connecting the first positioning point with the second positioning point to obtain a positioning line;
acquiring a midpoint of the positioning line as a third positioning point, constructing a reference line perpendicular to the positioning line downwards based on the third positioning point, arranging the user node at a first distance from the reference line to the positioning line, and deleting the positioning line and the reference line after the user node is positioned at the reference line;
And connecting the user node with the corresponding time period node.
7. The method of claim 6, wherein the step of providing the first layer comprises,
after the user node is located at the reference line, further comprising:
if there are other user nodes at the reference line, the respective said user node is arranged at a second distance below the other user nodes.
8. The method of claim 7, wherein synchronously storing compressed video data based on the data structure tree comprises:
acquiring storage paths corresponding to the compressed video data, and generating a plurality of link paths based on the storage paths;
counting a plurality of link paths corresponding to the bank nodes to generate a bank path set, counting a link path generating device path set corresponding to the device node, counting a link path generating time period path set corresponding to the time period node, and counting a link path generating user path set corresponding to the user node;
and binding the bank path set with the bank node correspondingly, binding the equipment path set with the equipment node correspondingly, binding the time period path set with the time period node correspondingly, binding the user path set with the user node correspondingly, and synchronously storing the compressed video data.
9. A real-time data center based processing system, comprising:
the system comprises an acquisition unit, a first acquisition unit and a second acquisition unit, wherein the acquisition unit acquires video data in real time according to first acquisition equipment at each bank equipment to obtain a plurality of sub video data corresponding to each bank equipment, determines an identification area corresponding to each bank equipment, and acquires a judgment image containing each identification area in real time based on second acquisition equipment;
the intercepting unit is used for acquiring a first moment when a user exists in the identification area based on the judging image, acquiring a second moment when the user leaves the identification area, acquiring a plurality of intercepting time periods corresponding to the bank equipment according to the first moment and the second moment, and intercepting the corresponding sub-video data according to a plurality of intercepting time period sets to acquire compressed video data corresponding to the bank equipment;
the construction unit is used for identifying and numbering the user information in each piece of compressed video data to obtain user numbering information, initializing a data mapping list, and vertically and sequentially constructing an equipment column for filling bank equipment information, a time column for filling interception time period information and a user column for filling user numbering information in the data mapping list to generate a current data mapping list;
A connection unit for extracting bank equipment information generating equipment nodes of equipment columns in the current data mapping list, extracting interception time period information of time columns in the current data mapping list, generating time period nodes connected with the corresponding equipment nodes, extracting user number information of user columns in the current data mapping list, and generating user nodes connected with the corresponding time period nodes based on the same user number information when the same user number information exists;
the storage unit is used for constructing a bank node, connecting each equipment node with the bank node, generating a data structure tree, and synchronously storing the compressed video data based on the data structure tree;
constructing a bank node, connecting each equipment node with the bank node, generating a data structure tree, and synchronously storing the compressed video data based on the data structure tree, wherein the method further comprises the following steps:
acquiring the duration of a plurality of intercepting time periods corresponding to each bank device in a preset time period, obtaining the device use duration, obtaining the total device use duration based on the device use duration, and calculating according to the total device use duration and the preset duration to obtain a use duration influence coefficient;
Counting the actual sub-access quantity of each bank device in a preset time period, obtaining an actual total access quantity based on the actual sub-access quantity of each bank device, and comparing the actual total access quantity with the preset total access quantity to obtain an access quantity influence coefficient;
performing fusion calculation on the using time length influence coefficient and the access volume influence coefficient to obtain a first evaluation coefficient, and performing calculation on the basis of the first evaluation coefficient and the current bank equipment quantity to obtain equipment supplementing quantity;
the first evaluation coefficient and the device replenishment amount are calculated by the following formula,
wherein ,for the first evaluation coefficient, +.>For the upper limit value of the number of banking devices, +.>Is->The bank equipment is used for a long time in a preset time period when the corresponding equipment is used>For a preset time length, < >>For duration influencing factors>Is->The bank equipment corresponding actual sub-access quantity in the preset time period,/for each bank equipment>For the preset total access amount->For the access volume influencing factor +.>Supplement the device with->The number of the current banking equipment;
and generating reminding information according to the equipment supplement quantity and sending the reminding information to a management end.
CN202310564676.2A 2023-05-19 2023-05-19 Real-time data center table-based processing method and processing system Active CN116304176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310564676.2A CN116304176B (en) 2023-05-19 2023-05-19 Real-time data center table-based processing method and processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310564676.2A CN116304176B (en) 2023-05-19 2023-05-19 Real-time data center table-based processing method and processing system

Publications (2)

Publication Number Publication Date
CN116304176A CN116304176A (en) 2023-06-23
CN116304176B true CN116304176B (en) 2023-08-22

Family

ID=86836321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310564676.2A Active CN116304176B (en) 2023-05-19 2023-05-19 Real-time data center table-based processing method and processing system

Country Status (1)

Country Link
CN (1) CN116304176B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116993372B (en) * 2023-09-26 2024-01-05 江苏移动信息系统集成有限公司 Data processing method and platform system based on 5G industrial Internet

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594534A (en) * 2009-06-19 2009-12-02 中国科学院软件研究所 A kind of method for quickly detecting compressed video POI
CN101710978A (en) * 2009-11-23 2010-05-19 北京中星微电子有限公司 Video recording control method and video recording control device for ATM video monitoring
CN106412687A (en) * 2015-07-27 2017-02-15 腾讯科技(深圳)有限公司 Interception method and device of audio and video clips
CN108419145A (en) * 2018-05-04 2018-08-17 腾讯科技(深圳)有限公司 The generation method and device and computer readable storage medium of a kind of video frequency abstract
CN109151546A (en) * 2018-08-28 2019-01-04 维沃移动通信有限公司 A kind of method for processing video frequency, terminal and computer readable storage medium
US10535146B1 (en) * 2018-07-16 2020-01-14 Accel Robotics Corporation Projected image item tracking system
CN113128288A (en) * 2019-12-31 2021-07-16 深圳云天励飞技术有限公司 Monitoring method and related product
CN115619957A (en) * 2022-12-05 2023-01-17 北京瞭望神州科技有限公司 Video GIS data acquisition method and system based on live-action three-dimension

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020018585A1 (en) * 2018-07-16 2020-01-23 Accel Robotics Corporation Autonomous store tracking system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594534A (en) * 2009-06-19 2009-12-02 中国科学院软件研究所 A kind of method for quickly detecting compressed video POI
CN101710978A (en) * 2009-11-23 2010-05-19 北京中星微电子有限公司 Video recording control method and video recording control device for ATM video monitoring
CN106412687A (en) * 2015-07-27 2017-02-15 腾讯科技(深圳)有限公司 Interception method and device of audio and video clips
CN108419145A (en) * 2018-05-04 2018-08-17 腾讯科技(深圳)有限公司 The generation method and device and computer readable storage medium of a kind of video frequency abstract
US10535146B1 (en) * 2018-07-16 2020-01-14 Accel Robotics Corporation Projected image item tracking system
CN109151546A (en) * 2018-08-28 2019-01-04 维沃移动通信有限公司 A kind of method for processing video frequency, terminal and computer readable storage medium
CN113128288A (en) * 2019-12-31 2021-07-16 深圳云天励飞技术有限公司 Monitoring method and related product
CN115619957A (en) * 2022-12-05 2023-01-17 北京瞭望神州科技有限公司 Video GIS data acquisition method and system based on live-action three-dimension

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
施志晖 等.基于差异化视角的区域洗钱风险评估体系实证研究.《甘肃金融》.2023,(第02期),58-63. *

Also Published As

Publication number Publication date
CN116304176A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN111353352B (en) Abnormal behavior detection method and device
US9141184B2 (en) Person detection system
CN116304176B (en) Real-time data center table-based processing method and processing system
CN109697416A (en) A kind of video data handling procedure and relevant apparatus
CN105718861B (en) A kind of method and device identifying video stream data classification
CN107886079A (en) Object identifying method, apparatus and system
CN103069420A (en) Detecting recurring events in consumer image collections
CN110348347A (en) A kind of information processing method and device, storage medium
CN109902644A (en) Face identification method, device, equipment and computer-readable medium
CN106326835A (en) Human face data collection statistical system and method for gas station convenience store
Makihara et al. Gait collector: An automatic gait data collection system in conjunction with an experience-based long-run exhibition
CN110765215A (en) Query method and device for personnel common relationship, electronic equipment and storage medium
CN102521569A (en) Method and system for identifying identity card by using smart phone and mobile phone
CN112199530B (en) Multi-dimensional face library picture automatic updating method, system, equipment and medium
CN111177469A (en) Face retrieval method and face retrieval device
CN109376686A (en) A kind of various dimensions human face data acquisition scheme, acquisition system and acquisition method
CN111625687A (en) Method and system for quickly searching people in media asset video library through human faces
CN111445252A (en) Method, device and equipment for establishing biological feature library
CN113409056B (en) Payment method and device, local identification equipment, face payment system and equipment
CN108090982A (en) One kind is registered method, system and terminal device
CN109145842A (en) The method and device of chamber door based on image recognition control Intelligent storage cabinet
US20070206231A1 (en) Methods, systems, and computer program products for associating an image with a communication characteristic
CN106373258A (en) Banknote prefix number picture file storage system and method
CN106777215A (en) A kind of image searching result display methods and device
CN110659615A (en) Passenger group flow and structural analysis system and method based on face recognition

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