Monitoring methods, access control systems and applications for container access control systems
By designing computer hardware and function key interfaces inside the container, and combining the monitoring process and equipment linkage of the access control host, the problems of low monitoring accuracy and poor linkage control of the access control system inside the container were solved, realizing visualization and intelligent control, and ensuring the normal operation of the container.
Patent Information
- Application Number
- CN202211509112.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2042-11-29
AI Technical Summary
Existing technologies using Linux systems result in low accuracy of access control systems within shipping containers, as well as poor environmental equipment linkage control and visualization.
Design a system interface based on computer hardware and function keys to display the access control host status, card number, and entry/exit record information. Establish a monitoring process through the access control host and link the power distribution, access control host, and fault management module inside the container for intelligent control.
It enables visualized monitoring and intelligent control of the container's access control system, improving monitoring accuracy and achieving联动响应 (linkage/coordination) between the access control system and the equipment inside the container, ensuring the normal operation of the container.
Smart Images

Figure CN115798094B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of container security monitoring technology, and particularly relates to a monitoring method, access control monitoring system and application for container access control systems. Background Technology
[0002] Access control and monitoring systems play a crucial role in the overall management of entry and exit security within a premises, ensuring its normal operation. Traditional access control systems only control access, providing basic monitoring and control of personnel. Furthermore, traditional access control systems within shipping containers lack integrated control and visual management based on the internal environment. Therefore, it is essential to propose a policy-based access control and monitoring system design method to address the challenges of access control and monitoring within shipping containers.
[0003] Based on the above analysis, the problems and defects of the existing technology are as follows: (1) Under the Linux system, the accuracy of the monitoring and entry / exit information of the container system is low. (2) The existing technology has poor linkage control and visualization effects for the environmental equipment inside the container. Summary of the Invention
[0004] To overcome the problems existing in related technologies, the present invention discloses a monitoring method, access control monitoring system and application for a container access control system.
[0005] The technical solution is as follows: A monitoring method for a container access control system, applied to a computer, the method comprising:
[0006] S1, based on computer hardware and function keys, builds a system interface that displays the access control host status, card number, entry and exit record information, and constrains the relationships between operations;
[0007] S2, build an access control monitoring process based on the access control host, and arm alarms for the operation procedures of the access control host;
[0008] S3 enables intelligent control of container opening and closing by linking the power distribution, access control host, and fault management module within the container.
[0009] In step S1, a system interface is constructed based on computer hardware and function keys to display the access control host status, card number, and entry / exit record information, and to constrain the relationships between operations, including the following steps:
[0010] (1) Construct the main interface, including a list of access card numbers and a list of entry and exit records;
[0011] (2) Adding, deleting, and editing information based on the access card number list;
[0012] (3) Obtain the data model associated with the access card number list and list the column names of the list;
[0013] (4) Obtain the data model for managing the entry and exit record list, and list the names of each column in the list;
[0014] (5) Edit the styles of the access card number list and the entry / exit record list;
[0015] (6) Set up the door closing and door opening function buttons, and set up the slot functions for the door closing and door opening function buttons respectively.
[0016] In step S2, the access control monitoring process is established based on the access control host, and the alarm is armed for the operation procedure of the access control host, including:
[0017] The access control card number list and entry / exit record list are displayed in multiple tabs. Users log in to the access control host using a username and password. Upon successful login, the system displays the current list of access control card numbers issued to the user. Users can add, delete, and edit issued card numbers. User card swipe records are registered and displayed. During operation, callbacks are used to set alarm events, successful card swipe records, new card addition events, card number configuration information retrieval events, card permission plan template setting events, and entry / exit record deletion events.
[0018] In step S2, the specific steps of setting up the access control monitoring process include:
[0019] (1) Add a card button and bind the response to the slot function of the current access control host main page by sending a signal;
[0020] (2) Edit button function: query the data information of the row selected by the user and send the information to the editing page for the user to edit and modify.
[0021] (3) Delete the row of data selected by the user using the delete button and display the result of the operation;
[0022] (4) Slot function for handling entry and exit records in the access control host alarm callback;
[0023] (5) Slot functions for processing inbound and outbound records;
[0024] (6) Add / edit / delete OK button slot function markcard;
[0025] (7) Callback function g_fSetGatewayCardCallback;
[0026] (8) Close the long connection response slot function to close the connection with the remote access control host.
[0027] In step S2, during the arming of the access control host's operating procedure for the alarm system, the following also needs to be performed:
[0028] The system responds to user input via buttons on the interface, receives feedback from the access control host and displays it on the user interface, retrieves backend records from the database in real time, and automatically refreshes the entry and exit record list.
[0029] In step S3, the intelligent control of the container's opening and closing involves linking the power distribution, access control, and fault management modules within the container.
[0030] After the access control host detects personnel entering and exiting, it submits the event to the power distribution system. The power distribution system analyzes the current power supply status of the access control host and, in conjunction with the safety status of the equipment inside the container, automatically powers on the access control and lighting systems.
[0031] When the monitoring system detects people entering or exiting, the lighting system automatically turns on the lights. When no person is detected for a certain period of time, the lights automatically turn off. When the access control unit opens the door, the lights automatically turn on and close the door.
[0032] When the access control system receives an alarm message from the power distribution system for the equipment inside the box, it automatically activates the access control host.
[0033] Another object of the present invention is to provide a container access control and monitoring system comprising:
[0034] The access control and monitoring system interface design module is used to set up the main interface, which is divided into two subpages: the access card number list and the entry / exit record list. It distributes the access card number list and sets up add, delete, and edit functions; sets up the data model associated with the access card number list and lists the column names; sets up the data model for managing the entry / exit record list and lists the column names; sets the styles for the access card number list and the entry / exit record list; and sets up door close and open function buttons.
[0035] The access control monitoring module is designed to display a multi-page list of card numbers and user records in tabs after the access control host starts up. Users log in to the access control monitoring device using a username and password. Upon successful login, the module defaults to displaying the list of card numbers currently issued to the user. It allows adding, deleting, and editing of issued card numbers; registering and displaying user card swipe records; and, during use, setting alarm events, successful card swipe record events, new card addition events, card number configuration information retrieval events, card permission plan template setting events, and deletion of entry / exit records via callbacks.
[0036] The main process function design module responds to messages based on the user's buttons on the interface, receives message feedback from the access control monitoring device and displays it on the user's operation interface, obtains backend records from the database in real time, and automatically refreshes the entry and exit record list.
[0037] The linkage function module inside the container is used to link the power distribution, access control host and fault management module inside the container to achieve intelligent control of the container's opening and closing.
[0038] Another object of the present invention is to provide a storage medium for receiving user input programs, wherein the stored computer programs enable electronic devices to execute the monitoring method for a container access control system.
[0039] Another object of the present invention is to provide a computer device including a memory and a processor, the memory storing a computer program, which, when executed by the processor, causes the processor to perform the monitoring method for a container access control system.
[0040] Another objective of this invention is to provide a port logistics container that is equipped with at least the aforementioned container access control and monitoring system.
[0041] Combining all the above technical solutions, the advantages and positive effects of this invention are as follows:
[0042] First, addressing the technical problems and difficulties in solving the existing technologies, and closely combining the technical solution to be protected by this invention with the results and data from the research and development process, this paper provides a detailed and in-depth analysis of how the technical solution of this invention solves the technical problems and the creative technical effects brought about after solving the problems. The specific description is as follows: The container access control and monitoring system provided by this invention particularly relates to container security technology. In a Linux application scenario, and considering the characteristics of container application scenarios and access control equipment, a policy-based access control and monitoring system is designed and implemented. This invention provides a visual monitoring window for the access control and monitoring system, enabling simultaneous control of the container access control and monitoring system's hardware and software, real-time coordinated response of multiple modules within the container, and the implementation of security measures according to policies.
[0043] Secondly, considering the technical solution as a whole or from a product perspective, the technical effects and advantages of the technical solution to be protected by this invention are specifically described as follows: This invention realizes the linkage function within the container; the access control system, the container's power distribution system, and the lighting system can be intelligently controlled. Through the above solutions, this invention can realize the access control system monitoring function under the Linux system. Attached Figure Description
[0044] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure;
[0045] Figure 1 This is a schematic diagram of the container access control and monitoring system provided in an embodiment of the present invention;
[0046] Figure 2 This is a flowchart of a monitoring method for an access control system inside a container, provided in an embodiment of the present invention.
[0047] Figure 3 This is a schematic diagram of the monitoring method for an access control system inside a container provided in an embodiment of the present invention;
[0048] In the diagram: 1. Access control and monitoring system interface design module; 2. Access control and monitoring function design module; 3. Main process function design module; 4. Linkage function design module inside the container. Detailed Implementation
[0049] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of the present invention. However, the present invention can be practiced in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0050] I. Explanation of the Implementation Example:
[0051] Example 1
[0052] like Figure 1 As shown, the container access control and monitoring system provided in this embodiment of the invention includes:
[0053] Access control and monitoring system interface design module 1 has the following functions:
[0054] The main interface is set up and divided into two subpages: a list of access control card numbers and a list of entry and exit records.
[0055] Distribute a list of access control card numbers and set up functions for adding, deleting, and editing them;
[0056] Set up the data model associated with the access card number list, and list the column names of the list:
[0057] Set up the data model for managing the entry and exit record list, and list the column names of the list;
[0058] Set the style of the access card number list and the entry / exit record list;
[0059] Set up buttons for closing and opening the door;
[0060] Module 2, the access control monitoring function, is designed to display a multi-page tabbed list of card numbers and user records after the access control system starts. Users log in to the monitoring device using a username and password. Upon successful login, the system displays the list of currently issued card numbers to users by default. Issued card numbers can be added, deleted, and edited. User card swipe records are registered and displayed. During operation, alarm events, successful card swipe records, new card addition events, card number configuration information retrieval events, card permission plan template setting events, and entry / exit record deletion events are set via callbacks. For ease of control, manual buttons for opening and closing the access control are provided.
[0061] Module 3 of the main workflow function design responds to user input via buttons on the interface, while simultaneously receiving feedback from the access control monitoring device and displaying it on the user's interface. It also retrieves records from the database background in real time and automatically refreshes the entry and exit record table.
[0062] Module 4, the linkage function design module inside the container, is used for intelligent control of the access control system, the container's power distribution system, and the lighting system. It implements the access control system monitoring function under the Linux system.
[0063] Example 2
[0064] like Figure 2 As shown, the monitoring method for a container access control system provided in this embodiment of the invention includes:
[0065] S101, based on hardware characteristics and function keys, designs the system display interface, comprehensively displays device status, card number, entry and exit record information, and constrains the relationship between operations;
[0066] S102, designed with functional flow in mind for the characteristics of access control host equipment, and arming alarm design for the operation of access control host;
[0067] S103 integrates the power distribution, access control, and fault management modules within the container, achieving intelligent design and effectively ensuring normal operation within the container.
[0068] Example 3
[0069] like Figure 3 As shown, the monitoring method for a container access control system provided in this embodiment of the invention includes:
[0070] Step 1: System Interface Design;
[0071] Step 2: Design of access control and monitoring functions;
[0072] Step 3: Design of main workflow functions;
[0073] Step four: Implement the linkage function within the container.
[0074] Example 4
[0075] Based on the monitoring method for a container access control system described in Example 3, further, in step one, the system interface design includes:
[0076] (1) Set up the main interface and divide it into two sub-pages: the list of access control card numbers and the list of entry and exit records;
[0077] The system uses tabs to set up and distribute access card number lists and entry / exit record tables. Clicking a tab allows you to switch between the two pages at any time. The default page is the access card number list page.
[0078] (2) Issue a subpage for the access control card number list and set up add, delete, and edit functions;
[0079] New access control cards can be added to the system, and a selected row in the list can be deleted. Authorized card information can also be edited. The add, delete, and edit buttons have a unified style and are each configured with a click response function. Adding and editing will pop up a subpage for the user to fill in information; successful deletion will prompt the user with a success message, while failure will display an error message.
[0080] The add and edit pages share the same control page, and the content of the pop-up subpage is determined by adding and editing different operation values. On the edit page, the card number control cannot be modified, while on the add page, the card number can be manually entered. The add / edit page sets the card number, username, valid start time, valid end time, operation prompt bar, and OK and Cancel buttons. The card number is validated to only accept 32 valid numeric characters, and the username input is set to 32 characters, with the first character being a letter. If the entered username or card number is empty, a red prompt label is displayed on this page.
[0081] (3) Set up the data model associated with the access card number list and list the column names of the list;
[0082] Bind the fields of the card information table in the database to the corresponding column names in the data model, and associate the data model with the access card number list. The column names that correspond one-to-one with the database table fields are: serial number, employee number, username, card number, card type, valid start time, and valid end time.
[0083] (4) Set up the data model for managing the entry and exit record list, and list the names of each column in the list;
[0084] Bind the fields of the entry and exit record information table in the database to the corresponding column names in the data model, and at the same time associate the data model with the entry and exit record list. The column names that correspond one-to-one with the database table field names are: serial number, username, card number, and entry / exit time.
[0085] (5) Set the style of the access card number list and the entry / exit record list;
[0086] Both the access card number list and the entry / exit record list are set to have vertically invisible headers, horizontally left-aligned headers, fixed column widths, and fixed fonts. The table content in the list is not editable, but it can respond to mouse events and the entire row can be selected by clicking.
[0087] (6) Set up door closing and door opening function buttons;
[0088] Set up "Close Door" and "Open Door" function buttons on the main page of the access control system. Use the same style sheet as the "Add," "Delete," and "Edit" buttons, and set up slot functions for the click response of the two function buttons.
[0089] Example 5
[0090] Based on the monitoring method for the container access control system described in Example 3, further, in step two, the access control monitoring function design includes:
[0091] After the access control system is started, it displays a multi-page tabbed list of card numbers and user access record lists. Users log in to the access control monitoring device using a username and password. Upon successful login, the system displays the list of currently issued card numbers to users by default. Issued card numbers can be added, deleted, and edited. User card swipe records are registered and displayed. During operation, events such as alarms, successful card swipes, adding new cards, retrieving card number configuration information, setting card permission plan templates, and deleting access records are set via callbacks. For ease of control, manual buttons for opening and closing the access control are provided.
[0092] For example, the specific functional design is as follows:
[0093] (1) Adding functional design:
[0094] When a user clicks the "Add Card" button, an "Add Card" page pops up. After the user fills in the necessary information and clicks the "OK" button, the "Add Card" page object will respond by sending a signal and binding to the slot function of the current access control system's main page. The specific operation is as follows:
[0095] (1.1) First, determine whether the previous card addition operation was completed. If it was completed, proceed to the next step; otherwise, a prompt message will pop up and continue to wait.
[0096] (1.2) Record the current operation type;
[0097] (1.3) Set the validity period of the card control page according to the current system time;
[0098] (1.4) The Add Card page pops up;
[0099] (1.5) After the user clicks the OK button, obtain the new card information submitted by the user on the add page;
[0100] (1.6) Send new card information to the main interface slot function via semaphore for processing;
[0101] (2) Editing function design:
[0102] When a user clicks the edit button, an editing page pops up. Simultaneously, the system queries the data for the selected row and sends the information to the editing page for the user to edit. The specific operation is as follows:
[0103] (2.1) Determine whether the last card editing operation has been completed (if the last operation has not yet obtained data from the access control host device, it means that the current operation cannot be performed). If it has not been completed, prompt the message that the operation cannot be performed and you need to continue to wait; otherwise, proceed to the next step.
[0104] (2.2) Determine if any row data is selected. If it is selected, proceed to the next step; otherwise, prompt the user to select a row data first.
[0105] (2.3) Return the data entries in the list result set from the data model based on the row number selected by the user;
[0106] (2.4) Obtain the values of each field in the record and convert them into a format that can be displayed on the page;
[0107] (2.5) Save the current operation type;
[0108] (2.6) Save the retrieved data into the data structure, pop up the editing page and display the current data;
[0109] (2.7) After the user finishes editing, click the OK button to complete the editing operation and send a semaphore to the main page to respond to the editing slot function;
[0110] (3) Deletion function design:
[0111] When a user selects a row of data and clicks the delete button, the system displays the result of the operation. The specific design is as follows:
[0112] (3.1) Determine whether the last deletion operation has been completed (if the last operation has not been completed from the access control host device, it means that the current operation cannot be performed). If it has not been completed, prompt the message that the operation cannot be performed and you need to continue to wait; otherwise, proceed to the next step.
[0113] (3.2) Determine if any row data is selected. If it is selected, proceed to the next step; otherwise, prompt the user to select a row data first.
[0114] (3.3) Return the data entries in the list result set from the data model based on the row number selected by the user;
[0115] (3.4) Record the current operation type;
[0116] (3.5) Retrieve the card number value from the fields in the data entry;
[0117] (3.6) Set the current card invalid flag;
[0118] (3.7) Send requests to the remote access control host device via library functions;
[0119] (4) Design of alarm callback function for access control host:
[0120] (4.1) Copy the specific content of the alarm information to the access control host's entry and exit event data structure;
[0121] (4.2) Determine whether it is a face recognition / card swipe event based on the type. If it is, proceed to the next step. If not, return to no processing.
[0122] (4.3) Copy the specific information of the card number in the event into the byte array according to its length;
[0123] (4.4) Convert the byte array into a target type array cchar;
[0124] (4.5) Send the cchar array to the slot function that processes the input and output records via a signal;
[0125] (5) Slot functions for processing inbound and outbound records;
[0126] (5.1) Query the corresponding username in the database table based on the card number information. If the query is successful, proceed to the next step; otherwise, display an error message.
[0127] (5.2) Determine if there is data in the query record. If there is, proceed to the next step; otherwise, jump to step (5.9).
[0128] (5.3) Obtain the username information "name" from the query results;
[0129] (5.4) Obtain a record object (record) from the data model (acccessModel) corresponding to the list of entry and exit records;
[0130] (5.5) Get the total number of rows in the data model acccessModel of the current entry and exit record list, and use it as the row number of the new record to be inserted;
[0131] (5.6) Set the username (value is the string "name" in the query result), card number, and entry / exit time for the current record object;
[0132] (5.7) Determine if the query set is empty. If it is empty, proceed to the next step; otherwise, jump to step k.
[0133] (5.8) Obtain a record object (record) from the data model (acccessModel) corresponding to the list of entry and exit records;
[0134] (5.9) Get the total number of rows in the data model acccessModel of the current entry and exit record list, and use it as the row number of the current new record to be inserted;
[0135] (5.10) Set the username (this value is set to anonymous), card number, and entry / exit time for the current record object;
[0136] (5.11) Determine if the query set is not unique. If it is, proceed to the next step; otherwise, jump to m.
[0137] (5.12) The database table is incorrect, and there is an error that the result is not unique.
[0138] (5.13) Insert a new record using a data model object;
[0139] (5.14) Submit the transaction operation on the database table. If the operation fails, display an error message; otherwise, proceed to the next step.
[0140] (5.15) Use the data model object to re-query the entry and exit records and update the entry and exit record list;
[0141] (6) Add / edit / delete OK button slot function markcard:
[0142] (6.1) Define the parameter data structure object cardCfg for issuing cards;
[0143] (6.2) Set the number of cards issued this time in cardCfg;
[0144] (6.3) Start a long connection with the remote access control host and set the callback function to g_fSetGatewayCardCallback. If the start fails, return with an error; otherwise, proceed to the next step.
[0145] (6.4) Determine whether the current operation is adding or editing. If so, proceed to the next step; otherwise, jump to step (6.6).
[0146] (6.5) Set the parameters for the card being added or modified this time;
[0147] (6.6) Determine if the current operation is deletion. If yes, proceed to the next step; otherwise, jump to h.
[0148] (6.7) Set the validity of the card parameters to invalid;
[0149] (6.8) Send long-connection data to the remote access control host: card parameter information cardCfg; if sending fails, return an error.
[0150] (7) Design of callback function g_fSetGatewayCardCallback:
[0151] (7.1) Determine whether the status returned by the access control host system is card status. If yes, proceed to the next step; otherwise, return.
[0152] (7.2) Obtain the status data value returned by the access control host system;
[0153] (7.3) Determine if the current status is data transmission in progress. If yes, proceed to the next step; otherwise, jump to (7.5).
[0154] (7.4) Set the result of the current operation to 1, i.e., not completed;
[0155] (7.5) Determine if the current status is data transmission failure. If yes, proceed to the next step; otherwise, jump to (7.7).
[0156] (7.6) Set the result of the current operation to 2, i.e., a failure status;
[0157] (7.7) Determine if the current status is that the data was sent successfully. If yes, proceed to the next step; otherwise, jump to (7.9).
[0158] (7.8) Send the semaphore sendCloseConnection to close the long connection with the access control host. Set the parameter to 2 (representing success).
[0159] (7.9) Determine if the current status is a data transmission error. If yes, proceed to the next step; otherwise, do not process.
[0160] (7.10) Send the semaphore sendCloseConnection to close the long connection with the access control host. Set the parameter to 3 (representing an error).
[0161] (8) Design of the slot function for closing long-lived connections:
[0162] (8.1) Determine if the parameter type is 1 (get parameter). If yes, proceed to the next step; otherwise, jump to (8.4).
[0163] (8.2) Set the operation enable type m_optType to 0, which means that the current operation with the access control host is in a completed state and can proceed to the next step;
[0164] (8.3) Call the library function to close the remote connection with the host access control system;
[0165] (8.4) Determine whether the parameter type is 2 (sent successfully) or 3 (sent abnormally). If so, proceed to the next step; otherwise, jump to (8.13).
[0166] (8.5) Determine if the parameter type is 2. If so, proceed to the next step; otherwise, jump to l.
[0167] (8.6) Determine if the current operation result type is 1 (successful remote operation on the access control host). If yes, proceed to the next step; otherwise, jump to (8.11).
[0168] (8.7) Determine whether the current operation type is adding a new card or editing a card. If so, proceed to the next step; otherwise, jump to (8.9).
[0169] (8.8) Send a request to the access control host to obtain card information parameters;
[0170] (8.9) Determine if the current operation type is to delete a card. If yes, proceed to the next step; otherwise, jump to (8.13).
[0171] (8.10) Remove the currently selected row using the data model object corresponding to the card number list and commit the database table transaction. If the commit fails, display an error message; if the commit succeeds, update the card number list.
[0172] (8.11) Determine if the current operation result type is 2 (failed remote operation on access control host). If so, display an error message; otherwise, proceed to the next step.
[0173] (8.12) Determine if the parameter type is 3. If it is, report an error; otherwise, proceed to the next step.
[0174] (8.13) Set the operation enable type m_optType to 0 to close the connection with the remote access control host.
[0175] Example 6
[0176] Based on the monitoring method for a container access control system described in Example 3, further, in step three, the main process function design includes:
[0177] The system responds to user input via buttons on the interface, simultaneously receiving feedback from access control and monitoring devices and displaying it on the user interface. It also retrieves records from the database backend in real time, automatically refreshing the entry and exit record table.
[0178] For example, specifically including: (1) using the library functions provided by the access control device to remotely log in to the access control device and prompting the login result;
[0179] (2) Log in to the database. The specific design is as follows:
[0180] a. Determine if the current database is available. If it is available, proceed to the next step; otherwise, exit with an error.
[0181] b. Use the database operation object to access control and monitoring system's corresponding database;
[0182] c. Query all existing tables in the current database;
[0183] d. Loop through the query results from the previous step and determine whether each query record exists in the card number information table and the entry / exit record table. If it exists in both tables, set the record flag of each table to 1; otherwise, set it to 0.
[0184] e. Check if the card number information table exists. If it does not exist, proceed to the next step; otherwise, jump to g.
[0185] f. Use database operation objects to create a card number information table. If creation fails, exit with an error message; if creation succeeds, proceed to the next step.
[0186] g. Check if the input / output record table exists. If it does not exist, proceed to the next step.
[0187] h. Use database operation objects to create an input / output record table. If creation fails, an error message will be displayed and the program will exit. If creation succeeds, the program will exit normally.
[0188] (3) Initialize the add / edit card control page object;
[0189] (4) Initialize the interface design;
[0190] (5) Obtain the ID number of the access control host for remote connection with the access control host;
[0191] (6) Bind the semaphore to its corresponding slot function;
[0192] (7) Initialize access control events, arm the access control host, and set alarm callback functions;
[0193] (8) Create a card parameter object and set up the card schedule;
[0194] (9) Set the initial selected row number of the card number list;
[0195] (10) Initialize the current operation enable type m_optType to 0;
[0196] (11) Wait for the user to interact with the interface and respond accordingly.
[0197] Example 7
[0198] Based on the monitoring method for the container access control system described in Example 3, further, in step four, the linkage function inside the container is realized, including intelligent control of the access control system, the container power distribution system, and the lighting system.
[0199] For example, the specific design is as follows:
[0200] After the access control system detects personnel entering and exiting, it submits the event to the power distribution system. The power distribution system analyzes the current power supply status of the access control equipment and, in conjunction with the safety status of the equipment inside the container, automatically powers on the access control and lighting systems.
[0201] When the monitoring system detects people entering or exiting, the lighting system automatically turns on the lights. When no person is detected for a certain period of time, the lights automatically turn off, achieving the effect of lights turning on when people enter and turning off when people leave, thus saving energy. When the access control system opens the door, the lights automatically turn on and turn off when the door closes.
[0202] When the access control system receives an alarm message from the power distribution system for the equipment inside the container, it automatically opens the access control system to prevent the container from becoming completely sealed.
[0203] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0204] The information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of the present invention. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0205] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this invention. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments.
[0206] II. Application Examples:
[0207] Application examples
[0208] This invention provides a computer device comprising: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the steps in any of the above-described method embodiments.
[0209] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps described in the various method embodiments above.
[0210] This invention also provides an information data processing terminal, which, when executed on an electronic device, provides a user input interface to implement the steps described in the above method embodiments. The information data processing terminal is not limited to mobile phones, computers, or switches.
[0211] This invention also provides a server that, when executed on an electronic device, provides a user input interface to implement the steps described in the above method embodiments.
[0212] This invention provides a computer program product that, when run on an electronic device, enables the electronic device to implement the steps described in the various method embodiments above.
[0213] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0214] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0215] III. Evidence of the relevant effects of the embodiments:
[0216] Experiments show that, utilizing the technical solution provided in the above embodiments of the present invention and adopting the above operating steps, the present invention can realize the monitoring function of the access control system under the Linux system inside the container. This method has been verified through product operation testing. The results indicate that this solution can monitor the access control equipment inside the container, and can also remotely control the access control, while simultaneously linking the power distribution, lighting, and fault management modules inside the container to ensure the normal operation of the container.
[0217] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by those skilled in the art within the scope of the technology disclosed in the present invention and within the spirit and principles of the present invention should be covered within the scope of protection of the present invention.
Claims
1. A monitoring method for an access control system inside a container, characterized in that, In a Linux-based computer system application scenario, a method for achieving simultaneous hardware and software control of a container access control and monitoring system includes: S1, based on computer hardware and function keys, builds a system interface that displays the access control host status, card number, entry and exit record information, and constrains the relationships between operations; S2, build an access control monitoring process based on the access control host, and arm alarms for the operation procedures of the access control host; S3 enables intelligent control of container opening and closing by linking the power distribution, access control host, and fault management module within the container. In step S2, the access control monitoring process is established based on the access control host, and the alarm is armed for the operation procedure of the access control host, including: The access control card number list and entry / exit record list are displayed in multiple tabs. Users log in to the access control host using a username and password. Upon successful login, the system displays the list of access control card numbers currently issued to the user. Users can add, delete, and edit issued card numbers. The system also records and displays user card swipe records. During use, the system uses callbacks to set alarm events, successful card swipe records, new card addition events, card number configuration information retrieval events, card permission plan template setting events, and entry / exit record deletion events. In step S2, the specific steps of setting up the access control monitoring process include: (1) Add a card button and bind the response to the slot function of the current access control host main page by sending a signal; (2) Edit button function: query the row data information selected by the user and send the information to the editing page for the user to edit and modify; (3) Delete the row of data selected by the user using the delete button and display the result of the operation; (4) Slot function for handling entry and exit records in the access control host alarm callback process; (5) Slot functions for processing inbound and outbound records; (6) Add / edit / delete OK button slot function markcard; (7) Callback function g_fSetGatewayCardCallback; (8) Close the long connection response slot function to close the connection with the remote access control host; The callback function g_fSetGatewayCardCallback is designed to include: (7.1) Determine whether the status returned by the access control host system is card status. If yes, proceed to the next step; otherwise, return. (7.2) Obtain the status data value returned by the access control host system; (7.3) Determine if the current status is data transmission in progress. If yes, proceed to the next step; otherwise, jump to (7.5). (7.4) Set the result of the current operation to 1, i.e., not completed; (7.5) Determine if the current status is data transmission failure. If yes, proceed to the next step; otherwise, jump to (7.7). (7.6) Set the result of the current operation to 2, i.e., a failure status; (7.7) Determine if the current status is that the data was successfully sent. If yes, proceed to the next step; otherwise, jump to (7.9). (7.8) Send the semaphore sendCloseConnection to close the long connection with the access control host. Setting the parameter to 2 indicates success; (7.9) Determine if the current status is a data transmission error. If so, proceed to the next step; otherwise, do not process. (7.10) Send CloseConnection to close the long connection with the access control host. Set the parameter to 3 to indicate an error.
2. The monitoring method for a container access control system according to claim 1, characterized in that, In step S1, a system interface is constructed based on computer hardware and function keys to display the access control host status, card number, and entry / exit record information, and to constrain the relationships between operations, including the following steps: (1) Construct the main interface, which includes a list of access card numbers and a list of entry and exit records; (2) Adding, deleting, and editing information based on the access card number list; (3) Obtain the data model associated with the access card number list and list the column names of the list; (4) Obtain the data model for managing the entry and exit record list, and list the names of each column in the list; (5) Edit the styles of the access card number list and the entry / exit record list; (6) Set up the door closing and door opening function buttons, and set up the slot functions for the door closing and door opening function buttons respectively.
3. The monitoring method for a container access control system according to claim 1, characterized in that, In step S2, during the arming and alarm activation process of the access control host, the following also needs to be performed: The system responds to user input via buttons on the interface, receives feedback from the access control host and displays it on the user interface, retrieves backend records from the database in real time, and automatically refreshes the entry and exit record list.
4. The monitoring method for a container access control system according to claim 1, characterized in that, In step S3, the intelligent control of the container's opening and closing involves linking the power distribution, access control, and fault management modules within the container. After the access control host detects personnel entering and exiting, it submits the event to the power distribution system. The power distribution system analyzes the current power supply status of the access control host and, in conjunction with the safety status of the equipment inside the container, automatically powers on the access control and lighting systems. When the monitoring system detects people entering or exiting, the lighting system automatically turns on the lights. When no person is detected for a certain period of time, the lights automatically turn off. When the access control unit opens the door, the lights automatically turn on and close the door. When the access control system receives an alarm message from the power distribution system for the equipment inside the box, it automatically activates the access control host.
5. A container access control monitoring system applying the monitoring method for a container access control system according to any one of claims 1-4, characterized in that, The container access control and monitoring system includes: The access control monitoring system interface design module (1) is used to set the main interface and is divided into two sub-pages: access card number list and entry / exit record list; it distributes the access card number list and sets the add, delete, and edit functions; it sets the data model associated with the access card number list and lists the column names of each column; it sets the data model for managing the entry / exit record list and lists the column names of each column; it sets the style of the access card number list and the entry / exit record list; and it sets the door closing and door opening function buttons. The access control monitoring function design module (2) is used to display the card number list page and user record list page in tabs after the access control host starts up. The user can log in to the access control monitoring device with a username and password. After successful login, the current card number list issued to the user is displayed by default. The user can add, delete and edit the issued card numbers. The user card swipe records are registered and displayed. During use, the user can set alarm events, card swipe success record events, add new card events, get card number configuration information events, set card permission plan template events and delete entry and exit records events in the form of callbacks. The main process function design module (3) responds to messages based on the user's buttons on the interface, receives message feedback from the access control monitoring device and displays it on the user's operation interface, obtains the database background records in real time, and automatically refreshes the entry and exit records. List; The linkage function design module (4) inside the container is used to link the power distribution, access control host and fault management module inside the container to carry out intelligent control of the container switch.
6. A storage medium for receiving user input programs, characterized in that, The stored computer program causes the electronic device to execute the monitoring method for a container access control system as described in any one of claims 1-4.
7. A computer device, characterized in that, The computer device includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the monitoring method for a container access control system according to any one of claims 1-4.
8. A port logistics container, characterized in that, The port logistics container is equipped with the container access control and monitoring system as described in claim 5.
Citation Information
Patent Citations
Intelligent monitoring system of data container
CN110824962A
Design method of fire-fighting monitoring system applied in container
CN113636224A