Remote control method and system for intelligent lock of meter box
Through the remote control method and system of the metering box intelligent lock, the compatibility, security and stability of the metering box intelligent lock in actual applications is solved, efficient and reliable remote door opening control and real-time status monitoring are achieved, and users are enhanced Experience and system security.
Patent Information
- Application Number
- CN202410334322.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-03-22
AI Technical Summary
In actual applications, the metering box smart lock faces problems such as device compatibility and interoperability, data security and privacy protection, terminal failure and maintenance, network connection and communication stability, system integration and standardization, etc., which affects its efficient operation and security.
A remote control method and system for metering box intelligent lock is proposed. The door opening operation instructions are sent to the backend through the user's front end, and the backend monitors and sends door opening instructions to the terminal in real time, and determines whether the door opening is successful in real time, and feedbacks the results to the user's front end to realize Remote interaction and timely status monitoring have the functions of timeout not returning and return timeout detection to ensure system stability and reliability.
It improves the timeliness and reliability of the metering box intelligent lock, enhances the intelligence level and user experience of the system, promptly detects and handles abnormal situations, and ensures the normal operation and safety of the system.
Smart Images

Figure CN118196941B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of remote control, and in particular to a remote control method and system for a meter box intelligent lock. Background Art
[0002] Meter box smart lock is a specially designed high-tech device that combines the functions of metering instruments and smart door locks. Metering instruments are usually used to measure and record energy usage, such as electricity, gas and water consumption. Smart door locks are devices that open and close locks through electronic or network control. Meter box smart locks have a wide range of application value in the field of energy supply. For example, in terms of power supply, meter box smart locks can be used to control and monitor switchgear for power transmission, while also recording power consumption and providing accurate and reliable power data for power companies or customers. In the field of gas and water, meter box smart locks can be used to protect and monitor the safety of gas and water pipelines while ensuring accurate flow measurement and billing.
[0003] The remote control function of the meter box smart lock allows energy supply companies or customers to control and monitor the operating status and energy usage of the equipment through remote operation. This remote control function can save labor costs, improve work efficiency, and provide customers with more convenient services. However, in practical applications, meter box smart locks also face some challenges and problems. For example, issues such as equipment compatibility and interoperability, data security and privacy protection, terminal failure and maintenance, network connection and communication stability, and system integration and standardization all need to be addressed. Summary of the invention
[0004] The present invention provides a remote control method and system for a meter box intelligent lock, which is used to solve the problems mentioned in the above background technology:
[0005] The present invention provides a remote control method for a meter box smart lock, and the remote control method for the meter box smart lock includes:
[0006] The user front end sends a door opening operation instruction to the back end;
[0007] The backend monitors in real time whether the door opening operation instruction from the user's front end is received, and sends the door opening instruction to the terminal after receiving the door opening operation instruction from the user's front end;
[0008] Determine in real time whether the terminal has successfully opened the door, obtain the judgment result, and send the judgment result to the background;
[0009] After receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display.
[0010] Furthermore, whether the door opening operation instruction from the user's front end is received is monitored in real time by the background, and when the background receives the door opening operation instruction from the user's front end, the door opening instruction is sent to the terminal, including:
[0011] Real-time monitoring is performed in the background to determine whether the door opening operation instruction from the user's front end is received;
[0012] When the backend receives the door opening operation instruction from the user's front end, the backend joins the control time queue;
[0013] After the background joins the control time queue, the background middleware sends a control message to the front;
[0014] After receiving the control message, the front-end sends the control message to the terminal.
[0015] Furthermore, determining in real time whether the terminal has successfully opened the door, obtaining a determination result, and sending the determination result to the backend includes:
[0016] After receiving the control message, the terminal controls the intelligent lock of the metering box to open the door;
[0017] Real-time monitoring of whether the meter box smart lock is successfully opened to obtain a judgment result;
[0018] When the judgment result indicates that the meter box smart lock is successfully opened, the control terminal sends a door opening success message to the front end;
[0019] When the judgment result indicates that the meter box smart lock fails to open the door, the control terminal sends a door opening failure message to the front-end.
[0020] Furthermore, after receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display, including:
[0021] After receiving the door opening success message or door opening failure message sent by the terminal, the background front-end sends the door opening success message or door opening failure message to the middleware;
[0022] The middleware sends the door opening success message or the door opening failure message to the backend;
[0023] The backend parses the door opening success message or the door opening failure message to obtain a command execution result corresponding to the door opening success message or the door opening failure message;
[0024] The command execution result is sent to the user front end for prompt display.
[0025] Furthermore, after receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display, which also includes:
[0026] Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware within a timeout period and fails to return, and determine whether the front-end has an operational abnormality according to the determination result, including:
[0027] Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware within a timeout period;
[0028] If the front-end sends a door opening success message or a door opening failure message to the middleware but the message times out and is not returned, the timeout and non-return message is sent to the middleware, and the timeout and non-return message is sent to the backend through the middleware;
[0029] The backend parses the timeout non-return message, obtains the command execution result corresponding to the timeout non-return message, and sends the command execution result to the user frontend for prompt display;
[0030] Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware and returns a timeout;
[0031] If the front-end sends a door opening success message or a door opening failure message to the middleware and there is a return timeout, a return timeout message is sent to the middleware, and the return timeout message is sent to the backend through the middleware;
[0032] The backend parses the returned timeout message, obtains the command execution result corresponding to the returned timeout message, and sends the command execution result to the user frontend for prompt display;
[0033] The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information to obtain an evaluation parameter. When the evaluation parameter is lower than a preset parameter threshold, an alarm is issued.
[0034] The present invention proposes a remote control system for a meter box smart lock, and the remote control system for the meter box smart lock comprises:
[0035] Instruction sending module: the user front end sends the door opening operation instruction to the back end;
[0036] Command monitoring module: monitors in real time whether the door opening operation command from the user's front end is received through the background. When the background receives the door opening operation command from the user's front end, it sends the door opening command to the terminal;
[0037] Real-time judgment module: judge in real time whether the terminal has successfully opened the door, obtain the judgment result, and send the judgment result to the background;
[0038] Result generation module: After receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display.
[0039] Furthermore, the instruction monitoring module includes:
[0040] Instruction receiving judgment module: monitors in real time whether the door opening operation instruction from the user's front end is received through the background;
[0041] Time queue joining module: When the backend receives the door opening operation instruction from the user's front end, the backend joins the control time queue;
[0042] Control message sending module: After the background joins the control time queue, the background middleware sends the control message to the front;
[0043] Message sending module: after receiving the control message, the front-end sends the control message to the terminal.
[0044] Furthermore, the real-time judgment module includes:
[0045] Door opening control module: after receiving the control message, the terminal controls the meter box smart lock to open the door;
[0046] Result judgment module: real-time monitoring of whether the meter box smart lock is successfully opened and obtaining the judgment result;
[0047] Door opening success module: when the judgment result indicates that the meter box smart lock has opened the door successfully, the control terminal sends a door opening success message to the front end;
[0048] Door opening failure module: When the judgment result indicates that the meter box smart lock fails to open the door, the control terminal sends a door opening failure message to the front end.
[0049] Furthermore, the result generation module includes:
[0050] Front-end receiving module: after receiving the door opening success message or door opening failure message sent by the terminal, the back-end sends the door opening success message or door opening failure message to the middleware;
[0051] Backstage acquisition module: the middleware sends the door opening success message or door opening failure message to the backstage;
[0052] Message parsing module: the background parses the door opening success message or the door opening failure message to obtain the command execution result corresponding to the door opening success message or the door opening failure message;
[0053] Prompt display module: sends the command execution result to the user front end for prompt display.
[0054] Furthermore, the result generation module further includes:
[0055] Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware within a timeout period and fails to return, and determine whether the front-end has an operational abnormality according to the determination result, including:
[0056] Return judgment module: judge in real time whether the door opening success message or door opening failure message sent by the front-end to the middleware has timed out and has not been returned;
[0057] Middleware receiving module: if the front-end sends a door opening success message or a door opening failure message to the middleware but the message times out and does not return, the timeout and non-return message is sent to the middleware, and the timeout and non-return message is sent to the backend through the middleware;
[0058] Unreturned message parsing module: the background parses the timeout unreturned message, obtains the command execution result corresponding to the timeout unreturned message, and sends the command execution result to the user front end for prompt display;
[0059] Return timeout judgment module: judge in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware and returns a timeout;
[0060] Sending backend module: If the frontend sends a door opening success message or a door opening failure message to the middleware and there is a return timeout, the return timeout message is sent to the middleware, and the return timeout message is sent to the backend through the middleware;
[0061] Front-end display module: the backend parses the returned timeout message, obtains the command execution result corresponding to the returned timeout message, and sends the command execution result to the user front-end for prompt display;
[0062] Alarm module: The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, obtains the evaluation parameter, and issues an alarm when the evaluation parameter is lower than the preset parameter threshold.
[0063] The invention has the following beneficial effects: the user front end sends the door opening operation instruction to the back end, so as to realize the remote interaction between the user and the back end, and facilitate the user to operate the meter box intelligent lock; the back end monitors in real time whether the door opening operation instruction of the user front end is received, and sends the door opening instruction to the terminal after receiving the instruction, so as to improve the timeliness and reliability of the door opening operation; the terminal is judged in real time whether the door is opened successfully, and the judgment result is sent to the back end, so that the back end can timely understand the door opening state, and generate the command execution result according to the judgment result, so as to improve the intelligence of the system. The command execution result is sent to the user front end for prompt display, so that the user can timely understand the result of the door opening operation, and enhance the user experience. The system also has the functions of timeout non-return detection and return timeout detection. When an abnormal situation occurs, the back end can timely understand and handle it, so as to improve the stability and reliability of the system. The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, so that the user can better understand the use of the terminal, which is helpful to timely discover and handle problems. Through the alarm mechanism, when the evaluation parameter is lower than the preset parameter threshold, an alarm is issued, so that the user can timely understand the abnormal situation of the system and take corresponding measures, which is helpful to ensure the normal operation of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 A control logic diagram of a remote control method for a meter box intelligent lock according to the present invention;
[0065] Figure 2 This is a module diagram of a remote control system for a meter box smart lock described in the present invention. DETAILED DESCRIPTION
[0066] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0067] Embodiment 1,
[0068] In this embodiment, a remote control method for a meter box smart lock is provided. Figure 1 As shown, the remote control method of the meter box smart lock includes:
[0069] S1: The user front end sends a door opening operation instruction to the back end;
[0070] S2: The backend monitors in real time whether the door opening operation instruction from the user's front end is received, and sends the door opening operation instruction to the terminal after the backend receives the door opening operation instruction from the user's front end;
[0071] S3: Determine in real time whether the terminal has successfully opened the door, obtain the determination result, and send the determination result to the backend;
[0072] S4: After receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display.
[0073] The working principle of the above technical solution is: the user sends a door opening command to the background server through a mobile phone App or other terminal, requesting remote control of the door opening operation of the meter box smart lock; the background server monitors in real time whether it has received the door opening operation command from the user's front end. Once the command is received, the background server sends a door opening command to the terminal where the meter box smart lock is located; after the terminal receives the door opening command, it determines in real time whether the door opening is successful, and sends the judgment result to the background server; after the background server receives the judgment result sent by the terminal, it generates a command execution result according to the judgment result, and then sends the execution result to the user's front end for prompt display, informing the user whether the door opening operation is successful.
[0074] The effect of the above technical solution is: users can send door opening commands remotely through mobile phone apps or other terminals, without having to personally arrive at the meter box smart lock site to operate, providing a more convenient way to open the door; the background server monitors the door opening commands sent by the user front end in real time, and can send door opening commands to the terminal in a timely manner. At the same time, the terminal judges in real time whether the door is opened successfully during the door opening process, and sends the judgment result to the background. In this way, real-time door opening status monitoring and feedback can be achieved; through remote control methods, the use of physical keys can be reduced, reducing the risk of being stolen or lost. At the same time, the real-time monitoring and feedback mechanism can detect abnormal situations in a timely manner, such as door opening failures or illegal door opening behaviors, which improves the security of the meter box smart lock; the background generates the command execution result based on the judgment result sent by the terminal, and sends the result to the user front end for prompt display. Users can clearly understand the results of the door opening operation so that they can take corresponding measures in time.
[0075] Embodiment 2,
[0076] In this embodiment, whether the door opening operation instruction of the user front end is received by the background in real time, when the background receives the door opening operation instruction of the user front end, the door opening instruction is sent to the terminal, including:
[0077] S21: Real-time monitoring by the background to determine whether a door opening operation instruction from the user's front end is received;
[0078] S22: When the backend receives the door opening operation instruction from the user frontend, the backend joins the control time queue;
[0079] S23: After the background joins the control time queue, the background middleware sends a control message to the front;
[0080] S24: After receiving the control message, the pre-processor sends the control message to the terminal.
[0081] Among them, middleware is a very critical component, which is mainly responsible for parsing and forwarding information. Middleware can be a physical device or a program or code on a transit server. Its main function is to convert information into information that its upstream and downstream can understand. The front end refers to the page that the system administrator can see, and the page that visitors and users can see after registering and logging in, that is, the front end.
[0082] The working principle of the above technical solution is: the user sends a door opening operation instruction to the background through a mobile phone App or other terminal; the background server monitors in real time whether it has received the door opening operation instruction from the user's front end; when the background receives the door opening operation instruction from the user's front end, the instruction is added to the control time queue so that the door opening operation can be performed in sequence later; the background middleware sends the control message to the front end, which is a page visible to the system administrator or a page that the user can see after registration and login; after receiving the control message, the front end forwards the message to the terminal device connected to the meter box smart lock, and the terminal device performs the door opening operation according to the instruction.
[0083] The effects of the above technical solution are: the background can monitor the door opening operation instructions sent by the user front end in real time to ensure that the instructions can be responded to in time; the background will add the received door opening instructions to the control time queue in sequence to ensure the execution order of the instructions and avoid instruction conflicts or confusion; the middleware is responsible for parsing the instructions sent by the user and converting them into a format that the terminal can understand to ensure that the information can be correctly transmitted and executed by the terminal device; the front page, as an interface that can be seen by system administrators and users, can receive the control message sent by the background and send it to the terminal device, providing a visual operation interface; through this technical solution, users can send door opening instructions through the front end, and the background can monitor and execute corresponding operations in real time to achieve remote door opening control and improve efficiency and convenience; through real-time monitoring and control of the background, it is ensured that only authorized users can send door opening instructions, and the execution of instructions is subject to strict time sequence control, thereby improving the security of the system.
[0084] Embodiment 3,
[0085] In this embodiment, determining in real time whether the terminal has successfully opened the door, obtaining a determination result, and sending the determination result to the backend includes:
[0086] S31: After receiving the control message, the terminal controls the meter box smart lock to open the door;
[0087] S32: Real-time monitoring of whether the meter box smart lock is successfully opened, and obtaining a judgment result;
[0088] S33: When the judgment result shows that the meter box smart lock is successfully opened, the control terminal sends a door opening success message to the front end;
[0089] S34: When the judgment result indicates that the meter box smart lock fails to open the door, the control terminal sends a door opening failure message to the front-end.
[0090] The working principle of the above technical solution is: the background sends the control instruction to the terminal device by monitoring the door opening operation instruction of the user's front end; after receiving the control instruction, the terminal device controls the meter box smart lock to perform the door opening operation; the terminal device monitors in real time whether the meter box smart lock is successfully opened, and obtains the corresponding door opening result; the terminal device sends the judgment result to the background according to the door opening result, and the background knows whether the door opening is successful by analyzing the judgment result; when the door is opened successfully, the terminal device sends the door opening success message to the front end, and the front end can provide corresponding prompts and feedback; when the door opening fails, the terminal device sends the door opening failure message to the front end, and the front end can also provide timely feedback to the user.
[0091] The effects of the above technical solution are: by real-time monitoring of whether the smart lock of the meter box successfully opens the door, the door opening result can be obtained in time to avoid delays or wrong judgments; when the smart lock of the meter box opens the door successfully, the control terminal will immediately send a door opening success message to the front end, and the user can get timely feedback and confirmation; by timely feedback on the door opening result, the user can quickly understand whether the door opening operation is successful, thereby improving the user experience and satisfaction; when the smart lock of the meter box fails to open the door, the control terminal will send a door opening failure message to the front end, so that the user can be aware of the problem and take corresponding measures, thereby enhancing the security of the system; by sending the door opening result to the background, the background can obtain the meter box door opening situation in real time, which is convenient for remote management and control.
[0092] Embodiment 4,
[0093] In this embodiment, after receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display, including:
[0094] S41: After receiving the door opening success message or the door opening failure message sent by the terminal, the front-end of the backend sends the door opening success message or the door opening failure message to the middleware;
[0095] S42: The middleware sends the door opening success message or the door opening failure message to the backend;
[0096] S43: the background parses the door opening success message or the door opening failure message to obtain a command execution result corresponding to the door opening success message or the door opening failure message;
[0097] S44: Send the command execution result to the user front end for prompt display.
[0098] The working principle of the above technical solution is: when the terminal detects that the meter box smart lock opens the door successfully or fails, it will send the corresponding door opening success message or door opening failure message to the front end; after receiving the door opening success message or door opening failure message, the front end sends these messages to the middleware; the middleware is responsible for passing the door opening success message or door opening failure message to the background for further processing by the background; after receiving the door opening success message or door opening failure message, the background parses these messages and obtains the corresponding command execution results; the background sends the command execution results to the user front end so that the user can know the results of the door opening operation in time and perform corresponding processing.
[0099] The effects of the above technical solution are: through the collaborative work of the front-end, middleware and back-end, the transmission and processing of messages from the terminal to the user front-end are realized, ensuring that the information can be smoothly transmitted and processed accordingly; a multi-layer message transmission and processing method is adopted to improve the reliability of the system, reduce the risk of information loss or erroneous parsing, and ensure that users can accurately obtain the results of the door opening operation; by sending the command execution results to the user front-end for prompt display, the user can intuitively understand the execution results of the door opening operation, enhancing the user experience and satisfaction; a layered architecture design is adopted to facilitate the expansion and maintenance of system functions, which is conducive to subsequent upgrades and optimizations of the system.
[0100] Embodiment 5,
[0101] In this embodiment, after receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display, and also includes:
[0102] Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware within a timeout period and fails to return, and determine whether the front-end has an operational abnormality according to the determination result, including:
[0103] C1: Real-time determination of whether the front-end sends a door opening success message or a door opening failure message to the middleware for a timeout and fails to return;
[0104] C2: If the front-end sends a door opening success message or a door opening failure message to the middleware but the message times out and is not returned, the timeout and non-return message is sent to the middleware, and the timeout and non-return message is sent to the backend through the middleware;
[0105] C3: the backend parses the timeout non-return message, obtains the command execution result corresponding to the timeout non-return message, and sends the command execution result to the user frontend for prompt display;
[0106] C4: Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware and returns a timeout;
[0107] C5: If the front-end sends a door opening success message or a door opening failure message to the middleware and there is a return timeout, a return timeout message is sent to the middleware, and the return timeout message is sent to the backend through the middleware;
[0108] C6: the backend parses the returned timeout message, obtains the command execution result corresponding to the returned timeout message, and sends the command execution result to the user frontend for prompt display;
[0109] C7: The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information to obtain an evaluation parameter. When the evaluation parameter is lower than a preset parameter threshold, an alarm is issued.
[0110] The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, and obtains evaluation parameters, including:
[0111] Step 1: extract the number of timeouts without feedback in the historical feedback information record of the terminal (i.e., no feedback information has been received after a specified time);
[0112] Step 2: extract the number of feedback timeouts from the historical feedback information record of the terminal;
[0113] Step 3: Obtain a first feedback information evaluation factor for the terminal information feedback using the number of timeouts without feedback and the number of feedback timeouts in the historical feedback information record; wherein the first feedback information evaluation factor is obtained by the following formula:
[0114]
[0115] in, S 01 represents the first feedback information evaluation factor; A Represents the current background information feedback evaluation matrix; A 0 represents the preset reference matrix; a 01 , a 02 and a 03 Respectively represent the reference matrix elements, preferably, a 01 , a 02 and a 03 The values of are 1.18, 1.32 and 0.93 respectively;k 1 Indicates the number of times no feedback is given after timeout; k 2 Indicates the number of feedback timeouts; n Indicates the total number of times feedback information is generated; m Indicates the total number of times feedback information is received;
[0116] Step 4: Use the supermarket information of feedback timeout in the historical feedback information record of the terminal to obtain the second feedback information evaluation factor of the terminal information feedback; wherein the second feedback information evaluation factor is obtained by the following formula:
[0117]
[0118] in, S 02 represents the second feedback information evaluation factor; T i Indicates the reception time of the feedback information received by the user front end without timeout; T ci Indicates the reception time of the timeout feedback information received by the user front end; T z Indicates the preset time threshold for monitoring whether the feedback information reception has timed out; sqrt () indicates square root operation;
[0119] Step 5: Obtain an evaluation parameter using the first feedback information evaluation factor and the second feedback information evaluation factor; wherein the evaluation parameter is obtained by the following formula:
[0120]
[0121] in, S represents the evaluation parameter; S 01 represents the first feedback information evaluation factor; S 02 represents the second feedback information evaluation factor; S 0 Indicates the preset parameter reference value.
[0122] The working principle of the above technical solution is: determine in real time whether the message of door opening success or door opening failure sent by the front-end to the middleware has timed out and has not returned; if the message of door opening success or door opening failure sent by the front-end to the middleware has timed out and has not returned, the timed out and non-returned message will be sent to the middleware, and the timed out and non-returned message will be sent to the background through the middleware; the background will parse the timed out and non-returned message, obtain the command execution result corresponding to the timed out and non-returned message, and send the command execution result to the user front-end for prompt display; determine in real time whether the message of door opening success or door opening failure sent by the front-end to the middleware has timed out and has not returned Return timeout; if there is a return timeout when the front-end sends a door opening success message or a door opening failure message to the middleware, the return timeout message will be sent to the middleware, and the return timeout message will be sent to the backend through the middleware; the backend will parse the return timeout message, obtain the command execution result corresponding to the return timeout message, and send the command execution result to the user frontend for prompt display; the user frontend will evaluate the terminal information feedback according to the timeout non-return situation information and the return timeout information, obtain the evaluation parameter, and when the evaluation parameter is lower than the preset parameter threshold, an alarm will be issued. The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information to obtain the evaluation parameters, including: extracting the number of timeout non-feedback times (that is, no feedback information has been received after a specified time) in the historical feedback information record of the terminal; extracting the number of feedback timeouts in the historical feedback information record of the terminal; using the number of timeout non-feedback times and the number of feedback timeouts in the historical feedback information record to obtain the first feedback information evaluation factor of the terminal information feedback; using the supermarket information of feedback timeouts in the historical feedback information record of the terminal to obtain the second feedback information evaluation factor of the terminal information feedback; using the first feedback information evaluation factor and the second feedback information evaluation factor to obtain the evaluation parameters;
[0123] The effects of the above technical solution are as follows: the system can monitor in real time whether the door opening operation has timed out or returned timed out, and can send messages to the middleware and background for processing in time, ensuring the system's timely response and processing capabilities for the door opening operation; the system can parse timed out messages and returned timed out messages, obtain the corresponding command execution results, and send the results to the user front end for display, improving the user's real-time understanding and control of the door opening operation status; by evaluating the terminal information feedback and setting preset thresholds for comparison, the system can realize intelligent evaluation and monitoring of the terminal door opening operation status to ensure the stability of the system operation. When the evaluation parameters are lower than the preset threshold, the system can issue an alarm in time, improving the security and stability of the system; by real-time monitoring and displaying the door opening operation status, the system can provide more reliable services, improve users' trust and satisfaction with the system, and enhance user experience; the system can quickly discover and handle timeouts in door opening operations, which helps to quickly locate and troubleshoot problems, and improve the work efficiency and maintainability of the system. The above first feedback information evaluation factor calculation formula can judge the quality and stability of terminal information feedback by quantifying the evaluation factor, so that the system can more accurately evaluate the performance of the terminal and promptly handle and optimize the problem. S 01 The number of timeouts without feedback and the number of timeouts for feedback are comprehensively considered, making the evaluation more comprehensive and accurate. The definition and weight setting of quantitative indicators can better reflect the quality and stability of terminal information feedback; the benchmark matrix in the formula A 0 The reference standard used to set the evaluation factor can be adjusted according to actual needs. By comparing with the benchmark matrix, the quality of the terminal information feedback can be judged, so as to formulate corresponding follow-up measures; n and m in the formula represent the total number of times feedback information is generated and the total number of times feedback information is received. The introduction of these parameters can eliminate the bias of the evaluation factor and make the evaluation result more objective and accurate; the evaluation factor calculated by the formula S 01 is a specific value that can be used to quantitatively evaluate terminal information feedback. The higher the value of the evaluation factor, the better the quality of the terminal's information feedback; conversely, the lower the value of the evaluation factor, the worse the quality of the terminal's information feedback. Such quantitative evaluation results help system administrators better understand the performance and problems of the terminal and take corresponding improvement measures. The above-mentioned second feedback information evaluation factor calculation formula evaluates the timeliness and stability of terminal information feedback by considering the feedback information reception time and the preset time threshold, providing system administrators with a more accurate and comprehensive performance evaluation, which helps to discover problems in a timely manner and take corresponding improvement measures. At the same time, the evaluation factor in the formula S 02The reception time of the feedback information received by the user front end without timeout and the reception time of the feedback information with timeout are taken into account. By introducing these two parameters, the timeliness and stability of the terminal information feedback can be more comprehensively evaluated. Such evaluation factors can better reflect the actual performance of the terminal information feedback, which is conducive to the system administrator to make a more detailed evaluation of the terminal performance; T z Indicates the preset time threshold for monitoring whether the feedback information reception has timed out. The preset time threshold can be set according to the specific situation, so that the evaluation is more in line with the actual needs. By comparing with the preset time threshold, it can be judged whether the timeliness of the terminal information feedback meets the expectations, so as to determine whether adjustments and improvements are needed; the square root operation is used in the formula T i and T ci This processing method can make the evaluation factor more sensitive and balanced. Taking the square root of the difference in reception time can effectively adjust the value range of the evaluation factor, avoid the evaluation result being too large or too small in extreme cases, and make the evaluation result more operational; by considering the feedback information reception time and the preset time threshold, the evaluation factor calculated by the formula S 02 The timeliness and stability of terminal information feedback can be evaluated more accurately. Such evaluation results help system administrators to have a more comprehensive understanding of terminal performance and take corresponding measures to optimize and improve it. The above evaluation parameter calculation formula obtains the evaluation parameter by comprehensively considering multiple evaluation factors and combining the parameter benchmark value. S , thereby quantitatively evaluating the performance of terminal information feedback. Such evaluation results help system administrators to fully understand the performance level of the terminal and take corresponding measures to optimize and improve it. At the same time, the evaluation parameters in the formula S Comprehensively consider the first feedback information evaluation factor S 01 and the second feedback information evaluation factor S 02 By comprehensively considering multiple evaluation factors, the performance of terminal information feedback can be evaluated more comprehensively. Such a comprehensive evaluation can avoid over-reliance on a single indicator and neglect of other important factors, and improve the accuracy and reliability of the evaluation results; S 0 Indicates the preset parameter benchmark value. By introducing the parameter benchmark value, the evaluation parameter can be compared and judged relative to a reference value. Such a comparison can help system administrators understand the gap between the actual performance of terminal information feedback and the expected target, so as to determine whether improvement and optimization are needed; the evaluation parameter calculated by the formula SIt is a quantitative indicator that can directly use numbers to express the performance level of terminal information feedback. Such quantitative evaluation helps system administrators understand the performance of terminals more specifically and make targeted decisions and adjustments; the evaluation parameters in the formula are S It can be adjusted according to actual needs and preset parameter benchmark values. By adjusting the parameter benchmark values, it can flexibly adapt to different application scenarios and performance requirements, making the evaluation results more operational and practical.
[0124] Embodiment 6,
[0125] In this embodiment, a remote control system for a meter box smart lock is provided. Figure 2 As shown, the remote control system of the meter box intelligent lock includes:
[0126] Instruction sending module: the user front end sends the door opening operation instruction to the back end;
[0127] Command monitoring module: monitors in real time whether the door opening operation command from the user's front end is received through the background, and sends the door opening operation command to the terminal after receiving the door opening operation command from the user's front end;
[0128] Real-time judgment module: judge in real time whether the terminal has successfully opened the door, obtain the judgment result, and send the judgment result to the background;
[0129] Result generation module: After receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display.
[0130] The working principle of the above technical solution is: the user sends a door opening command to the background server through a mobile phone App or other terminal, requesting remote control of the door opening operation of the meter box smart lock; the background server monitors in real time whether it has received the door opening operation command from the user's front end. Once the command is received, the background server sends a door opening command to the terminal where the meter box smart lock is located; after the terminal receives the door opening command, it determines in real time whether the door opening is successful, and sends the judgment result to the background server; after the background server receives the judgment result sent by the terminal, it generates a command execution result according to the judgment result, and then sends the execution result to the user's front end for prompt display, informing the user whether the door opening operation is successful.
[0131] The effect of the above technical solution is: users can send door opening commands remotely through mobile phone apps or other terminals, without having to personally arrive at the meter box smart lock site to operate, providing a more convenient way to open the door; the background server monitors the door opening commands sent by the user front end in real time, and can send door opening commands to the terminal in a timely manner. At the same time, the terminal judges in real time whether the door is opened successfully during the door opening process, and sends the judgment result to the background. In this way, real-time door opening status monitoring and feedback can be achieved; through remote control methods, the use of physical keys can be reduced, reducing the risk of being stolen or lost. At the same time, the real-time monitoring and feedback mechanism can detect abnormal situations in a timely manner, such as door opening failures or illegal door opening behaviors, which improves the security of the meter box smart lock; the background generates the command execution result based on the judgment result sent by the terminal, and sends the result to the user front end for prompt display. Users can clearly understand the results of the door opening operation so that they can take corresponding measures in time.
[0132] Embodiment 7,
[0133] In this embodiment, the instruction monitoring module includes:
[0134] Instruction receiving judgment module: monitors in real time whether the door opening operation instruction from the user's front end is received through the background;
[0135] Time queue joining module: When the backend receives the door opening operation instruction from the user's front end, the backend joins the control time queue;
[0136] Control message sending module: After the background joins the control time queue, the background middleware sends the control message to the front;
[0137] Message sending module: after receiving the control message, the front-end sends the control message to the terminal.
[0138] Among them, middleware is a very critical component, which is mainly responsible for parsing and forwarding information. Middleware can be a physical device or a program or code on a transit server. Its main function is to convert information into information that its upstream and downstream can understand. The front end refers to the page that the system administrator can see, and the page that visitors and users can see after registering and logging in, that is, the front end.
[0139] The working principle of the above technical solution is: the user sends a door opening operation instruction to the background through a mobile phone App or other terminal; the background server monitors in real time whether it has received the door opening operation instruction from the user's front end; when the background receives the door opening operation instruction from the user's front end, the instruction is added to the control time queue so that the door opening operation can be performed in sequence later; the background middleware sends the control message to the front end, which is a page visible to the system administrator or a page that the user can see after registration and login; after receiving the control message, the front end forwards the message to the terminal device connected to the meter box smart lock, and the terminal device performs the door opening operation according to the instruction.
[0140] The effects of the above technical solution are: the background can monitor the door opening operation instructions sent by the user front end in real time to ensure that the instructions can be responded to in time; the background will add the received door opening instructions to the control time queue in sequence to ensure the execution order of the instructions and avoid instruction conflicts or confusion; the middleware is responsible for parsing the instructions sent by the user and converting them into a format that the terminal can understand to ensure that the information can be correctly transmitted and executed by the terminal device; the front page, as an interface that can be seen by system administrators and users, can receive the control message sent by the background and send it to the terminal device, providing a visual operation interface; through this technical solution, users can send door opening instructions through the front end, and the background can monitor and execute corresponding operations in real time to achieve remote door opening control and improve efficiency and convenience; through real-time monitoring and control of the background, it is ensured that only authorized users can send door opening instructions, and the execution of instructions is subject to strict time sequence control, thereby improving the security of the system.
[0141] Embodiment 8,
[0142] In this embodiment, the real-time determination module includes:
[0143] Door opening control module: after receiving the control message, the terminal controls the meter box smart lock to open the door;
[0144] Result judgment module: real-time monitoring of whether the meter box smart lock is successfully opened and obtaining the judgment result;
[0145] Door opening success module: when the judgment result indicates that the meter box smart lock has opened the door successfully, the control terminal sends a door opening success message to the front end;
[0146] Door opening failure module: When the judgment result indicates that the meter box smart lock fails to open the door, the control terminal sends a door opening failure message to the front end.
[0147] The working principle of the above technical solution is: the background sends the control instruction to the terminal device by monitoring the door opening operation instruction of the user's front end; after receiving the control instruction, the terminal device controls the meter box smart lock to perform the door opening operation; the terminal device monitors in real time whether the meter box smart lock is successfully opened, and obtains the corresponding door opening result; the terminal device sends the judgment result to the background according to the door opening result, and the background knows whether the door opening is successful by analyzing the judgment result; when the door is opened successfully, the terminal device sends the door opening success message to the front end, and the front end can provide corresponding prompts and feedback; when the door opening fails, the terminal device sends the door opening failure message to the front end, and the front end can also provide timely feedback to the user.
[0148] The effects of the above technical solution are: by real-time monitoring of whether the smart lock of the meter box successfully opens the door, the door opening result can be obtained in time to avoid delays or wrong judgments; when the smart lock of the meter box opens the door successfully, the control terminal will immediately send a door opening success message to the front end, and the user can get timely feedback and confirmation; by timely feedback on the door opening result, the user can quickly understand whether the door opening operation is successful, thereby improving the user experience and satisfaction; when the smart lock of the meter box fails to open the door, the control terminal will send a door opening failure message to the front end, so that the user can be aware of the problem and take corresponding measures, thereby enhancing the security of the system; by sending the door opening result to the background, the background can obtain the meter box door opening situation in real time, which is convenient for remote management and control.
[0149] Embodiment 9,
[0150] In this embodiment, the result generation module includes:
[0151] Front-end receiving module: after receiving the door opening success message or door opening failure message sent by the terminal, the back-end sends the door opening success message or door opening failure message to the middleware;
[0152] Backstage acquisition module: the middleware sends the door opening success message or door opening failure message to the backstage;
[0153] Message parsing module: the background parses the door opening success message or the door opening failure message to obtain the command execution result corresponding to the door opening success message or the door opening failure message;
[0154] Prompt display module: sends the command execution result to the user front end for prompt display.
[0155] The working principle of the above technical solution is: when the terminal detects that the meter box smart lock opens the door successfully or fails, it will send the corresponding door opening success message or door opening failure message to the front end; after receiving the door opening success message or door opening failure message, the front end sends these messages to the middleware; the middleware is responsible for passing the door opening success message or door opening failure message to the background for further processing by the background; after receiving the door opening success message or door opening failure message, the background parses these messages and obtains the corresponding command execution results; the background sends the command execution results to the user front end so that the user can know the results of the door opening operation in time and perform corresponding processing.
[0156] The effects of the above technical solution are: through the collaborative work of the front-end, middleware and back-end, the transmission and processing of messages from the terminal to the user front-end are realized, ensuring that the information can be smoothly transmitted and processed accordingly; a multi-layer message transmission and processing method is adopted to improve the reliability of the system, reduce the risk of information loss or erroneous parsing, and ensure that users can accurately obtain the results of the door opening operation; by sending the command execution results to the user front-end for prompt display, the user can intuitively understand the execution results of the door opening operation, enhancing the user experience and satisfaction; a layered architecture design is adopted to facilitate the expansion and maintenance of system functions, which is conducive to subsequent upgrades and optimizations of the system.
[0157] Embodiment 10
[0158] In this embodiment, the result generation module further includes:
[0159] Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware within a timeout period and fails to return, and determine whether the front-end has an operational abnormality according to the determination result, including:
[0160] Return judgment module: judge in real time whether the door opening success message or door opening failure message sent by the front-end to the middleware has timed out and has not been returned;
[0161] Middleware receiving module: if the front-end sends a door opening success message or a door opening failure message to the middleware but the message times out and does not return, the timeout and non-return message is sent to the middleware, and the timeout and non-return message is sent to the backend through the middleware;
[0162] Unreturned message parsing module: the background parses the timeout unreturned message, obtains the command execution result corresponding to the timeout unreturned message, and sends the command execution result to the user front end for prompt display;
[0163] Return timeout judgment module: judge in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware and returns a timeout;
[0164] Sending backend module: If the frontend sends a door opening success message or a door opening failure message to the middleware and there is a return timeout, the return timeout message is sent to the middleware, and the return timeout message is sent to the backend through the middleware;
[0165] Front-end display module: the backend parses the returned timeout message, obtains the command execution result corresponding to the returned timeout message, and sends the command execution result to the user front-end for prompt display;
[0166] Alarm module: The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, obtains the evaluation parameter, and issues an alarm when the evaluation parameter is lower than the preset parameter threshold.
[0167] The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, and obtains evaluation parameters, including:
[0168] Step 1: extract the number of timeouts without feedback in the historical feedback information record of the terminal (i.e., no feedback information has been received after a specified time);
[0169] Step 2: extract the number of feedback timeouts from the historical feedback information record of the terminal;
[0170] Step 3: Obtain a first feedback information evaluation factor for the terminal information feedback using the number of timeouts without feedback and the number of feedback timeouts in the historical feedback information record; wherein the first feedback information evaluation factor is obtained by the following formula:
[0171]
[0172] in, S 01 represents the first feedback information evaluation factor; A Represents the current background information feedback evaluation matrix; A 0 represents the preset reference matrix; a 01 , a 02 and a 03 Respectively represent the reference matrix elements, preferably, a 01 , a 02 and a 03 The values of are 1.18, 1.32 and 0.93 respectively; k 1 Indicates the number of times no feedback is given after timeout; k 2Indicates the number of feedback timeouts; n Indicates the total number of times feedback information is generated; m Indicates the total number of times feedback information is received;
[0173] Step 4: Use the supermarket information of feedback timeout in the historical feedback information record of the terminal to obtain the second feedback information evaluation factor of the terminal information feedback; wherein the second feedback information evaluation factor is obtained by the following formula:
[0174]
[0175] in, S 02 represents the second feedback information evaluation factor; T i Indicates the reception time of the feedback information received by the user front end without timeout; T ci Indicates the reception time of the timeout feedback information received by the user front end; T z Indicates the preset time threshold for monitoring whether the feedback information reception has timed out; sqrt () indicates square root operation;
[0176] Step 5: Obtain an evaluation parameter using the first feedback information evaluation factor and the second feedback information evaluation factor; wherein the evaluation parameter is obtained by the following formula:
[0177]
[0178] in, S represents the evaluation parameter; S 01 represents the first feedback information evaluation factor; S 02 represents the second feedback information evaluation factor; S 0 Indicates the preset parameter reference value.
[0179] The working principle of the above technical solution is: determine in real time whether the message of door opening success or door opening failure sent by the front-end to the middleware has timed out and has not returned; if the message of door opening success or door opening failure sent by the front-end to the middleware has timed out and has not returned, the timed out and non-returned message will be sent to the middleware, and the timed out and non-returned message will be sent to the background through the middleware; the background will parse the timed out and non-returned message, obtain the command execution result corresponding to the timed out and non-returned message, and send the command execution result to the user front-end for prompt display; determine in real time whether the message of door opening success or door opening failure sent by the front-end to the middleware has timed out and has not returned Return timeout; if there is a return timeout when the front-end sends a door opening success message or a door opening failure message to the middleware, the return timeout message will be sent to the middleware, and the return timeout message will be sent to the backend through the middleware; the backend will parse the return timeout message, obtain the command execution result corresponding to the return timeout message, and send the command execution result to the user frontend for prompt display; the user frontend will evaluate the terminal information feedback according to the timeout non-return situation information and the return timeout information, obtain the evaluation parameter, and when the evaluation parameter is lower than the preset parameter threshold, an alarm will be issued. The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information to obtain the evaluation parameters, including: extracting the number of timeout non-feedback times (that is, no feedback information has been received after a specified time) in the historical feedback information record of the terminal; extracting the number of feedback timeouts in the historical feedback information record of the terminal; using the number of timeout non-feedback times and the number of feedback timeouts in the historical feedback information record to obtain the first feedback information evaluation factor of the terminal information feedback; using the supermarket information of feedback timeouts in the historical feedback information record of the terminal to obtain the second feedback information evaluation factor of the terminal information feedback; using the first feedback information evaluation factor and the second feedback information evaluation factor to obtain the evaluation parameters;
[0180] The effects of the above technical solution are as follows: the system can monitor in real time whether the door opening operation has timed out or returned timed out, and can send messages to the middleware and background for processing in time, ensuring the system's timely response and processing capabilities for the door opening operation; the system can parse timed out messages and returned timed out messages, obtain the corresponding command execution results, and send the results to the user front end for display, improving the user's real-time understanding and control of the door opening operation status; by evaluating the terminal information feedback and setting preset thresholds for comparison, the system can realize intelligent evaluation and monitoring of the terminal door opening operation status to ensure the stability of the system operation. When the evaluation parameters are lower than the preset threshold, the system can issue an alarm in time, improving the security and stability of the system; by real-time monitoring and displaying the door opening operation status, the system can provide more reliable services, improve users' trust and satisfaction with the system, and enhance user experience; the system can quickly discover and handle timeouts in door opening operations, which helps to quickly locate and troubleshoot problems, and improve the work efficiency and maintainability of the system. The above first feedback information evaluation factor calculation formula can judge the quality and stability of terminal information feedback by quantifying the evaluation factor, so that the system can more accurately evaluate the performance of the terminal and promptly handle and optimize the problem. S 01 The number of timeouts without feedback and the number of timeouts for feedback are comprehensively considered, making the evaluation more comprehensive and accurate. The definition and weight setting of quantitative indicators can better reflect the quality and stability of terminal information feedback; the benchmark matrix in the formula A 0 The reference standard used to set the evaluation factor can be adjusted according to actual needs. By comparing with the benchmark matrix, the quality of the terminal information feedback can be judged, so as to formulate corresponding follow-up measures; n and m in the formula represent the total number of times feedback information is generated and the total number of times feedback information is received. The introduction of these parameters can eliminate the bias of the evaluation factor and make the evaluation result more objective and accurate; the evaluation factor calculated by the formula S 01 is a specific value that can be used to quantitatively evaluate terminal information feedback. The higher the value of the evaluation factor, the better the quality of the terminal's information feedback; conversely, the lower the value of the evaluation factor, the worse the quality of the terminal's information feedback. Such quantitative evaluation results help system administrators better understand the performance and problems of the terminal and take corresponding improvement measures. The above-mentioned second feedback information evaluation factor calculation formula evaluates the timeliness and stability of terminal information feedback by considering the feedback information reception time and the preset time threshold, providing system administrators with a more accurate and comprehensive performance evaluation, which helps to discover problems in a timely manner and take corresponding improvement measures. At the same time, the evaluation factor in the formula S 02The reception time of the feedback information received by the user front end without timeout and the reception time of the feedback information with timeout are taken into account. By introducing these two parameters, the timeliness and stability of the terminal information feedback can be more comprehensively evaluated. Such evaluation factors can better reflect the actual performance of the terminal information feedback, which is conducive to the system administrator to make a more detailed evaluation of the terminal performance; T z Indicates the preset time threshold for monitoring whether the feedback information reception has timed out. The preset time threshold can be set according to the specific situation, so that the evaluation is more in line with the actual needs. By comparing with the preset time threshold, it can be judged whether the timeliness of the terminal information feedback meets the expectations, so as to determine whether adjustments and improvements are needed; the square root operation is used in the formula T i and T ci This processing method can make the evaluation factor more sensitive and balanced. Taking the square root of the difference in reception time can effectively adjust the value range of the evaluation factor, avoid the evaluation result being too large or too small in extreme cases, and make the evaluation result more operational; by considering the feedback information reception time and the preset time threshold, the evaluation factor calculated by the formula S 02 The timeliness and stability of terminal information feedback can be evaluated more accurately. Such evaluation results help system administrators to have a more comprehensive understanding of terminal performance and take corresponding measures to optimize and improve it. The above evaluation parameter calculation formula obtains the evaluation parameter by comprehensively considering multiple evaluation factors and combining the parameter benchmark value. S , thereby quantitatively evaluating the performance of terminal information feedback. Such evaluation results help system administrators to fully understand the performance level of the terminal and take corresponding measures to optimize and improve it. At the same time, the evaluation parameters in the formula S Comprehensively consider the first feedback information evaluation factor S 01 and the second feedback information evaluation factor S 02 By comprehensively considering multiple evaluation factors, the performance of terminal information feedback can be evaluated more comprehensively. Such a comprehensive evaluation can avoid over-reliance on a single indicator and neglect of other important factors, and improve the accuracy and reliability of the evaluation results; S 0 Indicates the preset parameter benchmark value. By introducing the parameter benchmark value, the evaluation parameter can be compared and judged relative to a reference value. Such a comparison can help system administrators understand the gap between the actual performance of terminal information feedback and the expected target, so as to determine whether improvement and optimization are needed; the evaluation parameter calculated by the formula SIt is a quantitative indicator that can directly use numbers to express the performance level of terminal information feedback. Such quantitative evaluation helps system administrators understand the performance of terminals more specifically and make targeted decisions and adjustments; the evaluation parameters in the formula are S It can be adjusted according to actual needs and preset parameter benchmark values. By adjusting the parameter benchmark values, it can flexibly adapt to different application scenarios and performance requirements, making the evaluation results more operational and practical.
[0181] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A remote control method for a metering box intelligent lock, characterized in that: The remote control method of the meter box intelligent lock includes: The user front end sends a door opening operation instruction to the back end; The backend monitors in real time whether the door opening operation instruction from the user's front end is received, and sends the door opening instruction to the terminal after receiving the door opening operation instruction from the user's front end; Determine in real time whether the terminal has successfully opened the door, obtain the judgment result, and send the judgment result to the background; After receiving the judgment result sent by the terminal, the backend generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display; After receiving the judgment result sent by the terminal, the backend generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display, including: After receiving the door opening success message or door opening failure message sent by the terminal, the background front-end sends the door opening success message or door opening failure message to the middleware; The middleware sends the door opening success message or the door opening failure message to the backend; The backend parses the door opening success message or the door opening failure message to obtain a command execution result corresponding to the door opening success message or the door opening failure message; Send the command execution result to the user front end for prompt display; After receiving the judgment result sent by the terminal, the backend generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display, further comprising: Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware within a timeout period and fails to return, and determine whether the front-end has an operational abnormality according to the determination result, including: Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware for a timeout and fails to return; If the front-end sends a door opening success message or a door opening failure message to the middleware but the message times out and is not returned, the timeout and non-return message is sent to the middleware, and the timeout and non-return message is sent to the backend through the middleware; The backend parses the timeout non-return message, obtains the command execution result corresponding to the timeout non-return message, and sends the command execution result to the user frontend for prompt display; Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware and returns a timeout; If the front-end sends a door opening success message or a door opening failure message to the middleware and there is a return timeout, a return timeout message is sent to the middleware, and the return timeout message is sent to the backend through the middleware; The backend parses the returned timeout message, obtains the command execution result corresponding to the returned timeout message, and sends the command execution result to the user frontend for prompt display; The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information to obtain an evaluation parameter. When the evaluation parameter is lower than a preset parameter threshold, an alarm is issued; The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, and obtains evaluation parameters, including: Step 1: extract the number of timeouts without feedback in the historical feedback information record of the terminal (i.e., no feedback information has been received after a specified time); Step 2: extract the number of feedback timeouts from the historical feedback information record of the terminal; Step 3: Obtain a first feedback information evaluation factor for the terminal information feedback using the number of timeouts without feedback and the number of feedback timeouts in the historical feedback information record; wherein the first feedback information evaluation factor is obtained by the following formula: in, S 01 represents the first feedback information evaluation factor; A Represents the current background information feedback evaluation matrix; A 0 indicates the preset reference matrix; a 01 , a 02 and a 03 denote the elements of the benchmark matrix respectively; k 1 indicates the number of times no feedback was given after the timeout. k 2 indicates the number of feedback timeouts; n Indicates the total number of times feedback information is generated; m Indicates the total number of times feedback information is received; Step 4: using the timeout information of the feedback timeout in the historical feedback information record of the terminal to obtain the second feedback information evaluation factor of the terminal information feedback; Step 5: Obtain an evaluation parameter using the first feedback information evaluation factor and the second feedback information evaluation factor; wherein the second feedback information evaluation factor is obtained by the following formula: in, S 02 represents the second feedback information evaluation factor; T i Indicates the reception time of the feedback information received by the user front end without timeout; T ci Indicates the reception time of the timeout feedback information received by the user front end; T z Indicates the preset time threshold for monitoring whether the feedback information reception has timed out; sqrt () indicates square root operation; Step 5: Obtain an evaluation parameter using the first feedback information evaluation factor and the second feedback information evaluation factor; wherein the evaluation parameter is obtained by the following formula: in, S represents the evaluation parameter; S 01 represents the first feedback information evaluation factor; S 02 represents the second feedback information evaluation factor; S 0 indicates the default parameter baseline value.
2. The remote control method of the meter box smart lock according to claim 1 is characterized in that: The backend monitors in real time whether the door opening operation instruction from the user's front end is received. When the backend receives the door opening operation instruction from the user's front end, it sends the door opening instruction to the terminal, including: Real-time monitoring is performed in the background to determine whether the door opening operation instruction from the user's front end is received; When the backend receives the door opening operation instruction from the user's front end, the backend joins the control time queue; After the background joins the control time queue, the background middleware sends a control message to the front; After receiving the control message, the front-end sends the control message to the terminal.
3. The remote control method of the meter box intelligent lock according to claim 1 is characterized in that: Determine in real time whether the terminal has successfully opened the door, obtain the determination result, and send the determination result to the backend, including: After receiving the control message, the terminal controls the intelligent lock of the metering box to open the door; Real-time monitoring of whether the meter box smart lock is successfully opened to obtain a judgment result; When the judgment result indicates that the meter box smart lock is successfully opened, the control terminal sends a door opening success message to the front end; When the judgment result indicates that the meter box smart lock fails to open the door, the control terminal sends a door opening failure message to the front-end.
4. A remote control system for a metering box intelligent lock, characterized in that: The remote control system of the meter box intelligent lock includes: Instruction sending module: the user front end sends the door opening operation instruction to the back end; Command monitoring module: monitors in real time whether the door opening operation command from the user's front end is received through the background, and sends the door opening operation command to the terminal after receiving the door opening operation command from the user's front end; Real-time judgment module: judge in real time whether the terminal has successfully opened the door, obtain the judgment result, and send the judgment result to the background; Result generation module: after receiving the judgment result sent by the terminal, the background generates a command execution result according to the judgment result, and sends the command execution result to the user front end for prompt display; The result generation module comprises: Front-end receiving module: after receiving the door opening success message or door opening failure message sent by the terminal, the back-end sends the door opening success message or door opening failure message to the middleware; Backstage acquisition module: the middleware sends the door opening success message or door opening failure message to the backstage; Message parsing module: the background parses the door opening success message or the door opening failure message to obtain the command execution result corresponding to the door opening success message or the door opening failure message; Prompt display module: sends the command execution result to the user front end for prompt display; The result generation module further includes: Determine in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware within a timeout period and fails to return, and determine whether the front-end has an operational abnormality according to the determination result, including: Return judgment module: judge in real time whether the door opening success message or door opening failure message sent by the front-end to the middleware has timed out and has not been returned; Middleware receiving module: if the front-end sends a door opening success message or a door opening failure message to the middleware but the message times out and does not return, the timeout and non-return message is sent to the middleware, and the timeout and non-return message is sent to the backend through the middleware; Unreturned message parsing module: the background parses the timeout unreturned message, obtains the command execution result corresponding to the timeout unreturned message, and sends the command execution result to the user front end for prompt display; Return timeout judgment module: judge in real time whether the front-end sends a door opening success message or a door opening failure message to the middleware and returns a timeout; Sending backend module: If the frontend sends a door opening success message or a door opening failure message to the middleware and there is a return timeout, the return timeout message is sent to the middleware, and the return timeout message is sent to the backend through the middleware; Front-end display module: the backend parses the returned timeout message, obtains the command execution result corresponding to the returned timeout message, and sends the command execution result to the user front-end for prompt display; Alarm module: The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, obtains the evaluation parameter, and issues an alarm when the evaluation parameter is lower than the preset parameter threshold; The user front end evaluates the terminal information feedback according to the timeout non-return situation information and the return timeout information, and obtains evaluation parameters, including: Step 1: extract the number of timeouts without feedback in the historical feedback information record of the terminal (i.e., no feedback information has been received after a specified time); Step 2: extract the number of feedback timeouts from the historical feedback information record of the terminal; Step 3: Obtain a first feedback information evaluation factor for the terminal information feedback using the number of timeouts without feedback and the number of feedback timeouts in the historical feedback information record; wherein the first feedback information evaluation factor is obtained by the following formula: in, S 01 represents the first feedback information evaluation factor; A Represents the current background information feedback evaluation matrix; A 0 indicates the preset reference matrix; a 01 , a 02 and a 03 denote the elements of the benchmark matrix respectively; k 1 indicates the number of times no feedback was given after the timeout. k 2 indicates the number of feedback timeouts; n Indicates the total number of times feedback information is generated; m Indicates the total number of times feedback information is received; Step 4: using the timeout information of the feedback timeout in the historical feedback information record of the terminal to obtain the second feedback information evaluation factor of the terminal information feedback; Step 5: Obtain an evaluation parameter using the first feedback information evaluation factor and the second feedback information evaluation factor; wherein the second feedback information evaluation factor is obtained by the following formula: in, S 02 represents the second feedback information evaluation factor; T i Indicates the reception time of the feedback information received by the user front end without timeout; T ci Indicates the reception time of the timeout feedback information received by the user front end; T z Indicates the preset time threshold for monitoring whether the feedback information reception has timed out; sqrt () indicates square root operation; Step 5: Obtain an evaluation parameter using the first feedback information evaluation factor and the second feedback information evaluation factor; wherein the evaluation parameter is obtained by the following formula: in, S represents the evaluation parameter; S 01 represents the first feedback information evaluation factor; S 02 represents the second feedback information evaluation factor; S 0 indicates the default parameter baseline value.
5. According to the remote control system of the meter box intelligent lock of claim 4, it is characterized in that: The instruction monitoring module comprises: Instruction receiving judgment module: monitors in real time whether the door opening operation instruction from the user's front end is received through the background; Time queue joining module: When the backend receives the door opening operation instruction from the user's front end, the backend joins the control time queue; Control message sending module: After the background joins the control time queue, the background middleware sends the control message to the front; Message sending module: after receiving the control message, the front-end sends the control message to the terminal.
6. The remote control system of the meter box intelligent lock according to claim 4 is characterized in that: The real-time judgment module comprises: Door opening control module: after receiving the control message, the terminal controls the meter box smart lock to open the door; Result judgment module: real-time monitoring of whether the meter box smart lock is successfully opened and obtaining the judgment result; Door opening success module: when the judgment result indicates that the meter box smart lock has opened the door successfully, the control terminal sends a door opening success message to the front end; Door opening failure module: When the judgment result indicates that the meter box smart lock fails to open the door, the control terminal sends a door opening failure message to the front end.
