CN109559398A - A kind of receipts record processing method - Google Patents
A kind of receipts record processing method Download PDFInfo
- Publication number
- CN109559398A CN109559398A CN201811499150.6A CN201811499150A CN109559398A CN 109559398 A CN109559398 A CN 109559398A CN 201811499150 A CN201811499150 A CN 201811499150A CN 109559398 A CN109559398 A CN 109559398A
- Authority
- CN
- China
- Prior art keywords
- record
- memory
- processing method
- deposit
- data
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/10—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of receipts to record processing method, is related to field of information processing, includes the following steps: step S1: reading first record of Collection Queue;Step S2: judge whether first record is valid data, if so, thening follow the steps S3;Step S3: will be in first record deposit data list;Step S4: judge whether the event code in first record is that controller powers on event code, if so, thening follow the steps S5;Step S5: first record deposit control is powered in record sheet, then control is powered in record sheet deposit record memory;Step S6: first record in Collection Queue is deleted, step S1 is continued to execute.Whether the present invention is legal by that will detect record information one by one, deletes Collection Queue's record ignored, effectively improves the accuracy of access information record, and people is facilitated to consult gate inhibition's record.
Description
Technical field
The present invention relates to field of information processing, more specifically, it relates to which a kind of receipts record processing method.
Background technique
Gate inhibition is the device that the places such as Modern Corporation, government offices must be set, for carrying out control, protection to exit and entrance
The property and topsecret papers etc. of company and public institution.
After there is top-secret document or property loss, the police or judicial personnel need to often transfer the relevant information that gate inhibition records,
Check a suspect.But when due to routine use, brush wrong the case where blocking often is had, these information are recorded in door screening is not added
Prohibit in record, after being used for a long time, it is excessive to not only result in record information content, the problem of memory space inadequate, in investigation gate inhibition's letter
When breath, a large amount of interference information also will cause, it is difficult to soon obtain useful information, cause retrieval difficult.
Summary of the invention
For the prior art above problem, the object of the present invention is to provide a kind of receipts to record processing method, has screening
Gate inhibition records the advantages of information, improves the record quality of information.
To achieve the above object, the present invention provides the following technical scheme that
A kind of receipts record processing method, includes the following steps:
Step S1: first record of Collection Queue is read;
Step S2: judge whether first record is valid data, if so, thening follow the steps S3;
Step S3: will be in first record deposit data list;
Step S4: judge whether the event code in first record is that controller powers on event code, if so, thening follow the steps
S5;
Step S5: first record deposit control is powered in record sheet, then control is powered in record sheet deposit record memory;
Step S6: first record in Collection Queue is deleted, step S1 is continued to execute.
It collects through the above technical solutions, gate inhibition records information into Collection Queue, judgement sieve is carried out to record information one by one
Choosing, record deposit that is access information format is legal and powering on event code (opening gate inhibition) containing controller control upper electrographic recording
Table powers on record sheet and is stored in record memory that will control, and the control lookd up the records in memory powers on record sheet, obtained information
It is all the relevant information for opening gate inhibition, the quality of gate inhibition's record is effectively improved, facilitates access.
Further, in step S2, if it is not, executing step S6 in first record deposit invalid data table.
Through the above technical solutions, for recording the illegal record of data, after being recorded in invalid data table, from collection
It is deleted in queue, completes the classification processing to invalid record.
Further, in step S4, if it is not, judge whether the event code in first record is invalid event code,
If so, by first record deposit exception record table, and exception record table is stored in record memory, execute step S6.
Through the above technical solutions, for judge whether first record is that no associated rights brush gate inhibition records, and by nothing
Associated rights brush gate inhibition record is stored in exception record table.
Further, if the event code in first record is not invalid event code, data list is updated, and will
In updated data list deposit record memory, step 6 is executed.
It swipes the card record through the above technical solutions, filtering out new access card, saves this record to data list, and
Data list is updated, subsequent calls are convenient for.
Further, record Memory linkage has dynamically recording memory, and dynamically recording memory reads the record number of record memory
According to, and record data are sent to online mobile client.
Through the above technical solutions, the information for recording memory is passed to online client by dynamically recording memory, convenient for making
User's monitoring and access access information.
Further, it records and is all provided between dynamically recording memory and mobile client between memory and dynamically recording memory
It is equipped with timer.
Through the above technical solutions, setting timer, records memory and the intermittent transmitting information of dynamically recording, without always
In transmitting working condition, power consumption is reduced, and reserves the time of information processing to terminal.
Further, dynamically recording Memory linkage has linkage record memory, and linkage record memory reads dynamically recording memory
Record data, and by record data be sent to online cloud.
Through the above technical solutions, linkage record memory stores access information to cloud, loss of data, while side are avoided
Just gate inhibition's record is obtained from cloud, facilitates monitoring.
Further, timer is provided between linkage record memory and online cloud.
Through the above technical solutions, setting timer, the linkage record intermittent transmitting information of memory, pass without being constantly in
Working condition is passed, power consumption is reduced, and reserves the time of information processing to terminal.
Compared with prior art, the beneficial effects of the present invention are:
(1) by judging whether the record of Collection Queue is legal one by one, invalid information is deleted, the matter of access information record is improved
Amount reduces the memory that access information record occupies;
(2) by further screening record information, by legal access information screening to have permission, lack of competence and new record,
Facilitate access, and the efficiency of retrieval access information can be improved;
(3) further, by the way that timer is arranged, record memory, dynamically recording and linkage record memory intermittence transmit information
Operation lowers operating power consumption, while leaving the time of terminal processes information for.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of the invention;
Fig. 2 is the flow diagram of one embodiment of the invention;
Fig. 3 is the connection block diagram that memory is recorded in one embodiment of the invention.
Specific embodiment
In order to keep the purpose of the present invention, technical scheme and beneficial effects clearer, below with reference to examples and drawings pair
The present invention is described in further detail, but embodiments of the present invention are not limited only to this.
As depicted in figs. 1 and 2, a kind of receipts record processing method, include the following steps:
Step S1: the gate inhibition of collection is recorded in data composition Collection Queue deposit memory, CPU reads the first of Collection Queue
Item record;
Step S2:CPU judges whether first record is valid data, it is ensured that all data format in first record is just
Really.If first is recorded as valid data, S3 is thened follow the steps;
If first is recorded as illegal data, wrong access card is mostly brushed, by first record deposit invalid data table, is executed
Step S6 deletes first record from Collection Queue, convenient for next record in processing Collection Queue;
Step S3: will be in first record deposit data list;
Step S4:CPU reads preset controller and powers on event code queue, by first record event code and control
Device powers on event code and compares one by one, and a controller powers on event code and the event code phase in the first record if it exists
Together, then it represents that the event code in first record is that controller powers on event code, can open related gate inhibition and enter, then hold
Row step S5;
If the event code in the first record is not that controller powers on event code, judge whether it is invalid event code,
If so, by first record deposit exception record table, and exception record table is stored in record memory, above-mentioned setting is for sentencing
It is disconnected whether to be the brush gate inhibition record of no associated rights, and will record and be stored in exception record table without associated rights brush gate inhibition, side
The phase consults after an action of the bowels, continues to execute step S6;
If first record in event code be not invalid event code, according to catch come physics card number, obtain its work
Number, work number version, update data list, and by data list be stored in record memory in, as standby message, facilitate increase
New employee's information, and its associated rights is set, continue to execute step 6;
Step S5: first record deposit control is powered in record sheet, then control is powered in record sheet deposit record memory,
The relevant information for opening gate inhibition personnel is recorded and saved to realize;
Step S6: first record in Collection Queue is deleted, step S1 is continued to execute, continues with remaining in Collection Queue
Record;
As shown in Figures 2 and 3, record Memory linkage has dynamically recording memory, and dynamically recording memory reads the record of record memory
Data, i.e., above-mentioned control powers on record sheet, exception record table and data list, and record data are sent to online shifting
Dynamic client, is conveniently checked.Record data are also transmitted to MS screen linkage memory and MS gate inhibition's linkage memory by dynamically recording memory
It is saved, avoids loss of data.
Dynamically recording Memory linkage has linkage record memory, and linkage record memory reads the record number of dynamically recording memory
According to, and record data are sent to online cloud (DMS, VS, GT, GSM, HTS and MAS client, MAS and VMS dynamic base),
For realizing cloud backup and check.Wherein HTS is people tracking system, and MAS is that meeting indicates system, and GT is night watching system
System, GSM are short message supplying system, and VMS is visitor management system.Linkage record memory can also be with the control OPC of computer and interior
Connection is deposited, realizes data storage and the enabling of gate inhibition.Record between memory and dynamically recording memory and dynamically recording memory and
Timer is provided between mobile client, linkage records liquid between memory and online cloud and is provided with timer, timer
Each circular treatment 50 is rested 500 milliseconds.The time of information, record are handled to subsequent terminal by the way that timer is arranged
Memory, dynamically recording memory and the linkage record intermittent transmitting data of memory, avoid long-term standby, increase energy consumption.
In summary:
For the present invention in use, judging whether the record of Collection Queue is legal one by one, deletion invalid information improves access information record
Quality, reduce access information record occupy memory;Further screening records information, is by legal access information screening
It has permission, lack of competence and new record, facilitates access, and the efficiency of retrieval access information can be improved;By the way that timer, record is arranged
Memory, dynamically recording and linkage record memory intermittence transmit information operation, lower operating power consumption, while leaving terminal processes letter for
The time of breath.
The above is only a preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-mentioned implementation
Example, all technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art
Those of ordinary skill for, several improvements and modifications without departing from the principles of the present invention, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (8)
1. a kind of receipts record processing method, which comprises the steps of:
Step S1: first record of Collection Queue is read;
Step S2: judge whether first record is valid data, if so, thening follow the steps S3;
Step S3: will be in first record deposit data list;
Step S4: judge whether the event code in first record is that controller powers on event code, if so, thening follow the steps
S5;
Step S5: first record deposit control is powered in record sheet, then control is powered in record sheet deposit record memory;
Step S6: first record in Collection Queue is deleted, step S1 is continued to execute.
2. a kind of receipts according to claim 1 record processing method, which is characterized in that in step S2, if it is not, by first
In record deposit invalid data table, step S6 is executed.
3. a kind of receipts according to claim 1 record processing method, which is characterized in that in step S4, if it is not, judging first
Whether the event code in item record is invalid event code, if so, by first record deposit exception record table, and will be different
In normal record sheet deposit record memory, step S6 is executed.
4. a kind of receipts according to claim 3 record processing method, which is characterized in that if the event generation in first record
Code is not invalid event code, updates data list, and updated data list is stored in record memory, executes step
Rapid 6.
5. a kind of receipts according to claim 1 record processing method, which is characterized in that record Memory linkage has dynamically recording
Memory, dynamically recording memory reads the record data of record memory, and record data are sent to online mobile client.
6. a kind of receipts according to claim 5 record processing method, which is characterized in that record memory and dynamically recording memory
Between be provided with timer between dynamically recording memory and mobile client.
7. a kind of receipts according to claim 5 record processing method, which is characterized in that dynamically recording Memory linkage has linkage
Memory is recorded, linkage record memory reads the record data of dynamically recording memory, and record data are sent to online cloud.
8. a kind of receipts according to claim 7 record processing method, which is characterized in that linkage record memory and online cloud
Between be provided with timer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811499150.6A CN109559398A (en) | 2018-12-08 | 2018-12-08 | A kind of receipts record processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811499150.6A CN109559398A (en) | 2018-12-08 | 2018-12-08 | A kind of receipts record processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109559398A true CN109559398A (en) | 2019-04-02 |
Family
ID=65869563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811499150.6A Pending CN109559398A (en) | 2018-12-08 | 2018-12-08 | A kind of receipts record processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109559398A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241492A (en) * | 2007-02-06 | 2008-08-13 | 中兴通讯股份有限公司 | EMS memory data storage apparatus possessing capacity dynamic control function and its accomplishing method |
CN102103642A (en) * | 2011-03-25 | 2011-06-22 | 北京世纪互联工程技术服务有限公司 | OLTP-based data deletion method, system and graphic database sever |
US8719121B1 (en) * | 2008-01-15 | 2014-05-06 | David Leason | System and method for automated construction of time records based on electronic messages |
CN106021358A (en) * | 2016-05-10 | 2016-10-12 | 深圳云之家网络有限公司 | Abnormal information recording method and system |
CN108073652A (en) * | 2016-11-16 | 2018-05-25 | 南京南瑞继保电气有限公司 | A kind of event packets optimize storage method |
-
2018
- 2018-12-08 CN CN201811499150.6A patent/CN109559398A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241492A (en) * | 2007-02-06 | 2008-08-13 | 中兴通讯股份有限公司 | EMS memory data storage apparatus possessing capacity dynamic control function and its accomplishing method |
US8719121B1 (en) * | 2008-01-15 | 2014-05-06 | David Leason | System and method for automated construction of time records based on electronic messages |
CN102103642A (en) * | 2011-03-25 | 2011-06-22 | 北京世纪互联工程技术服务有限公司 | OLTP-based data deletion method, system and graphic database sever |
CN106021358A (en) * | 2016-05-10 | 2016-10-12 | 深圳云之家网络有限公司 | Abnormal information recording method and system |
CN108073652A (en) * | 2016-11-16 | 2018-05-25 | 南京南瑞继保电气有限公司 | A kind of event packets optimize storage method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7213334B2 (en) | Blockchain-based quality tracking method and system for prefabricated parts in lifetime | |
CN102708606B (en) | System for monitoring person entering and exiting presence area of prison by recognizing faces of person | |
CN107480246A (en) | A kind of recognition methods of associate people and device | |
CN205405663U (en) | University dormitory building channel gate access control system based on face identification | |
CN109784231B (en) | Security information management method, device and storage medium | |
CN106210431B (en) | The control method of information processing unit and information processing unit | |
CN110516568B (en) | College multi-scene data management method and system based on face recognition | |
CN105739407A (en) | Remote monitoring system for fresh commodity delivery cabinets | |
CN109377575A (en) | A kind of management control method and system of automatic acquisition employee working attendance information | |
CN106209412A (en) | Resource monitoring system and method thereof | |
CN207068147U (en) | Intelligent express delivery cabinet | |
CN107808438A (en) | A kind of Venue Management system based on vena metacarpea certification | |
CN106529258A (en) | Security management method and system for mobile equipment | |
CN108388672A (en) | Lookup method, device and the computer readable storage medium of video | |
CN207529449U (en) | A kind of Venue Management system based on vena metacarpea certification | |
CN204576644U (en) | 32 work attendance gate inhibition all-in-ones | |
CN109559398A (en) | A kind of receipts record processing method | |
CN109615720A (en) | A kind of noninductive attendance checking system based on recognition of face API | |
CN205158076U (en) | Remote monitoring system for give birth to bright distribution cabinet | |
CN205983616U (en) | Intelligence visitor machine | |
CN205899625U (en) | Intelligence device with visitor and attendance registration function | |
CN205847432U (en) | There is the building conversational system of face identification functions | |
CN110634219A (en) | Access control identification system, method, equipment and storage medium | |
CN202854918U (en) | Prison meeting area in and out monitoring device based on face recognition | |
CN212569772U (en) | Cloud computing server platform based on big data |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 315301 No. 148 Mingzhou West Road, Cixi City, Ningbo City, Zhejiang Province Applicant after: Ningbo Botaike Intelligent Technology Co., Ltd. Address before: 315301 No. 148 Mingzhou West Road, Cixi City, Ningbo City, Zhejiang Province Applicant before: Ningbo Botaike Intelligent Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190402 |